|GNUNET-SEARCH(1)||General Commands Manual||GNUNET-SEARCH(1)|
DESCRIPTION¶Search for content on GNUnet. The keywords are case-sensitive.
gnunet-searchcan be used both for a search in the global namespace as well as for searching a private subspace. The options are as follows:
- This option can be used to specify additional anonymity constraints. The default is 1. If set to 0, GNUnet will publish the file non-anonymously and in fact sign the advertisement for the file using your peer's private key. This will allow other users to download the file as fast as possible, including using non-anonymous methods (discovery via DHT and CADET transfer). If you set it to 1 (default), you use the standard anonymous routing algorithm (which does not explicitly leak your identity). However, a powerful adversary may still be able to perform traffic analysis (statistics) to over time discovery your identity. You can gain better privacy by specifying a higher level of anonymity (using values above 1). This tells FS that it must hide your own requests in equivalent-looking cover traffic. This should confound an adversaries traffic analysis, increasing the time and effort it would take to discover your identity. However, it also can significantly reduce performance, as your requests will be delayed until sufficient cover traffic is available. The specific numeric value (for anonymity levels above 1) is simple: Given an anonymity level L (above 1), each request FS makes on your behalf must be hidden in L-1 equivalent requests of cover traffic (traffic your peer routes for others) in the same time-period. The time-period is twice the average delay by which GNUnet artificially delays traffic. Note that regardless of the anonymity level you choose, peers that cache content in the network always use anonymity level 1.
- Use the configuration file FILENAME (default: ~/.config/gnunet.conf)
- Print the help page.
- Change the loglevel. Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG.
- Write logs to FILENAME.
- Writes a GNUnet directory containing all of the search results to FILENAME.
- Only search locally, do not forward requests to other peers.
- Automatically terminate the search after receiving VALUE results.
- Automatically timeout search after DELAY. The value given must be a number followed by a space and a time unit, for example "500 ms". Note that the quotes are required on the shell. Otherwise the search runs until gnunet-search is aborted with CTRL-C.
- print the version number
- print meta data from search results as well
For a keyword search, use
If the format does not correspond to a GNUnet URI, GNUnet will automatically assume that keywords are supplied directly.
If multiple keywords are passed, gnunet-search will look for content matching any of the keywords. The prefix "+" makes a keyword mandatory.
FILES¶~/.config/gnunet.conf GNUnet configuration file; specifies the default value for the timeout
$ gnunet-search Das Kapital
Searches for content matching the keyword "Das Kapital".
$ gnunet-search +Das +Kapital
Searches for content matching both mandatory keywords "Das" and "Kapital".
Search results are printed by gnunet-search like this:
gnunet-download -o "COPYING" gnunet://fs/chk/HASH1.HASH2.SIZE
Description: The GNU General Public License
The first line contains the command to run to download the file. The suggested filename in the example is COPYING. The GNUnet URI consists of the key and query hash of the file and finally the size of the file. After the command to download the file, GNUnet will print meta-data about the file as advertised in the search result. The meta-data here is the description ("The GNU General Public License") and the mime-type ("text-plain"). See the options for gnunet-publish(1) on how to supply meta-data by hand.
SEE ALSO¶gnunet-download(1), gnunet-fs-gtk(1), gnunet-publish(1), gnunet.conf(5)
The full documentation for gnunet is maintained as a Texinfo manual. If the info(1) and gnunet programs are properly installed at your site, the command
should give you access to the complete handbook,
will give you access to a tutorial for developers.
BUGS¶Report bugs by using https://bugs.gnunet.org or by sending electronic mail to <firstname.lastname@example.org>.
|February 25, 2012||Linux 4.19.0-14-amd64|