Re: irc/ircd loopback problem with (scary) fix.

Matthias Urlichs (smurf@smurf.noris.de)
Sat, 16 Mar 1996 14:10:43 +0100


In linux.dev.kernel, article <Pine.LNX.3.91.960315020413.337A-100000@pa=
nasync.canuck.ca>,
Colten Edwards <edwards@panasync.canuck.ca> writes:
> >=20
> This is much apprectiated. The actual problem looks like it's with th=
e=20
> setup of the SO_RCVBUF code. In other works I narrowed it down into=20
> removing the following piece of code from s_bsd.c in ircd source.
> opt =3D 8192;
> if (setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &opt, sizeof(opt)) =
< 0)
> report_error("setsockopt(SO_RCVBUF) %s:%s", cptr);
>=20
> As soon as I removed this piece of code from ircd inet sockets starte=
d=20
> working again. Looks like SO_SNDBUF works though as it set directly b=
elow=20
> this piece of code.

Hmmm... recently, the MTU for the loopback socket was reduced...

--=20
Scepticism is the chastity of the intellect.
-- George Santayana (1863-1952)
--=20
Matthias Urlichs \ XLink-POP N=FCrnberg | EMail: urlichs@smurf.=
noris.de
Schleiermacherstra=DFe 12 \ Unix+Linux+Mac | Phone: ...please use =
email.
90491 N=FCrnberg (Germany) \ Consulting+Networking+Programming+etc'i=
ng 42
PGP: 1B 89 E2 1C 43 EA 80 44 15 D2 29 CF C6 C7 E0 DE=20
Click <A HREF=3D"http://smurf.noris.de/~smurf/finger">here</A>.