[freenet-dev] The new plugin : MDNSDiscovery
Florent Daignière (NextGen$)
nextgens at freenetproject.org
Mon Mar 5 16:44:41 UTC 2007
* Matthew Toseland <toad at amphibian.dyndns.org> [2007-03-05 16:35:48]:
> Nice! I thought it was possible to detect IP address over Bonjour?
Well, I haven't implemented that yet: it's called NAT-PMP
http://files.dns-sd.org/draft-cheshire-nat-pmp.txt ... the underlying
library (jmdns) doesn't support it... and only a few hardware device do
atm (like apple's airports).
>
> One issue here is that ISP NATs often look like LANs; how do we tell the
> difference? We can certainly have an option to make Freenet accessible
> from the LAN and to advertise it on the LAN, but first we have to figure
> out whether it IS a LAN. I suppose 99% of the time it is because people
> are behind a router even if their ISP NATs them as well. :|
Asking the user is the only viable option.
> On Mon, Mar 05, 2007 at 04:02:57PM +0100, Florent Daignière (NextGen$) wrote:
> > Hey!
> >
> > This WE I got around coding a new plugin for freenet :
> > MDNSDiscovery. It advertises fred's services on the local network.
> > Namely _freenet._udp (the node), _fcp._tcp (FCP), _http._tcp (Froxy)
> > and _telnet._tcp (TCMI). MDNS is also known as ZeroConf (see [1])
> > or Bonjour/Rendez-Vous in apple's world (see [2]).
> >
> > So far no FCP client is known to be listening for zeroconf
> > advertisement ; maybe their authors should consider doing it so
> > that they could "automagicaly" discover FCP servers.
> > I have filled in several tickets on mantis (see [3]).
> >
> > MacOSx users should now see a bookmark for fproxy in Finder,
> > under Network Servers.
> >
> > We could imagine lots of applications for that plugin including
> > "easy peer swapping capabilities with neighbors" ;) I suggest to
> > people interested in such functionality to express their
> > interests in a new thread on @darknet-tools.
> >
> > The plugin runs fine for me with the testing version of freenet
> > and follows 1.4 strict java compatibility. Would someone object
> > to me bundling it within the installer when 1017 is out ? Of
> > course as it "advertises" freenet on the local subnet, there would
> > be an "adequate" warning ;)
> >
> > I have also created a wiki page dedicated to its installation
> > [6]
> >
> > NextGen$
> >
> > PS: I have used jmdns [4] to do it, and would recommend python addicts
> > to use avahi [5]. I know that having several MDNS stacks on the same
> > host isn't a good solution but I don't regard using JNI to access DBUS
> > to talk to avahi as a realistic option.
> >
> > [1] http://www.zeroconf.org/
> > [2] http://www.apple.com/macosx/features/bonjour/
> > [3] https://bugs.freenetproject.org/view.php?id=1179
> > [4] http://jmdns.sourceforge.net/
> > [5] http://avahi.org/
> > [6] http://wiki.freenetproject.org/MDNSDiscoveryPlugin
> > _______________________________________________
> > Devl mailing list
> > Devl at freenetproject.org
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
> >
More information about the Devl
mailing list