From owner-freebsd-hackers Tue Nov 14 17:46:46 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from Awfulhak.org (tun.AwfulHak.org [194.242.139.173]) by hub.freebsd.org (Postfix) with ESMTP id 574FC37B479; Tue, 14 Nov 2000 17:46:39 -0800 (PST) Received: from hak.lan.Awfulhak.org (root@hak.lan.awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.1/8.11.1) with ESMTP id eAF1goF16913; Wed, 15 Nov 2000 01:42:50 GMT (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.1/8.11.1) with ESMTP id eAF1hQF04103; Wed, 15 Nov 2000 01:43:26 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200011150143.eAF1hQF04103@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: FengYue Cc: Renaud Waldura , Ruslan Ermilov , hackers@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: PPPoE w/ nat auto fragmentation hack? (use tcpmssd port) In-Reply-To: Message from FengYue of "Tue, 14 Nov 2000 10:08:34 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Nov 2000 01:43:25 +0000 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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 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