Date: Wed, 15 Nov 2000 13:48:49 -0800 From: "Renaud Waldura" <renaud@waldura.com> To: "Brian Somers" <brian@Awfulhak.org> Cc: <hackers@FreeBSD.ORG> Subject: Re: PPPoE w/ nat auto fragmentation hack? (use tcpmssd port) Message-ID: <000701c04f4d$d6e9da60$0402010a@biohz.net> References: <200011150143.eAF1hQF04103@hak.lan.Awfulhak.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Maybe I'm just being boneheaded, but... > ! sudo ipfw add 40000 divert 12345 all from any to any via INTERFACE > ! sudo /usr/local/bin/tcpmssd -p 12345 -i INTERFACE I was under the (tested & confirmed) impression that programs executed by ppp are run under uid 0. Eg. I don't use "sudo" but the ipfw rule is added anyway, and tcpmssd is run as root. But maybe a sudo environment brings something else? That could explain a lot right there. --Renaud ----- Original Message ----- From: Brian Somers <brian@Awfulhak.org> To: FengYue <fengyue@bluerose.windmoon.nu> Cc: Renaud Waldura <renaud@waldura.com>; Ruslan Ermilov <ru@FreeBSD.ORG>; <hackers@FreeBSD.ORG>; <brian@Awfulhak.org> Sent: Tuesday, November 14, 2000 5:43 PM Subject: Re: PPPoE w/ nat auto fragmentation hack? (use tcpmssd port) > > > > On Tue, 14 Nov 2000, Renaud Waldura wrote: > > > > ->Dear hackers, > > -> > > ->> What exactly does not work? > > ->> What does the option -l do? > > -> > > ->When launched automatically by ppp, tcpmssd doesn't get any of the packets > > ->and is useless. When I start it manually from the command line, it works > > ->fine. > > -> > > ->I realize this isn't much in the way of helpful debugging information, and > > ->was hoping to further define this: I implemented that "-l" option to log all > > ->the packets processed by tcpmssd. I'm not even sure this bug applies to > > ->anybody else, which is why I did not seek help or publicize it until now. > > -> > > ->Anyway, I haven't been able to figure out what the problem is (and am > > ->lacking time now). The best I have is this: when launched by ppp, tcpmssd > > ->never seems to return from the main select() call. Ruslan, if you feel like > > ->an account on the machine where I'm using this could help, just let me know > > ->and I will gladly give you one. > > > > It does not work for me either. Start the script in rc.local rather than > > ppp.linkup works fine. > > What are you doing in ppp.linkup ? > > When I add this: > > ! sudo ipfw add 40000 divert 12345 all from any to any via INTERFACE > ! sudo /usr/local/bin/tcpmssd -p 12345 -i INTERFACE > > everything seems to work ok.... > > -- > 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-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c04f4d$d6e9da60$0402010a>