adulau / Forban

Forban is a p2p application for link-local and local area networks. Forban works independently from the Internet and uses only the local area capabilities to announce, discover, search or share files. Forban relies on HTTP and it is "opportunistic".
http://www.foo.be/forban/
134 stars 24 forks source link

Interface Option #5

Closed MaStr closed 11 years ago

MaStr commented 12 years ago

Hi, is it possible to configure a interface Forban only work with? Currently, It is working on all given interfaces- but running i.e. on a router requires to work only on specific interfaces.

Interface should be given with command line and/or config-file.

Best regards Matthias

adulau commented 12 years ago

Thank you. I put this in my TODO list.

The current behavior is to bind on all available IPv4/IPv6 addresses (for the opportunistic approach ;-).

I'll check to update the config and libraries for binding on a specific interface only :

The code will need to be updated to make it portable in such case as enumerating interfaces (ioctl or /proc in Linux kernel) is different per OS flavor.

adulau commented 12 years ago

Some notes regarding the implementation (and the non-trivial parts ;-):

The issue will remain open for the time being. I'll check for the best approach.

MaStr commented 11 years ago

with the an modifiable destination it is possible to send the Broadcast in a particular network only.

adulau commented 11 years ago

Thanks for the tests. We will work together on your pull request to make a new release.