Messages in this thread | | | From | Ryan Tucker <> | Subject | Re: Current Status | Date | Fri, 22 Mar 1996 11:59:18 -0600 (CST) |
| |
Thus spake Larry 'Daffy' Daffner, splattered hither: > -> - IRC/IRCD connection via the localhost (loopback) interface does not work. > > I suspect this is a Feature, not a bug. Does ircd try to bind to the > 127.0.0.1 address explicitly? If so, then it's probably due to the > tightened port binding rules. Someone with the know-how care to > comment?
Hmmm... let's see...
/* ** Bind to a local IP# (with unknown port - let unix decide) so ** we have some chance of knowing the IP# that gets used for a host ** with more than one IP#. */ /* No we don't bind it, not all OS's can handle connecting with ** an already bound socket, different ip# might occur anyway ** leading to a freezing select() on this side for some time. ** I had this on my Linux 1.1.88 --Run if (bind(cptr->fd, (struct sockaddr *)&mysk, sizeof(mysk)) == -1) { report_error("error binding to local port for %s:%s", cptr); return NULL; } */
Looks like all Undernet-derived ircd's don't bind to the IP explicitly. I don't know about EFnet-derived ones, but I suspect they probably caught on.
Flame me if I'm wrong :-) -rt
-- Ryan Tucker . . ann-arbor.mi.us.undernet.org irc admin rtucker@ttgcitn.com . . . netins.net user development group http://puck.nether.net/~rtucker . . . nether.net co-root/god PGP Public Key: finger rtucker@worf.netins.net. . . ttgcitn.com owner
| |