Hi and thanks a lot, Sebastian!

I'll be trying to check paragraphs 1 and 3 during this week, and will report in case of trouble or success.
I'm also looking forward to seeing Johanes's answer on the 2 paragraph.

Best regards,
Sergey Sireskin

Mon, 22 Oct 2012 17:59:41 +0200 от Sebastian Schildt <schildt@ibr.cs.tu-bs.de>:
Hi Sergey

Am 22.10.2012 um 17:02 schrieb Sergey Sireskin <sire@mail.ru>:

> Hello dear IBR-DTN authors,
>
> I was unable to find any man pages, documentation or HOW-TOs on IBR-DTN, so the only
> place for asking my stupid questions is this mailing list, sorry.
>
> Here are my questions.
>
> 1. Is it possible to send a message to multiple recipients at a time, I mean something like
> multicast or group messages, in order to save bandwidth?
Prophet routing support group messages (Epidemic also, but Prophet should be more efficient). For sending use the "-g" parameter of dtnsend. (dtnsend --help shoudl give you the necessary information). make sure that you also use the --group parameter in dtnrecv (dtnrecv --help). Let us know if there are any problems.




>
> 2. Changelog states that both reactive and proactive fragmentation are supported. How does
> IBR-DTN choose which fragmentation type to be used?
I think this is better answered by Johannes....

>
> 3. Does Bittorrent DHT discovery and routing need (any) nodes to be connected to the Internet?
> If yes, is it possible to setup a DHT server in the Intranet, which is isolated from the Internet,
> and make IBR-DTN use it?
>
 Usually (i.e. in default configuration) it needs internet, because it will make a DNS query to a well known domain to find the first nodes in the DHT. However, you can try to play with the Bootstrap options:

#
# Enable DNS Bootstrapping for the DHT
#
#dht_bootstrapping = yes

#
# DNS Bootstrapping by giving domain names of wellknown nodes
#dht_bootstrapping_domains = [domain] [...]
#
# Example:
#dht_bootstrapping_domains = dtndht.ibr.cs.tu-bs.de
#
# Default is an empty string
#dht_bootstrapping_domains =

#
# IP Bootstrapping from wellknown IP (and port) addresses of nodes
#dht_bootstrapping_ips = [ip [port]]; [ip [port]]; ...



Something like the following should work:

Uncomment and set dht_bootstrapping to "no" (and dht_enabled to yes of course)


Start an IBR DTN node, with a well known IP e.g. 192.168.1.1

for all the other nodes you wish to start also set

dht_bootstrapping to "no" and dht_enabled to "yes"

and add 192.168.1.1 to

dht_bootstrapping_ips = 192.168.1.1

This assumes you run DHT on the default port (9999). If you change that to say 8888 use

dht_bootstrapping_ips = 192.168.1.1 8888

This should theoretically give you a completely local DHT, although I am not sure whether we ever tested it. Also keep in mind that your DHT can easily be contaminated/connected to the outside world, if only one of your nodes has internet and does a DHT bootstrap, because the outside nodes it will propagate to to other node sin you "local" DHT.








> Best regards,
> Sergey Sireskin
> --
> !! This message is brought to you via the `ibr-dtn' mailing list.
> !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust
> !! your settings, send a mail message to <ibr-dtn-request@ibr.cs.tu-bs.de>
> !! or look at https://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.