From owner-freebsd-net@FreeBSD.ORG Sun Aug 15 02:02:38 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE53116A4CE for ; Sun, 15 Aug 2004 02:02:37 +0000 (GMT) Received: from gawab.com (v2.gawab.com [204.97.230.42]) by mx1.FreeBSD.org (Postfix) with SMTP id 89C2F43D2D for ; Sun, 15 Aug 2004 02:02:37 +0000 (GMT) (envelope-from tdamas@gawab.com) Received: (qmail 1827 invoked by uid 1004); 15 Aug 2004 02:02:37 -0000 Message-ID: <20040815020237.1826.qmail@gawab.com> References: <200408111158.43933.bikrant_ml@wlink.com.np> In-Reply-To: <200408111158.43933.bikrant_ml@wlink.com.np> Received: from 200.143.88.171 by www.gawab.com with HTTP; Sun, 15 Aug 2004 02:02:37 GMT From: "Thiago Pinto Damas" To: Bikrant Neupane Date: Sun, 15 Aug 2004 02:02:37 GMT Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [200.143.88.171] cc: freebsd-net@freebsd.org Subject: Re: Changing TOS value X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 02:02:38 -0000 Try to limit the bandwidth for each interface, like: ipfw pipe 1 config bw 512Kbits/s ipfw pipe 2 config bw 512Kbits/s ipfw add pipe 1 ip from 10.0.0.8 to any via wi0 in ipfw add pipe 2 ip from any to 10.0.0.8 via wi0 out This might work! Bikrant Neupane writes: > Hi, > I am using freebsd 4.9 as a bandwidth manager. I would like to set IP TOS > field to some desired value or is it possible to completely ignore the TOS > value? > I have observed that using different value of TOS affects fairness in b/w > allocation in a pipe. So for that specific reason I would like to change the > TOS of all IP pkts before it gets into the pipe. > I think this is very common problem however I didn't find any useful > information in google either. > > thanks, > Bikrant > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Sun Aug 15 04:25:05 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D051C16A4CF for ; Sun, 15 Aug 2004 04:25:04 +0000 (GMT) Received: from smtp4.wlink.com.np (smtp4.wlink.com.np [202.79.32.87]) by mx1.FreeBSD.org (Postfix) with SMTP id BD9D343D45 for ; Sun, 15 Aug 2004 04:25:01 +0000 (GMT) (envelope-from bikrant_ml@wlink.com.np) Received: (qmail 25875 invoked from network); 15 Aug 2004 04:24:57 -0000 Received: from unknown (HELO qmail-scanner.wlink.com.np) (202.79.32.74) by 0 with SMTP; 15 Aug 2004 04:24:57 -0000 Received: (qmail 62762 invoked by uid 1008); 15 Aug 2004 04:24:57 -0000 Received: from bikrant_ml@wlink.com.np by qmail-scanner.wlink.com.np by uid 1002 with qmail-scanner-1.20 (clamscan: 0.60. Clear:RC:1(202.79.32.76):. Processed in 0.020572 secs); 15 Aug 2004 04:24:57 -0000 Received: from smtp1.wlink.com.np (202.79.32.76) by qmail-scanner.wlink.com.np with SMTP; 15 Aug 2004 04:24:56 -0000 Received: (qmail 12322 invoked by uid 508); 15 Aug 2004 04:24:56 -0000 Received: from [202.79.36.168] (HELO bikrant.org.np) by smtp1.wlink.com.np (qmail-smtpd) with SMTP; 15 Aug 2004 04:24:56 -0000 (Sun, 15 Aug 2004 10:09:56 +0545) From: Bikrant Neupane To: "Thiago Pinto Damas" Date: Sun, 15 Aug 2004 10:09:52 +0545 User-Agent: KMail/1.6.1 References: <200408111158.43933.bikrant_ml@wlink.com.np> <20040815020237.1826.qmail@gawab.com> In-Reply-To: <20040815020237.1826.qmail@gawab.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408151009.52979.bikrant_ml@wlink.com.np> X-Spam-Check-By: smtp1.wlink.com.np Spam: No ; -4.9 / 5.0 X-Spam-Status: No, hits=-4.9 required=5.0 cc: freebsd-net@freebsd.org Subject: Re: Changing TOS value X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 04:25:05 -0000 Hi, Thanks for the reply. But my problem is something else. I want to change the TOS value. In Linux we can change the TOS value in the mangle table. Is that possible in FreeBSD? regards, Bikrant On Sunday 15 August 2004 07:47, Thiago Pinto Damas wrote: > Try to limit the bandwidth for each interface, like: > ipfw pipe 1 config bw 512Kbits/s > ipfw pipe 2 config bw 512Kbits/s > ipfw add pipe 1 ip from 10.0.0.8 to any via wi0 in > ipfw add pipe 2 ip from any to 10.0.0.8 via wi0 out > > This might work! > > Bikrant Neupane writes: > > Hi, > > I am using freebsd 4.9 as a bandwidth manager. I would like to set IP > > TOS field to some desired value or is it possible to completely ignore > > the TOS value? > > I have observed that using different value of TOS affects fairness in > > b/w allocation in a pipe. So for that specific reason I would like to > > change the TOS of all IP pkts before it gets into the pipe. > > I think this is very common problem however I didn't find any useful > > information in google either. > > > > thanks, > > Bikrant > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Sun Aug 15 07:05:48 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52B7316A4CE for ; Sun, 15 Aug 2004 07:05:48 +0000 (GMT) Received: from therion.astral-on.net (therion.astral-on.net [193.41.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DA8843D2F for ; Sun, 15 Aug 2004 07:05:46 +0000 (GMT) (envelope-from ad@astral-on.net) Received: from odin.astral-on.net (odin.astral-on.net [193.41.4.6]) i7F75fRB054587 for ; Sun, 15 Aug 2004 10:05:43 +0300 (EEST) (envelope-from ad@astral-on.net) Received: from odin.astral-on.net (localhost.astral-on.net [127.0.0.1]) by odin.astral-on.net (8.12.8p2/8.12.8) with ESMTP id i7F75fFK027408 for ; Sun, 15 Aug 2004 10:05:41 +0300 (EEST) (envelope-from ad@odin.astral-on.net) Received: (from ad@localhost) by odin.astral-on.net (8.12.8p2/8.12.8/Submit) id i7F75eAg027407 for freebsd-net@freebsd.org; Sun, 15 Aug 2004 10:05:40 +0300 (EEST) Date: Sun, 15 Aug 2004 10:05:40 +0300 From: Andrew Degtiariov To: freebsd-net@freebsd.org Message-ID: <20040815070540.GA27245@astral-on.net> Mail-Followup-To: freebsd-net@freebsd.org References: <200408111158.43933.bikrant_ml@wlink.com.np> <20040815020237.1826.qmail@gawab.com> <200408151009.52979.bikrant_ml@wlink.com.np> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408151009.52979.bikrant_ml@wlink.com.np> User-Agent: Mutt/1.5.6i Subject: Re: Changing TOS value X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ad@astral-on.net List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 07:05:48 -0000 On Sun, Aug 15, 2004 at 10:09:52AM +0545, Bikrant Neupane wrote: > Hi, > Thanks for the reply. But my problem is something else. I want to change the > TOS value. In Linux we can change the TOS value in the mangle table. Is that > possible in FreeBSD? Yes, ALTQ its can (ALTQ come with KAME). -- Andrew Degtiariov DA-RIPE From owner-freebsd-net@FreeBSD.ORG Sun Aug 15 10:45:01 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFBBD16A4CE for ; Sun, 15 Aug 2004 10:45:01 +0000 (GMT) Received: from shellma.zin.lublin.pl (shellma.zin.lublin.pl [212.182.126.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id E296743D45 for ; Sun, 15 Aug 2004 10:45:00 +0000 (GMT) (envelope-from pawmal-posting@freebsd.lublin.pl) Received: by shellma.zin.lublin.pl (Postfix, from userid 1018) id E4B943474C1; Sun, 15 Aug 2004 12:42:43 +0200 (CEST) Date: Sun, 15 Aug 2004 12:42:43 +0200 From: Pawel Malachowski To: Fargo Holiday Message-ID: <20040815104243.GA43915@shellma.zin.lublin.pl> References: <4a1299a404081414287a9ecbc@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4a1299a404081414287a9ecbc@mail.gmail.com> User-Agent: Mutt/1.4.2i cc: freebsd-net@freebsd.org Subject: Re: [FreeBSD 5.2] Bandwith and packet throttling X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 10:45:01 -0000 On Sat, Aug 14, 2004 at 02:28:36PM -0700, Fargo Holiday wrote: > Here are the rules I've been trying, let me know if this not correct: > > ipfw pipe 1 config bw 50Kbit/s queue 10 delay 2000ms #outbound > ipfw pipe 2 config bw 150Kbit/s queue 10 delay 2000ms #inbound > ipfw add deny icmp from any to any Blocking all ICMP traffic is a Very Bad Thing. > ipfw add pipe 1 all from 10.0.0.8 to any > ipfw add pipe 2 all from any to 10.0.0.8 > > The painful delay was to test if the pipes were actually working, but > never seemed to make a difference. Try: ipfw show ipfw pipe show 1 ipfw pipe show 2 and look at counters. -- Paweł Małachowski From owner-freebsd-net@FreeBSD.ORG Sun Aug 15 18:37:55 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9C7E16A4CE for ; Sun, 15 Aug 2004 18:37:55 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.243]) by mx1.FreeBSD.org (Postfix) with ESMTP id A941B43D31 for ; Sun, 15 Aug 2004 18:37:55 +0000 (GMT) (envelope-from galaxy.ranger@gmail.com) Received: by mproxy.gmail.com with SMTP id x17so16333cwb for ; Sun, 15 Aug 2004 11:37:55 -0700 (PDT) Received: by 10.11.120.63 with SMTP id s63mr70816cwc; Sun, 15 Aug 2004 11:31:15 -0700 (PDT) Message-ID: <4a1299a4040815113178caa332@mail.gmail.com> Date: Sun, 15 Aug 2004 11:31:07 -0700 From: Fargo Holiday To: freebsd-net@freebsd.org In-Reply-To: <20040815104243.GA43915@shellma.zin.lublin.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <4a1299a404081414287a9ecbc@mail.gmail.com> <20040815104243.GA43915@shellma.zin.lublin.pl> Subject: Re: [FreeBSD 5.2] Bandwith and packet throttling X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Fargo Holiday List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 18:37:55 -0000 On Sun, 15 Aug 2004 12:42:43 +0200, Pawel Malachowski wrote: > On Sat, Aug 14, 2004 at 02:28:36PM -0700, Fargo Holiday wrote: >=20 > > Here are the rules I've been trying, let me know if this not correct: > > > > ipfw pipe 1 config bw 50Kbit/s queue 10 delay 2000ms #outbound > > ipfw pipe 2 config bw 150Kbit/s queue 10 delay 2000ms #inbound > > ipfw add deny icmp from any to any >=20 > Blocking all ICMP traffic is a Very Bad Thing. >=20 > > ipfw add pipe 1 all from 10.0.0.8 to any > > ipfw add pipe 2 all from any to 10.0.0.8 > > > > The painful delay was to test if the pipes were actually working, but > > never seemed to make a difference. >=20 > Try: > ipfw show > ipfw pipe show 1 > ipfw pipe show 2 > and look at counters. >=20 > -- > Pawe=C5=82 Ma=C5=82achowski >=20 Thanks for the reply. The ICMP was more experiment than anything, I've sinced removed it. Here are the results of the show commands: cramster# ipfw show 00050 14819576 8458459132 divert 8668 ip from any to any via dc0 00100 250 32470 allow ip from any to any via lo0 00200 0 0 deny ip from any to 127.0.0.0/8 00300 0 0 deny ip from 127.0.0.0/8 to any 65000 44478701 31835950367 allow ip from any to any 65100 0 0 pipe 1 ip from 10.0.0.8 to any 65200 0 0 pipe 2 ip from any to 10.0.0.8 65535 0 0 deny ip from any to any cramster# ipfw pipe show 1 00001: 50.000 Kbit/s 2000 ms 10 sl. 0 queues (1 buckets) droptail mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 cramster# ipfw pipe show 2 00002: 150.000 Kbit/s 2000 ms 10 sl. 0 queues (1 buckets) droptail mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 Are those masks valid? Do I need to configure a queue explicitly before passing these commands? Thanks again, Fargo From owner-freebsd-net@FreeBSD.ORG Sun Aug 15 19:21:20 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F94216A787 for ; Sun, 15 Aug 2004 19:21:20 +0000 (GMT) Received: from shellma.zin.lublin.pl (shellma.zin.lublin.pl [212.182.126.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BBF043D1F for ; Sun, 15 Aug 2004 19:21:20 +0000 (GMT) (envelope-from pawmal-posting@freebsd.lublin.pl) Received: by shellma.zin.lublin.pl (Postfix, from userid 1018) id 68A7A347E01; Sun, 15 Aug 2004 21:19:05 +0200 (CEST) Date: Sun, 15 Aug 2004 21:19:05 +0200 From: Pawel Malachowski To: Fargo Holiday Message-ID: <20040815191905.GC43915@shellma.zin.lublin.pl> References: <4a1299a404081414287a9ecbc@mail.gmail.com> <20040815104243.GA43915@shellma.zin.lublin.pl> <4a1299a4040815113178caa332@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4a1299a4040815113178caa332@mail.gmail.com> User-Agent: Mutt/1.4.2i cc: freebsd-net@freebsd.org Subject: Re: [FreeBSD 5.2] Bandwith and packet throttling X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 19:21:20 -0000 On Sun, Aug 15, 2004 at 11:31:07AM -0700, Fargo Holiday wrote: > cramster# ipfw show > 00050 14819576 8458459132 divert 8668 ip from any to any via dc0 > 00100 250 32470 allow ip from any to any via lo0 > 00200 0 0 deny ip from any to 127.0.0.0/8 > 00300 0 0 deny ip from 127.0.0.0/8 to any > 65000 44478701 31835950367 allow ip from any to any > 65100 0 0 pipe 1 ip from 10.0.0.8 to any > 65200 0 0 pipe 2 ip from any to 10.0.0.8 > 65535 0 0 deny ip from any to any > > Are those masks valid? Do I need to configure a queue explicitly > before passing these commands? Insert `pipe 1 ip' and `pipe 2 ip' before line 65000, because `allow' terminates packet processing before it reaches pipe now. -- Paweł Małachowski From owner-freebsd-net@FreeBSD.ORG Sun Aug 15 19:54:37 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6668216AE35 for ; Sun, 15 Aug 2004 19:54:37 +0000 (GMT) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC35843D41 for ; Sun, 15 Aug 2004 19:54:36 +0000 (GMT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.13.1/8.13.1) with ESMTP id i7FJsaAn026176; Sun, 15 Aug 2004 15:54:36 -0400 (EDT) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.13.1/8.13.1/Submit) id i7FJsaC1026175; Sun, 15 Aug 2004 15:54:36 -0400 (EDT) (envelope-from barney) Date: Sun, 15 Aug 2004 15:54:36 -0400 From: Barney Wolff To: Fargo Holiday Message-ID: <20040815195436.GA25279@pit.databus.com> References: <4a1299a404081414287a9ecbc@mail.gmail.com> <20040815104243.GA43915@shellma.zin.lublin.pl> <4a1299a4040815113178caa332@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4a1299a4040815113178caa332@mail.gmail.com> User-Agent: Mutt/1.5.6i X-Scanned-By: MIMEDefang 2.44 cc: freebsd-net@freebsd.org Subject: Re: [FreeBSD 5.2] Bandwith and packet throttling X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 19:54:37 -0000 On Sun, Aug 15, 2004 at 11:31:07AM -0700, Fargo Holiday wrote: > > cramster# ipfw show > 00050 14819576 8458459132 divert 8668 ip from any to any via dc0 > 00100 250 32470 allow ip from any to any via lo0 > 00200 0 0 deny ip from any to 127.0.0.0/8 > 00300 0 0 deny ip from 127.0.0.0/8 to any > 65000 44478701 31835950367 allow ip from any to any > 65100 0 0 pipe 1 ip from 10.0.0.8 to any > 65200 0 0 pipe 2 ip from any to 10.0.0.8 > 65535 0 0 deny ip from any to any man ipfw will point out that the first allow or deny that "hits" terminates rule processing. Perhaps you're more familiar with other firewalls, where this sensible design is not the normal case. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net. From owner-freebsd-net@FreeBSD.ORG Sun Aug 15 19:55:53 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74DB716AEE0 for ; Sun, 15 Aug 2004 19:55:53 +0000 (GMT) Received: from mercury.is.co.za (mercury.is.co.za [196.4.160.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id E973A43D5F for ; Sun, 15 Aug 2004 19:55:52 +0000 (GMT) (envelope-from karnaugh@karnaugh.za.net) Received: from karnaugh.za.net (c3-dbn-181.dial-up.net [196.39.44.181]) by mercury.is.co.za (Postfix) with ESMTP id 0EEE4C024; Sun, 15 Aug 2004 21:55:48 +0200 (SAST) Message-ID: <411FBF4D.9090706@karnaugh.za.net> Date: Sun, 15 Aug 2004 21:53:49 +0200 From: Colin Alston User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Fargo Holiday References: <4a1299a404081414287a9ecbc@mail.gmail.com> <20040815104243.GA43915@shellma.zin.lublin.pl> <4a1299a4040815113178caa332@mail.gmail.com> In-Reply-To: <4a1299a4040815113178caa332@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: [FreeBSD 5.2] Bandwith and packet throttling X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 19:55:53 -0000 >Thanks for the reply. The ICMP was more experiment than anything, I've >sinced removed it. Here are the results of the show commands: > >cramster# ipfw show >00050 14819576 8458459132 divert 8668 ip from any to any via dc0 >00100 250 32470 allow ip from any to any via lo0 >00200 0 0 deny ip from any to 127.0.0.0/8 >00300 0 0 deny ip from 127.0.0.0/8 to any >65000 44478701 31835950367 allow ip from any to any >65100 0 0 pipe 1 ip from 10.0.0.8 to any >65200 0 0 pipe 2 ip from any to 10.0.0.8 >65535 0 0 deny ip from any to any > > > I think you're clearly being a bit silly here. Remove rules 00200 and 00300 (I dont know why on this green earth you'd deny loopback) Also you've added an "allow all" rule right above your shaping rules. You expected them to be effective after you've just told it to allow all traffic anyway? man ipfw -- Colin Alston Quantum Logic Chicken: The chicken is distributed probabalistically on all sides of the road until you observe it on the side of your course. From owner-freebsd-net@FreeBSD.ORG Sun Aug 15 20:20:10 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32D9916A4CE for ; Sun, 15 Aug 2004 20:20:10 +0000 (GMT) Received: from arthur.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93713440F7 for ; Sun, 15 Aug 2004 20:20:08 +0000 (GMT) (envelope-from simon@arthur.nitro.dk) Received: by arthur.nitro.dk (Postfix, from userid 3000) id 4243311959; Sun, 15 Aug 2004 22:20:07 +0200 (CEST) Date: Sun, 15 Aug 2004 22:20:07 +0200 From: "Simon L. Nielsen" To: Colin Alston Message-ID: <20040815202006.GI684@arthur.nitro.dk> References: <4a1299a404081414287a9ecbc@mail.gmail.com> <20040815104243.GA43915@shellma.zin.lublin.pl> <4a1299a4040815113178caa332@mail.gmail.com> <411FBF4D.9090706@karnaugh.za.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TKYYegg/GYAC5JIZ" Content-Disposition: inline In-Reply-To: <411FBF4D.9090706@karnaugh.za.net> User-Agent: Mutt/1.5.6i cc: Fargo Holiday cc: freebsd-net@freebsd.org Subject: Re: [FreeBSD 5.2] Bandwith and packet throttling X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 20:20:10 -0000 --TKYYegg/GYAC5JIZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2004.08.15 21:53:49 +0200, Colin Alston wrote: >=20 > >Thanks for the reply. The ICMP was more experiment than anything, I've > >sinced removed it. Here are the results of the show commands: > > > >cramster# ipfw show > >00050 14819576 8458459132 divert 8668 ip from any to any via dc0 > >00100 250 32470 allow ip from any to any via lo0 > >00200 0 0 deny ip from any to 127.0.0.0/8 > >00300 0 0 deny ip from 127.0.0.0/8 to any > >65000 44478701 31835950367 allow ip from any to any > >65100 0 0 pipe 1 ip from 10.0.0.8 to any > >65200 0 0 pipe 2 ip from any to 10.0.0.8 > >65535 0 0 deny ip from any to any > > > I think you're clearly being a bit silly here. > Remove rules 00200 and 00300 (I dont know why on this green earth you'd > deny loopback) Eh, that's not silly at all; that the default firewall rules from a stock /etc/rc.firewall on FreeBSD. Note rule 100 which allows loopback traffic. Rule 200/300 just makes sure nobody tries to spoof loopback traffic from a real network interface. [simon@arthur:~] sudo ipfw list | head -n 3 00100 allow ip from any to any via lo0 00200 deny ip from any to 127.0.0.0/8 00300 deny ip from 127.0.0.0/8 to any --=20 Simon L. Nielsen FreeBSD Documentation Team --TKYYegg/GYAC5JIZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBH8V2h9pcDSc1mlERAgraAJ9FMpIC60vBJKWswkxwGAqD5odZhQCfcfDT 1gN6/4sEFddN3atuvFdopcI= =nBG+ -----END PGP SIGNATURE----- --TKYYegg/GYAC5JIZ-- From owner-freebsd-net@FreeBSD.ORG Sun Aug 15 21:42:44 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B59416A4CE for ; Sun, 15 Aug 2004 21:42:44 +0000 (GMT) Received: from gawab.com (v2.gawab.com [204.97.230.42]) by mx1.FreeBSD.org (Postfix) with SMTP id 16ACC43D41 for ; Sun, 15 Aug 2004 21:42:44 +0000 (GMT) (envelope-from tdamas@gawab.com) Received: (qmail 5272 invoked by uid 1004); 15 Aug 2004 21:42:43 -0000 Message-ID: <20040815214243.5271.qmail@gawab.com> References: <200408111158.43933.bikrant_ml@wlink.com.np> <20040815020237.1826.qmail@gawab.com> <200408151009.52979.bikrant_ml@wlink.com.np> <20040815070540.GA27245@astral-On.net> In-Reply-To: <20040815070540.GA27245@astral-On.net> Received: from 200.143.88.171 by www.gawab.com with HTTP; Sun, 15 Aug 2004 21:42:43 GMT From: "Thiago Pinto Damas" To: ad@astral-On.net Date: Sun, 15 Aug 2004 21:42:43 GMT X-Originating-Ip: [200.143.88.171] Mime-version: 1.0 Content-Type: multipart/mixed; boundary="=_0_5257_1092606163"; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-Net@freebsd.org Subject: Re: Changing TOS value X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 21:42:44 -0000 This is a MIME-formatted message. If you see this text it means that your mail software cannot handle MIME-formatted messages. --=_0_5257_1092606163 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit But there is an ALTQ package for FreeBSD 4.10? Andrew Degtiariov writes: > On Sun, Aug 15, 2004 at 10:09:52AM +0545, Bikrant Neupane wrote: >> Hi, >> Thanks for the reply. But my problem is something else. I want to change the >> TOS value. In Linux we can change the TOS value in the mangle table. Is that >> possible in FreeBSD? > Yes, ALTQ its can (ALTQ come with KAME). > > -- > Andrew Degtiariov > DA-RIPE > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" --=_0_5257_1092606163 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" [readmsg.fcg?msg=10926061635257] --=_0_5257_1092606163-- From owner-freebsd-net@FreeBSD.ORG Mon Aug 16 06:34:55 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3BFD16A4CE for ; Mon, 16 Aug 2004 06:34:54 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AB1A43D4C for ; Mon, 16 Aug 2004 06:34:54 +0000 (GMT) (envelope-from sudheer.vutukuru@gmail.com) Received: by mproxy.gmail.com with SMTP id 80so90184rnk for ; Sun, 15 Aug 2004 23:34:53 -0700 (PDT) Received: by 10.38.206.39 with SMTP id d39mr694489rng; Sun, 15 Aug 2004 23:34:53 -0700 (PDT) Message-ID: <55ee29e004081523341f9dcbde@mail.gmail.com> Date: Mon, 16 Aug 2004 12:04:53 +0530 From: Sudheer Vutukuru To: freebsd-net@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: A Splitter X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sudheer Vutukuru List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 06:34:55 -0000 Hi all, i want to configure a freebsd machine to act like splitter what i mean by splitter is we want to split the traffic based on a hash function in to two/three streams. our setup is like this we will keep 3 gigabit ethernet cards in one machine and we will be getting traffic on one line we need to split the traffic and send them in two lines. for this can i write a module in freebsd that should do this, the important point is i need to handle gigabit traffic. is there another way to do this. thanks in advance sudheer - *************************************************************************** V V N Sudheer, Master of Technology, Dept. of Computer Science, IIT Kanpur. From owner-freebsd-net@FreeBSD.ORG Mon Aug 16 06:40:02 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86BD716A4CE for ; Mon, 16 Aug 2004 06:40:02 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F36743D2F for ; Mon, 16 Aug 2004 06:40:02 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id i7G6e1EL028007; Sun, 15 Aug 2004 23:40:01 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id i7G6e1Cn028006; Sun, 15 Aug 2004 23:40:01 -0700 Date: Sun, 15 Aug 2004 23:40:01 -0700 From: Brooks Davis To: Sudheer Vutukuru Message-ID: <20040816064001.GA27759@odin.ac.hmc.edu> References: <55ee29e004081523341f9dcbde@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <55ee29e004081523341f9dcbde@mail.gmail.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new cc: freebsd-net@freebsd.org Subject: Re: A Splitter X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 06:40:02 -0000 --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 16, 2004 at 12:04:53PM +0530, Sudheer Vutukuru wrote: > Hi all, >=20 > i want to configure a freebsd machine to act like splitter >=20 > what i mean by splitter is we want to split the traffic based on a > hash function in to two/three streams. our setup is like this we will > keep 3 gigabit ethernet cards in one machine and we will be getting > traffic on one line we need to split the traffic and send them in two > lines. >=20 > for this can i write a module in freebsd that should do this, the > important point is i need to handle gigabit traffic. is there another > way to do this. It should be fairly easy to write a netgraph module to do this. I suspect it will be very hard to forward a fully gigabit link worth of packets in this manner unless they are all fairly large and you have very good hardware, but you certaintly should be able to produce signifcant results. You're best bet is probably 5-CURRENT on a high performance SMP system with 3 PCI-X busses. An Opteron system will probably have the best performance. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBIFbBXY6L6fI4GtQRAq8GAKDc5hgs2EKtVauGq65vvFNp+tgkNACfXZmI IAnV5xfLmQRVYT6egMCnebk= =YyT+ -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb-- From owner-freebsd-net@FreeBSD.ORG Mon Aug 16 07:23:53 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7901016A4CE for ; Mon, 16 Aug 2004 07:23:53 +0000 (GMT) Received: from therion.astral-on.net (therion.astral-on.net [193.41.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4A8443D1D for ; Mon, 16 Aug 2004 07:23:51 +0000 (GMT) (envelope-from ad@astral-on.net) Received: from odin.astral-on.net (odin.astral-on.net [193.41.4.6]) i7G7NmRB063717 for ; Mon, 16 Aug 2004 10:23:49 +0300 (EEST) (envelope-from ad@astral-on.net) Received: from odin.astral-on.net (localhost.astral-on.net [127.0.0.1]) by odin.astral-on.net (8.12.8p2/8.12.8) with ESMTP id i7G7NmFK069015 for ; Mon, 16 Aug 2004 10:23:48 +0300 (EEST) (envelope-from ad@odin.astral-on.net) Received: (from ad@localhost) by odin.astral-on.net (8.12.8p2/8.12.8/Submit) id i7G7Nln1069014 for freebsd-Net@freebsd.org; Mon, 16 Aug 2004 10:23:47 +0300 (EEST) Date: Mon, 16 Aug 2004 10:23:47 +0300 From: Andrew Degtiariov To: freebsd-Net@freebsd.org Message-ID: <20040816072347.GA68830@astral-on.net> Mail-Followup-To: freebsd-Net@freebsd.org References: <200408111158.43933.bikrant_ml@wlink.com.np> <20040815020237.1826.qmail@gawab.com> <200408151009.52979.bikrant_ml@wlink.com.np> <20040815070540.GA27245@astral-On.net> <20040815214243.5271.qmail@gawab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040815214243.5271.qmail@gawab.com> User-Agent: Mutt/1.5.6i Subject: Re: Changing TOS value X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-net@astral-on.net List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 07:23:53 -0000 On Sun, Aug 15, 2004 at 09:42:43PM +0000, Thiago Pinto Damas wrote: > > But there is an ALTQ package for FreeBSD 4.10? http://www.kame.net/ (Kame contains ALTQ in itself) > > On Sun, Aug 15, 2004 at 10:09:52AM +0545, Bikrant Neupane wrote: > >> Hi, > >> Thanks for the reply. But my problem is something else. I want to change the > >> TOS value. In Linux we can change the TOS value in the mangle table. Is that > >> possible in FreeBSD? > > Yes, ALTQ its can (ALTQ come with KAME). -- Andrew Degtiariov DA-RIPE From owner-freebsd-net@FreeBSD.ORG Mon Aug 16 10:24:22 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2372616A4CE for ; Mon, 16 Aug 2004 10:24:22 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F28B43D2F for ; Mon, 16 Aug 2004 10:24:22 +0000 (GMT) (envelope-from galaxy.ranger@gmail.com) Received: by mproxy.gmail.com with SMTP id u15so29918cwc for ; Mon, 16 Aug 2004 03:24:18 -0700 (PDT) Received: by 10.11.120.22 with SMTP id s22mr74052cwc; Sun, 15 Aug 2004 13:57:38 -0700 (PDT) Message-ID: <4a1299a4040815135735626471@mail.gmail.com> Date: Sun, 15 Aug 2004 13:57:30 -0700 From: Fargo Holiday To: freebsd-net@freebsd.org In-Reply-To: <20040815191905.GC43915@shellma.zin.lublin.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <4a1299a404081414287a9ecbc@mail.gmail.com> <20040815104243.GA43915@shellma.zin.lublin.pl> <4a1299a4040815113178caa332@mail.gmail.com> <20040815191905.GC43915@shellma.zin.lublin.pl> Subject: Re: [FreeBSD 5.2] Bandwith and packet throttling X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Fargo Holiday List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 10:24:22 -0000 Thank you greatly everyone, derision aside, and especially Pawel. The deny loopback is strange, I assume my roommate put that in there or it is a strange default rule. And, to be honest, when I looked at the man page, I didn't see any indication that a successful rule match halted the pattern search, and in fact the last firewall/routing solution I used was some bastard piece of software running a Solaris machine. I don't recall the name of it, but let's just say the experience doesn't carry over to this layout. Here is what I saw in the man page, and why it didn't occur to me that the rule placement was important: "An ipfw configuration, or ruleset, is made of a list of rules numbered from 1 to 65535. Packets are passed to ipfw from a number of different places in the protocol stack (depending on the source and destination of the packet, it is possible that ipfw is invoked multiple times on the same packet). The packet passed to the firewall is compared against each of the rules in the firewall ruleset. When a match is found, the action corresponding to the matching rule is performed." and a little later: " Also note that each packet is always checked against the complete rule- set, irrespective of the place where the check occurs, or the source of the packet." Though I did initially overlook this part: "Depending on the action and certain system settings, packets can be rein- jected into the firewall at some rule after the matching one for further processing." Which vaguely implys such a thing, I never came across a section that mentioned this behavior of exiting after a match. Anyway, thanks again y'all, I truly appreciate it. From owner-freebsd-net@FreeBSD.ORG Mon Aug 16 10:59:52 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFF9A16A4CE for ; Mon, 16 Aug 2004 10:59:52 +0000 (GMT) Received: from shellma.zin.lublin.pl (shellma.zin.lublin.pl [212.182.126.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67E5643D1D for ; Mon, 16 Aug 2004 10:59:52 +0000 (GMT) (envelope-from pawmal-posting@freebsd.lublin.pl) Received: by shellma.zin.lublin.pl (Postfix, from userid 1018) id CA4CB3474C1; Mon, 16 Aug 2004 12:57:40 +0200 (CEST) Date: Mon, 16 Aug 2004 12:57:40 +0200 From: Pawel Malachowski To: freebsd-net@freebsd.org Message-ID: <20040816105740.GB9141@shellma.zin.lublin.pl> References: <20040805225408.GA70729@shellma.zin.lublin.pl> <20040809163739.GA95408@shellma.zin.lublin.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040809163739.GA95408@shellma.zin.lublin.pl> User-Agent: Mutt/1.4.2i Subject: Re: ipfilter/ipnat 3.4.35 and udp-traceroute problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 10:59:53 -0000 > With this ruleset, UDP-traceroute doesn't work (ICMP- works): Just feeding list archives: This problem was also described and analysed by Andre Albsmeier on IPFilter mailing list [1]. Shouldn't be IPFilter v3.4.35 backed out from RELENG_4 until fix arrives? [1] http://groups.google.pl/groups?selm=cfoap6%242b7t%241%40FreeBSD.csie.NCTU.edu.tw&output=gplain -- Paweł Małachowski From owner-freebsd-net@FreeBSD.ORG Mon Aug 16 11:03:06 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2432116A4CE for ; Mon, 16 Aug 2004 11:03:06 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F11FA43D2F for ; Mon, 16 Aug 2004 11:03:05 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i7GB353Z096964 for ; Mon, 16 Aug 2004 11:03:05 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7GB34vI096950 for freebsd-net@freebsd.org; Mon, 16 Aug 2004 11:03:04 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 16 Aug 2004 11:03:04 GMT Message-Id: <200408161103.i7GB34vI096950@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-net@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 11:03:06 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1999/11/26] kern/15095 net TCP's advertised window is not scaled imm o [2001/02/08] kern/24959 net proper TCP_NOPUSH/TCP_CORK compatibility o [2003/07/11] kern/54383 net NFS root configurations without dynamic p 3 problems total. From owner-freebsd-net@FreeBSD.ORG Mon Aug 16 18:05:08 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE5E716A4CF for ; Mon, 16 Aug 2004 18:05:08 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7681143D5F for ; Mon, 16 Aug 2004 18:05:08 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 9DC301FF903 for ; Mon, 16 Aug 2004 20:05:07 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id B81791FFDD4; Mon, 16 Aug 2004 20:05:05 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 3408915672; Mon, 16 Aug 2004 18:03:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 2952C15329 for ; Mon, 16 Aug 2004 18:03:33 +0000 (UTC) Date: Mon, 16 Aug 2004 18:03:33 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: freebsd-net@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Subject: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 18:05:08 -0000 Hi, It seems netgraph is only build on ia64 and i386. Can someone please explain why ? -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT From owner-freebsd-net@FreeBSD.ORG Mon Aug 16 18:37:52 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34A0E16A4CE; Mon, 16 Aug 2004 18:37:52 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72CC243D1F; Mon, 16 Aug 2004 18:37:51 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i7GIbk6B069558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Aug 2004 21:37:47 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i7GIbkIC087119; Mon, 16 Aug 2004 21:37:46 +0300 (EEST) (envelope-from ru) Date: Mon, 16 Aug 2004 21:37:46 +0300 From: Ruslan Ermilov To: "Bjoern A. Zeeb" Message-ID: <20040816183746.GC33984@ip.net.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xo44VMWPx7vlQ2+2" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: freebsd-net@FreeBSD.org cc: Gleb Smirnoff Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 18:37:52 -0000 --xo44VMWPx7vlQ2+2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 16, 2004 at 06:03:33PM +0000, Bjoern A. Zeeb wrote: > Hi, >=20 > It seems netgraph is only build on ia64 and i386. > Can someone please explain why ? >=20 I think this is an omission from the old days. If it survives ``make universe'', this should probably be committed. Gleb, do you feel like testing this with ``make universe''? %%% Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/sys/modules/Makefile,v retrieving revision 1.391 diff -u -r1.391 Makefile --- Makefile 3 Aug 2004 19:24:54 -0000 1.391 +++ Makefile 16 Aug 2004 18:24:23 -0000 @@ -143,7 +143,7 @@ ${_ncp} \ ${_ncv} \ ${_ndis} \ - ${_netgraph} \ + netgraph \ nfsclient \ nfsserver \ nge \ @@ -308,7 +308,6 @@ _ncp=3D ncp _ncv=3D ncv _ndis=3D ndis -_netgraph=3D netgraph _nsp=3D nsp _nwfs=3D nwfs _oltr=3D oltr @@ -401,7 +400,6 @@ _hfa=3D hfa _iir=3D iir _mly=3D mly -_netgraph=3D netgraph _pccard=3D pccard _ray=3D ray _scsi_low=3D scsi_low %%% Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --xo44VMWPx7vlQ2+2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBIP76qRfpzJluFF4RAlKxAJ9rJf/cZfy3hYcMWTUFcFzTHTgHKACfdpkZ GlTplrsORqSs7mG6x05jvdc= =TZeZ -----END PGP SIGNATURE----- --xo44VMWPx7vlQ2+2-- From owner-freebsd-net@FreeBSD.ORG Mon Aug 16 18:43:39 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D008616A4CE; Mon, 16 Aug 2004 18:43:39 +0000 (GMT) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A77C43D3F; Mon, 16 Aug 2004 18:43:39 +0000 (GMT) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.11/8.12.8) with ESMTP id i7GIhaO5051871 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Aug 2004 22:43:37 +0400 (MSD) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.sick.ru (8.12.11/8.12.11/Submit) id i7GIhale051870; Mon, 16 Aug 2004 22:43:36 +0400 (MSD) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@freebsd.org using -f Date: Mon, 16 Aug 2004 22:43:36 +0400 From: Gleb Smirnoff To: Ruslan Ermilov Message-ID: <20040816184336.GE50620@cell.sick.ru> Mail-Followup-To: Gleb Smirnoff , Ruslan Ermilov , "Bjoern A. Zeeb" , freebsd-net@FreeBSD.org References: <20040816183746.GC33984@ip.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20040816183746.GC33984@ip.net.ua> User-Agent: Mutt/1.5.6i cc: "Bjoern A. Zeeb" cc: freebsd-net@freebsd.org Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 18:43:39 -0000 On Mon, Aug 16, 2004 at 09:37:46PM +0300, Ruslan Ermilov wrote: R> > It seems netgraph is only build on ia64 and i386. R> > Can someone please explain why ? R> > R> I think this is an omission from the old days. If it R> survives ``make universe'', this should probably be R> committed. Gleb, do you feel like testing this with R> ``make universe''? Now I have only quite old notebook and poor internet access. I hope someone else can test it. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-net@FreeBSD.ORG Mon Aug 16 18:45:08 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E716516A4CF; Mon, 16 Aug 2004 18:45:08 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86E8443D2F; Mon, 16 Aug 2004 18:45:08 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 6ECC01FF931; Mon, 16 Aug 2004 20:45:07 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 65A5A1FF90C; Mon, 16 Aug 2004 20:45:05 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id D99F615672; Mon, 16 Aug 2004 18:44:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id CEF4515329; Mon, 16 Aug 2004 18:44:43 +0000 (UTC) Date: Mon, 16 Aug 2004 18:44:43 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Ruslan Ermilov In-Reply-To: <20040816183746.GC33984@ip.net.ua> Message-ID: References: <20040816183746.GC33984@ip.net.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: freebsd-net@FreeBSD.org cc: Gleb Smirnoff Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 18:45:09 -0000 On Mon, 16 Aug 2004, Ruslan Ermilov wrote: > On Mon, Aug 16, 2004 at 06:03:33PM +0000, Bjoern A. Zeeb wrote: > > Hi, > > > > It seems netgraph is only build on ia64 and i386. > > Can someone please explain why ? > > > I think this is an omission from the old days. If it > survives ``make universe'', this should probably be > committed. Gleb, do you feel like testing this with > ``make universe''? modules at least compiled on amd64 (wuth warnings in two of them). haven't rebooted yet. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT From owner-freebsd-net@FreeBSD.ORG Mon Aug 16 19:15:13 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91EEE16A4CE; Mon, 16 Aug 2004 19:15:13 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1BD743D2D; Mon, 16 Aug 2004 19:15:08 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 264A31FF931; Mon, 16 Aug 2004 21:15:07 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 4019F1FF91D; Mon, 16 Aug 2004 21:15:05 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 91BB715672; Mon, 16 Aug 2004 19:13:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 86EF015329; Mon, 16 Aug 2004 19:13:27 +0000 (UTC) Date: Mon, 16 Aug 2004 19:13:27 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Ruslan Ermilov In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: freebsd-net@FreeBSD.org Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 19:15:13 -0000 On Mon, 16 Aug 2004, Bjoern A. Zeeb wrote: > On Mon, 16 Aug 2004, Ruslan Ermilov wrote: > > > On Mon, Aug 16, 2004 at 06:03:33PM +0000, Bjoern A. Zeeb wrote: > > > Hi, > > > > > > It seems netgraph is only build on ia64 and i386. > > > Can someone please explain why ? > > > > > I think this is an omission from the old days. If it > > survives ``make universe'', this should probably be > > committed. Gleb, do you feel like testing this with > > ``make universe''? > > modules at least compiled on amd64 (with warnings in two of them). > haven't rebooted yet. and they load: bz@noc:~> uname -m amd64 bz@noc:~> kldstat Id Refs Address Size Name 1 13 0xffffffff80100000 859e58 kernel 2 4 0xffffffffa7750000 3969c kcapimgr.ko 3 1 0xffffffffa778a000 36cf capidev.ko 4 1 0xffffffffa778e000 19591 avmaic.ko 5 1 0xffffffffa77aa000 f663 i4bcapimgr.ko 6 1 0xffffffffa781e000 54a0 if_sk.ko 7 1 0xffffffffa7be2000 4a2d ng_l2tp.ko 8 3 0xffffffffa7be7000 d902 netgraph.ko 9 1 0xffffffffa7bf5000 25ad ng_socket.ko 10 1 0xffffffffa7bf8000 1b5d ng_ether.ko noc# ngctl l There are 4 total nodes: Name: ngctl1024 Type: socket ID: 00000008 Num hooks: 0 Name: mpcd(01008) Type: socket ID: 00000007 Num hooks: 0 Name: sk0 Type: ether ID: 00000003 Num hooks: 0 Name: fwe0 Type: ether ID: 00000002 Num hooks: 0 unfortunately I neither do not have the resources for a make universe at the moment. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT From owner-freebsd-net@FreeBSD.ORG Tue Aug 17 02:06:00 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1C2616A4D2; Tue, 17 Aug 2004 02:05:59 +0000 (GMT) Received: from outbound0.sv.meer.net (outbound0.sv.meer.net [205.217.152.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF41043D3F; Tue, 17 Aug 2004 02:05:57 +0000 (GMT) (envelope-from gnn@neville-neil.com) Received: from mail.meer.net (mail.meer.net [209.157.152.14]) i7H25Nr4078182; Mon, 16 Aug 2004 19:05:26 -0700 (PDT) (envelope-from gnn@neville-neil.com) Received: from minion.local.neville-neil.com (h234.neville-neil.com [209.157.133.234] (may be forged)) by mail.meer.net (8.12.10/8.12.2/meer) with ESMTP id i7H24Xwb030140; Mon, 16 Aug 2004 19:04:34 -0700 (PDT) (envelope-from gnn@neville-neil.com) Date: Mon, 16 Aug 2004 19:04:34 -0700 Message-ID: From: "George V. Neville-Neil" To: freebsd-net@freebsd.org User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.5 Emacs/21.2 (powerpc-apple-darwin) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII cc: freebsd-current@freebsd.org cc: ume@mahoroba.org Subject: Patch to remove the old IPv6 prefix code from -CURRENT X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 02:06:00 -0000 Hi Folks, Enclosed is a patch against the recent -CURRENT tree which removes the in6_prefix code that has already been removed from the Kame tree by the Kame team. I would appreciate it if folks could try this out before we include this in our own tree. I have done some testing of this code on my own machines, but this is only ping6/traceroute6 and ssh type testing. Thanks, George --- sys/conf/files.orig +++ sys/conf/files @@ -1502,7 +1502,6 @@ netinet6/in6_gif.c optional gif inet6 netinet6/in6_ifattach.c optional inet6 netinet6/in6_pcb.c optional inet6 -netinet6/in6_prefix.c optional inet6 netinet6/in6_proto.c optional inet6 netinet6/in6_rmx.c optional inet6 netinet6/in6_src.c optional inet6 --- sys/netinet6/in6.c.orig +++ sys/netinet6/in6.c @@ -1151,7 +1151,6 @@ struct in6_ifaddr *ia; struct ifnet *ifp; { - int plen, iilen; struct in6_ifaddr *oia; int s = splnet(); @@ -1171,12 +1170,6 @@ } } - if (oia->ia6_ifpr) { /* check for safety */ - plen = in6_mask2len(&oia->ia_prefixmask.sin6_addr, NULL); - iilen = (sizeof(oia->ia_prefixmask.sin6_addr) << 3) - plen; - in6_prefix_remove_ifid(iilen, oia); - } - /* * When an autoconfigured address is being removed, release the * reference to the base prefix. Also, since the release might --- sys/netinet6/in6_ifattach.c.orig +++ sys/netinet6/in6_ifattach.c @@ -754,9 +754,6 @@ struct in6_multi *in6m; struct in6_multi *in6m_next; - /* nuke prefix list. this may try to remove some of ifaddrs as well */ - in6_purgeprefix(ifp); - /* remove neighbor management table */ nd6_purge(ifp); --- sys/netinet6/in6_proto.c.orig +++ sys/netinet6/in6_proto.c @@ -102,7 +102,6 @@ #include #include #include -#include #ifdef IPSEC #include --- sys/netinet6/ip6_input.c.orig +++ sys/netinet6/ip6_input.c @@ -105,7 +105,6 @@ #include #include #include -#include #ifdef IPSEC #include @@ -212,10 +211,6 @@ callout_init(&nd6_timer_ch, 0); callout_reset(&nd6_timer_ch, hz, nd6_timer, NULL); - /* router renumbering prefix list maintenance */ - callout_init(&in6_rr_timer_ch, 0); - callout_reset(&in6_rr_timer_ch, hz, in6_rr_timer, NULL); - /* timer for regeneranation of temporary addresses randomize ID */ callout_init(&in6_tmpaddrtimer_ch, 0); callout_reset(&in6_tmpaddrtimer_ch, --- sys/netinet6/nd6.c.orig +++ sys/netinet6/nd6.c @@ -65,7 +65,6 @@ #include #include #include -#include #include #include @@ -1410,26 +1409,6 @@ i++; pr = pr->ndpr_next; } - { - struct rr_prefix *rpp; - - for (rpp = LIST_FIRST(&rr_prefix); rpp; - rpp = LIST_NEXT(rpp, rp_entry)) { - if (i >= PRLSTSIZ) - break; - (void)in6_embedscope(&oprl->prefix[i].prefix, - &pr->ndpr_prefix, NULL, NULL); - oprl->prefix[i].raflags = rpp->rp_raf; - oprl->prefix[i].prefixlen = rpp->rp_plen; - oprl->prefix[i].vltime = rpp->rp_vltime; - oprl->prefix[i].pltime = rpp->rp_pltime; - oprl->prefix[i].if_index = rpp->rp_ifp->if_index; - oprl->prefix[i].expire = rpp->rp_expire; - oprl->prefix[i].advrtrs = 0; - oprl->prefix[i].origin = rpp->rp_origin; - i++; - } - } splx(s); break; From owner-freebsd-net@FreeBSD.ORG Tue Aug 17 09:24:43 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23CC116A4CE for ; Tue, 17 Aug 2004 09:24:43 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50E6243D1F for ; Tue, 17 Aug 2004 09:24:42 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i7H9Mic7054953 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Aug 2004 12:22:45 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i7H8nlDV008741; Tue, 17 Aug 2004 11:49:47 +0300 (EEST) (envelope-from ru) Date: Tue, 17 Aug 2004 11:49:47 +0300 From: Ruslan Ermilov To: "Bjoern A. Zeeb" Message-ID: <20040817084947.GB97542@ip.net.ua> References: <20040816183746.GC33984@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rS8CxjVDS/+yyDmU" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: freebsd-net@FreeBSD.org Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 09:24:43 -0000 --rS8CxjVDS/+yyDmU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 16, 2004 at 07:13:27PM +0000, Bjoern A. Zeeb wrote: > On Mon, 16 Aug 2004, Bjoern A. Zeeb wrote: >=20 > > On Mon, 16 Aug 2004, Ruslan Ermilov wrote: > > > > > On Mon, Aug 16, 2004 at 06:03:33PM +0000, Bjoern A. Zeeb wrote: > > > > Hi, > > > > > > > > It seems netgraph is only build on ia64 and i386. > > > > Can someone please explain why ? > > > > > > > I think this is an omission from the old days. If it > > > survives ``make universe'', this should probably be > > > committed. Gleb, do you feel like testing this with > > > ``make universe''? > > > > modules at least compiled on amd64 (with warnings in two of them). > > haven't rebooted yet. >=20 > and they load: >=20 [...] > unfortunately I neither do not have the resources for a make universe > at the moment. >=20 I'm testing the patch with "make universe" -- will take some time on a 800MHz CPU. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --rS8CxjVDS/+yyDmU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBIcarqRfpzJluFF4RAh3CAJ0fKEAFio7yX85ImTNBY3RDlSEBrQCbBJ3U VBn9QICIAWBEClsVE6k8130= =izbe -----END PGP SIGNATURE----- --rS8CxjVDS/+yyDmU-- From owner-freebsd-net@FreeBSD.ORG Tue Aug 17 09:26:56 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6916116A4CE for ; Tue, 17 Aug 2004 09:26:56 +0000 (GMT) Received: from n33.kp.t-systems-sfr.com (n33.kp.t-systems-sfr.com [129.247.16.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9680243D1D for ; Tue, 17 Aug 2004 09:26:55 +0000 (GMT) (envelope-from harti@freebsd.org) Received: from n81.sp.op.dlr.de (n81g.sp.op.dlr.de [129.247.163.1]) i7H9QgX420834; Tue, 17 Aug 2004 11:26:53 +0200 Received: from zeus.nt.op.dlr.de (zeus.nt.op.dlr.de [129.247.173.3]) i7H9QgI43298; Tue, 17 Aug 2004 11:26:42 +0200 Received: from beagle.kn.op.dlr.de (opkndnwsbsd178 [129.247.173.178]) by zeus.nt.op.dlr.de (8.11.7+Sun/8.9.1) with ESMTP id i7H9Qfe29738; Tue, 17 Aug 2004 11:26:41 +0200 (MET DST) Date: Tue, 17 Aug 2004 11:26:43 +0200 (CEST) From: Harti Brandt X-X-Sender: brandt@beagle.kn.op.dlr.de To: "Bjoern A. Zeeb" In-Reply-To: Message-ID: <20040817112452.K55677@beagle.kn.op.dlr.de> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Harti Brandt List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 09:26:56 -0000 On Mon, 16 Aug 2004, Bjoern A. Zeeb wrote: BAZ>Hi, BAZ> BAZ>It seems netgraph is only build on ia64 and i386. BAZ>Can someone please explain why ? Until around april I used all the ATM related Ng stuff regularily (this include ng_socket, all the stuff under netgraph/atm). I think this should just be enabled. Unless build problems have been introduced since then, it should just be enabled. harti From owner-freebsd-net@FreeBSD.ORG Tue Aug 17 11:18:22 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AECF616A4D0; Tue, 17 Aug 2004 11:18:22 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAE9643D31; Tue, 17 Aug 2004 11:18:21 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-19-124.dsl.OntheNet.net [203.144.19.124]) i7HBIKnP067801; Tue, 17 Aug 2004 21:18:20 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <4121E973.6050501@freebsd.org> Date: Tue, 17 Aug 2004 21:18:11 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: "Bjoern A. Zeeb" cc: Gleb Smirnoff cc: freebsd-net@freebsd.org Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 11:18:22 -0000 >I think this is an omission from the old days. If it >survives ``make universe'', this should probably be >committed. Gleb, do you feel like testing this with >``make universe''? FWIW, I've built/run netgraph on PPC. later, Peter. From owner-freebsd-net@FreeBSD.ORG Tue Aug 17 16:49:01 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 415A116A4CE; Tue, 17 Aug 2004 16:49:01 +0000 (GMT) Received: from blake.polstra.com (blake.polstra.com [64.81.189.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id A795443D2F; Tue, 17 Aug 2004 16:48:58 +0000 (GMT) (envelope-from jdp@polstra.com) Received: from strings.polstra.com (dsl081-189-067.sea1.dsl.speakeasy.net [64.81.189.67]) by blake.polstra.com (8.12.11/8.12.11) with ESMTP id i7HGmvGV087201 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Aug 2004 09:48:57 -0700 (PDT) (envelope-from jdp@strings.polstra.com) Received: (from jdp@localhost) by strings.polstra.com (8.12.11/8.12.11/Submit) id i7HGmvMr017275; Tue, 17 Aug 2004 09:48:57 -0700 (PDT) (envelope-from jdp) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20040817112452.K55677@beagle.kn.op.dlr.de> Date: Tue, 17 Aug 2004 09:48:57 -0700 (PDT) From: John Polstra To: Harti Brandt X-Bogosity: No, tests=bogofilter, spamicity=0.499952, version=0.14.5 cc: freebsd-net@freebsd.org cc: "Bjoern A. Zeeb" Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 16:49:01 -0000 On 17-Aug-2004 Harti Brandt wrote: > On Mon, 16 Aug 2004, Bjoern A. Zeeb wrote: > > BAZ>Hi, > BAZ> > BAZ>It seems netgraph is only build on ia64 and i386. > BAZ>Can someone please explain why ? > > Until around april I used all the ATM related Ng stuff regularily (this > include ng_socket, all the stuff under netgraph/atm). I think this should > just be enabled. Unless build problems have been introduced since then, > it should just be enabled. There is one problem with netgraph on 64-bit platforms. The ng_msghdr struct is 52 bytes / 4-byte aligned (see ng_message.h). That means the message payload is not well-aligned for 64-bit platforms. It would be nice to fix that (and bump NG_VERSION, of course). Nobody ever guaranteed that the message payload would be aligned, but it makes things a lot more convenient. John From owner-freebsd-net@FreeBSD.ORG Tue Aug 17 16:56:40 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F276D16A4CE; Tue, 17 Aug 2004 16:56:39 +0000 (GMT) Received: from n33.kp.t-systems-sfr.com (n33.kp.t-systems-sfr.com [129.247.16.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7225943D3F; Tue, 17 Aug 2004 16:56:38 +0000 (GMT) (envelope-from harti@freebsd.org) Received: from n81.sp.op.dlr.de (n81g.sp.op.dlr.de [129.247.163.1]) i7HGuIX546360; Tue, 17 Aug 2004 18:56:18 +0200 Received: from zeus.nt.op.dlr.de (zeus.nt.op.dlr.de [129.247.173.3]) i7HGuII57506; Tue, 17 Aug 2004 18:56:18 +0200 Received: from beagle.kn.op.dlr.de (opkndnwsbsd178 [129.247.173.178]) by zeus.nt.op.dlr.de (8.11.7+Sun/8.9.1) with ESMTP id i7HGuGe06186; Tue, 17 Aug 2004 18:56:18 +0200 (MET DST) Date: Tue, 17 Aug 2004 18:56:16 +0200 (CEST) From: Harti Brandt X-X-Sender: brandt@beagle.kn.op.dlr.de To: John Polstra In-Reply-To: Message-ID: <20040817185049.X872@beagle.kn.op.dlr.de> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org cc: "Bjoern A. Zeeb" Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Harti Brandt List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 16:56:40 -0000 On Tue, 17 Aug 2004, John Polstra wrote: JP>On 17-Aug-2004 Harti Brandt wrote: JP>> On Mon, 16 Aug 2004, Bjoern A. Zeeb wrote: JP>> JP>> BAZ>Hi, JP>> BAZ> JP>> BAZ>It seems netgraph is only build on ia64 and i386. JP>> BAZ>Can someone please explain why ? JP>> JP>> Until around april I used all the ATM related Ng stuff regularily (this JP>> include ng_socket, all the stuff under netgraph/atm). I think this should JP>> just be enabled. Unless build problems have been introduced since then, JP>> it should just be enabled. JP> JP>There is one problem with netgraph on 64-bit platforms. The ng_msghdr JP>struct is 52 bytes / 4-byte aligned (see ng_message.h). That means JP>the message payload is not well-aligned for 64-bit platforms. It JP>would be nice to fix that (and bump NG_VERSION, of course). Nobody JP>ever guaranteed that the message payload would be aligned, but it JP>makes things a lot more convenient. Oh. That would be good to fix. I assumed that the payload is correctly aligned and never checked that. This seems magically to work (even in the kernel). I suppose that cannot be fixed by check that a universe can be built? harti From owner-freebsd-net@FreeBSD.ORG Wed Aug 18 12:03:57 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 812F416A4CE for ; Wed, 18 Aug 2004 12:03:57 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A785A43D2F for ; Wed, 18 Aug 2004 12:03:56 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i7IC174t034472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Aug 2004 15:01:08 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i7IC18f0069872; Wed, 18 Aug 2004 15:01:08 +0300 (EEST) (envelope-from ru) Date: Wed, 18 Aug 2004 15:01:08 +0300 From: Ruslan Ermilov To: "Bjoern A. Zeeb" Message-ID: <20040818120108.GA68772@ip.net.ua> References: <20040816183746.GC33984@ip.net.ua> <20040817084947.GB97542@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline In-Reply-To: <20040817084947.GB97542@ip.net.ua> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: freebsd-net@FreeBSD.org Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 12:03:57 -0000 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 17, 2004 at 11:49:47AM +0300, Ruslan Ermilov wrote: > On Mon, Aug 16, 2004 at 07:13:27PM +0000, Bjoern A. Zeeb wrote: > > On Mon, 16 Aug 2004, Bjoern A. Zeeb wrote: > >=20 > > > On Mon, 16 Aug 2004, Ruslan Ermilov wrote: > > > > > > > On Mon, Aug 16, 2004 at 06:03:33PM +0000, Bjoern A. Zeeb wrote: > > > > > Hi, > > > > > > > > > > It seems netgraph is only build on ia64 and i386. > > > > > Can someone please explain why ? > > > > > > > > > I think this is an omission from the old days. If it > > > > survives ``make universe'', this should probably be > > > > committed. Gleb, do you feel like testing this with > > > > ``make universe''? > > > > > > modules at least compiled on amd64 (with warnings in two of them). > > > haven't rebooted yet. > >=20 > > and they load: > >=20 > [...] > > unfortunately I neither do not have the resources for a make universe > > at the moment. > >=20 > I'm testing the patch with "make universe" -- will take some time on > a 800MHz CPU. >=20 Universe built; patch committed to 6.0-CURRENT. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBI0UEqRfpzJluFF4RArEDAJ40hcTE3EwdrZRKhakjhkm/3UzRDgCgmux1 W3F/UX7AMUCF0o5J9/itqd4= =Rlwn -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8-- From owner-freebsd-net@FreeBSD.ORG Wed Aug 18 12:38:56 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A997D16A4CE; Wed, 18 Aug 2004 12:38:56 +0000 (GMT) Received: from n33.kp.t-systems-sfr.com (n33.kp.t-systems-sfr.com [129.247.16.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DC8143D41; Wed, 18 Aug 2004 12:38:55 +0000 (GMT) (envelope-from harti@freebsd.org) Received: from n81.sp.op.dlr.de (n81g.sp.op.dlr.de [129.247.163.1]) i7ICcsX466172; Wed, 18 Aug 2004 14:38:54 +0200 Received: from zeus.nt.op.dlr.de (zeus.nt.op.dlr.de [129.247.173.3]) i7ICcrI65588; Wed, 18 Aug 2004 14:38:54 +0200 Received: from beagle.kn.op.dlr.de (opkndnwsbsd178 [129.247.173.178]) by zeus.nt.op.dlr.de (8.11.7+Sun/8.9.1) with ESMTP id i7ICcqe16341; Wed, 18 Aug 2004 14:38:52 +0200 (MET DST) Date: Wed, 18 Aug 2004 14:38:53 +0200 (CEST) From: Harti Brandt X-X-Sender: brandt@beagle.kn.op.dlr.de To: Ruslan Ermilov In-Reply-To: <20040818120108.GA68772@ip.net.ua> Message-ID: <20040818143839.O872@beagle.kn.op.dlr.de> References: <20040817084947.GB97542@ip.net.ua> <20040818120108.GA68772@ip.net.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "Bjoern A. Zeeb" cc: freebsd-net@freebsd.org Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Harti Brandt List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 12:38:56 -0000 On Wed, 18 Aug 2004, Ruslan Ermilov wrote: RE>On Tue, Aug 17, 2004 at 11:49:47AM +0300, Ruslan Ermilov wrote: RE>> On Mon, Aug 16, 2004 at 07:13:27PM +0000, Bjoern A. Zeeb wrote: RE>> > On Mon, 16 Aug 2004, Bjoern A. Zeeb wrote: RE>> > RE>> > > On Mon, 16 Aug 2004, Ruslan Ermilov wrote: RE>> > > RE>> > > > On Mon, Aug 16, 2004 at 06:03:33PM +0000, Bjoern A. Zeeb wrote: RE>> > > > > Hi, RE>> > > > > RE>> > > > > It seems netgraph is only build on ia64 and i386. RE>> > > > > Can someone please explain why ? RE>> > > > > RE>> > > > I think this is an omission from the old days. If it RE>> > > > survives ``make universe'', this should probably be RE>> > > > committed. Gleb, do you feel like testing this with RE>> > > > ``make universe''? RE>> > > RE>> > > modules at least compiled on amd64 (with warnings in two of them). RE>> > > haven't rebooted yet. RE>> > RE>> > and they load: RE>> > RE>> [...] RE>> > unfortunately I neither do not have the resources for a make universe RE>> > at the moment. RE>> > RE>> I'm testing the patch with "make universe" -- will take some time on RE>> a 800MHz CPU. RE>> RE>Universe built; patch committed to 6.0-CURRENT. Thanks. harti From owner-freebsd-net@FreeBSD.ORG Wed Aug 18 15:32:33 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 993D916A4CE; Wed, 18 Aug 2004 15:32:33 +0000 (GMT) Received: from pimout1-ext.prodigy.net (pimout1-ext.prodigy.net [207.115.63.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3359D43D4C; Wed, 18 Aug 2004 15:32:33 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (adsl-68-124-233-133.dsl.snfc21.pacbell.net [68.124.233.133])i7IFWU5C089782; Wed, 18 Aug 2004 11:32:31 -0400 Message-ID: <4123768D.4000807@elischer.org> Date: Wed, 18 Aug 2004 08:32:29 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4b) Gecko/20030524 X-Accept-Language: en, hu MIME-Version: 1.0 To: Harti Brandt References: <20040817084947.GB97542@ip.net.ua> <20040818120108.GA68772@ip.net.ua> <20040818143839.O872@beagle.kn.op.dlr.de> In-Reply-To: <20040818143839.O872@beagle.kn.op.dlr.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: "Bjoern A. Zeeb" cc: re@freebsd.org cc: freebsd-net@freebsd.org Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 15:32:33 -0000 Harti Brandt wrote: > On Wed, 18 Aug 2004, Ruslan Ermilov wrote: > > RE>On Tue, Aug 17, 2004 at 11:49:47AM +0300, Ruslan Ermilov wrote: > RE>> On Mon, Aug 16, 2004 at 07:13:27PM +0000, Bjoern A. Zeeb wrote: > RE>> > On Mon, 16 Aug 2004, Bjoern A. Zeeb wrote: > RE>> > > RE>> > > On Mon, 16 Aug 2004, Ruslan Ermilov wrote: > RE>> > > > RE>> > > > On Mon, Aug 16, 2004 at 06:03:33PM +0000, Bjoern A. Zeeb wrote: > RE>> > > > > Hi, > RE>> > > > > > RE>> > > > > It seems netgraph is only build on ia64 and i386. > RE>> > > > > Can someone please explain why ? > RE>> > > > > > RE>> > > > I think this is an omission from the old days. If it > RE>> > > > survives ``make universe'', this should probably be > RE>> > > > committed. Gleb, do you feel like testing this with > RE>> > > > ``make universe''? > RE>> > > > RE>> > > modules at least compiled on amd64 (with warnings in two of them). > RE>> > > haven't rebooted yet. > RE>> > > RE>> > and they load: > RE>> > > RE>> [...] > RE>> > unfortunately I neither do not have the resources for a make universe > RE>> > at the moment. > RE>> > > RE>> I'm testing the patch with "make universe" -- will take some time on > RE>> a 800MHz CPU. > RE>> > RE>Universe built; patch committed to 6.0-CURRENT. ruslan, will you ask for permission to merge to 5.3? > > Thanks. > > harti > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Wed Aug 18 18:21:07 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF6A816A4CE; Wed, 18 Aug 2004 18:21:07 +0000 (GMT) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72DD143D48; Wed, 18 Aug 2004 18:21:07 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (adsl-68-124-233-133.dsl.snfc21.pacbell.net [68.124.233.133])i7IIKxfA161596; Wed, 18 Aug 2004 14:21:00 -0400 Message-ID: <41239E0A.30508@elischer.org> Date: Wed, 18 Aug 2004 11:20:58 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4b) Gecko/20030524 X-Accept-Language: en, hu MIME-Version: 1.0 To: John Polstra References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org cc: Harti Brandt cc: re@freebsd.org cc: "Bjoern A. Zeeb" Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 18:21:08 -0000 John Polstra wrote: > On 17-Aug-2004 Harti Brandt wrote: > >>On Mon, 16 Aug 2004, Bjoern A. Zeeb wrote: >> >>BAZ>Hi, >>BAZ> >>BAZ>It seems netgraph is only build on ia64 and i386. >>BAZ>Can someone please explain why ? >> >>Until around april I used all the ATM related Ng stuff regularily (this >>include ng_socket, all the stuff under netgraph/atm). I think this should >>just be enabled. Unless build problems have been introduced since then, >>it should just be enabled. > > > There is one problem with netgraph on 64-bit platforms. The ng_msghdr > struct is 52 bytes / 4-byte aligned (see ng_message.h). That means > the message payload is not well-aligned for 64-bit platforms. It > would be nice to fix that (and bump NG_VERSION, of course). Nobody > ever guaranteed that the message payload would be aligned, but it > makes things a lot more convenient. if we do this we should do it now so that we have a consistent ABI from 5.3 on.. scott (et al), should we pad an extra 4 bytes in this now? it's low/no risk, but better now than after 5.3 has been released.. > > John > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Wed Aug 18 18:24:55 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6395416A4CE; Wed, 18 Aug 2004 18:24:55 +0000 (GMT) Received: from blake.polstra.com (blake.polstra.com [64.81.189.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id E380D43D31; Wed, 18 Aug 2004 18:24:54 +0000 (GMT) (envelope-from jdp@polstra.com) Received: from strings.polstra.com (dsl081-189-067.sea1.dsl.speakeasy.net [64.81.189.67]) by blake.polstra.com (8.12.11/8.12.11) with ESMTP id i7IIOpfQ097375 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Aug 2004 11:24:51 -0700 (PDT) (envelope-from jdp@strings.polstra.com) Received: (from jdp@localhost) by strings.polstra.com (8.12.11/8.12.11/Submit) id i7IIOpvf020407; Wed, 18 Aug 2004 11:24:51 -0700 (PDT) (envelope-from jdp) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <41239E0A.30508@elischer.org> Date: Wed, 18 Aug 2004 11:24:51 -0700 (PDT) From: John Polstra To: Julian Elischer X-Bogosity: No, tests=bogofilter, spamicity=0.499922, version=0.14.5 cc: freebsd-net@freebsd.org cc: re@freebsd.org Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 18:24:55 -0000 On 18-Aug-2004 Julian Elischer wrote: > John Polstra wrote: >> >> There is one problem with netgraph on 64-bit platforms. The ng_msghdr >> struct is 52 bytes / 4-byte aligned (see ng_message.h). That means >> the message payload is not well-aligned for 64-bit platforms. It >> would be nice to fix that (and bump NG_VERSION, of course). Nobody >> ever guaranteed that the message payload would be aligned, but it >> makes things a lot more convenient. > > if we do this we should do it now so that we have a consistent ABI from 5.3 on.. > > scott (et al), should we pad an extra 4 bytes in this now? > it's low/no risk, but better now than after 5.3 has been released.. I'd really like to see this change happen. Julian, would it require bumping just NG_VERSION, or should NG_ABI_VERSION change too? John From owner-freebsd-net@FreeBSD.ORG Wed Aug 18 18:30:04 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4123916A518; Wed, 18 Aug 2004 18:30:04 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92DFC43D45; Wed, 18 Aug 2004 18:30:03 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.2.73] (cpe.125.wat.v126.packetworks.net [64.235.97.125] (may be forged)) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i7IIUTF3065265; Wed, 18 Aug 2004 12:30:29 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <41239F8D.4000808@samsco.org> Date: Wed, 18 Aug 2004 12:27:25 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.1) Gecko/20040801 X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Polstra References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.7 required=3.8 tests=RISK_FREE autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: freebsd-net@freebsd.org cc: re@freebsd.org cc: Julian Elischer Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 18:30:04 -0000 John Polstra wrote: > On 18-Aug-2004 Julian Elischer wrote: > >>John Polstra wrote: >> >>>There is one problem with netgraph on 64-bit platforms. The ng_msghdr >>>struct is 52 bytes / 4-byte aligned (see ng_message.h). That means >>>the message payload is not well-aligned for 64-bit platforms. It >>>would be nice to fix that (and bump NG_VERSION, of course). Nobody >>>ever guaranteed that the message payload would be aligned, but it >>>makes things a lot more convenient. >> >>if we do this we should do it now so that we have a consistent ABI from 5.3 on.. >> >>scott (et al), should we pad an extra 4 bytes in this now? >>it's low/no risk, but better now than after 5.3 has been released.. > > > I'd really like to see this change happen. Julian, would it require > bumping just NG_VERSION, or should NG_ABI_VERSION change too? > > John The first step here is to commit to HEAD. Once the details are worked out, we'll likely approve it for RELENG_5. Scott From owner-freebsd-net@FreeBSD.ORG Wed Aug 18 18:31:20 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFB3B16A4CF for ; Wed, 18 Aug 2004 18:31:20 +0000 (GMT) Received: from n33.kp.t-systems-sfr.com (n33.kp.t-systems-sfr.com [129.247.16.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEFAD43D1F for ; Wed, 18 Aug 2004 18:31:19 +0000 (GMT) (envelope-from harti@freebsd.org) Received: from n81.sp.op.dlr.de (n81g.sp.op.dlr.de [129.247.163.1]) i7IIV0X412950; Wed, 18 Aug 2004 20:31:00 +0200 Received: from zeus.nt.op.dlr.de (zeus.nt.op.dlr.de [129.247.173.3]) i7IIV0I65078; Wed, 18 Aug 2004 20:31:00 +0200 Received: from beagle.kn.op.dlr.de (opkndnwsbsd178 [129.247.173.178]) by zeus.nt.op.dlr.de (8.11.7+Sun/8.9.1) with ESMTP id i7IIUwe19970; Wed, 18 Aug 2004 20:30:59 +0200 (MET DST) Date: Wed, 18 Aug 2004 20:30:58 +0200 (CEST) From: Harti Brandt X-X-Sender: brandt@beagle.kn.op.dlr.de To: John Polstra In-Reply-To: Message-ID: <20040818203018.C872@beagle.kn.op.dlr.de> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org cc: Julian Elischer Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Harti Brandt List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 18:31:21 -0000 On Wed, 18 Aug 2004, John Polstra wrote: JP>On 18-Aug-2004 Julian Elischer wrote: JP>> John Polstra wrote: JP>>> JP>>> There is one problem with netgraph on 64-bit platforms. The ng_msghdr JP>>> struct is 52 bytes / 4-byte aligned (see ng_message.h). That means JP>>> the message payload is not well-aligned for 64-bit platforms. It JP>>> would be nice to fix that (and bump NG_VERSION, of course). Nobody JP>>> ever guaranteed that the message payload would be aligned, but it JP>>> makes things a lot more convenient. JP>> JP>> if we do this we should do it now so that we have a consistent ABI from 5.3 on.. JP>> JP>> scott (et al), should we pad an extra 4 bytes in this now? JP>> it's low/no risk, but better now than after 5.3 has been released.. JP> JP>I'd really like to see this change happen. Julian, would it require Yes. Please do it. JP>bumping just NG_VERSION, or should NG_ABI_VERSION change too? harti From owner-freebsd-net@FreeBSD.ORG Wed Aug 18 18:40:56 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 244FB16A4CE; Wed, 18 Aug 2004 18:40:56 +0000 (GMT) Received: from pimout3-ext.prodigy.net (pimout3-ext.prodigy.net [207.115.63.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 975F043D62; Wed, 18 Aug 2004 18:40:55 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (adsl-68-124-233-133.dsl.snfc21.pacbell.net [68.124.233.133])i7IIep3d155456; Wed, 18 Aug 2004 14:40:53 -0400 Message-ID: <4123A2B2.2040209@elischer.org> Date: Wed, 18 Aug 2004 11:40:50 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4b) Gecko/20030524 X-Accept-Language: en, hu MIME-Version: 1.0 To: John Polstra References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org cc: re@freebsd.org Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 18:40:56 -0000 John Polstra wrote: > On 18-Aug-2004 Julian Elischer wrote: > >>John Polstra wrote: >> >>>There is one problem with netgraph on 64-bit platforms. The ng_msghdr >>>struct is 52 bytes / 4-byte aligned (see ng_message.h). That means >>>the message payload is not well-aligned for 64-bit platforms. It >>>would be nice to fix that (and bump NG_VERSION, of course). Nobody >>>ever guaranteed that the message payload would be aligned, but it >>>makes things a lot more convenient. >> >>if we do this we should do it now so that we have a consistent ABI from 5.3 on.. >> >>scott (et al), should we pad an extra 4 bytes in this now? >>it's low/no risk, but better now than after 5.3 has been released.. > > > I'd really like to see this change happen. Julian, would it require > bumping just NG_VERSION, or should NG_ABI_VERSION change too? > > John you'd have to change both.. but we alredy have an NG_ABI version change for 5.3 we COULD even hack ng_socket to convert new and old version messages if we thought we had people that needed it.. the current structure is: /* A netgraph message */ struct ng_mesg { struct ng_msghdr { u_char version; /* == NGM_VERSION */ u_char spare; /* pad to 2 bytes */ u_int16_t arglen; /* length of data */ u_int32_t flags; /* message status */ u_int32_t token; /* match with reply */ u_int32_t typecookie; /* node's type cookie */ u_int32_t cmd; /* command identifier */ u_char cmdstr[NG_CMDSTRSIZ]; /* cmd string + \0 */ } header; char data[]; /* placeholder for actual data */ }; let me see.. 1+1+2+4+4+4+4+32.. hmmmm.. yeah ok,, we could change it to: /* A netgraph message */ struct ng_mesg { struct ng_msghdr { u_char version; /* == NGM_VERSION */ u_char spare; /* pad to 2 bytes */ u_int16_t arglen; /* length of data */ u_int32_t flags; /* message status */ -----------> u_int32_t spare2; /* pad to 8 bytes */ u_int32_t token; /* match with reply */ u_int32_t typecookie; /* node's type cookie */ u_int32_t cmd; /* command identifier */ u_char cmdstr[NG_CMDSTRSIZ]; /* cmd string + \0 */ } header; char data[]; /* placeholder for actual data */ }; I'd put it there in case the flags ever need to expand.. actually maybe bringing 'token' ot 'typecookie' forward so that the flags would be 64 bit aligned too might be worth it... From owner-freebsd-net@FreeBSD.ORG Wed Aug 18 20:56:17 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBC2816A4CE for ; Wed, 18 Aug 2004 20:56:17 +0000 (GMT) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FCF043D45 for ; Wed, 18 Aug 2004 20:56:17 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (adsl-68-124-233-133.dsl.snfc21.pacbell.net [68.124.233.133])i7IKuFfA127842; Wed, 18 Aug 2004 16:56:15 -0400 Message-ID: <4123C26E.8040901@elischer.org> Date: Wed, 18 Aug 2004 13:56:14 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4b) Gecko/20030524 X-Accept-Language: en, hu MIME-Version: 1.0 To: Julian Elischer References: <4123A2B2.2040209@elischer.org> In-Reply-To: <4123A2B2.2040209@elischer.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org cc: re@freebsd.org cc: John Polstra Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 20:56:17 -0000 Julian Elischer wrote: > John Polstra wrote: > >> On 18-Aug-2004 Julian Elischer wrote: >> >>> John Polstra wrote: >>> >>>> There is one problem with netgraph on 64-bit platforms. The ng_msghdr >>>> struct is 52 bytes / 4-byte aligned (see ng_message.h). That means >>>> the message payload is not well-aligned for 64-bit platforms. It >>>> would be nice to fix that (and bump NG_VERSION, of course). Nobody >>>> ever guaranteed that the message payload would be aligned, but it >>>> makes things a lot more convenient. >>> >>> >>> if we do this we should do it now so that we have a consistent ABI >>> from 5.3 on.. >>> >>> scott (et al), should we pad an extra 4 bytes in this now? >>> it's low/no risk, but better now than after 5.3 has been released.. re: I'll do the commit to -current today.. what other files should I change..? UPDATING (user utilitiesw will need recompile) and I guess the 50xxxx number.. (where is that number again?) anything else? From owner-freebsd-net@FreeBSD.ORG Thu Aug 19 08:46:20 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BADB16A4CE; Thu, 19 Aug 2004 08:46:20 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EF2B43D1D; Thu, 19 Aug 2004 08:46:19 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i7J8k9Xd025905 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Aug 2004 11:46:10 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i7J8k9JD076192; Thu, 19 Aug 2004 11:46:09 +0300 (EEST) (envelope-from ru) Date: Thu, 19 Aug 2004 11:46:05 +0300 From: Ruslan Ermilov To: Julian Elischer Message-ID: <20040819084605.GC76085@ip.net.ua> References: <4123A2B2.2040209@elischer.org> <4123C26E.8040901@elischer.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ABTtc+pdwF7KHXCz" Content-Disposition: inline In-Reply-To: <4123C26E.8040901@elischer.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: freebsd-net@freebsd.org cc: re@freebsd.org cc: John Polstra Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2004 08:46:20 -0000 --ABTtc+pdwF7KHXCz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 18, 2004 at 01:56:14PM -0700, Julian Elischer wrote: [...] > re: >=20 > I'll do the commit to -current today.. > what other files should I change..? > UPDATING (user utilitiesw will need recompile) >=20 UPDATING for sure, followed by a HEADS UP message to current@. > and I guess the 50xxxx number.. > (where is that number again?) >=20 src/include/sys/param.h, and document it in the Porter's Handbook. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --ABTtc+pdwF7KHXCz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBJGjNqRfpzJluFF4RAtIuAJ4xOptHtxwopP7tpZzIJw7vMu4IpACeJ48T zRaVlqHg5R9vuRPfRHHPig0= =vUKw -----END PGP SIGNATURE----- --ABTtc+pdwF7KHXCz-- From owner-freebsd-net@FreeBSD.ORG Thu Aug 19 22:07:31 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCF8416A4CE; Thu, 19 Aug 2004 22:07:31 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2679F43D2D; Thu, 19 Aug 2004 22:07:29 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.2.73] (cpe.125.wat.v126.packetworks.net [64.235.97.125] (may be forged)) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i7JM80Bx071752; Thu, 19 Aug 2004 16:08:00 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <412523FE.3080407@samsco.org> Date: Thu, 19 Aug 2004 16:04:46 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.1) Gecko/20040801 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov References: <4123A2B2.2040209@elischer.org> <4123C26E.8040901@elischer.org> <20040819084605.GC76085@ip.net.ua> In-Reply-To: <20040819084605.GC76085@ip.net.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: freebsd-net@freebsd.org cc: re@freebsd.org cc: Julian Elischer cc: John Polstra Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2004 22:07:32 -0000 Ruslan Ermilov wrote: > On Wed, Aug 18, 2004 at 01:56:14PM -0700, Julian Elischer wrote: > [...] > >>re: >> >>I'll do the commit to -current today.. >>what other files should I change..? >>UPDATING (user utilitiesw will need recompile) >> > > UPDATING for sure, followed by a HEADS UP message to current@. > > >>and I guess the 50xxxx number.. >>(where is that number again?) >> > > src/include/sys/param.h, and document it in the Porter's Handbook. > > > Cheers, Btw, I haven't been ignoring this discussion, but we are pretty busy with other things for BETA1. CAn you guys settle this and plan on getting it into the tree in a few days? Scott From owner-freebsd-net@FreeBSD.ORG Fri Aug 20 00:39:35 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA2F716A4CE; Fri, 20 Aug 2004 00:39:35 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85B3143D1F; Fri, 20 Aug 2004 00:39:35 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 64CC27A3E1; Thu, 19 Aug 2004 17:39:35 -0700 (PDT) Message-ID: <41254847.9020102@elischer.org> Date: Thu, 19 Aug 2004 17:39:35 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Scott Long References: <4123A2B2.2040209@elischer.org> <4123C26E.8040901@elischer.org> <20040819084605.GC76085@ip.net.ua> <412523FE.3080407@samsco.org> In-Reply-To: <412523FE.3080407@samsco.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org cc: re@freebsd.org cc: John Polstra Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 00:39:35 -0000 Ok so what is the next number that should be used? it's currently #define __FreeBSD_version 600000 600001? here's a cut-n-paste version.. for comment.. it's ready to commit. Index: UPDATING =================================================================== RCS file: /home/ncvs/src/UPDATING,v retrieving revision 1.344 diff -u -r1.344 UPDATING --- UPDATING 19 Aug 2004 19:45:28 -0000 1.344 +++ UPDATING 20 Aug 2004 00:35:43 -0000 @@ -21,6 +21,13 @@ developers choose to disable these features on build machines to maximize performance. +20040819: + Netgraph changed its message format slightly to allign the data + portion well on 64 bit machines. + Netgraph using utilities (e.g. ngctl, nghook, ppp, mpd, + pppoed, bluetooth, ATM) should be recompiled when a new kernel + is installed. + 20040817: IPFW has been converted to use PFIL_HOOKS. This change is transparent to userland and preserves the ipfw ABI. The ipfw Index: sys/sys/param.h =================================================================== RCS file: /home/ncvs/src/sys/sys/param.h,v retrieving revision 1.211 diff -u -r1.211 param.h --- sys/sys/param.h 18 Aug 2004 03:13:16 -0000 1.211 +++ sys/sys/param.h 20 Aug 2004 00:35:43 -0000 @@ -55,7 +55,7 @@ * scheme is: <0 if release branch, otherwise 1>xx */ #undef __FreeBSD_version -#define __FreeBSD_version 600000 /* Master, propagated to newvers */ +#define __FreeBSD_version 600001 /* Master, propagated to newvers */ #ifndef LOCORE #include Index: sys/netgraph/netgraph.h =================================================================== RCS file: /home/ncvs/src/sys/netgraph/netgraph.h,v retrieving revision 1.43 diff -u -r1.43 netgraph.h --- sys/netgraph/netgraph.h 27 Jul 2004 20:30:55 -0000 1.43 +++ sys/netgraph/netgraph.h 20 Aug 2004 00:35:43 -0000 @@ -62,7 +62,7 @@ * Change it for NETGRAPH_DEBUG version so we cannot mix debug and non debug * modules. */ -#define _NG_ABI_VERSION 9 +#define _NG_ABI_VERSION 10 #ifdef NETGRAPH_DEBUG /*----------------------------------------------*/ #define NG_ABI_VERSION (_NG_ABI_VERSION + 0x10000) #else /* NETGRAPH_DEBUG */ /*----------------------------------------------*/ Index: sys/netgraph/ng_message.h =================================================================== RCS file: /home/ncvs/src/sys/netgraph/ng_message.h,v retrieving revision 1.23 diff -u -r1.23 ng_message.h --- sys/netgraph/ng_message.h 7 Jun 2004 22:11:12 -0000 1.23 +++ sys/netgraph/ng_message.h 20 Aug 2004 00:35:44 -0000 @@ -67,10 +67,11 @@ u_char version; /* == NGM_VERSION */ u_char spare; /* pad to 2 bytes */ u_int16_t arglen; /* length of data */ + u_int32_t cmd; /* command identifier */ u_int32_t flags; /* message status */ + u_int32_t spare2; /* pad to 8 bytes */ u_int32_t token; /* match with reply */ u_int32_t typecookie; /* node's type cookie */ - u_int32_t cmd; /* command identifier */ u_char cmdstr[NG_CMDSTRSIZ]; /* cmd string + \0 */ } header; char data[]; /* placeholder for actual data */ @@ -84,10 +85,11 @@ { "version", &ng_parse_uint8_type }, \ { "spare", &ng_parse_uint8_type }, \ { "arglen", &ng_parse_uint16_type }, \ + { "cmd", &ng_parse_uint32_type }, \ { "flags", &ng_parse_hint32_type }, \ + { "spare2", &ng_parse_uint32_type }, \ { "token", &ng_parse_uint32_type }, \ { "typecookie", &ng_parse_uint32_type }, \ - { "cmd", &ng_parse_uint32_type }, \ { "cmdstr", &ng_parse_cmdbuf_type }, \ { "data", (dtype) }, \ { NULL } \ @@ -98,7 +100,7 @@ * Interfaces within the kernel are defined by a different * value (see NG_ABI_VERSION in netgraph.g) */ -#define NG_VERSION 6 +#define NG_VERSION 7 /* Flags field flags */ #define NGF_ORIG 0x00000000 /* the msg is the original request */ Scott Long wrote: > Ruslan Ermilov wrote: > >> On Wed, Aug 18, 2004 at 01:56:14PM -0700, Julian Elischer wrote: >> [...] >> >>> re: >>> >>> I'll do the commit to -current today.. >>> what other files should I change..? >>> UPDATING (user utilitiesw will need recompile) >>> >> >> UPDATING for sure, followed by a HEADS UP message to current@. >> >> >>> and I guess the 50xxxx number.. >>> (where is that number again?) >>> >> >> src/include/sys/param.h, and document it in the Porter's Handbook. >> >> >> Cheers, > > > Btw, > I haven't been ignoring this discussion, but we are pretty busy with > other things for BETA1. CAn you guys settle this and plan on getting > it into the tree in a few days? > > Scott From owner-freebsd-net@FreeBSD.ORG Fri Aug 20 00:57:42 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9ECCD16A4CE; Fri, 20 Aug 2004 00:57:42 +0000 (GMT) Received: from blake.polstra.com (blake.polstra.com [64.81.189.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3337543D5A; Fri, 20 Aug 2004 00:57:42 +0000 (GMT) (envelope-from jdp@polstra.com) Received: from strings.polstra.com (dsl081-189-067.sea1.dsl.speakeasy.net [64.81.189.67]) by blake.polstra.com (8.12.11/8.12.11) with ESMTP id i7K0vdcO009773 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Aug 2004 17:57:39 -0700 (PDT) (envelope-from jdp@strings.polstra.com) Received: (from jdp@localhost) by strings.polstra.com (8.12.11/8.12.11/Submit) id i7K0vd36022719; Thu, 19 Aug 2004 17:57:39 -0700 (PDT) (envelope-from jdp) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <41254847.9020102@elischer.org> Date: Thu, 19 Aug 2004 17:57:39 -0700 (PDT) From: John Polstra To: Julian Elischer X-Bogosity: No, tests=bogofilter, spamicity=0.348084, version=0.14.5 cc: freebsd-net@freebsd.org Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 00:57:42 -0000 I dropped scottl and re from the cc list, since they're busy and asked us to work it out on our own. On 20-Aug-2004 Julian Elischer wrote: > Ok so what is the next number that should be used? > it's currently #define __FreeBSD_version 600000 > > 600001? Yes, that would be the next number. I question whether __FreeBSD_version needs to be bumped at all, though, since the change is already reflected in NG_VERSION and NG_ABI_VERSION. Any port that uses netgraph would be compiled against the header files on the system, so I can't see how it would be useful to change __FreeBSD_version for this. (Not that I feel very strongly about it.) > here's a cut-n-paste version.. for comment.. > it's ready to commit. Thanks for taking this on. I haven't tested it, but it looks good. Just one nit: "align" is misspelled as "allign" in the UPDATING entry. John From owner-freebsd-net@FreeBSD.ORG Fri Aug 20 01:15:13 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 012EE16A4CE for ; Fri, 20 Aug 2004 01:15:13 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF36643D1F for ; Fri, 20 Aug 2004 01:15:12 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id CDB787A401; Thu, 19 Aug 2004 18:15:12 -0700 (PDT) Message-ID: <412550A0.4090805@elischer.org> Date: Thu, 19 Aug 2004 18:15:12 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: John Polstra , freebsd-net@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 01:15:13 -0000 John Polstra wrote: >I dropped scottl and re from the cc list, since they're busy and asked >us to work it out on our own. > >On 20-Aug-2004 Julian Elischer wrote: > > >>Ok so what is the next number that should be used? >>it's currently #define __FreeBSD_version 600000 >> >>600001? >> >> > >Yes, that would be the next number. I question whether >__FreeBSD_version needs to be bumped at all, though, since the >change is already reflected in NG_VERSION and NG_ABI_VERSION. Any >port that uses netgraph would be compiled against the header files >on the system, so I can't see how it would be useful to change >__FreeBSD_version for this. (Not that I feel very strongly about it.) > I sort of agree.. We protect ourselves.. we needn't bump the FreeBSD version I don't think.. If you have a good reason for it I'll do it but I don't think it is required.. No port will be compiled with different options because of this.. I mean 5.3 and 6.0 will already have a netgraph recompile required.. > > > >>here's a cut-n-paste version.. for comment.. >>it's ready to commit. >> >> > >Thanks for taking this on. I haven't tested it, but it looks good. >Just one nit: "align" is misspelled as "allign" in the UPDATING entry. > >John >_______________________________________________ >freebsd-net@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-net >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > From owner-freebsd-net@FreeBSD.ORG Fri Aug 20 01:25:36 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2558016A4CE for ; Fri, 20 Aug 2004 01:25:36 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D3F543D39 for ; Fri, 20 Aug 2004 01:25:36 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id E81EF7A401; Thu, 19 Aug 2004 18:25:35 -0700 (PDT) Message-ID: <4125530F.7020104@elischer.org> Date: Thu, 19 Aug 2004 18:25:35 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Julian Elischer References: <412550A0.4090805@elischer.org> In-Reply-To: <412550A0.4090805@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org cc: John Polstra Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 01:25:36 -0000 I made the commit but we can still change param.h if people really want it.. Julian Elischer wrote: > > > John Polstra wrote: > >> I dropped scottl and re from the cc list, since they're busy and asked >> us to work it out on our own. >> >> On 20-Aug-2004 Julian Elischer wrote: >> >> >>> Ok so what is the next number that should be used? >>> it's currently #define __FreeBSD_version 600000 >>> >>> 600001? >>> >> >> >> Yes, that would be the next number. I question whether >> __FreeBSD_version needs to be bumped at all, though, since the >> change is already reflected in NG_VERSION and NG_ABI_VERSION. Any >> port that uses netgraph would be compiled against the header files >> on the system, so I can't see how it would be useful to change >> __FreeBSD_version for this. (Not that I feel very strongly about it.) >> > > I sort of agree.. > We protect ourselves.. we needn't bump the FreeBSD version I don't > think.. > If you have a good reason for it I'll do it but I don't think it is > required.. No port will be compiled > with different options because of this.. > I mean 5.3 and 6.0 will already have a netgraph recompile required.. > >> >> >> >>> here's a cut-n-paste version.. for comment.. >>> it's ready to commit. >>> >> >> >> Thanks for taking this on. I haven't tested it, but it looks good. >> Just one nit: "align" is misspelled as "allign" in the UPDATING entry. >> >> John >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> >> > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Fri Aug 20 08:16:18 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F7D716A4CE for ; Fri, 20 Aug 2004 08:16:18 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CC3343D45 for ; Fri, 20 Aug 2004 08:16:15 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i7K8FxdT047736 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Aug 2004 11:16:00 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i7K8G0kr027454; Fri, 20 Aug 2004 11:16:00 +0300 (EEST) (envelope-from ru) Date: Fri, 20 Aug 2004 11:16:00 +0300 From: Ruslan Ermilov To: Julian Elischer Message-ID: <20040820081600.GB27365@ip.net.ua> References: <412550A0.4090805@elischer.org> <4125530F.7020104@elischer.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hQiwHBbRI9kgIhsi" Content-Disposition: inline In-Reply-To: <4125530F.7020104@elischer.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: freebsd-net@FreeBSD.org cc: John Polstra Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 08:16:18 -0000 --hQiwHBbRI9kgIhsi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 19, 2004 at 06:25:35PM -0700, Julian Elischer wrote: > I made the commit but we can still change param.h if people really want i= t.. >=20 I don't want it. Bumping NG_ABI_VERSION was surely enough. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --hQiwHBbRI9kgIhsi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBJbNAqRfpzJluFF4RApVeAJ418u0/Zdp8e6NH8ZDqTXO2E9qfzwCeLdUV /kdTNQOhfjDf3bTlIw4aofw= =xERR -----END PGP SIGNATURE----- --hQiwHBbRI9kgIhsi-- From owner-freebsd-net@FreeBSD.ORG Fri Aug 20 12:08:42 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E339616A4CE for ; Fri, 20 Aug 2004 12:08:42 +0000 (GMT) Received: from email09.aon.at (warsl404pip6.highway.telekom.at [195.3.96.89]) by mx1.FreeBSD.org (Postfix) with SMTP id 53C8543D41 for ; Fri, 20 Aug 2004 12:08:39 +0000 (GMT) (envelope-from k@inz.info) Received: (qmail 389740 invoked from network); 20 Aug 2004 12:08:37 -0000 Received: from n558p008.adsl.highway.telekom.at (HELO inz.info) ([62.47.13.168]) (envelope-sender ) by 172.18.5.238 (qmail-ldap-1.03) with SMTP for ; 20 Aug 2004 12:08:37 -0000 Message-ID: <4125EB91.7000900@inz.info> Date: Fri, 20 Aug 2004 14:16:17 +0200 From: Simon Kainz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021005 X-Accept-Language: de-at, en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Network booting with WOL-Packet X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 12:08:43 -0000 Hello ! I do have a sucessfully working setup with 2 diskless cliens booting via a rom-o-matic eprommed bootloader. The whole thing works perfectly: DHCP server supplies IP address, kernel and root path. But the root lies on another server, so is there a possibility to wake the other server via WOL ?? Should this be done from the EEPROM-Bootloader, oder should I hack up my kernel.. Or hast this been done alread (I hope ;-)) Thanks, Simon. From owner-freebsd-net@FreeBSD.ORG Fri Aug 20 17:01:36 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D54E516A4CE for ; Fri, 20 Aug 2004 17:01:36 +0000 (GMT) Received: from mail.ctch.net (mail.ctch.net [206.168.231.99]) by mx1.FreeBSD.org (Postfix) with SMTP id 902E243D55 for ; Fri, 20 Aug 2004 17:01:36 +0000 (GMT) (envelope-from freebsd-net@lists.ctch.net) Received: (qmail 45263 invoked from network); 20 Aug 2004 17:01:35 -0000 Received: from 63-227-123-49.dnvr.qwest.net (HELO ctch-fd59mrr24t.lists.ctch.net) (freebsd-net@lists.ctch.net@63.227.123.49) by mail.ctch.net with SMTP; 20 Aug 2004 17:01:35 -0000 Message-Id: <6.1.2.0.2.20040820102349.02ac6440@mail.ctch.net> X-Sender: freebsd-net@lists.ctch.net@mail.ctch.net X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0 Date: Fri, 20 Aug 2004 11:01:31 -0600 To: freebsd-net@freebsd.org From: Gregory Kuhn Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Traceroute Anomaly X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 17:01:37 -0000 Hello, I have discovered an anomaly (I am sure it was discovered long ago) when trying to traceroute to my FBSD 4.8 and 4.9 servers. Here are the details. 1. From any of the FBSD boxes regardless if they are on the immediate network (206.168.231.96/28, 207.174.139.224/28) or on an entirely separate network (63.227.123.49/32) I am unable to traceroute to any of the other FBSD boxes. a. From the same FBSD box I am able to traceroute to say, www.yahoo.com b. From the same FBSD box I am able to ping any of the other FBSD boxes. c. From the same FBSD box I am able to trace to any of the other FBSD boxes using MTR. 2. From a W2K box I am able to trace to any of the FBSD boxes using the DOS tracert command. 3. One FBSD box was just brought up and as yet I have not setup the firewall rules. The current rule set on that particular box is; pass in from any to any pass out from any to any My question is this; Why can I do a traceroute using the DOS version of traceroute (tracert) to any of my FreeBSD boxes, but I am not able to do so from another FreeBSD box? Furthermore, it is not just from my own boxes that I am unable to do a traceroute. Using the traceroutes listed at www.traceroute.org I again am unable to trace back to my FBSD boxes. Here are examples of the traces; From the W2K box: C:\Documents and Settings\gkuhn>tracert maps.ctch.net Tracing route to maps.ctch.net [207.174.139.228] over a maximum of 30 hops: 1 <10 ms <10 ms <10 ms 10.0.0.1 2 50 ms 40 ms 41 ms 63-227-123-254.dnvr.qwest.net [63.227.123.254] 3 60 ms 50 ms 50 ms dnvr-agw1.inet.qwest.net [207.225.112.29] 4 60 ms 50 ms 50 ms thn-core-02.inet.qwest.net [206.196.128.215] 5 61 ms 40 ms 40 ms dia-core-01.inet.qwest.net [205.171.8.81] 6 70 ms 60 ms 80 ms kcm-core-01.inet.qwest.net [205.171.8.138] 7 60 ms 80 ms 70 ms kcm-core-02.inet.qwest.net [205.171.29.126] 8 70 ms 70 ms 70 ms dal-core-02.inet.qwest.net [205.171.8.141] 9 70 ms 71 ms 80 ms dal-brdr-02.inet.qwest.net [205.171.25.50] 10 70 ms 70 ms 100 ms acr1-so-2-0-0.Dallas.savvis.net [208.172.131.201] 11 70 ms 80 ms 70 ms dcr1-as0-0.Dallas.savvis.net [208.172.131.45] 12 90 ms 100 ms 90 ms acr2.Denver.savvis.net [208.172.162.62] 13 101 ms 110 ms 120 ms bar1.Denver.savvis.net [208.172.162.3] 14 90 ms 101 ms 100 ms rockynet.Denver.savvis.net [208.172.167.22] 15 100 ms 120 ms 101 ms denver-core-2-fe-0-0.rockynet.com [206.168.230.1] 16 90 ms 100 ms 100 ms colo2-denver.rockynet.com [208.139.193.147] 17 100 ms 90 ms 100 ms maps.ctch.net [207.174.139.228] From a FBSD 4.8 Box; db1-10:10:20 ~: traceroute maps.ctch.net traceroute to maps.ctch.net (207.174.139.228), 64 hops max, 44 byte packets 1 10.0.0.1 (10.0.0.1) 0.954 ms 0.927 ms 0.925 ms 2 63-227-123-254.dnvr.qwest.net (63.227.123.254) 130.726 ms 163.887 ms 77.019 ms 3 dnvr-agw1.inet.qwest.net (207.225.112.29) 48.165 ms 48.638 ms 47.330 ms 4 thn-core-02.inet.qwest.net (206.196.128.215) 47.467 ms 49.120 ms 48.512 ms 5 dia-core-01.inet.qwest.net (205.171.8.81) 47.737 ms 49.954 ms 52.074 ms 6 kcm-core-01.inet.qwest.net (205.171.8.138) 79.195 ms 61.066 ms 62.356 ms 7 kcm-core-02.inet.qwest.net (205.171.29.126) 60.046 ms 61.297 ms 62.098 ms 8 dal-core-02.inet.qwest.net (205.171.8.141) 72.310 ms 69.674 ms 71.816 ms 9 dal-brdr-02.inet.qwest.net (205.171.25.50) 71.089 ms 69.552 ms 71.685 ms 10 acr1-so-2-0-0.Dallas.savvis.net (208.172.131.201) 71.973 ms 71.094 ms 69.525 ms 11 dcr1-as0-0.Dallas.savvis.net (208.172.131.45) 69.817 ms dcr2-as0-0.Dallas.savvis.net (208.172.131.53) 71.877 ms dcr1-as0-0.Dallas.savvis.net (208.172.131.45) 81.925 ms 12 acr2.Denver.savvis.net (208.172.162.62) 93.542 ms 90.982 ms 94.390 ms 13 bar1.Denver.savvis.net (208.172.162.3) 103.941 ms 234.812 ms 186.193 ms 14 rockynet.Denver.savvis.net (208.172.167.22) 312.530 ms 217.025 ms 134.002 ms 15 denver-core-2-fe-0-0.rockynet.com (206.168.230.1) 144.291 ms 95.658 ms 94.367 ms 16 colo2-denver.rockynet.com (208.139.193.147) 97.248 ms 96.236 ms 95.239 ms 17 * * * 18 * * * 19 * * * 20 * * * ^C Trace from above FSBD box using MTR: Hostname %Loss Rcv Snt Last Best Avg Worst 1. 10.0.0.1 0% 3 3 1 1 1 1 2. 63-227-123-254.dnvr.qwest.net 0% 3 3 49 45 47 49 3. dnvr-agw1.inet.qwest.net 0% 3 3 48 48 48 48 4. thn-core-02.inet.qwest.net 0% 3 3 49 48 50 54 5. dia-core-01.inet.qwest.net 0% 3 3 53 47 50 53 6. kcm-core-01.inet.qwest.net 0% 3 3 70 60 63 70 7. kcm-core-02.inet.qwest.net 0% 3 3 60 58 60 62 8. dal-core-02.inet.qwest.net 0% 3 3 69 69 71 73 9. dal-brdr-02.inet.qwest.net 0% 3 3 70 70 70 71 10. acr1-so-2-0-0.Dallas.savvis.net 0% 3 3 69 69 70 70 11. dcr2-as0-0.Dallas.savvis.net 0% 3 3 70 70 70 72 12. acr2.Denver.savvis.net 0% 3 3 90 90 91 93 13. bar1.Denver.savvis.net 0% 2 3 104 104 108 111 14. rockynet.Denver.savvis.net 0% 2 2 95 93 94 95 15. denver-core-2-fe-0-0.rockynet.com 0% 2 2 94 94 95 96 16. colo2-denver.rockynet.com 0% 2 2 96 96 98 99 17. maps.ctch.net 0% 2 2 95 95 96 97 From this looking glass in Canada at http://looking-glass.in.bellnexxia.net:8080/cgi-bin/lg.pl Translating "maps.ctch.net"...domain server (205.207.237.48) [OK] Type escape sequence to abort. Tracing the route to maps.ctch.net (207.174.139.228) 1 dis40-toronto63-fe5-0-0.in.bellnexxia.net (205.207.238.210) 0 msec 0 msec 0 msec 2 core1-toronto63-pos11-5.in.bellnexxia.net (206.108.98.21) 0 msec 0 msec 0 msec 3 core3-toronto63-pos0-1.in.bellnexxia.net (64.230.242.93) 0 msec 4 msec 0 msec 4 core2-chicago23-pos0-0.in.bellnexxia.net (206.108.103.114) 12 msec 12 msec 8 msec 5 bx1-chicago23-pos11-0.in.bellnexxia.net (206.108.103.125) 8 msec 12 msec 12 msec 6 p5-2.IR1.Chicago2-IL.us.xo.net (207.88.50.173) [AS 2828] 12 msec 12 msec 12 msec 7 p5-0-0.RAR1.Chicago-IL.us.xo.net (65.106.6.133) [AS 2828] 12 msec 12 msec 12 msec 8 p6-0-0.RAR2.Denver-CO.us.xo.net (65.106.0.25) [AS 2828] 36 msec 36 msec 32 msec 9 p4-0-0.MAR2.Englewood-CO.us.xo.net (65.106.6.18) [AS 2828] 36 msec 36 msec 36 msec 10 p15-0.CHR1.Englewood-CO.us.xo.net (207.88.83.14) [AS 2828] 36 msec 32 msec 36 msec 11 66.236.86.10.ptr.us.xo.net (66.236.86.10) [AS 2828] 40 msec 40 msec 40 msec 12 border3.ge3-0-bbnet2.den.pnap.net (216.52.40.71) [AS 13790] 40 msec 36 msec 40 msec 13 rockynet-1.border3.den.pnap.net (63.251.181.222) [AS 13790] 44 msec 40 msec 40 msec 14 denver-core-2-fe-0-0.rockynet.com (206.168.230.1) [AS 13345] 40 msec 40 msec 40 msec 15 colo2-denver.rockynet.com (208.139.193.147) [AS 13345] 44 msec 40 msec 44 msec 16 * * * 17 * * * 18 * * * 19 * * * Thank you in advance for any insight into why this is. Greg From owner-freebsd-net@FreeBSD.ORG Fri Aug 20 17:20:26 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8F3C16A4CE for ; Fri, 20 Aug 2004 17:20:26 +0000 (GMT) Received: from out014.verizon.net (out014pub.verizon.net [206.46.170.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37D6443D45 for ; Fri, 20 Aug 2004 17:20:24 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.160.193.218]) by out014.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040820172023.CHB24490.out014.verizon.net@[192.168.1.3]>; Fri, 20 Aug 2004 12:20:23 -0500 Message-ID: <412632CE.5080106@mac.com> Date: Fri, 20 Aug 2004 13:20:14 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gregory Kuhn References: <6.1.2.0.2.20040820102349.02ac6440@mail.ctch.net> In-Reply-To: <6.1.2.0.2.20040820102349.02ac6440@mail.ctch.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out014.verizon.net from [68.160.193.218] at Fri, 20 Aug 2004 12:20:23 -0500 cc: freebsd-net@freebsd.org Subject: Re: Traceroute Anomaly X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 17:20:26 -0000 Gregory Kuhn wrote: [ ... ] > Why can I do a traceroute using the DOS version of traceroute (tracert) > to any of my FreeBSD boxes, but I am not able to do so from another > FreeBSD box? Furthermore, it is not just from my own boxes that I am > unable to do a traceroute. Using the traceroutes listed at > www.traceroute.org I again am unable to trace back to my FBSD boxes. Different traceroute programs use different protocols; in fact, the BSD traceroute supports: -P Send packets of specified IP protocol. The currently supported protocols are: UDP, TCP, GRE and ICMP. Other protocols may also be specified (either by name or by number), though traceroute does not implement any special knowledge of their packet for- mats. This option is useful for determining which router along a path may be blocking packets based on IP protocol number. But see BUGS below. ...and if you read the rest of the manpage, it will discuss the fact that it is fairly common for traceroute to not show the last hop when using protocols other than UDP. -- -Chuck From owner-freebsd-net@FreeBSD.ORG Fri Aug 20 17:23:16 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3737C16A4D0 for ; Fri, 20 Aug 2004 17:23:16 +0000 (GMT) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3D7C43D2D for ; Fri, 20 Aug 2004 17:23:15 +0000 (GMT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.13.1/8.13.1) with ESMTP id i7KHNECY075098; Fri, 20 Aug 2004 13:23:14 -0400 (EDT) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.13.1/8.13.1/Submit) id i7KHNEo4075097; Fri, 20 Aug 2004 13:23:14 -0400 (EDT) (envelope-from barney) Date: Fri, 20 Aug 2004 13:23:14 -0400 From: Barney Wolff To: Gregory Kuhn Message-ID: <20040820172314.GA73663@pit.databus.com> References: <6.1.2.0.2.20040820102349.02ac6440@mail.ctch.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.1.2.0.2.20040820102349.02ac6440@mail.ctch.net> User-Agent: Mutt/1.5.6i X-Scanned-By: MIMEDefang 2.44 cc: freebsd-net@freebsd.org Subject: Re: Traceroute Anomaly X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 17:23:17 -0000 On Fri, Aug 20, 2004 at 11:01:31AM -0600, Gregory Kuhn wrote: > > My question is this; > Why can I do a traceroute using the DOS version of traceroute (tracert) to > any of my FreeBSD boxes, but I am not able to do so from another FreeBSD > box? Furthermore, it is not just from my own boxes that I am unable to do > a traceroute. Using the traceroutes listed at www.traceroute.org I again > am unable to trace back to my FBSD boxes. If I remember correctly, MS's tracert sends ICMP packets, while traditionally Unix traceroutes send UDP. You're blocking the UDP somewhere, presumably. tcpdump and/or adding logging to your firewall rules should tell you more. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net. From owner-freebsd-net@FreeBSD.ORG Fri Aug 20 17:30:17 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D07416A4CE for ; Fri, 20 Aug 2004 17:30:17 +0000 (GMT) Received: from mx2.nersc.gov (mx2.nersc.gov [128.55.6.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 844A943D3F for ; Fri, 20 Aug 2004 17:30:15 +0000 (GMT) (envelope-from dart@nersc.gov) Received: by mx2.nersc.gov (Postfix, from userid 4002) id 70F8677A2; Fri, 20 Aug 2004 10:30:13 -0700 (PDT) Received: from mx2.nersc.gov (localhost [127.0.0.1]) by localhost.nersc.gov (Postfix) with ESMTP id 63D2177A3; Fri, 20 Aug 2004 10:30:10 -0700 (PDT) Received: from gemini.nersc.gov (gemini.nersc.gov [128.55.16.111]) by mx2.nersc.gov (Postfix) with ESMTP id 1AE2C77A2; Fri, 20 Aug 2004 10:30:09 -0700 (PDT) Received: from gemini.nersc.gov (localhost [127.0.0.1]) by gemini.nersc.gov (Postfix) with ESMTP id 4A6CBF987; Fri, 20 Aug 2004 10:30:09 -0700 (PDT) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Gregory Kuhn In-Reply-To: Message from Gregory Kuhn <6.1.2.0.2.20040820102349.02ac6440@mail.ctch.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1944362035P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 20 Aug 2004 10:30:09 -0700 From: Eli Dart Message-Id: <20040820173009.4A6CBF987@gemini.nersc.gov> X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mx2.nersc.gov cc: freebsd-net@freebsd.org Subject: Re: Traceroute Anomaly X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 17:30:17 -0000 --==_Exmh_1944362035P Content-Type: text/plain; charset=us-ascii In reply to Gregory Kuhn : > Hello, > > > I have discovered an anomaly (I am sure it was discovered long > ago) when trying to traceroute to my FBSD 4.8 and 4.9 servers. Here are > the details. Have you set sysctl net.inet.udp.blackhole=1 ? If so, the FreeBSD box will drop the traceroute UDP probes and you'll never see the host itself in traceroute output. --eli --==_Exmh_1944362035P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQFBJjUhLTFEeF+CsrMRAp42AJwKRHsYvmbmH04Z9p3vdypMzVF8gACggiE1 KidS3bvOKdlwryGGcUr34yE= =L47u -----END PGP SIGNATURE----- --==_Exmh_1944362035P-- From owner-freebsd-net@FreeBSD.ORG Fri Aug 20 18:06:20 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21B1A16A4CE for ; Fri, 20 Aug 2004 18:06:20 +0000 (GMT) Received: from mail.ctch.net (mail.ctch.net [206.168.231.99]) by mx1.FreeBSD.org (Postfix) with SMTP id A3EAD43D2D for ; Fri, 20 Aug 2004 18:06:19 +0000 (GMT) (envelope-from freebsd-net@lists.ctch.net) Received: (qmail 52793 invoked from network); 20 Aug 2004 18:06:19 -0000 Received: from 63-227-123-49.dnvr.qwest.net (HELO ctch-fd59mrr24t.lists.ctch.net) (freebsd-net@lists.ctch.net@63.227.123.49) by mail.ctch.net with SMTP; 20 Aug 2004 18:06:19 -0000 Message-Id: <6.1.2.0.2.20040820115837.02a21618@mail.ctch.net> X-Sender: freebsd-net@lists.ctch.net@mail.ctch.net X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0 Date: Fri, 20 Aug 2004 12:06:15 -0600 To: freebsd-net@freebsd.org From: Gregory Kuhn In-Reply-To: <20040820173009.4A6CBF987@gemini.nersc.gov> References: <20040820173009.4A6CBF987@gemini.nersc.gov> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: Traceroute Anomaly X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 18:06:20 -0000 At 11:30 AM 8/20/2004, you wrote: >In reply to Gregory Kuhn : > > > Hello, > > > > > > I have discovered an anomaly (I am sure it was discovered long > > ago) when trying to traceroute to my FBSD 4.8 and 4.9 servers. Here are > > the details. > >Have you set sysctl net.inet.udp.blackhole=1 ? > >If so, the FreeBSD box will drop the traceroute UDP probes and you'll >never see the host itself in traceroute output. Eli, Thank you. That was it. Changed net.inet.udp.blackhole=1 to net.inet.udp.blackhole=0 and traces work. I'll remember to read the man pages more closely too next time. Greg > --eli > > > From owner-freebsd-net@FreeBSD.ORG Fri Aug 20 18:55:09 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51C8A16A4CF for ; Fri, 20 Aug 2004 18:55:09 +0000 (GMT) Received: from lexus.isprime.com (lexus.isprime.com [66.230.130.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F95C43D41 for ; Fri, 20 Aug 2004 18:55:09 +0000 (GMT) (envelope-from pr@isprime.com) Received: from localhost (localhost [127.0.0.1]) by lexus.isprime.com (Postfix) with ESMTP id 38E5A39E307 for ; Fri, 20 Aug 2004 14:55:08 -0400 (EDT) Received: from lexus.isprime.com ([127.0.0.1]) by localhost (lexus.isprime.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 34197-07 for ; Fri, 20 Aug 2004 14:55:07 -0400 (EDT) Received: from [66.230.128.34] (winter.isprime.com [66.230.128.34]) by lexus.isprime.com (Postfix) with ESMTP id 8688539E26E for ; Fri, 20 Aug 2004 14:55:07 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <7493FA89-F2DA-11D8-A26D-000A958F0F6A@isprime.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-net@freebsd.org From: Phil Rosenthal Date: Fri, 20 Aug 2004 14:55:08 -0400 X-Mailer: Apple Mail (2.619) X-Virus-Scanned: by amavisd-new at mail.isprime.com Subject: L2TP/IPSec server on FreeBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 18:55:09 -0000 Hello, I've been trying to set up racoon on FreeBSD to serve as a VPN Server that I can connect into using the OS X L2TP/IPSec client, or the Windows L2TP/IPSec client, preferably from dynamic ip's, preferably from NAT. The point would be to have secure internet access behind, say, open free hotel wifi, or open starbucks wifi. I've found many examples of freebsd w/racoon to connect to freebsd w/racoon when both have public static IP's, and no NAT, but none for "road warriors" behind random ips, possibly NAT, and the examples i've seen talk about IPSec, but don't mention L2TP. Has anyone actually set this up? I know it's possible to do this on a Cisco 2600, or using a windows 2000 server or mac os x server box. Thanks From owner-freebsd-net@FreeBSD.ORG Sat Aug 21 16:30:30 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E8CA16A4CF for ; Sat, 21 Aug 2004 16:30:30 +0000 (GMT) Received: from mxsf13.cluster1.charter.net (mxsf13.cluster1.charter.net [209.225.28.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B04943D45 for ; Sat, 21 Aug 2004 16:30:08 +0000 (GMT) (envelope-from archie@dellroad.org) Received: from mxip05.cluster1.charter.net (mxip05a.cluster1.charter.net [209.225.28.135])i7LGU5Tv023684 for ; Sat, 21 Aug 2004 12:30:07 -0400 Received: from cable-24-196-25-11.mtv.al.charter.com (HELO InterJet.dellroad.org) (24.196.25.11) by mxip05.cluster1.charter.net with ESMTP; 21 Aug 2004 12:30:05 -0400 X-Ironport-AV: i="3.84,99,1091419200"; d="scan'208"; a="220350900:sNHT12597662" Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id LAA50959; Sat, 21 Aug 2004 11:22:26 -0500 (CDT) Received: from arch20m.dellroad.org (localhost [127.0.0.1]) i7LGMP1L006277; Sat, 21 Aug 2004 11:22:25 -0500 (CDT) (envelope-from archie@arch20m.dellroad.org) Received: (from archie@localhost) by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i7LGMOkN006276; Sat, 21 Aug 2004 11:22:24 -0500 (CDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200408211622.i7LGMOkN006276@arch20m.dellroad.org> In-Reply-To: <7493FA89-F2DA-11D8-A26D-000A958F0F6A@isprime.com> To: Phil Rosenthal Date: Sat, 21 Aug 2004 11:22:24 -0500 (CDT) X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: L2TP/IPSec server on FreeBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2004 16:30:30 -0000 Phil Rosenthal wrote: > I've been trying to set up racoon on FreeBSD to serve as a VPN Server > that I can connect into using the OS X L2TP/IPSec client, or the > Windows L2TP/IPSec client, preferably from dynamic ip's, preferably > from NAT. > > The point would be to have secure internet access behind, say, open > free hotel wifi, or open starbucks wifi. > > I've found many examples of freebsd w/racoon to connect to freebsd > w/racoon when both have public static IP's, and no NAT, but none for > "road warriors" behind random ips, possibly NAT, and the examples i've > seen talk about IPSec, but don't mention L2TP. If you want L2TP as well, you might look into port net/sl2tps which is a fairly new and simple L2TP server implementation. -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com