Date: Fri, 15 Dec 2000 01:03:36 +0000 From: Brian Somers <brian@Awfulhak.org> To: "Renaud Waldura" <renaud@waldura.com> Cc: net@freebsd.org, "Brian Somers" <brian@Awfulhak.org>, brian@Awfulhak.org Subject: Re: PPPoE w/ nat auto fragmentation hack? Message-ID: <200012150103.eBF13aU52009@hak.lan.Awfulhak.org> In-Reply-To: Message from "Renaud Waldura" <renaud@waldura.com> of "Thu, 14 Dec 2000 09:50:18 PST." <003101c065f6$52ddc640$0402010a@biohz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> I'm happy to announce this problem has finally found its final solution in > ppp version >= 11/28/2000: the new option "tcpmssfixup" (enabled by > default!) corrects the outgoing TCP MSS and solves the problem for good. > This functionality is strictly identical to what the tcpmssd port does, but > it's now included in ppp, so no need to run an external program with divert > sockets etc. > > Right on Brian! And thanks to Ruslan and Julian. Great job guys. And thank you for taking the time to report things as working :-) > ----- Original Message ----- > From: Brian Somers <brian@Awfulhak.org> > To: Renaud Waldura <renaud@waldura.com> > Cc: Brian Somers <brian@Awfulhak.org>; <hackers@FreeBSD.ORG>; > <brian@Awfulhak.org> > Sent: Thursday, November 16, 2000 1:37 PM > Subject: Re: PPPoE w/ nat auto fragmentation hack? (use tcpmssd port) > > > > > > ppp will run programs as the user id that invoked ppp rather than > > > > using the effective user id (ie, it runs things as *you*, not *root*). > > > > > > Mmm-mmh. In my case, since ppp is started at boot time, the only user > that > > > ever invokes it is root, hence the tcpmssd thingy is run as root. As > > > confirmed by the multiple "ps" I ran: euid == ruid == svguid == 0. > > > > > > > > > > A good ``first step'' is to run > > > > ! sh -c "/usr/local/bin/tcpmssd -p 12345 -i INTERFACE >/tmp/log > 2>&1" > > > > so that you can get to see any error messages - ppp redirects I/O to > > > > > > Yup, tried that, here's what I get: > > > > > > ******************** start *************** > > > Wed Nov 15 13:30:12 PST 2000 > > > id says: uid=0(root) gid=0(wheel) groups=0(wheel) > > > HOME=/ > > > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin > > > 01001 divert 1234 tcp from any to any out xmit tun0 setup > > > > > > The rule gets inserted, tcpmssd runs as root, and I feel like a dummy. > Any > > > other ideas? > > > > > > Thanks for the help Brian, > > > > I'm not sure what the problem could be - can you confirm that > > everything's seen if you divert everything ? -- Brian <brian@Awfulhak.org> <brian@[uk.]FreeBSD.org> <http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org> Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012150103.eBF13aU52009>