Signal 11 schrieb: > > > 1. How do we generate a reliable list of which ports to avoid? > > Wether we automatically generate the port number, or advise users > > to "pick a port number", this issue will need to be addressed. > If it must be random, I would consult /etc/services and bind to > ports not listed therein. nice for UNIX...
> > 1a. What cross-platform technique will generate a good list of > > ports that are already in use? Of ports that might be in use > See above. ..but windowze has no /etc/services, and i stronly doubt if it has a similar file elsewhere. not cross-platform. i'd suggest simply to ask the user with windows, sind windows is single-user most times, and so the user should know what's running on his box. for UNIX-systems looking through /etc/services before asking the user is okey. [..] > > 1b2. A while back there was a discussion on Slashdot about > > port scanning. In it, one sysadmin commented that he investigates > > any attempt to use the port '37337', just because at one time that > > was a popular port in certain circles. > It's 31337 and 12345 for Back Orifice (www.bo2k.com) and NetBus > respectively. See www.securityfocus.com or "Packet Storm Security", > the URL of which I disrecall presently for additional information. is there a "bad-port-list" anywhere???? > > > 2. If this is implemented, we need to insure that people have > > an easy way to find the right address and current port number > > of nodes they wish to contact. If someone says "you can start > > your Freenet node by connecting to my node at f00bar.net", > > they may not include current information about the port being > There still needs some way (eventually) to automatically communicate > this to new nodes. I'm out of ideas on this one - the only way is > to have a central server.. which is what freenet is trying at all > costs to avoid. or print every time when the server is up "your server is running on host xx.xx.xx.xx on port xxxxx. other servers need to know both, host-address and port when they want to connect to you" [..] oh, i made a bad simple programm for configureing your node. it's "Tunnel is Yes, now. type new value, strike enter to leave it unchanged or type ? to get help"-style, and gives listenPort a random value >1024 when it's undefined. it's in the old 0.2 freenet as fNcfg and is an dos-executeable (.exe suffix) 1723, whose name is not used by any service, AFAHK -- --sympathy-based-advertisement-- http://www.haschisch-shop.de - 1g umsonst _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
