From owner-freebsd-net Sun May 17 01:44:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA22727 for freebsd-net-outgoing; Sun, 17 May 1998 01:44:09 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from couatl.uchicago.edu (couatl.uchicago.edu [128.135.21.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA22700; Sun, 17 May 1998 01:43:58 -0700 (PDT) (envelope-from sfarrell@couatl.uchicago.edu) Received: (from sfarrell@localhost) by couatl.uchicago.edu (8.8.8/8.8.8) id DAA09504; Sun, 17 May 1998 03:43:41 -0500 (CDT) (envelope-from sfarrell) To: Wes Peters Cc: chat@FreeBSD.ORG, net@FreeBSD.ORG Subject: Re: Fastest ISA ethernet card? References: <199805170352.VAA26317@softweyr.com> From: sfarrell@farrell.org Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 17 May 1998 03:43:38 -0500 In-Reply-To: Wes Peters's message of "Sat, 16 May 1998 21:52:50 -0600 (MDT)" Message-ID: <873ee9thhh.fsf@couatl.uchicago.edu> Lines: 13 X-Mailer: Gnus v5.6.9/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Wes Peters writes: > I'm trolling for recommendations for a faster ethernet card for > a 486 dx2/66 system. This system is being 'sidegraded' to a > server, and the NE2000 in it is pretty poky. Please review your > experiences with 10Base-T cards for FreeBSD on the ISA bus. I'm under the impression that SMC made very good ISA boards... -- Steve Farrell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 17 05:38:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA16298 for freebsd-net-outgoing; Sun, 17 May 1998 05:38:56 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from magicnet.magicnet.net (root@magicnet.magicnet.net [204.96.116.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA16293 for ; Sun, 17 May 1998 05:38:52 -0700 (PDT) (envelope-from bill@bilver.magicnet.net) Received: from bilver.magicnet.net (Uaplus@localhost) by magicnet.magicnet.net (8.8.6/8.8.8) with UUCP id IAA21724 for freebsd-net@freebsd.org; Sun, 17 May 1998 08:37:41 -0400 (EDT) X-Authentication-Warning: magicnet.magicnet.net: Uaplus set sender to bilver.magicnet.net!bill using -f Received: (from bill@localhost) by bilver.magicnet.net (8.8.5/8.7.3) id IAA08152 for freebsd-net@freebsd.org; Sun, 17 May 1998 08:25:40 -0400 (EDT) From: Bill Vermillion Message-Id: <199805171225.IAA08152@bilver.magicnet.net> Subject: Multiport ethernet cards. To: freebsd-net@FreeBSD.ORG Date: Sun, 17 May 1998 08:25:39 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I work for a company that provides internet services, and it appears we might get several (at least a few) clients at one site in a large building. They all need to be on separate networks, and the current thinking is to use a FreeBSD unit as a router. At one time I recall there was a company making multi-port ethernet cards - Znyx. The only Zynx I can find on the net is a health-care firm. The only other pointer I've found to multi-port ethernet cards is a company called Cogent - but their address gives a no DNS response. Are there other ways to do this. I also found the etinc site but this appears to be a multiple T1 device. Am I correct in assuming that those expect CSU/DSU's on the end of each port? Thanks Bill -- bill@bilver.magicnet.net | bill@bilver.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 17 06:26:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA21063 for freebsd-net-outgoing; Sun, 17 May 1998 06:26:45 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA21052; Sun, 17 May 1998 06:26:37 -0700 (PDT) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.9.0.Beta7/frmug-2.3/nospam) with UUCP id PAA14305; Sun, 17 May 1998 15:26:34 +0200 (CEST) (envelope-from roberto@keltia.freenix.fr) Received: (from roberto@localhost) by keltia.freenix.fr (8.9.0.Beta4/keltia-2.14/nospam) id MAA14252; Sun, 17 May 1998 12:51:59 +0200 (CEST) (envelope-from roberto) Message-ID: <19980517125159.A14234@keltia.freenix.fr> Date: Sun, 17 May 1998 12:51:59 +0200 From: Ollivier Robert To: chat@FreeBSD.ORG, net@FreeBSD.ORG Subject: Re: Fastest ISA ethernet card? Mail-Followup-To: chat@FreeBSD.ORG, net@FreeBSD.ORG References: <199805170352.VAA26317@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.3i In-Reply-To: <199805170352.VAA26317@softweyr.com>; from Wes Peters on Sat, May 16, 1998 at 09:52:50PM -0600 X-Operating-System: FreeBSD 3.0-CURRENT ctm#4293 AMD-K6 MMX @ 225 MHz Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org According to Wes Peters: > server, and the NE2000 in it is pretty poky. Please review your > experiences with 10Base-T cards for FreeBSD on the ISA bus. I have good experience with both WDC Ultra and 3COM 3c509 cards. ed0 at 0x300-0x31f irq 10 maddr 0xb0000 msize 16384 on isa ed0: address 00:00:c0:7c:66:48, type WD8013EPC (16 bit) -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #59: Wed May 6 00:22:36 CEST 1998 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 17 07:00:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA24060 for freebsd-net-outgoing; Sun, 17 May 1998 07:00:53 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from firewall.ftf.dk (root@mail.ftf.dk [129.142.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA24038; Sun, 17 May 1998 07:00:47 -0700 (PDT) (envelope-from regnauld@deepo.prosa.dk) Received: from mail.prosa.dk ([192.168.100.2]) by firewall.ftf.dk (8.7.6/8.7.3) with ESMTP id SAA16041; Sun, 17 May 1998 18:00:47 +0200 Received: from deepo.prosa.dk (deepo.prosa.dk [192.168.100.10]) by mail.prosa.dk (8.8.5/8.8.5/prosa-1.1) with ESMTP id QAA14284; Sun, 17 May 1998 16:24:40 +0200 (CEST) Received: (from regnauld@localhost) by deepo.prosa.dk (8.8.7/8.8.5/prosa-1.1) id PAA13653; Sun, 17 May 1998 15:59:49 +0200 (CEST) Message-ID: <19980517155949.03479@deepo.prosa.dk> Date: Sun, 17 May 1998 15:59:49 +0200 From: Philippe Regnauld To: Ollivier Robert Cc: chat@FreeBSD.ORG, net@FreeBSD.ORG Subject: Re: Fastest ISA ethernet card? References: <199805170352.VAA26317@softweyr.com> <19980517125159.A14234@keltia.freenix.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.88e In-Reply-To: <19980517125159.A14234@keltia.freenix.fr>; from Ollivier Robert on Sun, May 17, 1998 at 12:51:59PM +0200 X-Operating-System: FreeBSD 2.2.5-STABLE i386 Organization: PROSA Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ollivier Robert writes: > > I have good experience with both WDC Ultra and 3COM 3c509 cards. > > ed0 at 0x300-0x31f irq 10 maddr 0xb0000 msize 16384 on isa > ed0: address 00:00:c0:7c:66:48, type WD8013EPC (16 bit) The WD8013 is AKA SMC Elite. I get 930 KByes/s on these (ftp session). -- -[ Philippe Regnauld / sysadmin / regnauld@deepo.prosa.dk / +55.4N +11.3E ]- «Pluto placed his bad dog at the entrance of Hades to keep the dead IN and the living OUT! The archetypical corporate firewall?» - S. Kelly Bootle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 17 07:43:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA26888 for freebsd-net-outgoing; Sun, 17 May 1998 07:43:48 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from relay.mail.frost.net (orac.frost.net [194.217.125.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA26879 for ; Sun, 17 May 1998 07:43:36 -0700 (PDT) (envelope-from matthewf@orac.frost.net) Received: from matthewf by relay.mail.frost.net with local (Exim 1.92 #1) id 0yb4f1-0007n8-00; Sun, 17 May 1998 15:43:35 +0100 Message-ID: <19980517154334.C27302@orac.frost.net> Date: Sun, 17 May 1998 15:43:34 +0100 From: Matthew Frost To: Bill Vermillion Cc: freebsd-net@FreeBSD.ORG Subject: Re: Multiport ethernet cards. References: <199805171225.IAA08152@bilver.magicnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.8i In-Reply-To: <199805171225.IAA08152@bilver.magicnet.net>; from Bill Vermillion on Sun, May 17, 1998 at 08:25:39AM -0400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, May 17, 1998 at 08:25:39AM -0400, Bill Vermillion wrote: > At one time I recall there was a company making multi-port ethernet > cards - Znyx. The only Zynx I can find on the net is a health-care > firm. The only other pointer I've found to multi-port ethernet > cards is a company called Cogent - but their address gives a no DNS > response. Try http://www.znyx.com/ ^^ I always get this one mixed up it's "zNYx" and not "zYNx"! Regards, Matthew -- Matthew Frost http://www.frost.org/ "My feet, my arms and my ears. And, your feet." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 17 11:39:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA25977 for freebsd-net-outgoing; Sun, 17 May 1998 11:39:18 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from magicnet.magicnet.net (root@magicnet.magicnet.net [204.96.116.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA25879 for ; Sun, 17 May 1998 11:38:59 -0700 (PDT) (envelope-from bill@bilver.magicnet.net) Received: from bilver.magicnet.net (Uaplus@localhost) by magicnet.magicnet.net (8.8.6/8.8.8) with UUCP id OAA09960 for freebsd-net@freebsd.org; Sun, 17 May 1998 14:37:30 -0400 (EDT) X-Authentication-Warning: magicnet.magicnet.net: Uaplus set sender to bilver.magicnet.net!bill using -f Received: (from bill@localhost) by bilver.magicnet.net (8.8.5/8.7.3) id OAA12678 for freebsd-net@freebsd.org; Sun, 17 May 1998 14:25:50 -0400 (EDT) From: Bill Vermillion Message-Id: <199805171825.OAA12678@bilver.magicnet.net> Subject: Re: Multiport ethernet cards. In-Reply-To: <18620.895421921@time.cdrom.com> from "Jordan K. Hubbard" at "May 17, 98 09:18:41 am" To: freebsd-net@FreeBSD.ORG Date: Sun, 17 May 1998 14:25:50 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Recently Jordan K. Hubbard said: > www.znyx.com Drat. I was spelling it Zynx and kept coming up with Zynx Health Care, a division of Cedars of Sinai. I must be loosing my mind. Last week I mistook Win95 for an operating system :-) Just went to znyx and that's exactly what I was looking for Thanks Bill -- bill@bilver.magicnet.net | bill@bilver.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 17 11:42:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA26828 for freebsd-net-outgoing; Sun, 17 May 1998 11:42:46 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA26791 for ; Sun, 17 May 1998 11:42:34 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.8.8/8.8.8) id OAA12939; Sun, 17 May 1998 14:41:49 -0400 (EDT) (envelope-from wollman) Date: Sun, 17 May 1998 14:41:49 -0400 (EDT) From: Garrett Wollman Message-Id: <199805171841.OAA12939@khavrinen.lcs.mit.edu> To: Bill Vermillion Cc: freebsd-net@FreeBSD.ORG Subject: Multiport ethernet cards. In-Reply-To: <199805171225.IAA08152@bilver.magicnet.net> References: <199805171225.IAA08152@bilver.magicnet.net> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > At one time I recall there was a company making multi-port ethernet > cards - Znyx. The only Zynx I can find on the net is a health-care > firm. The only other pointer I've found to multi-port ethernet > cards is a company called Cogent - but their address gives a no DNS > response. When I was at Interop earlier this month, there was another company, Phobos, which sold quad-port Ethernets. From looking at them, they appeared to be based on their Gig nic silicon. The rep I talked to said that it should be possible to get full programming info. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 17 12:44:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA05753 for freebsd-net-outgoing; Sun, 17 May 1998 12:44:25 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from avrasya.ispro.net.tr (avrasya.ispro.net.tr [195.174.18.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA05535 for ; Sun, 17 May 1998 12:42:54 -0700 (PDT) (envelope-from yurtesen@ispro.net.tr) Received: from localhost (yurtesen@localhost) by avrasya.ispro.net.tr (8.8.6/8.7.3) with SMTP id XAA21656 for ; Sun, 17 May 1998 23:41:41 +0300 Date: Sun, 17 May 1998 23:41:41 +0300 (EET DST) From: Evren Yurtesen To: freebsd-net@FreeBSD.ORG Subject: 3C905 In-Reply-To: <199805171900.OAA07502@ftp1.mfn.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have an 3c905 ethernet adapter, normally I use an ne2000 compatible isa adapter... but when I take it out and put 3c905 and configure networking it does not want to work... well at startup it finds the ethernet as vx0 device what can be going bad? +--------------------------------------------------------+ | Name : Evren Yurtesen - yurtesen@ispro.net.tr | | S-mail: Mithatpasa Cad. No:1079/13 35290 Guzelyali | | Home:+90-232-2857604 Work:+90-232-2463992 Izmir/TURKEY | +--------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 17 12:49:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA06425 for freebsd-net-outgoing; Sun, 17 May 1998 12:49:11 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA06411 for ; Sun, 17 May 1998 12:48:47 -0700 (PDT) (envelope-from pb@fasterix.frmug.org) Received: (from uucp@localhost) by frmug.org (8.9.0.Beta7/frmug-2.3/nospam) with UUCP id VAA01335; Sun, 17 May 1998 21:48:42 +0200 (CEST) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.8.8/8.8.5/pb-19970302) id VAA04039; Sun, 17 May 1998 21:44:49 +0200 (CEST) Message-ID: <19980517214448.A3859@fasterix.frmug.fr.net> Date: Sun, 17 May 1998 21:44:48 +0200 From: Pierre Beyssac To: freebsd-net@FreeBSD.ORG Subject: new release of INRIA IPv6 port to -current Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.2 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org IPv6 for FreeBSD-current This is a port of the INRIA IPv6 implementation to FreeBSD-current, based on the March 1998 release of the INRIA code for FreeBSD 2.2.5 and on the May 17th, 1998 version of FreeBSD-current. [ It also, temporarily, includes NetBSD's fast forwarding IPv4 code for convenience in generating this distribution. This is completely independent from the INRIA IPv6 stuff. ] This port to -current is currently alpha quality. It's working for the most part, but is still largely untested. It is available at: ftp://frmug.org/pub/ipv6/ipv6-19980517.tar.gz Please send comments, patches, corrections to Pierre Beyssac The original INRIA IPv6 for FreeBSD-2.2.5 and docs can be found at: ftp://ftp.inria.fr/network/ipv6/freebsd/New.tar.gz ftp://ftp.inria.fr/network/ipv6/docs.tar.gz Previous releases of the INRIA code are available here: ftp://ftp.inria.fr/network/ipv6/freebsd/old/ -- Pierre Beyssac pb@fasterix.frmug.org pb@fasterix.freenix.org {Free,Net,Open}BSD, Linux : il y a moins bien, mais c'est plus cher Free domains: http://www.eu.org/ or mail dns-manager@EU.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 17 15:02:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA26749 for freebsd-net-outgoing; Sun, 17 May 1998 15:02:48 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from softweyr.com ([204.68.178.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA26251 for ; Sun, 17 May 1998 15:01:32 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (localhost.softweyr.com [127.0.0.1]) by softweyr.com (8.8.8/8.8.7) with ESMTP id QAA27623; Sun, 17 May 1998 16:00:56 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <355F5E17.A9B1B581@softweyr.com> Date: Sun, 17 May 1998 16:00:56 -0600 From: Wes Peters Organization: Softweyr llc X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: Evren Yurtesen CC: freebsd-net@FreeBSD.ORG Subject: Re: 3C905 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Evren Yurtesen wrote: > > I have an 3c905 ethernet adapter, > > normally I use an ne2000 compatible isa adapter... > but when I take it out and put 3c905 and configure networking > it does not want to work... > well at startup it finds the ethernet as vx0 device > > what can be going bad? Your network interface in /etc/rc.conf only has "ed0". Change the ed0 setting to vx0 and all *should be* fine. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 17 15:03:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA27004 for freebsd-net-outgoing; Sun, 17 May 1998 15:03:54 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from avrasya.ispro.net.tr (avrasya.ispro.net.tr [195.174.18.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA26921 for ; Sun, 17 May 1998 15:03:39 -0700 (PDT) (envelope-from yurtesen@ispro.net.tr) Received: from localhost (yurtesen@localhost) by avrasya.ispro.net.tr (8.8.6/8.7.3) with SMTP id CAA24565; Mon, 18 May 1998 02:02:14 +0300 Date: Mon, 18 May 1998 02:02:14 +0300 (EET DST) From: Evren Yurtesen To: Wes Peters cc: freebsd-net@FreeBSD.ORG Subject: Re: 3C905 In-Reply-To: <355F5E17.A9B1B581@softweyr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I already changed it :) but it did not help any... +--------------------------------------------------------+ | Name : Evren Yurtesen - yurtesen@ispro.net.tr | | S-mail: Mithatpasa Cad. No:1079/13 35290 Guzelyali | | Home:+90-232-2857604 Work:+90-232-2463992 Izmir/TURKEY | +--------------------------------------------------------+ On Sun, 17 May 1998, Wes Peters wrote: > Evren Yurtesen wrote: > > > > I have an 3c905 ethernet adapter, > > > > normally I use an ne2000 compatible isa adapter... > > but when I take it out and put 3c905 and configure networking > > it does not want to work... > > well at startup it finds the ethernet as vx0 device > > > > what can be going bad? > > Your network interface in /etc/rc.conf only has "ed0". Change the > ed0 setting to vx0 and all *should be* fine. > > -- > "Where am I, and what am I doing in this handbasket?" > > Wes Peters Softweyr LLC > http://www.softweyr.com/~softweyr wes@softweyr.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 17 15:17:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA00646 for freebsd-net-outgoing; Sun, 17 May 1998 15:17:44 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from softweyr.com ([204.68.178.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA00508 for ; Sun, 17 May 1998 15:17:06 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (localhost.softweyr.com [127.0.0.1]) by softweyr.com (8.8.8/8.8.7) with ESMTP id QAA27663; Sun, 17 May 1998 16:15:40 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <355F618A.8B74FA8E@softweyr.com> Date: Sun, 17 May 1998 16:15:38 -0600 From: Wes Peters Organization: Softweyr llc X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: Garrett Wollman CC: Bill Vermillion , freebsd-net@FreeBSD.ORG Subject: Re: Multiport ethernet cards. References: <199805171225.IAA08152@bilver.magicnet.net> <199805171841.OAA12939@khavrinen.lcs.mit.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Garrett Wollman wrote: > > < said: > > > At one time I recall there was a company making multi-port ethernet > > cards - Znyx. The only Zynx I can find on the net is a health-care > > firm. The only other pointer I've found to multi-port ethernet > > cards is a company called Cogent - but their address gives a no DNS > > response. > > When I was at Interop earlier this month, there was another company, > Phobos, which sold quad-port Ethernets. From looking at them, they > appeared to be based on their Gig nic silicon. The rep I talked to > said that it should be possible to get full programming info. The device-driver honcho there is Chris Bodily. Tell him to be nice, or Wes will NEVER take him out to lunch. And remind him he still owes me a Gigabit PCI card. ;^) I think his email address is Chris_M_Bodily@phobos.com. If that doesn't work, mail to research_development@phobos.com and mark the message to the attention of Chris. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 17 15:26:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA02895 for freebsd-net-outgoing; Sun, 17 May 1998 15:26:26 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from softweyr.com ([204.68.178.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA02776 for ; Sun, 17 May 1998 15:25:56 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (localhost.softweyr.com [127.0.0.1]) by softweyr.com (8.8.8/8.8.7) with ESMTP id QAA27705; Sun, 17 May 1998 16:25:33 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <355F63DC.A82D90BF@softweyr.com> Date: Sun, 17 May 1998 16:25:32 -0600 From: Wes Peters Organization: Softweyr llc X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: Evren Yurtesen CC: freebsd-net@FreeBSD.ORG Subject: Re: 3C905 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Evren Yurtesen and Wes Peters conversed thusly: > > > I have an 3c905 ethernet adapter, > > > > > > normally I use an ne2000 compatible isa adapter... > > > but when I take it out and put 3c905 and configure networking > > > it does not want to work... > > > well at startup it finds the ethernet as vx0 device > > > > > > what can be going bad? > > > > Your network interface in /etc/rc.conf only has "ed0". Change the > > ed0 setting to vx0 and all *should be* fine. > > > I already changed it :) > but it did not help any... What link speed is the card using, and what kind of hub do you have it plugged into? I've heard others mention that automagic link speed detection often doesn't work on the vx driver. You may need to set the speed using the DOS setup program if this is the problem. (I think the dmesg output will tell you what speed the driver is trying to use.) -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 17 17:28:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA25752 for freebsd-net-outgoing; Sun, 17 May 1998 17:28:48 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from avrasya.ispro.net.tr (avrasya.ispro.net.tr [195.174.18.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA25688 for ; Sun, 17 May 1998 17:28:30 -0700 (PDT) (envelope-from yurtesen@ispro.net.tr) Received: from localhost (yurtesen@localhost) by avrasya.ispro.net.tr (8.8.6/8.7.3) with SMTP id EAA26758; Mon, 18 May 1998 04:27:04 +0300 Date: Mon, 18 May 1998 04:27:04 +0300 (EET DST) From: Evren Yurtesen To: Wes Peters cc: freebsd-net@FreeBSD.ORG Subject: Re: 3C905 In-Reply-To: <355F63DC.A82D90BF@softweyr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org well I set the ethernet card to 10mbits from the dos utility... also I use some HP hubs... +--------------------------------------------------------+ | Name : Evren Yurtesen - yurtesen@ispro.net.tr | | S-mail: Mithatpasa Cad. No:1079/13 35290 Guzelyali | | Home:+90-232-2857604 Work:+90-232-2463992 Izmir/TURKEY | +--------------------------------------------------------+ On Sun, 17 May 1998, Wes Peters wrote: > Evren Yurtesen and Wes Peters conversed thusly: > > > > I have an 3c905 ethernet adapter, > > > > > > > > normally I use an ne2000 compatible isa adapter... > > > > but when I take it out and put 3c905 and configure networking > > > > it does not want to work... > > > > well at startup it finds the ethernet as vx0 device > > > > > > > > what can be going bad? > > > > > > Your network interface in /etc/rc.conf only has "ed0". Change the > > > ed0 setting to vx0 and all *should be* fine. > > > > > I already changed it :) > > but it did not help any... > > What link speed is the card using, and what kind of hub do you have > it plugged into? I've heard others mention that automagic link speed > detection often doesn't work on the vx driver. You may need to set > the speed using the DOS setup program if this is the problem. (I > think the dmesg output will tell you what speed the driver is trying > to use.) > > -- > "Where am I, and what am I doing in this handbasket?" > > Wes Peters Softweyr LLC > http://www.softweyr.com/~softweyr wes@softweyr.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 17 17:56:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA29556 for freebsd-net-outgoing; Sun, 17 May 1998 17:56:40 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from roma.coe.ufrj.br (jonny@roma.coe.ufrj.br [146.164.53.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA29538 for ; Sun, 17 May 1998 17:56:30 -0700 (PDT) (envelope-from jonny@jonny.eng.br) Received: (from jonny@localhost) by roma.coe.ufrj.br (8.8.8/8.8.8) id VAA06373 for net@freebsd.org; Sun, 17 May 1998 21:56:31 -0300 (EST) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199805180056.VAA06373@roma.coe.ufrj.br> Subject: ifconfig ether To: net@FreeBSD.ORG Date: Sun, 17 May 1998 21:56:31 -0300 (EST) X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org roma::root [534] ifconfig ed0 ether 00:00:c0:a1:99:f5 Segmentation fault Should this work ? If not, SIGSEGV is not a nice way of telling so. :) Is there an official command to change ethernet address on an interface ? This system is a -stable from May 8. Jonny -- Joao Carlos Mendes Luis M.Sc. Student jonny@jonny.eng.br Universidade Federal do Rio de Janeiro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 17 21:02:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA26094 for freebsd-net-outgoing; Sun, 17 May 1998 21:02:43 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from softweyr.com ([204.68.178.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA25862 for ; Sun, 17 May 1998 21:01:33 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (localhost.softweyr.com [127.0.0.1]) by softweyr.com (8.8.8/8.8.7) with ESMTP id WAA28314; Sun, 17 May 1998 22:01:23 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <355FB292.3B3DD515@softweyr.com> Date: Sun, 17 May 1998 22:01:22 -0600 From: Wes Peters Organization: Softweyr llc X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: Evren Yurtesen , freebsd-net@FreeBSD.ORG Subject: Re: 3C905 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Evren Yurtesen wrote: > > well I set the ethernet card to 10mbits from the dos utility... > also I use some HP hubs... > They ARE 10Base-T hubs, right? (Just checking! This is a common mistake!) Does the 'dmesg' output on your machine show that FreeBSD has recognized the 10 Mbits/sec setting? If so, I'm stumped. It might just be a bad card -- test it with another OS if you can. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 17 23:58:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA20492 for freebsd-net-outgoing; Sun, 17 May 1998 23:58:20 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from osku.suutari.iki.fi (kn6-045.ktvlpr.inet.fi [194.197.169.45]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA20484 for ; Sun, 17 May 1998 23:58:13 -0700 (PDT) (envelope-from ari@suutari.iki.fi) Received: from suutari.iki.fi (mocha.intranet.syncrontech.com [192.168.2.3]) by osku.suutari.iki.fi (8.8.7/8.8.5) with ESMTP id JAA02237; Mon, 18 May 1998 09:57:59 +0300 (EET DST) Message-ID: <355FDE2F.FC5DABB6@suutari.iki.fi> Date: Mon, 18 May 1998 10:07:27 +0300 From: Ari Suutari X-Mailer: Mozilla 4.05 [en] (WinNT; I) MIME-Version: 1.0 To: alk@pobox.com CC: freebsd-net@FreeBSD.ORG Subject: Re: Transparent proxying (was: IPFW + natd -redirect_port) References: <355C4626.5B8EAF27@suutari.iki.fi> <199805151854.NAA14225@compound.east.sun.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Tony Kimball wrote: > > I have a problem which I imagine to be fairly common, and this talk of > transparent proxies suggests that the best solution is to be found > by querying this list: > > I use various IP providers. Depending on the nonce provider, my smtp > relay host varies, and my http/ftp proxy varies or becomes null. > Currently I use a ppp linkup/linkdown pair to switch /etc/sendmail.cf, > (but this means that I can't run sendmail as a daemon, which is a > problem for other hosts on my lan, for which I route) and turn proxies > on/off manually. Ideally, I think I should like to transparently > proxy http/ftp for both the router and other LAN clients, or disable > proxying entirely, depending on the route, and similarly to translate > some dummy IP to the current relay host depending upon the route. > > What is the best current and the best near-future solution? I don't know about best but one near-future solution could be natd with transparent proxying support. If you are running -current then I guess that you could use ipfilter to do this also. Anyway, you will still need ppp linkup/linkdown pair to manage either configuration of natd or ipfilter. Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon May 18 02:21:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA13051 for freebsd-net-outgoing; Mon, 18 May 1998 02:21:29 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA13045 for ; Mon, 18 May 1998 02:21:25 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id JAA16443; Mon, 18 May 1998 09:21:24 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id LAA17182; Mon, 18 May 1998 11:21:22 +0200 (MET DST) Message-ID: <19980518112121.51954@follo.net> Date: Mon, 18 May 1998 11:21:21 +0200 From: Eivind Eklund To: Wes Peters Cc: freebsd-net@FreeBSD.ORG Subject: Re: 3C905 References: <355F63DC.A82D90BF@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <355F63DC.A82D90BF@softweyr.com>; from Wes Peters on Sun, May 17, 1998 at 04:25:32PM -0600 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, May 17, 1998 at 04:25:32PM -0600, Wes Peters wrote: > What link speed is the card using, and what kind of hub do you have > it plugged into? I've heard others mention that automagic link speed > detection often doesn't work on the vx driver. If it works even sometimes, I'd be surprised - there wasn't any code for this in the driver the last time I looked (and I'm fairly certain nobody has committed anything afterwards). Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon May 18 05:16:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA21007 for freebsd-net-outgoing; Mon, 18 May 1998 05:16:39 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA20805 for ; Mon, 18 May 1998 05:16:26 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from hrotti.ifi.uio.no (2602@hrotti.ifi.uio.no [129.240.64.15]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id OAA09860 for ; Mon, 18 May 1998 14:16:15 +0200 (MET DST) Received: (from dag-erli@localhost) by hrotti.ifi.uio.no ; Mon, 18 May 1998 14:16:15 +0200 (MET DST) Mime-Version: 1.0 To: net@FreeBSD.ORG Subject: vx driver Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-Stop-Spam: http://www.cauce.org From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 18 May 1998 14:16:14 +0200 Message-ID: Lines: 6 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Does anybody have an idea of how much work is needed to make the vx driver work in 100 Mbps mode? And does anybody have access to the necessary documentation? -- Noone else has a .sig like this one. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon May 18 07:09:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA14308 for freebsd-net-outgoing; Mon, 18 May 1998 07:09:50 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA14268 for ; Mon, 18 May 1998 07:09:32 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id OAA02125; Mon, 18 May 1998 14:09:30 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id QAA18874; Mon, 18 May 1998 16:09:28 +0200 (MET DST) Message-ID: <19980518160928.42768@follo.net> Date: Mon, 18 May 1998 16:09:28 +0200 From: Eivind Eklund To: =?iso-8859-1?Q?Dag-Erling_Coidan_Sm=F8rgrav?= , net@FreeBSD.ORG Subject: Re: vx driver References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.89.1i In-Reply-To: =?iso-8859-1?Q?=3Cxzpemxr7p0x=2Efsf=40hrotti=2Eifi=2Euio=2Eno=3E=3B_from?= =?iso-8859-1?Q?_Dag-Erling_Coidan_Sm=F8rgrav__on_Mon=2C_May_18=2C_1998_a?= =?iso-8859-1?Q?t_02=3A16=3A14PM_+0200?= Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, May 18, 1998 at 02:16:14PM +0200, Dag-Erling Coidan Smørgrav wrote: > Does anybody have an idea of how much work is needed to make the vx > driver work in 100 Mbps mode? (a) It should work now. (b) To make it work _reasonably_: Total rewrite. A guy at MIT was working on this. > And does anybody have access to the necessary documentation? IIRC, 3COM is rather good at supplying this on request. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon May 18 07:20:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA16314 for freebsd-net-outgoing; Mon, 18 May 1998 07:20:36 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA16258 for ; Mon, 18 May 1998 07:20:19 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id OAA02607; Mon, 18 May 1998 14:20:21 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id QAA18939; Mon, 18 May 1998 16:20:20 +0200 (MET DST) Message-ID: <19980518162020.18778@follo.net> Date: Mon, 18 May 1998 16:20:20 +0200 From: Eivind Eklund To: =?iso-8859-1?Q?Dag-Erling_Coidan_Sm=F8rgrav?= Cc: net@FreeBSD.ORG Subject: Re: vx driver References: <19980518160928.42768@follo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.89.1i In-Reply-To: =?iso-8859-1?Q?=3Cxzp4syn7jlj=2Efsf=40hrotti=2Eifi=2Euio=2Eno=3E=3B_from?= =?iso-8859-1?Q?_Dag-Erling_Coidan_Sm=F8rgrav__on_Mon=2C_May_18=2C_1998_a?= =?iso-8859-1?Q?t_04=3A13=3A28PM_+0200?= Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, May 18, 1998 at 04:13:28PM +0200, Dag-Erling Coidan Smørgrav wrote: > Eivind Eklund writes: > > On Mon, May 18, 1998 at 02:16:14PM +0200, Dag-Erling Coidan Smørgrav wrote: > > > Does anybody have an idea of how much work is needed to make the vx > > > driver work in 100 Mbps mode? > > (a) It should work now. > > Doesn't look like it (3.0-980506-SNAP) and the man page says it doesn't. The 'fx' and 'tx' connectors should be 100Mbit, besides which people have been complaining about lousy perfomance in 100Mbit mode. I may be wrong - I've never run it in 100MBit mode. No matter what: To be able to run decently in 100MBit (and to work with the 3C905B) it would need to use the busmaster mode instead of the polled IO mode. You can look at the Linux driver 3c59x.c (by Donald Becker) for details. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon May 18 07:42:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA20781 for freebsd-net-outgoing; Mon, 18 May 1998 07:42:44 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from tsbgw.wide.toshiba.co.jp (tsbgw.wide.toshiba.co.jp [202.249.10.123]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA20728 for ; Mon, 18 May 1998 07:42:30 -0700 (PDT) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: (from uucp@localhost) by tsbgw.wide.toshiba.co.jp (8.8.8/8.8.8/2.10) with UUCP id XAA03108 for net@freebsd.org; Mon, 18 May 1998 23:42:13 +0900 (JST) Received: from localhost (perfume.isl.rdc.toshiba.co.jp [133.196.16.145]) by splash.isl.rdc.toshiba.co.jp (8.8.8/8.8.8/3.2) with ESMTP id XAA18768 for ; Mon, 18 May 1998 23:38:24 +0900 (JST) To: net@FreeBSD.ORG X-Mailer: Mew version 1.93b24 on Emacs 20.2 / Mule 3.0 (MOMIJINOGA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19980518233544S.jinmei@isl.rdc.toshiba.co.jp> Date: Mon, 18 May 1998 23:35:44 +0900 From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= X-Dispatcher: imput version 980302 Lines: 1 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org subscribe freebsd-net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon May 18 13:58:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA02541 for freebsd-net-outgoing; Mon, 18 May 1998 13:58:50 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from adinet.com.uy (suncueva.adinet.com.uy [206.99.44.241]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA02430 for ; Mon, 18 May 1998 13:58:17 -0700 (PDT) (envelope-from susana.scaglione@usa.net) Received: from 31867 by adinet.com.uy (SMI-8.6/SMI-SVR4) id RAA27657; Mon, 18 May 1998 17:50:25 +0300 Message-ID: <3560A11F.BC9F2CDA@usa.net> Date: Mon, 18 May 1998 17:59:12 -0300 From: "Mra. Susana Scaglione" X-Mailer: Mozilla 4.01 [en] (Win95; I) MIME-Version: 1.0 To: Angelo Nardone , freebsd-net@FreeBSD.ORG Subject: Re: Transparent proxy [Fwd: IPFW + natd -redirect_port] X-Priority: 3 (Normal) References: <35609B01.6E514E81@adinet.com.uy> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Angelo Nardone wrote: > Philippe Regnauld wrote: > > > now I'm hitting another interesting problem -- I'd like > > to do "transparent" proxy redirection, i.e.: > > I would like outgoing traffic to any 80 to be silently > > redirected to the Squid (on the local net or on the > > firewall). This should work, since modern WWW clients > > include the full url (vor VHosts reasons) in the request. > > > > > > I developed a special "transparent" proxy software, and now is work in > a > many SP in Argentina. > Would you buy it ? > I'm intrested in that program. Could you send more information about it ? Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon May 18 15:17:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA19883 for freebsd-net-outgoing; Mon, 18 May 1998 15:17:32 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from jlf0.jlf.es (h005065.nexo.es [194.75.5.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA19734 for ; Mon, 18 May 1998 15:16:53 -0700 (PDT) (envelope-from jlfreniche@acm.org) Received: from acm.org (localhost.jlf.es [127.0.0.1]) by jlf0.jlf.es (8.8.8/8.8.8) with ESMTP id AAA00381 for ; Tue, 19 May 1998 00:16:05 +0200 (CEST) (envelope-from jlfreniche@acm.org) Message-ID: <3560B324.EE6EA57B@acm.org> Date: Tue, 19 May 1998 00:16:04 +0200 From: "Juan L. Freniche" X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: FreeBSD NET Subject: Questions on FreeBSD Security Advisory: FreeBSD-SA-98:03.ttcp REVISED Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id PAA19784 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This moorning a FreeBSD security advise was corrected in the FreeBSD anounce mail list, regarding a hole in the T/TCP implementation. It can be retrieve from ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-98:03/ The following modification to /usr/src/sys/netinet/tcp_input.c was recommended: @@ -680,7 +680,9 @@ * - otherwise do a normal 3-way handshake. */ if ((to.to_flag & TOF_CC) != 0) { - if (taop->tao_cc != 0 && CC_GT(to.to_cc, taop->tao_cc)) { + if (((tp->t_flags & TF_NOPUSH) != 0) && + taop->tao_cc != 0 && CC_GT(to.to_cc, taop->tao_cc)) { + taop->tao_cc = to.to_cc; tp->t_state = TCPS_ESTABLISHED; I don't understand completely the proposed solution: Remember that the state is Listen and TF_NOPUSH was set (see the code below the label findpcb in tcp_input.c). A segment is received, it pass if SYN present and other filters are OK. When reaching the TAO test, the proposal expand the test with (tp->t_flags & TF_NOPUSH) != 0), which is always true! Can anybody tell me what I am missing? Second question: in tcp_input.c, when the clone socket is created, the clone connection is moved to Listen and TF_NOPUSH is set. However, if you have a look to the ttcp man page, it is recommended (SERVER SUPPORT, item list 1) that TCP_NOPUSH be set for the master connection, but this flag is already set for any clone! Even more, if you reset the flag for the master connection, it will have no effect in their clones. By the way, setting the flag for clone connections is not found in the Stevens book, vol. 3. -- -------------------------- E-Mail: jlfreniche@acm.org -------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon May 18 17:34:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA22768 for freebsd-net-outgoing; Mon, 18 May 1998 17:34:19 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from whizzo.TransSys.COM (whizzo.TransSys.COM [144.202.42.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA22565 for ; Mon, 18 May 1998 17:33:22 -0700 (PDT) (envelope-from louie@whizzo.TransSys.COM) Received: from whizzo.TransSys.COM (localhost.transsys.com [127.0.0.1]) by whizzo.TransSys.COM (8.8.8/8.7.3) with ESMTP id UAA10037; Mon, 18 May 1998 20:31:48 -0400 (EDT) Message-Id: <199805190031.UAA10037@whizzo.TransSys.COM> X-Mailer: exmh version 2.0.1 12/23/97 To: Petri Helenius cc: Garrett Wollman , Pierre Beyssac , net@FreeBSD.ORG From: "Louis A. Mamakos" Subject: Re: v6 issues References: <13658.27284.20359.164715@silver.sms.fi> <3801.895139158@time.cdrom.com> <19980515003707.A18577@fasterix.frmug.fr.net> <199805150256.WAA29412@khavrinen.lcs.mit.edu> <13659.51336.457818.157020@silver.sms.fi> In-reply-to: Your message of "Fri, 15 May 1998 07:47:38 +0300." <13659.51336.457818.157020@silver.sms.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 18 May 1998 20:31:47 -0400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Garrett Wollman writes: > > < said: > > > > > There's a BIG difference: almost everybody on the Internet will > > > have to run IPv6 sooner or later. > > > > More likely later than sooner. > > > This should be going off onto a *-chat list but I would say that IPv6 > is likely to happen sooner than one might think. It's the usual way > with many things. Then we'll all be running WinNT if you keep your > attitude. Given that there is no real support in the routers used in the backbone for the Internet for IPv6, I think the characterization of "later" rather than "sooner" is quite correct. Yes, yes, you can get code to test from major router vendors that implement some version of IPv6, but none of the large backbone operators are likely to put their infrastruture at risk to run experimental code. The other consideration is that there is no real demand from ISP customers for IPv6 support. I know this as I work for one of the large Internet backbone operators, and I worry about this issue. That having been said, IPv6 will be deployed from the "edges" of the network inwards toward the backbone. Islands of native IPv6 will be interconnected over the existing IPv4 Internet *long* before there is native IPv6 connectivity between arbitrary end-systems. So having a v6 stack in FreeBSD will be a useful thing. But please keep the larger picture in mind so that you won't be disappointed. louie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon May 18 18:45:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA06549 for freebsd-net-outgoing; Mon, 18 May 1998 18:45:05 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from uh.wide.toshiba.co.jp (uh.wide.toshiba.co.jp [202.249.10.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA06340 for ; Mon, 18 May 1998 18:43:51 -0700 (PDT) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from localhost (kame201.kame.net [203.178.141.201]) by uh.wide.toshiba.co.jp (8.8.8/8.8.8) with ESMTP id KAA27176 for ; Tue, 19 May 1998 10:30:41 +0900 (JST) To: freebsd-net@FreeBSD.ORG X-Mailer: Mew version 1.93b24 on Emacs 20.2 / Mule 3.0 (MOMIJINOGA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19980519102758B.jinmei@isl.rdc.toshiba.co.jp> Date: Tue, 19 May 1998 10:27:58 +0900 From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= X-Dispatcher: imput version 980302 Lines: 1 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org auth a7c2a155 subscribe freebsd-net jinmei@isl.rdc.toshiba.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon May 18 21:37:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA03747 for freebsd-net-outgoing; Mon, 18 May 1998 21:37:32 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from silver.sms.fi (silver.sms.fi [194.111.122.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA03724 for ; Mon, 18 May 1998 21:37:25 -0700 (PDT) (envelope-from pete@silver.sms.fi) Received: (from pete@localhost) by silver.sms.fi (8.8.8/8.7.3) id HAA17642; Tue, 19 May 1998 07:37:23 +0300 (EEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 19 May 1998 07:37:23 +0300 (EEST) From: Petri Helenius To: "Louis A. Mamakos" Cc: Garrett Wollman , Pierre Beyssac , net@FreeBSD.ORG Subject: Re: v6 issues In-Reply-To: <199805190031.UAA10037@whizzo.TransSys.COM> References: <13658.27284.20359.164715@silver.sms.fi> <3801.895139158@time.cdrom.com> <19980515003707.A18577@fasterix.frmug.fr.net> <199805150256.WAA29412@khavrinen.lcs.mit.edu> <13659.51336.457818.157020@silver.sms.fi> <199805190031.UAA10037@whizzo.TransSys.COM> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13665.2618.836915.227355@silver.sms.fi> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Louis A. Mamakos writes: > > Given that there is no real support in the routers used in the backbone > for the Internet for IPv6, I think the characterization of "later" rather > than "sooner" is quite correct. Yes, yes, you can get code to test from > major router vendors that implement some version of IPv6, but none of the > large backbone operators are likely to put their infrastruture at risk > to run experimental code. Ok, with this we're into defining what is the timeframe of "later". Since I would imagine that FreeBSD-3.0 might get released sometime this year it would match the release plans of these major router vendors. > > The other consideration is that there is no real demand from ISP customers > for IPv6 support. I know this as I work for one of the large Internet > backbone operators, and I worry about this issue. > There is if you interpret it correctly. Everybody around here is complaining that address space is hard to come by and are spending huge $$$ to work around that with address translation and private addressing. > That having been said, IPv6 will be deployed from the "edges" of the > network inwards toward the backbone. Islands of native IPv6 will be Correct statement here would be "is being deployed". The speed or level of deployment is not impressive yet, but I would imagine that it gets a nice jumpstart from the router vendors when they release their code. > interconnected over the existing IPv4 Internet *long* before there is > native IPv6 connectivity between arbitrary end-systems. So having a > v6 stack in FreeBSD will be a useful thing. But please keep the > larger picture in mind so that you won't be disappointed. > Obviously we need major OS vendors to have released v6 code and applications built to use that in order to make this really happen. However the number of applications that really use worldwide connectivity is not that large so there is not that much updates to do before v6 will suffice for Internet connectivity and some legacy v4 applications are used in smaller scale for intra-company tasks. Pete To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon May 18 22:30:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA15353 for freebsd-net-outgoing; Mon, 18 May 1998 22:30:30 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from softweyr.com ([204.68.178.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA15201 for ; Mon, 18 May 1998 22:29:42 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (localhost.softweyr.com [127.0.0.1]) by softweyr.com (8.8.8/8.8.7) with ESMTP id XAA00607; Mon, 18 May 1998 23:28:26 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <35611879.3C1D1B82@softweyr.com> Date: Mon, 18 May 1998 23:28:25 -0600 From: Wes Peters Organization: Softweyr llc X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: Petri Helenius CC: "Louis A. Mamakos" , Garrett Wollman , Pierre Beyssac , net@FreeBSD.ORG Subject: Re: v6 issues References: <13658.27284.20359.164715@silver.sms.fi> <3801.895139158@time.cdrom.com> <19980515003707.A18577@fasterix.frmug.fr.net> <199805150256.WAA29412@khavrinen.lcs.mit.edu> <13659.51336.457818.157020@silver.sms.fi> <199805190031.UAA10037@whizzo.TransSys.COM> <13665.2618.836915.227355@silver.sms.fi> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Petri Helenius wrote: > > Louis A. Mamakos writes: > > > That having been said, IPv6 will be deployed from the "edges" of the > > network inwards toward the backbone. Islands of native IPv6 will be > > Correct statement here would be "is being deployed". The speed or > level of deployment is not impressive yet, but I would imagine that > it gets a nice jumpstart from the router vendors when they release > their code. > > > interconnected over the existing IPv4 Internet *long* before there is > > native IPv6 connectivity between arbitrary end-systems. So having a > > v6 stack in FreeBSD will be a useful thing. But please keep the > > larger picture in mind so that you won't be disappointed. > > > Obviously we need major OS vendors to have released v6 code and > applications built to use that in order to make this really > happen. You both seem to be ignoring the fact that the networking market is driven by so-called 'IT professionals' these days, most of whom can't tell the difference between an ARP and a carp. I write IP routing software at my 'day job', for one of the major campus-area network equipment vendors, and IPv6 hasn't even come up on our radar yet. (It'll cause quite a screaming fit when it does; none of our switching hardware is going to handle 128-bit layer 3 addresses AT ALL. ;^) -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 19 08:17:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA04632 for freebsd-net-outgoing; Tue, 19 May 1998 08:17:03 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA04601 for ; Tue, 19 May 1998 08:16:53 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id IAA22491; Tue, 19 May 1998 08:15:18 -0700 (PDT) Message-Id: <199805191515.IAA22491@implode.root.com> To: Pierre Beyssac cc: freebsd-net@FreeBSD.ORG, matt@3am-software.com Subject: Re: patches for fast forwarding (with kernel option & sysctl) In-reply-to: Your message of "Mon, 04 May 1998 01:43:10 +0200." <19980504014310.A22037@fasterix.frmug.fr.net> From: David Greenman Reply-To: dg@root.com Date: Tue, 19 May 1998 08:15:18 -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Here are new patches to use NetBSD's IPFLOW stuff on -current. To Thanks! I just committed them after making a few minor changes myself. After reviewing the implementation, I think there is plenty of room for efficiency improvement, especially with the hash algorithm. The current hash algorithm does 18 adds, 12 shifts, 6 subtracts, and 6 compares for every packet. I think this is a bit excessive. I think a hash with similar quality could be acheived with just 3 xors and a 2 shifts. There is also an issue of the LRU algorithm being extremely expensive when IPFLOW_MAX is reached. One solution would be to create a list of the ip_flow structs that is kept sorted, but this would slow down the fast path. Another solution might be to do a pseudo-random drop of some kind - for instance, use the count of total forwarded packets in the calculation of a hash index and then drop the last (oldest) entry in that bucket. I'm sure there are many more possible solutions that I haven't considered and I welcome any suggestions on this. Anyway, thanks go to Matt Thomas for implementing this in the first place. It looks to be quite useful. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 19 09:39:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA22594 for freebsd-net-outgoing; Tue, 19 May 1998 09:39:07 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from freefall.pipeline.ch (freefall.pipeline.ch [195.134.128.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA22561 for ; Tue, 19 May 1998 09:38:57 -0700 (PDT) (envelope-from andre@pipeline.ch) Received: from pipeline.ch ([195.134.128.41]) by freefall.pipeline.ch (Netscape Mail Server v2.02) with ESMTP id AAA116; Tue, 19 May 1998 18:37:06 +0200 Message-ID: <3561B565.884066B8@pipeline.ch> Date: Tue, 19 May 1998 18:37:57 +0200 From: "IBS / Andre Oppermann" Organization: Internet Business Solutions Ltd. (AG) X-Mailer: Mozilla 4.03 [en] (WinNT; U) MIME-Version: 1.0 To: dg@root.com CC: Pierre Beyssac , freebsd-net@FreeBSD.ORG, matt@3am-software.com Subject: Re: patches for fast forwarding (with kernel option & sysctl) References: <199805191515.IAA22491@implode.root.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org David Greenman wrote: > > >Here are new patches to use NetBSD's IPFLOW stuff on -current. To > > Thanks! I just committed them after making a few minor changes myself. -snip- David Is there any chance for the LC-tree stuff from http://www.cs.hut.fi/ ~sni/papers/router/router.html to be inlcuded into the routing table code of FreeBSD. I'm currently reading my way through TCP/IP Illustrated Vol.2 and Algorithms in C so I'm currently not able to do it by myself. I'm thinking about using the new Zebra BGP daemon together with FreeBSD for some of my core routers that have the complete routing tables (~20Meg on a cisco). I know it's possible even with Gated but the kernel would not be happy with such a big routing table. -- Andre Oppermann CEO / Geschaeftsfuehrer Internet Business Solutions Ltd. (AG) Hardstrasse 235, 8005 Zurich, Switzerland Fon +41 1 277 75 75 / Fax +41 1 277 75 77 http://www.pipeline.ch ibs@pipeline.ch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 19 09:54:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25088 for freebsd-net-outgoing; Tue, 19 May 1998 09:54:14 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA24971; Tue, 19 May 1998 09:54:07 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id QAA03639; Tue, 19 May 1998 16:53:56 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id SAA28656; Tue, 19 May 1998 18:53:50 +0200 (MET DST) Message-ID: <19980519185349.49553@follo.net> Date: Tue, 19 May 1998 18:53:49 +0200 From: Eivind Eklund To: Luigi Rizzo Cc: kjc@csl.sony.co.jp, current@FreeBSD.ORG, net@FreeBSD.ORG Subject: Re: struct ifnet handling... References: <19980519172127.08361@follo.net> <199805191356.PAA09388@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199805191356.PAA09388@labinfo.iet.unipi.it>; from Luigi Rizzo on Tue, May 19, 1998 at 03:56:59PM +0200 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This belong in -net - please send further messages there (I'm sending this message to both lists to allow an orderly transition). On Tue, May 19, 1998 at 03:56:59PM +0200, Luigi Rizzo wrote: > > If you're interested in implementing fast firewall code, there are a > > lot of changes that are more interesting than removing that strncmp(). > > One of them is getting rid of the dual pass through the firewall rules > > - which you can do by switching to a chained system. > > Can you explain ? I don't get this. if you refer to the poor > implementation of SKIPTO rules, I already fixed that yesterday (and > it is in today's dummynet patches). I'm referring to the implementation of the recv, xmit and 'via' rules. They're implemented by running the _entire_ ruleset once when the packet arrive, and once when it leave. Search for ip_fw_chk_ptr in ip_output.c and ip_input.c. > One thing i was thinking is to see rules as instructions, and each rule > does only ONE test (be it on addresses, ports, etc.) This way you can > quickly switch to the right piece of code, and avoid testing the flags > 16 times on each rule to see which tests to apply and which one not. Yes, that's a good internal representation. Be aware that you can also use a test as a 'split' - view the entire system as a tree. If you use a model that is easy to manipulate this can be reasonably simple to implement. One way is to look at a packet (including flags etc) as a series of bits which can be masked against. This is fairly tractable - rules can be viewed as either a mask/match or a selection of bits with a min/max value. Both ways of viewing these are generic (the proof is trivial), and it is possible to transform back and forth. I have code to do some of these transforms available somewhere; if you want to play with this to look at different optimization models, you can have a copy. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 19 10:07:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA27665 for freebsd-net-outgoing; Tue, 19 May 1998 10:07:38 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA27638; Tue, 19 May 1998 10:07:22 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id RAA09734; Tue, 19 May 1998 17:23:37 +0200 From: Luigi Rizzo Message-Id: <199805191523.RAA09734@labinfo.iet.unipi.it> Subject: Re: struct ifnet handling... To: eivind@yes.no (Eivind Eklund) Date: Tue, 19 May 1998 17:23:37 +0200 (MET DST) Cc: kjc@csl.sony.co.jp, current@FreeBSD.ORG, net@FreeBSD.ORG In-Reply-To: <19980519185349.49553@follo.net> from "Eivind Eklund" at May 19, 98 06:53:30 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I'm referring to the implementation of the recv, xmit and 'via' rules. > They're implemented by running the _entire_ ruleset once when the > packet arrive, and once when it leave. oh, yes; but in this case, different rules might match the packet on the way in and out, and this is a lesser problem with properly implemented SKIPTO rules (i have them in the current dummynet code). you see, i have been beating this code for the last 10 days or so when i integrated dummynet with the firewall code -- see http://www.iet.unipi.it/~luigi/ip_dummynet/ if you have missed the announcement. I think the problem with our ipfw code is still in the way rules are defined. Probably they were designed not thinking too much to possible implementations, but just to be as generic as possible. This is why you can, for instance, say that a rule applies to "all interfaces named ed" which does not seem to make much sense to me (well it can be useful, but all you need to do is replicate some of the rules if you really need to). > One way is to look at a packet (including flags etc) as a series of > bits which can be masked against. This is fairly tractable - rules good idea implementation-wise: then each instruction becomes an offset, length, mask and match value. I only have a problem with JUMP rules: i am not sure if the old firewall code allowed backward jumps, but if you do then you must be careful to avoid loops... probably it is better to not allow backward jumps at all ? > I have code to do some of these transforms available somewhere; if you > want to play with this to look at different optimization models, you > can have a copy. don't have the time now, maybe in a couple of weeks. Do you mean that you have some kind of rewriting code that takes current firewall specification and compiles in lower-level instructions ? luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 19 10:23:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA01341 for freebsd-net-outgoing; Tue, 19 May 1998 10:23:17 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA01311 for ; Tue, 19 May 1998 10:22:50 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id RAA09866 for net@freebsd.org; Tue, 19 May 1998 17:39:30 +0200 From: Luigi Rizzo Message-Id: <199805191539.RAA09866@labinfo.iet.unipi.it> Subject: no reference to this list at http://www.freebsd.org/search.html To: net@FreeBSD.ORG Date: Tue, 19 May 1998 17:39:30 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, just discovered the existence of this list... and the reason is, there is no reference to the list in the FreeBSD search page, http://www.freebsd.org/search.html can someone fix this ? luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 19 12:20:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA24298 for freebsd-net-outgoing; Tue, 19 May 1998 12:20:35 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA24022 for ; Tue, 19 May 1998 12:19:58 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id TAA07863; Tue, 19 May 1998 19:19:18 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id VAA29194; Tue, 19 May 1998 21:19:17 +0200 (MET DST) Message-ID: <19980519211917.64952@follo.net> Date: Tue, 19 May 1998 21:19:17 +0200 From: Eivind Eklund To: Luigi Rizzo Cc: kjc@csl.sony.co.jp, net@FreeBSD.ORG Subject: Re: struct ifnet handling... References: <19980519185349.49553@follo.net> <199805191523.RAA09734@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199805191523.RAA09734@labinfo.iet.unipi.it>; from Luigi Rizzo on Tue, May 19, 1998 at 05:23:37PM +0200 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Moved to -net as commented prevsiously. On Tue, May 19, 1998 at 05:23:37PM +0200, Luigi Rizzo wrote: > > I'm referring to the implementation of the recv, xmit and 'via' rules. > > They're implemented by running the _entire_ ruleset once when the > > packet arrive, and once when it leave. > > oh, yes; but in this case, different rules might match the packet > on the way in and out, Sure. This is a result of the initial implementation not being chains-oriented. There are a lot of rules that we're certain shouldn't be used both on the way in and out - but they still are checked everywhere. We really should have at least the following chains: iichain - Interface specific Input Chain lichain - Locally generated input packet chain (not used for packets coming in through a hardware interface) gichain - Generic input chain gochain - Generic output chain lochain - Local delivery packet chain (not used for packets going out through an interface) iochain - Interface specific Output Chain There are one iichain and one oochain for each interface. Possibly lichain and lochain can be just interface chains hanging off lo0 - I don't know how local delivery vs routing is handled by the routing code. Example: A packet coming from ep0 and being routed to vx0 would go (progn (run-chain (sort-by-rulenum (iichain "ep0") gichain)) (route-packet) (run-chain (sort-by-rulenum (iochain "vx0") gochain))) A packet created by the a local process and finally routed through vx0 is run through (progn (run-chain (sort-by-rulenum li gichain)) (route-packet) (run-chain (sort-by-rulenum (iochain "vx0") gochain))) Do you catch my drift? Separating rules into separate chains like this is fairly is given one of two conditions: (1) The system for specifying rules is regular, making manipulation easy, or (2) the original input of rules is oriented towards the chains. I think it if worthwhile to achive (1) no matter what; it will allow a lot of flexibility and optimizations. (2) then would just make the user-interface more efficient, and probably isn't that important. We could have a 'default chain' that behave like the present system. > and this is a lesser problem with properly > implemented SKIPTO rules (i have them in the current dummynet code). This is a problem you can work around if you know the backend, and write front-end code optimized to avoid the problems with the backend. Wrong solution - people using the frontend shouldn't have to know how the backend code works (especially not since this is easy to machine-optimize). > you see, i have been beating this code for the last 10 > days or so when i integrated dummynet with the firewall code -- > see http://www.iet.unipi.it/~luigi/ip_dummynet/ if you have missed > the announcement. I've seen it. Neat work! > I think the problem with our ipfw code is still in the way rules > are defined. Probably they were designed not thinking too much to > possible implementations, but just to be as generic as possible. The problem is that _everything_ is assumed to be 'fixed' - ie, everything is modelled without room for change. The rules are made as if the present way of parsing them is the only; the userland/kernel interface is based on passing entire rules over; etc. > > One way is to look at a packet (including flags etc) as a series of > > bits which can be masked against. This is fairly tractable - rules > > good idea implementation-wise: then each instruction becomes an > offset, length, mask and match value. Well, in practice you will want to have it as a set of different bit-vectors, to not have to re-organize things. But it is a useful teorethical construct which maps fairly well onto code. > I only have a problem with JUMP rules: i am not sure if the old > firewall code allowed backward jumps, but if you do then you must be > careful to avoid loops... probably it is better to not allow backward > jumps at all ? Backwards jumps are not allowed at all at present, so that shouldn't be a problem. The problem with jumps is that they represent a difference for all rules that come after them if you are doing optimization/normalization of rules - thus each split will (in many cases) double to work for the rules after them. It isn't really difficult to handle, it is just a severe slowdown for the opimization-pass. > > I have code to do some of these transforms available somewhere; if you > > want to play with this to look at different optimization models, you > > can have a copy. > > don't have the time now, maybe in a couple of weeks. Do you mean that > you have some kind of rewriting code that takes current firewall > specification and compiles in lower-level instructions ? No. I have code to switch between different regular representations of firewall rules; I haven't yet implemented a transform from the FreeBSD firewall rules to a regular set. I was planning to do that once I had the userland/kernel interface sorted out. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 19 14:26:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA18742 for freebsd-net-outgoing; Tue, 19 May 1998 14:26:46 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA18521 for ; Tue, 19 May 1998 14:26:00 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id VAA10394; Tue, 19 May 1998 21:42:28 +0200 From: Luigi Rizzo Message-Id: <199805191942.VAA10394@labinfo.iet.unipi.it> Subject: Re: struct ifnet handling... To: eivind@yes.no (Eivind Eklund) Date: Tue, 19 May 1998 21:42:28 +0200 (MET DST) Cc: kjc@csl.sony.co.jp, net@FreeBSD.ORG In-Reply-To: <19980519211917.64952@follo.net> from "Eivind Eklund" at May 19, 98 09:18:58 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Sure. This is a result of the initial implementation not being > chains-oriented. There are a lot of rules that we're certain but "chains" can be emulated with relative ease and efficiency using optimized SKIPTO instructions. Possibly we can have a 'switch' type of instruction to speed up initial selections basing on source/dst interface, or protocol types (small sets, in any case). I am a bit reluctant on using pre-defined chains. it looks too high level, and i cannot tell very well if the mechanism is too strict, useful or overkill. luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 19 15:10:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA29378 for freebsd-net-outgoing; Tue, 19 May 1998 15:10:41 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA29321 for ; Tue, 19 May 1998 15:10:22 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id WAA12885; Tue, 19 May 1998 22:10:09 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id AAA00228; Wed, 20 May 1998 00:10:08 +0200 (MET DST) Message-ID: <19980520001008.55413@follo.net> Date: Wed, 20 May 1998 00:10:08 +0200 From: Eivind Eklund To: Luigi Rizzo Cc: kjc@csl.sony.co.jp, net@FreeBSD.ORG Subject: Re: struct ifnet handling... References: <19980519211917.64952@follo.net> <199805191942.VAA10394@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199805191942.VAA10394@labinfo.iet.unipi.it>; from Luigi Rizzo on Tue, May 19, 1998 at 09:42:28PM +0200 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, May 19, 1998 at 09:42:28PM +0200, Luigi Rizzo wrote: > > Sure. This is a result of the initial implementation not being > > chains-oriented. There are a lot of rules that we're certain > > but "chains" can be emulated with relative ease and efficiency > using optimized SKIPTO instructions. Are you talking about automatically or by the user? If you're talking about the user level, I think that is loading a lot of things on the user that doesn't belong there. Rules should be written for clarity, not speed (just like code) - optimization should only happen when it is necessary. In this case, it is not necessary for the user to optimize. If you're talking system level: Yes, you can emulate it, but here you would want to use something that can 'run a packet' like a chain, to allow flexibility. > Possibly we can have a 'switch' type of instruction to speed up > initial selections basing on source/dst interface, or protocol types > (small sets, in any case). We can, but it makes the later job of doing _real_ optimization harder. If I find time for it, the final target will be generating machine code that correspond to the route- and firewall tables. > I am a bit reluctant on using pre-defined chains. it looks too high > level, and i cannot tell very well if the mechanism is too strict, > useful or overkill. I'm not certain what you mean by 'pre-defined chains'. I pointed out where there were logical splits, based on an automated transform of rules. These differences _are_ there, no matter what - there are those 6 classes of rules (at least). BTW: The concept of 'chains' are used on the Ciscos (there called 'rule lists' IIRC). Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 00:08:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA02427 for freebsd-net-outgoing; Wed, 20 May 1998 00:08:13 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from firewall.ftf.dk (root@mail.ftf.dk [129.142.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA02322 for ; Wed, 20 May 1998 00:07:32 -0700 (PDT) (envelope-from regnauld@deepo.prosa.dk) Received: from mail.prosa.dk ([192.168.100.2]) by firewall.ftf.dk (8.7.6/8.7.3) with ESMTP id LAA04627; Wed, 20 May 1998 11:07:47 +0200 Received: from deepo.prosa.dk (deepo.prosa.dk [192.168.100.10]) by mail.prosa.dk (8.8.5/8.8.5/prosa-1.1) with ESMTP id JAA18963; Wed, 20 May 1998 09:31:49 +0200 (CEST) Received: (from regnauld@localhost) by deepo.prosa.dk (8.8.7/8.8.5/prosa-1.1) id JAA25533; Wed, 20 May 1998 09:06:24 +0200 (CEST) Message-ID: <19980520090624.57083@deepo.prosa.dk> Date: Wed, 20 May 1998 09:06:24 +0200 From: Philippe Regnauld To: IBS / Andre Oppermann Cc: freebsd-net@FreeBSD.ORG Subject: Re: patches for fast forwarding (with kernel option & sysctl) References: <199805191515.IAA22491@implode.root.com> <3561B565.884066B8@pipeline.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.88e In-Reply-To: <3561B565.884066B8@pipeline.ch>; from IBS / Andre Oppermann on Tue, May 19, 1998 at 06:37:57PM +0200 X-Operating-System: FreeBSD 2.2.5-STABLE i386 Organization: PROSA Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org IBS / Andre Oppermann writes: > > I'm thinking about using the new Zebra BGP daemon together with Where does one find that ? -- -[ Philippe Regnauld / sysadmin / regnauld@deepo.prosa.dk / +55.4N +11.3E ]- «Pluto placed his bad dog at the entrance of Hades to keep the dead IN and the living OUT! The archetypical corporate firewall?» - S. Kelly Bootle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 00:43:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA09059 for freebsd-net-outgoing; Wed, 20 May 1998 00:43:42 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA09050 for ; Wed, 20 May 1998 00:43:31 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id AAA13112; Wed, 20 May 1998 00:32:02 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd013109; Wed May 20 07:31:57 1998 Date: Wed, 20 May 1998 00:31:53 -0700 (PDT) From: Julian Elischer To: Eivind Eklund cc: Luigi Rizzo , kjc@csl.sony.co.jp, net@FreeBSD.ORG Subject: Re: struct ifnet handling... In-Reply-To: <19980520001008.55413@follo.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 20 May 1998, Eivind Eklund wrote: > I'm not certain what you mean by 'pre-defined chains'. I pointed out > where there were logical splits, based on an automated transform of > rules. These differences _are_ there, no matter what - there are > those 6 classes of rules (at least). > > BTW: The concept of 'chains' are used on the Ciscos (there called > 'rule lists' IIRC). what's so difficult about: 100 [common rules always done] 1000 skipto 4000 in recv ed0 1100 skipto 4500 out xmit ed0 1200 skipto 5000 in recv de0 1300 skipto 5500 out xmit de0 1400 skipto 6000 via lo0 4000 [ed0 incoming chain] 4490 skipto [common reject code] 4500 [ed0 outgoing chain] 4990 skipto [common reject code] 5000 [de0 incoming chain] 5490 skipto [common reject code] 5500 [de0 outgoing chain] 5990 skipto [common reject code] 6000 [lo0 rules] 6990 skipto [common reject code] (?) julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 01:14:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA14965 for freebsd-net-outgoing; Wed, 20 May 1998 01:14:44 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA14795 for ; Wed, 20 May 1998 01:13:57 -0700 (PDT) (envelope-from jhay@zibbi.mikom.csir.co.za) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.9.0.Beta5/8.9.0.Beta5) id KAA07728; Wed, 20 May 1998 10:12:51 +0200 (SAT) From: John Hay Message-Id: <199805200812.KAA07728@zibbi.mikom.csir.co.za> Subject: Re: patches for fast forwarding (with kernel option & sysctl) In-Reply-To: <19980520090624.57083@deepo.prosa.dk> from Philippe Regnauld at "May 20, 98 09:06:24 am" To: regnauld@deepo.prosa.dk (Philippe Regnauld) Date: Wed, 20 May 1998 10:12:51 +0200 (SAT) Cc: andre@pipeline.ch, freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > > I'm thinking about using the new Zebra BGP daemon together with > > Where does one find that ? www.zebra.org John -- John Hay -- John.Hay@mikom.csir.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 01:38:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA18970 for freebsd-net-outgoing; Wed, 20 May 1998 01:38:34 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from mx.iki.rssi.ru (mx.iki.rssi.ru [193.232.212.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA18815 for ; Wed, 20 May 1998 01:38:02 -0700 (PDT) (envelope-from richi@tdis.gctc.rssi.ru) Received: from tdis.gctc.rssi.ru (tdis.gctc.rssi.ru [193.232.26.70]) by mx.iki.rssi.ru (8.8.5/8.8.5) with SMTP id NAA08302 for ; Wed, 20 May 1998 13:40:06 +0500 (MSD) Received: from tdis by tdis.gctc.rssi.ru (5.x/SMI-SVR4) id AA00498; Wed, 20 May 1998 12:35:43 -0300 Message-Id: <3562F84F.3F79CA16@tdis.gctc.rssi.ru> Date: Wed, 20 May 1998 12:35:43 -0300 From: "Andrew A.Karjagin" Organization: Gagarin Cosmonaut Training Center X-Mailer: Mozilla 4.04 [en] (X11; I; SunOS 5.4 sun4m) Mime-Version: 1.0 To: "freebsd-net@FreeBSD.ORG" Subject: Multi DialUp Connect Content-Type: multipart/alternative; boundary="------------1167AF1DB56C73E426EB8053" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --------------1167AF1DB56C73E426EB8053 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, all! I have a following problem. I work with FreeBSD 2.2.5 and want to allow DialUp-connection to server for 8 user at one time. I install 8-channel multiplexor on server for it and connect 8 modems to it. I wrote at the kernel: options "COM_MULTIPORT" device sio0 at isa? port 0x280 tty irq 5 flags 0x005 vector siointr device sio1 at isa? port 0x288 tty flags 0x005 ................................................................... device sio7 at isa? port 0x2b8 tty flags 0x005 device sio8 at isa? port "IO_COM1" tty irq 4 vector siointr device sio9 at isa? port "IO_COM2" tty irq 3 vector siointr Everything o'key. But modems don't answer for calling! I try to start "dhcpd" with ifN-parameter=sioN, but it does not running ("sioN not found"). What I have to do to compel it to work? Thank you for help! ------------------------------------------------------------------------ Best regards Andrew A.Karjagin Gagarin Cosmonaut Training Center Star town, Russia ICQ = 4744622 --------------1167AF1DB56C73E426EB8053 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, all! I have a following problem. I work with FreeBSD 2.2.5 and want to allow DialUp-connection to server for 8 user at one time. I install 8-channel multiplexor on server for it and connect 8 modems to it. I wrote at the kernel:
options   "COM_MULTIPORT"
device sio0 at isa? port 0x280 tty irq 5 flags 0x005 vector siointr
device sio1 at isa? port 0x288 tty flags 0x005
...................................................................
device sio7 at isa? port 0x2b8 tty flags 0x005
device sio8 at isa? port "IO_COM1" tty irq 4 vector siointr
device sio9 at isa? port "IO_COM2" tty irq 3 vector siointr
Everything o'key. But modems don't answer for calling! I try to start "dhcpd" with ifN-parameter=sioN, but it does not running ("sioN not found"). What I have to do to compel it to work? Thank you for help!

Best regards    Andrew A.Karjagin
Gagarin Cosmonaut Training Center
Star town, Russia
ICQ = 4744622

  --------------1167AF1DB56C73E426EB8053-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 02:36:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA28055 for freebsd-net-outgoing; Wed, 20 May 1998 02:36:32 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA27802 for ; Wed, 20 May 1998 02:35:22 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id JAA11403; Wed, 20 May 1998 09:51:04 +0200 From: Luigi Rizzo Message-Id: <199805200751.JAA11403@labinfo.iet.unipi.it> Subject: Re: struct ifnet handling... To: eivind@yes.no (Eivind Eklund) Date: Wed, 20 May 1998 09:51:04 +0200 (MET DST) Cc: kjc@csl.sony.co.jp, net@FreeBSD.ORG In-Reply-To: <19980520001008.55413@follo.net> from "Eivind Eklund" at May 20, 98 00:09:49 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > but "chains" can be emulated with relative ease and efficiency > > using optimized SKIPTO instructions. > > Are you talking about automatically or by the user? If you're talking the "otimization" i am talking about is replacing rule numbers with pointers so that there is no need to scan the whole database each time. This is done automatically in my code, and the user knows nothing about it. I am not considering more sophisticated optimizations like 'hmmm this test was done earlier so let's just skip it'. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 02:37:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA28207 for freebsd-net-outgoing; Wed, 20 May 1998 02:37:29 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA28042 for ; Wed, 20 May 1998 02:36:18 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id JAA11373; Wed, 20 May 1998 09:47:35 +0200 From: Luigi Rizzo Message-Id: <199805200747.JAA11373@labinfo.iet.unipi.it> Subject: Re: struct ifnet handling... To: julian@whistle.com (Julian Elischer) Date: Wed, 20 May 1998 09:47:35 +0200 (MET DST) Cc: eivind@yes.no, kjc@csl.sony.co.jp, net@FreeBSD.ORG In-Reply-To: from "Julian Elischer" at May 20, 98 00:31:34 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > where there were logical splits, based on an automated transform of > > rules. These differences _are_ there, no matter what - there are > > those 6 classes of rules (at least). > > > > BTW: The concept of 'chains' are used on the Ciscos (there called > > 'rule lists' IIRC). > > what's so difficult about: > 100 [common rules always done] Nothing :) I think it is only a matter of naming (witnessed by the "rule list" name used by cisco) and perhaps of having some default demux/mux of 'chains' (but that could give a loss of flexibility for no real performance advantage). luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 02:54:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA01801 for freebsd-net-outgoing; Wed, 20 May 1998 02:54:27 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from zaphod.axion.bt.co.uk (zaphod.axion.bt.co.uk [132.146.5.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA01790 for ; Wed, 20 May 1998 02:54:22 -0700 (PDT) (envelope-from antonio.herrera@bt.com) Received: from sheriff.mavericks.bt.co.uk. (actually sheriff.mavericks.bt.co.uk) by zaphod.axion.bt.co.uk with SMTP (PP); Wed, 20 May 1998 10:42:20 +0100 Received: from smtpgate.mavericks.bt.co.uk (smtpgate [132.146.105.7]) by sheriff.mavericks.bt.co.uk. (8.6.12/8.6.12) with SMTP id KAA03928 for ; Wed, 20 May 1998 10:30:50 +0100 Received: by smtpgate.mavericks.bt.co.uk with Microsoft Mail id <3562B0EC@smtpgate.mavericks.bt.co.uk>; Wed, 20 May 98 10:31:08 UCT From: "Herrera, Antonio, HERRERA2" To: "'smtp:freebsd-net@FreeBSD.ORG'" Subject: IPv6 migration. Date: Wed, 20 May 98 10:30:00 UCT Message-ID: <3562B0EC@smtpgate.mavericks.bt.co.uk> X-Mailer: Microsoft Mail V3.0 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear All. I'm Antonio, a student of communications. I'm currently working in a IPv6 migration and IPv6/IPv4 interoperability project. I've chosen FreeBSD to set up the network in which I'm going to carry out my research. My main drawback is that I'm totally inexperienced in FreeBDS and not an expert in UNIX either. I'll be gratefull to you if you can tell me what V6 routing software is available for FreeBSD and how to get it. I need software to set up dual-stack hosts and routers. I also need sofware to set up V6-only hosts (clients and servers). Thank you, Antonio Herrera. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 03:20:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA05827 for freebsd-net-outgoing; Wed, 20 May 1998 03:20:53 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA05818 for ; Wed, 20 May 1998 03:20:43 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id KAA06701; Wed, 20 May 1998 10:20:39 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id MAA04711; Wed, 20 May 1998 12:20:38 +0200 (MET DST) Message-ID: <19980520122038.42758@follo.net> Date: Wed, 20 May 1998 12:20:38 +0200 From: Eivind Eklund To: Luigi Rizzo Cc: net@FreeBSD.ORG Subject: Re: struct ifnet handling... References: <19980520001008.55413@follo.net> <199805200751.JAA11403@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199805200751.JAA11403@labinfo.iet.unipi.it>; from Luigi Rizzo on Wed, May 20, 1998 at 09:51:04AM +0200 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, May 20, 1998 at 09:51:04AM +0200, Luigi Rizzo wrote: > > > but "chains" can be emulated with relative ease and efficiency > > > using optimized SKIPTO instructions. > > > > Are you talking about automatically or by the user? If you're talking > > the "otimization" i am talking about is replacing rule numbers with > pointers so that there is no need to scan the whole database each time. > This is done automatically in my code, and the user knows nothing about > it. That's only a tiny change in the implementation - not too interesting from the perspective of doing optimal rulesets (though it _is_ interesting for using the present implementation - it was a very necessary optimization there). > I am not considering more sophisticated optimizations like 'hmmm this > test was done earlier so let's just skip it'. These are the optimizations I'm considering, mostly. And "let's add test e which will distinguish whether to run test a&b or test c&d'. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 03:23:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA06270 for freebsd-net-outgoing; Wed, 20 May 1998 03:23:48 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA06260 for ; Wed, 20 May 1998 03:23:43 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id KAA11503; Wed, 20 May 1998 10:40:02 +0200 From: Luigi Rizzo Message-Id: <199805200840.KAA11503@labinfo.iet.unipi.it> Subject: Re: struct ifnet handling... To: eivind@yes.no (Eivind Eklund) Date: Wed, 20 May 1998 10:40:02 +0200 (MET DST) Cc: net@FreeBSD.ORG In-Reply-To: <19980520122038.42758@follo.net> from "Eivind Eklund" at May 20, 98 12:20:19 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I am not considering more sophisticated optimizations like 'hmmm this > > test was done earlier so let's just skip it'. > > These are the optimizations I'm considering, mostly. And "let's add > test e which will distinguish whether to run test a&b or test c&d'. that's good to hear because i know close to nothing on how to do this kind of optimizations :) cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 04:16:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA14997 for freebsd-net-outgoing; Wed, 20 May 1998 04:16:48 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from freefall.pipeline.ch (intranet.pipeline.ch [195.134.128.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA14908 for ; Wed, 20 May 1998 04:16:26 -0700 (PDT) (envelope-from andre@pipeline.ch) Received: from pipeline.ch ([195.134.128.41]) by freefall.pipeline.ch (Netscape Mail Server v2.02) with ESMTP id AAA120; Wed, 20 May 1998 13:14:32 +0200 Message-ID: <3562BB4F.C57F642B@pipeline.ch> Date: Wed, 20 May 1998 13:15:27 +0200 From: "IBS / Andre Oppermann" Organization: Internet Business Solutions Ltd. (AG) X-Mailer: Mozilla 4.03 [en] (WinNT; U) MIME-Version: 1.0 To: Luigi Rizzo CC: Eivind Eklund , net@FreeBSD.ORG Subject: Re: struct ifnet handling... References: <199805200840.KAA11503@labinfo.iet.unipi.it> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Luigi Rizzo wrote: > > > > I am not considering more sophisticated optimizations like 'hmmm this > > > test was done earlier so let's just skip it'. > > > > These are the optimizations I'm considering, mostly. And "let's add > > test e which will distinguish whether to run test a&b or test c&d'. > > that's good to hear because i know close to nothing on how to do this > kind of optimizations :) Why not look into other implementations? eg. IP Filter http://cheops. anu.edu.au/~avalon/ -- Andre Oppermann CEO / Geschaeftsfuehrer Internet Business Solutions Ltd. (AG) Hardstrasse 235, 8005 Zurich, Switzerland Fon +41 1 277 75 75 / Fax +41 1 277 75 77 http://www.pipeline.ch ibs@pipeline.ch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 04:38:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA19478 for freebsd-net-outgoing; Wed, 20 May 1998 04:38:59 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA19458 for ; Wed, 20 May 1998 04:38:52 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id LAA10684; Wed, 20 May 1998 11:38:44 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id NAA05067; Wed, 20 May 1998 13:38:43 +0200 (MET DST) Message-ID: <19980520133843.32113@follo.net> Date: Wed, 20 May 1998 13:38:43 +0200 From: Eivind Eklund To: Luigi Rizzo , Julian Elischer Cc: kjc@csl.sony.co.jp, net@FreeBSD.ORG Subject: Re: struct ifnet handling... References: <199805200747.JAA11373@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199805200747.JAA11373@labinfo.iet.unipi.it>; from Luigi Rizzo on Wed, May 20, 1998 at 09:47:35AM +0200 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, May 20, 1998 at 09:47:35AM +0200, Luigi Rizzo wrote: > > > where there were logical splits, based on an automated transform of > > > rules. These differences _are_ there, no matter what - there are > > > those 6 classes of rules (at least). > > > > > > BTW: The concept of 'chains' are used on the Ciscos (there called > > > 'rule lists' IIRC). > > > > what's so difficult about: > > > 100 [common rules always done] > > > > Nothing :) It screws the optimizing pass (not running the rules an optimizer has generated, just the cost of the actual optimization pass). A simple optimizer for rulesets is O(N^2 * 2^M) for the first pass, where N is the number of rules in a chain, and M is the number of splits (skipto-rules). The bound will be quite a bit better for the average case, but each split still double the work for the later rules in the chain (though increase in work doesn't always carry over, so you won't necessarily end up with an exponential timebound). The bound O(N^2 * 2^M) makes me want to reduce the length of the chains, which can easily be done by finding their natural organization through a pre-processing pass. Remember: I'm talking mostly of internal kernel organization here - I'm not talking about how the user should manipulate or see the rules. It might be convenient for the user to work in terms of chains, too, but that is a side-issue. > I think it is only a matter of naming (witnessed by the "rule list" > name used by cisco) and perhaps of having some default demux/mux of > 'chains' (but that could give a loss of flexibility for no real > performance advantage). I still don't see how you're loosing flexibility, even if you should decide to provide this interface as an alternate interface for the users. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 05:33:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA28527 for freebsd-net-outgoing; Wed, 20 May 1998 05:33:20 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA28506 for ; Wed, 20 May 1998 05:33:12 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id MAA11746; Wed, 20 May 1998 12:46:26 +0200 From: Luigi Rizzo Message-Id: <199805201046.MAA11746@labinfo.iet.unipi.it> Subject: Re: struct ifnet handling... To: eivind@yes.no (Eivind Eklund) Date: Wed, 20 May 1998 12:46:26 +0200 (MET DST) Cc: julian@whistle.com, kjc@csl.sony.co.jp, net@FreeBSD.ORG In-Reply-To: <19980520133843.32113@follo.net> from "Eivind Eklund" at May 20, 98 01:38:24 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I think it is only a matter of naming (witnessed by the "rule list" > > name used by cisco) and perhaps of having some default demux/mux of > > 'chains' (but that could give a loss of flexibility for no real > > performance advantage). > > I still don't see how you're loosing flexibility, even if you should > decide to provide this interface as an alternate interface for the > users. i was/am under the impression that you don't want to insert "SKIPTO" instructions in your filter, but rather provide fixes paths for the rules. if you provide SKIPTO instructions, then your proposal is a superset of what I and presumably Julian are talking about. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 05:38:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA29089 for freebsd-net-outgoing; Wed, 20 May 1998 05:38:08 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from coconut.itojun.org (root@coconut.itojun.org [210.160.95.97]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA29062 for ; Wed, 20 May 1998 05:37:51 -0700 (PDT) (envelope-from itojun@itojun.org) Received: from localhost (itojun@localhost.itojun.org [127.0.0.1]) by coconut.itojun.org (8.8.8+3.0Wbeta12/3.6W) with ESMTP id VAA09821; Wed, 20 May 1998 21:28:39 +0900 (JST) To: "Herrera, Antonio, HERRERA2" cc: net@FreeBSD.ORG In-reply-to: antonio.herrera's message of Wed, 20 May 1998 10:30:00 +0700. <3562B0EC@smtpgate.mavericks.bt.co.uk> X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 Subject: Re: IPv6 migration. From: Jun-ichiro itojun Itoh Date: Wed, 20 May 1998 21:28:39 +0900 Message-ID: <9817.895667319@coconut.itojun.org> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Dear All. > I'm Antonio, a student of communications. I'm currently working in a IPv6 >migration and IPv6/IPv4 interoperability project. I've chosen FreeBSD to set >up the network in which I'm going to carry out my research. > My main drawback is that I'm totally inexperienced in FreeBDS and not an >expert in UNIX either. I'll be gratefull to you if you can tell me what V6 >routing software is available for FreeBSD and how to get it. I need software >to set up dual-stack hosts and routers. I also need sofware to set up >V6-only hosts (clients and servers). There are several ipv6 packages. kame project implementation: ftp://ftp.kame.net/pub/kame/ inria implementation: ftp://ftp.inria.fr/network/ipv6 (and there are more) itojun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 05:52:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA00565 for freebsd-net-outgoing; Wed, 20 May 1998 05:52:32 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA00557 for ; Wed, 20 May 1998 05:52:28 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id MAA14578; Wed, 20 May 1998 12:52:19 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id OAA05441; Wed, 20 May 1998 14:52:18 +0200 (MET DST) Message-ID: <19980520145218.07042@follo.net> Date: Wed, 20 May 1998 14:52:18 +0200 From: Eivind Eklund To: Luigi Rizzo Cc: julian@whistle.com, kjc@csl.sony.co.jp, net@FreeBSD.ORG Subject: Re: struct ifnet handling... References: <19980520133843.32113@follo.net> <199805201046.MAA11746@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199805201046.MAA11746@labinfo.iet.unipi.it>; from Luigi Rizzo on Wed, May 20, 1998 at 12:46:26PM +0200 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, May 20, 1998 at 12:46:26PM +0200, Luigi Rizzo wrote: > > > I think it is only a matter of naming (witnessed by the "rule list" > > > name used by cisco) and perhaps of having some default demux/mux of > > > 'chains' (but that could give a loss of flexibility for no real > > > performance advantage). > > > > I still don't see how you're loosing flexibility, even if you should > > decide to provide this interface as an alternate interface for the > > users. > > i was/am under the impression that you don't want to insert "SKIPTO" > instructions in your filter, but rather provide fixes paths for the > rules. No. I'd have preferred for the skipto's to be implemented as calls to separate chains, but that is too late now. Not supporting skiptos isn't an option - there is too large installed base. > if you provide SKIPTO instructions, then your proposal is a > superset of what I and presumably Julian are talking about. It is a rather different internal organization, but yes, it support the same functionality (unless you elect to use the restricted interface to make it easier for the kernel to optimize for speed). Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 06:55:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA07207 for freebsd-net-outgoing; Wed, 20 May 1998 06:55:45 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from mail.iscnet.net ([208.196.70.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA07199 for ; Wed, 20 May 1998 06:55:40 -0700 (PDT) (envelope-from robert@iscnet.net) Received: by chat.iscnet.net with Internet Mail Service (5.5.1960.3) id ; Wed, 20 May 1998 10:01:51 -0400 Message-ID: <61460FE880ACD111A79600409503141101852D@chat.iscnet.net> From: Robert Skolnick To: "'Luigi Rizzo'" Cc: "'net@FreeBSD.ORG'" Subject: RE: no reference to this list at http://www.freebsd.org/search.ht ml Date: Wed, 20 May 1998 10:01:40 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org there is a search icon on the top of all the pages that takes you there robert....................... > -----Original Message----- > From: Luigi Rizzo [SMTP:luigi@labinfo.iet.unipi.it] > Sent: Tuesday, May 19, 1998 11:40 AM > To: net@FreeBSD.ORG > Subject: no reference to this list at > http://www.freebsd.org/search.html > > Hi, > > just discovered the existence of this list... and the reason is, there > is no reference to the list in the FreeBSD search page, > http://www.freebsd.org/search.html > > can someone fix this ? > > luigi > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 07:17:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA09119 for freebsd-net-outgoing; Wed, 20 May 1998 07:17:46 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA09110 for ; Wed, 20 May 1998 07:17:41 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.8.8/8.8.8) id KAA25017; Wed, 20 May 1998 10:16:36 -0400 (EDT) (envelope-from wollman) Date: Wed, 20 May 1998 10:16:36 -0400 (EDT) From: Garrett Wollman Message-Id: <199805201416.KAA25017@khavrinen.lcs.mit.edu> To: Luigi Rizzo Cc: eivind@yes.no (Eivind Eklund), kjc@csl.sony.co.jp, net@FreeBSD.ORG Subject: Re: struct ifnet handling... In-Reply-To: <199805191356.PAA09388@labinfo.iet.unipi.it> References: <19980519172127.08361@follo.net> <199805191356.PAA09388@labinfo.iet.unipi.it> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > One thing i was thinking is to see rules as instructions, and each rule > does only ONE test (be it on addresses, ports, etc.) This way you can > quickly switch to the right piece of code, and avoid testing the flags > 16 times on each rule to see which tests to apply and which one not. Please go look at . -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 07:48:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA12653 for freebsd-net-outgoing; Wed, 20 May 1998 07:48:37 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from socrates.i-pi.com (socrates.i-pi.com [198.49.217.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA12641 for ; Wed, 20 May 1998 07:48:29 -0700 (PDT) (envelope-from ingham@i-pi.com) Received: (from ingham@localhost) by socrates.i-pi.com (8.8.8/8.8.7) id IAA01064; Wed, 20 May 1998 08:42:49 -0600 (MDT) (envelope-from ingham) Message-ID: <19980520084249.52140@i-pi.com> Date: Wed, 20 May 1998 08:42:49 -0600 From: Kenneth Ingham To: "Andrew A.Karjagin" Cc: net@FreeBSD.ORG Subject: Re: Multi DialUp Connect References: <3562F84F.3F79CA16@tdis.gctc.rssi.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <3562F84F.3F79CA16@tdis.gctc.rssi.ru>; from Andrew A.Karjagin on Wed, May 20, 1998 at 12:35:43PM -0300 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You need to use pppN or tunN (whatever is listed in ifconfig -a). Kenneth On Wed, May 20, 1998 at 12:35:43PM -0300, Andrew A.Karjagin wrote: > Hi, all! I have a following problem. I work with FreeBSD 2.2.5 and want > to allow DialUp-connection to server for 8 user at one time. I install > 8-channel multiplexor on server for it and connect 8 modems to it. I > wrote at the kernel: > options "COM_MULTIPORT" > device sio0 at isa? port 0x280 tty irq 5 flags 0x005 vector siointr > device sio1 at isa? port 0x288 tty flags 0x005 > ................................................................... > device sio7 at isa? port 0x2b8 tty flags 0x005 > device sio8 at isa? port "IO_COM1" tty irq 4 vector siointr > device sio9 at isa? port "IO_COM2" tty irq 3 vector siointr > Everything o'key. But modems don't answer for calling! I try to start > "dhcpd" with ifN-parameter=sioN, but it does not running ("sioN not > found"). What I have to do to compel it to work? Thank you for help! > ------------------------------------------------------------------------ > Best regards Andrew A.Karjagin > Gagarin Cosmonaut Training Center > Star town, Russia > ICQ = 4744622 > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 08:30:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA16872 for freebsd-net-outgoing; Wed, 20 May 1998 08:30:53 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA16852 for ; Wed, 20 May 1998 08:30:25 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id PAA11944; Wed, 20 May 1998 15:46:32 +0200 From: Luigi Rizzo Message-Id: <199805201346.PAA11944@labinfo.iet.unipi.it> Subject: Re: struct ifnet handling... To: wollman@khavrinen.lcs.mit.edu (Garrett Wollman) Date: Wed, 20 May 1998 15:46:32 +0200 (MET DST) Cc: eivind@yes.no, kjc@csl.sony.co.jp, net@FreeBSD.ORG In-Reply-To: <199805201416.KAA25017@khavrinen.lcs.mit.edu> from "Garrett Wollman" at May 20, 98 10:16:17 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Please go look at . nice pointer. thanks! luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 11:06:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA14680 for freebsd-net-outgoing; Wed, 20 May 1998 11:06:46 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from fax.ceniai.inf.cu (fax.ceniai.inf.cu [169.158.128.146]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA14617 for ; Wed, 20 May 1998 11:06:25 -0700 (PDT) (envelope-from one!intranet.one.gov.cu!elie@ceniai.inf.cu) Received: from ceniai.inf.cu by fax.ceniai.inf.cu with esmtp (Smail3.2) id m0ycDFD-000OdXC; Wed, 20 May 1998 14:05:39 -0400 (CDT) Received: from one.UUCP by ceniai.inf.cu with UUCP (Smail3.2) id m0ycDHm-000AseC; Wed, 20 May 1998 14:08:18 -0400 (CDT) Received: from intranet.one.gov.cu by one.one.gov.cu with smtp (Smail3.1.28.1 #12) id m0ycFpY-0001wAC; Wed, 20 May 98 13:51 PDT Received: from localhost (2210 bytes) by intranet.one.gov.cu via sendmail with P:stdio/R:smart_host/T:smtp (sender: ) (ident using unix) id for ; Wed, 20 May 1998 13:47:36 -0400 (CDT) (Smail-3.2.0.97 1997-Aug-19 #7 built 1998-Apr-29) Date: Wed, 20 May 1998 13:47:35 -0400 (CDT) From: Eliezer Rodriguez Gonzalez To: Kenneth Ingham cc: "Andrew A.Karjagin" , net@FreeBSD.ORG Subject: Re: Multi DialUp Connect In-Reply-To: <19980520084249.52140@i-pi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ======================================= Ing. Eliezer Rodri'guez Gonza'lez Oficina Nacional de Estadisticas E-mail: elie@intranet.one.gov.cu Voz: 30-00-75; 30-50-21 ext: 254 ======================================= On Wed, 20 May 1998, Kenneth Ingham wrote: > You need to use pppN or tunN (whatever is listed in ifconfig -a). > > Kenneth > Well, it is not very clear if our colleague in Russia wants simple dialup connection or if he wants to transport tcp/ip. > On Wed, May 20, 1998 at 12:35:43PM -0300, Andrew A.Karjagin wrote: > > Hi, all! I have a following problem. I work with FreeBSD 2.2.5 and want > > to allow DialUp-connection to server for 8 user at one time. I install > > 8-channel multiplexor on server for it and connect 8 modems to it. I > > wrote at the kernel: > > options "COM_MULTIPORT" > > device sio0 at isa? port 0x280 tty irq 5 flags 0x005 vector siointr > > device sio1 at isa? port 0x288 tty flags 0x005 > > ................................................................... > > device sio7 at isa? port 0x2b8 tty flags 0x005 > > device sio8 at isa? port "IO_COM1" tty irq 4 vector siointr > > device sio9 at isa? port "IO_COM2" tty irq 3 vector siointr > > Everything o'key. But modems don't answer for calling! I try to start > > "dhcpd" with ifN-parameter=sioN, but it does not running ("sioN not > > found"). What I have to do to compel it to work? Thank you for help! > > ------------------------------------------------------------------------ > > Best regards Andrew A.Karjagin > > Gagarin Cosmonaut Training Center > > Star town, Russia > > ICQ = 4744622 > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 11:32:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA20789 for freebsd-net-outgoing; Wed, 20 May 1998 11:32:16 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA20661 for ; Wed, 20 May 1998 11:31:39 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id LAA27703 for ; Wed, 20 May 1998 11:22:03 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd027690; Wed May 20 18:21:57 1998 Date: Wed, 20 May 1998 11:21:52 -0700 (PDT) From: Julian Elischer To: net@FreeBSD.ORG Subject: CS 548 Seminar - Suvo Mittra (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ---------- Forwarded message ---------- Date: Wed, 20 May 1998 09:05:14 -0700 (PDT) From: Maria Bharwada To: colloq@cs.stanford.edu, phd@cs.stanford.edu Subject: CS 548 Seminar - Suvo Mittra CS 548 Distributed Systems Research Seminar, May 21, 4:15 pm Gates B01 A Flow-Based Approach to Datagram Security Suvo Mittra Department of Computer Science Stanford University There has been a great deal of interest in providing security for datagram services (also known as connectionless services) such as those supported by IP, UDP, and RPC. This interest can be seen most apparently in the recent experimentation with IP security. Unfortunately, datagram services do not mesh well with the overwhelming majority of network security protocols which implement connection-based, session services. In an effort to maintain the connectionless semantics of the datagram service, existing solutions tend to rely on long-lived public keys and host-pair keying to generate session keys which can result in serious vulnerabilities to common attacks. In this talk, I present a novel scheme for structuring datagram security based on the concept of flows. Our scheme preserves the connectionless semantics of datagram services, while using soft state to provide the per-packet processing efficiency of a session-oriented scheme. An instantiation of this protocol has been implemented for IP in the 4.4BSD kernel and I will provide a description of the implementation along with performance results. +----------------------------------------------------------------------------+ | This message was sent via the Stanford Computer Science Department | | colloquium mailing list. To be added to this list send an arbitrary | | message to colloq-subscribe@cs.stanford.edu. To be removed from this list,| | send a message to colloq-unsubscribe@cs.stanford.edu. For more information,| | send an arbitrary message to colloq-request@cs.stanford.edu. For directions| | to Stanford, check out http://www-forum.stanford.edu | +-------------------------------------------------------------------------xcl+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 12:13:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA01807 for freebsd-net-outgoing; Wed, 20 May 1998 12:13:10 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from send1e.yahoomail.com (send1e.yahoomail.com [205.180.60.64]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA01706 for ; Wed, 20 May 1998 12:12:47 -0700 (PDT) (envelope-from lc001@yahoo.com) Message-ID: <19980520191245.16963.rocketmail@send1e.yahoomail.com> Received: from [139.87.242.56] by send1e; Wed, 20 May 1998 12:12:45 PDT Date: Wed, 20 May 1998 12:12:45 -0700 (PDT) From: C L Subject: Questions about Packet Filter To: freebsd-net@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Very appreciated if anybody can answer the questions: 1. Does BPF support the monitoring of out going packages? how? I know it can monitor the receiving packages and directly write a new package into the specified network interface. How about the packages written by other network or transport protocols? 2. Solaris seems having a similar soft-driver called "Network Interface Tap". Anybody use that before? Can it monitoring both incoming and outgoing packages? 3. Any similar programming interface in the socket level? 4. How about in HP-UX, Linux, and AIX? I may need to port my code to these OSs. Thanks, Carl == **_____________ Have a nice day _______________** _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 12:29:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA06382 for freebsd-net-outgoing; Wed, 20 May 1998 12:29:57 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA06303 for ; Wed, 20 May 1998 12:29:34 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id MAA07873; Wed, 20 May 1998 12:28:59 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma007869; Wed May 20 12:28:54 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id MAA02306; Wed, 20 May 1998 12:28:54 -0700 (PDT) From: Archie Cobbs Message-Id: <199805201928.MAA02306@bubba.whistle.com> Subject: Re: struct ifnet handling... In-Reply-To: <199805191942.VAA10394@labinfo.iet.unipi.it> from Luigi Rizzo at "May 19, 98 09:42:28 pm" To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Wed, 20 May 1998 12:28:54 -0700 (PDT) Cc: eivind@yes.no, kjc@csl.sony.co.jp, net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Luigi Rizzo writes: > > Sure. This is a result of the initial implementation not being > > chains-oriented. There are a lot of rules that we're certain > > but "chains" can be emulated with relative ease and efficiency > using optimized SKIPTO instructions. Possibly we can have a 'switch' > type of instruction to speed up initial selections basing on source/dst > interface, or protocol types (small sets, in any case). > > I am a bit reluctant on using pre-defined chains. it looks too high > level, and i cannot tell very well if the mechanism is too strict, > useful or overkill. I agree. I think a lot of work can be done ``under the hood'' to make the implementation faster, without affecting the user appearance. Adding chains would torque the brains of every sysadmin out there who has to re-do their entire rule set. For example, we could easily "compile" the ipfw "program" into a much faster, bit-mask-oriented "machine code" of some sort... -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 20 23:19:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA04154 for freebsd-net-outgoing; Wed, 20 May 1998 23:19:00 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA04143 for ; Wed, 20 May 1998 23:18:49 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id GAA13241; Thu, 21 May 1998 06:35:52 +0200 From: Luigi Rizzo Message-Id: <199805210435.GAA13241@labinfo.iet.unipi.it> Subject: Re: no reference to this list at http://www.freebsd.org/search.ht To: robert@iscnet.net (Robert Skolnick) Date: Thu, 21 May 1998 06:35:51 +0200 (MET DST) Cc: net@FreeBSD.ORG In-Reply-To: <61460FE880ACD111A79600409503141101852D@chat.iscnet.net> from "Robert Skolnick" at May 20, 98 10:01:21 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > there is a search icon on the top of all the pages that takes you there ... and among all lists there is no reference to the "net" mailing list. When i said "this list" i mean the "net" list, not the freebsd mailing lists in general. I wish people would check before giving advice (that applies to me as well...) cheers luigi > > > -----Original Message----- > > From: Luigi Rizzo [SMTP:luigi@labinfo.iet.unipi.it] > > Sent: Tuesday, May 19, 1998 11:40 AM > > To: net@FreeBSD.ORG > > Subject: no reference to this list at > > http://www.freebsd.org/search.html > > > > Hi, > > > > just discovered the existence of this list... and the reason is, there > > is no reference to the list in the FreeBSD search page, > > http://www.freebsd.org/search.html > > > > can someone fix this ? > > > > luigi > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-net" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu May 21 01:23:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA23817 for freebsd-net-outgoing; Thu, 21 May 1998 01:23:01 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from kit.isi.edu (kit.isi.edu [128.9.160.207]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA23811 for ; Thu, 21 May 1998 01:22:57 -0700 (PDT) (envelope-from eddy@kit.isi.edu) Received: (from eddy@localhost) by kit.isi.edu (8.8.7/8.8.7) id BAA10316; Thu, 21 May 1998 01:24:49 -0700 (PDT) (envelope-from eddy) From: Rusty Eddy Message-Id: <199805210824.BAA10316@kit.isi.edu> Subject: Re: Questions about Packet Filter In-Reply-To: <19980520191245.16963.rocketmail@send1e.yahoomail.com> from C L at "May 20, 98 12:12:45 pm" To: lc001@yahoo.com (C L) Date: Thu, 21 May 1998 01:24:49 -0700 (PDT) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Very appreciated if anybody can answer the questions: > > 1. Does BPF support the monitoring of out going packages? how? I know > it can monitor the receiving packages and directly write a new package > into the specified network interface. How about the packages written > by other network or transport protocols? > bpf hangs in/near the device driver allowing packets to be matched and potientially gathered in the device input output routines. the network protocol on up doesn't matter provided it's not filtered out. > 2. Solaris seems having a similar soft-driver called "Network > Interface Tap". Anybody use that before? Can it monitoring both > incoming and outgoing packages? > aka /dev/nit, it cannot read outgoing packets. it has to do with the streams drivers not permitting it, see the BPF paper by Van Jacobson for more details on why. i beleive modern day solaris's know use DLPI, but i have no experience within. > 4. How about in HP-UX, Linux, and AIX? > > I may need to port my code to these OSs. > use libpcap. Linux uses BPF also, btw. > Thanks, > Carl > > - rusty To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu May 21 05:38:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA29617 for freebsd-net-outgoing; Thu, 21 May 1998 05:38:49 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from msf1.swe.ids.dps.casa.es (h010201.nexo.es [194.75.10.201]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA29455 for ; Thu, 21 May 1998 05:37:00 -0700 (PDT) (envelope-from jlfreniche@acm.org) Received: from hpswe.swe.ids.dps.casa.es (hpswe.swe.ids.dps.casa.es [172.16.50.100]) by msf1.swe.ids.dps.casa.es (8.8.8/8.8.8) with ESMTP id MAA00859; Thu, 21 May 1998 12:37:36 +0200 (CEST) (envelope-from jlfreniche@acm.org) Received: from hpswe.swe.ids.dps.casa.es (localhost [127.0.0.1]) by hpswe.swe.ids.dps.casa.es with SMTP (8.7.6/8.7.3) id OAA08448; Thu, 21 May 1998 14:38:12 +0200 (METDST) Message-ID: <35642034.79A2@acm.org> Date: Thu, 21 May 1998 14:38:12 +0200 From: "Juan L. Freniche" X-Mailer: Mozilla 3.01Gold (X11; I; HP-UX B.10.20 9000/879) MIME-Version: 1.0 To: C L CC: freebsd-net@FreeBSD.ORG Subject: Re: Questions about Packet Filter References: <19980520191245.16963.rocketmail@send1e.yahoomail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org C L wrote: > > Very appreciated if anybody can answer the questions: > > 1. Does BPF support the monitoring of out going packages? how? I know > it can monitor the receiving packages and directly write a new package > into the specified network interface. How about the packages written > by other network or transport protocols? > > 2. Solaris seems having a similar soft-driver called "Network > Interface Tap". Anybody use that before? Can it monitoring both > incoming and outgoing packages? > > 3. Any similar programming interface in the socket level? > > 4. How about in HP-UX, Linux, and AIX? > You should consult the latest book of W. R. Stevens, Prentice Hall, about Network Programming. All is responded in the book. -- -------------------------- E-Mail: jlfreniche@acm.org -------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu May 21 06:33:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA08034 for freebsd-net-outgoing; Thu, 21 May 1998 06:33:54 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from mail.iscnet.net ([208.196.70.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA08000 for ; Thu, 21 May 1998 06:33:32 -0700 (PDT) (envelope-from robert@iscnet.net) Received: by chat.iscnet.net with Internet Mail Service (5.5.1960.3) id ; Thu, 21 May 1998 09:38:47 -0400 Message-ID: <61460FE880ACD111A796004095031411018530@chat.iscnet.net> From: Robert Skolnick To: "'Luigi Rizzo'" Cc: "'net@FreeBSD.ORG'" Subject: RE: no reference to this list at http://www.freebsd.org/search.ht Date: Thu, 21 May 1998 09:36:48 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org sorry I got confused because of the sample that you included with your message. it seems you need to be a little clearer. http://www.freebsd.org/search.ht is not where the list should be if you click on support ant mail list and then list charters you will see the all the mail lists and this is where bsd-net needs to be added not the search page which you gave as an example. so maybe people need to be clearer on what they ask for!!!! robert............................ > -----Original Message----- > From: Luigi Rizzo [SMTP:luigi@labinfo.iet.unipi.it] > Sent: Thursday, May 21, 1998 12:36 AM > To: robert@iscnet.net > Cc: net@FreeBSD.ORG > Subject: Re: no reference to this list at > http://www.freebsd.org/search.ht > > > there is a search icon on the top of all the pages that takes you > there > > ... and among all lists there is no [Robert Skolnick] > > > > > > can someone fix this ? > > > > > > luigi > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-net" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-net" in the body of the message > > reference to the "net" mailing > list. When i said "this list" i mean the "net" list, not the freebsd > mailing lists in general. > > I wish people would check before giving advice (that applies to me as > well...) > > cheers > luigi > > > > > -----Original Message----- > > > From: Luigi Rizzo [SMTP:luigi@labinfo.iet.unipi.it] > > > Sent: Tuesday, May 19, 1998 11:40 AM > > > To: net@FreeBSD.ORG > > > Subject: no reference to this list at > > > http://www.freebsd.org/search.html > > > > > > Hi, > > > > > > just discovered the existence of this list... and the reason is, > there > > > is no reference to the list in the FreeBSD search page, > > > http://www.freebsd.org/search.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu May 21 21:07:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA21595 for freebsd-net-outgoing; Thu, 21 May 1998 21:07:53 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA21564 for ; Thu, 21 May 1998 21:07:45 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from gjallarhorn.ifi.uio.no (2602@gjallarhorn.ifi.uio.no [129.240.65.40]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id GAA04607; Fri, 22 May 1998 06:07:39 +0200 (MET DST) Received: (from dag-erli@localhost) by gjallarhorn.ifi.uio.no ; Fri, 22 May 1998 06:07:39 +0200 (MET DST) Mime-Version: 1.0 To: Robert Skolnick Cc: "'Luigi Rizzo'" , "'net@FreeBSD.ORG'" Subject: Re: no reference to this list at http://www.freebsd.org/search.ht References: <61460FE880ACD111A796004095031411018530@chat.iscnet.net> Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-Stop-Spam: http://www.cauce.org From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 22 May 1998 06:07:38 +0200 In-Reply-To: Robert Skolnick's message of "Thu, 21 May 1998 09:36:48 -0400" Message-ID: Lines: 12 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Robert Skolnick writes: > if you click on support ant mail list and then list charters you will > see the all the mail lists and this is where bsd-net needs to be added > not the search page which you gave as an example. > so maybe people need to be clearer on what they ask for!!!! Maybe you should pay more attention to what Luigi writes. He is complaining that it is not possible to select freebsd-net on the search page. -- Noone else has a .sig like this one. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri May 22 05:27:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA10317 for freebsd-net-outgoing; Fri, 22 May 1998 05:27:42 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA10285 for ; Fri, 22 May 1998 05:27:30 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id FAA00790 for ; Fri, 22 May 1998 05:27:16 -0700 (PDT) Message-Id: <199805221227.FAA00790@implode.root.com> To: freebsd-net@FreeBSD.ORG Subject: hash calculation for IP fast forwarding From: David Greenman Reply-To: dg@root.com Date: Fri, 22 May 1998 05:27:16 -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org As I mentioned recently in freebsd-net, the hash function that the fast IP forwarding code uses is expensive (16 adds, 12 shifts, 6 subtracts, and 6 compares). I think the following will provide a hash with similar quality, but I might be missing something. This assumes that the table is 256 buckets large, but it should work for larger tables as well. Opinions? -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project unsigned int src = 0x91c6115a; /* 198.145.90.17 */ unsigned int dst = 0x01100200; /* 16.1.0.2 */ main() { unsigned int i; i = src ^ dst; i = i ^ (i >> 16); i = i ^ (i >> 8); printf("0x%x,0x%x -> 0x%x\n", src, dst, i & 255); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri May 22 08:27:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA08061 for freebsd-net-outgoing; Fri, 22 May 1998 08:27:57 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA08029 for ; Fri, 22 May 1998 08:27:46 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id PAA22609; Fri, 22 May 1998 15:27:24 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id RAA29980; Fri, 22 May 1998 17:27:19 +0200 (MET DST) Message-ID: <19980522172718.26605@follo.net> Date: Fri, 22 May 1998 17:27:18 +0200 From: Eivind Eklund To: dg@root.com, freebsd-net@FreeBSD.ORG Subject: Re: hash calculation for IP fast forwarding References: <199805221227.FAA00790@implode.root.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199805221227.FAA00790@implode.root.com>; from David Greenman on Fri, May 22, 1998 at 05:27:16AM -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, May 22, 1998 at 05:27:16AM -0700, David Greenman wrote: > As I mentioned recently in freebsd-net, the hash function that the fast > IP forwarding code uses is expensive (16 adds, 12 shifts, 6 subtracts, and > 6 compares). I think the following will provide a hash with similar quality, > but I might be missing something. This assumes that the table is 256 buckets > large, but it should work for larger tables as well. Opinions? I think this will tend to be overly much influenced by the tendency of IP-addresses to be loaded in the lower end of each octet. For a good hash, you'll want to mix bits on a non-octet level. However, to really find out if this is significant you'd have to do measurements. Is the hash-function really a significant amount of the time spent in the fast forwarding as it stands? Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri May 22 15:54:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA08227 for freebsd-net-outgoing; Fri, 22 May 1998 15:54:36 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from vorbis.noc.easynet.net (qmailr@vorbis.noc.easynet.net [195.40.1.254]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA08161 for ; Fri, 22 May 1998 15:54:17 -0700 (PDT) (envelope-from chrisy@vorbis.noc.easynet.net) Received: (qmail 3381 invoked by uid 1943); 22 May 1998 22:53:54 -0000 Message-ID: <19980522235354.38922@flix.net> Date: Fri, 22 May 1998 23:53:54 +0100 From: Chrisy Luke To: Julian Elischer Cc: Ari Suutari , Philippe Regnauld , freebsd-net@FreeBSD.ORG, cmott@srv.net Subject: Re: IPFW + natd -redirect_port References: <355BD073.971B3EED@suutari.iki.fi> <19980521183418.12847.qmail@omega.noc.easynet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <19980521183418.12847.qmail@omega.noc.easynet.net>; from Julian Elischer on Fri, May 15, 1998 at 12:41:26AM -0700 Organization: The Flirble Internet Exchange X-URL: http://www.flix.net/ X-FTP: ftp://ftp.flirble.org/ Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Julian Elischer wrote (on May 15): > I say an announcement a few weeks ago of transparent proxying... > was that you? Nah, was something I did with the mpath code by sheer fluke (happened to see an efficient way of doing it while I was poking around...) ftp://ftp.flirble.org/pub/unix/hacks/FreeBSD/mpath if you wanna looksee. Not touched it again in a while due to work pressures... should have some fresh code in a few weeks though. Chris. -- == chris@easynet.net, chrisy@flix.net, chrisy@flirble.org. == Head of Systems for Easynet Group PLC. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri May 22 17:22:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA25882 for freebsd-net-outgoing; Fri, 22 May 1998 17:22:35 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA25810 for ; Fri, 22 May 1998 17:22:21 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id RAA06112; Fri, 22 May 1998 17:21:55 -0700 (PDT) Message-Id: <199805230021.RAA06112@implode.root.com> To: Eivind Eklund cc: freebsd-net@FreeBSD.ORG Subject: Re: hash calculation for IP fast forwarding In-reply-to: Your message of "Fri, 22 May 1998 17:27:18 +0200." <19980522172718.26605@follo.net> From: David Greenman Reply-To: dg@root.com Date: Fri, 22 May 1998 17:21:55 -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >On Fri, May 22, 1998 at 05:27:16AM -0700, David Greenman wrote: >> As I mentioned recently in freebsd-net, the hash function that the fast >> IP forwarding code uses is expensive (16 adds, 12 shifts, 6 subtracts, and >> 6 compares). I think the following will provide a hash with similar quality, >> but I might be missing something. This assumes that the table is 256 buckets >> large, but it should work for larger tables as well. Opinions? > >I think this will tend to be overly much influenced by the tendency of >IP-addresses to be loaded in the lower end of each octet. For a good >hash, you'll want to mix bits on a non-octet level. However, to >really find out if this is significant you'd have to do measurements. That might cause a small statistical shift, but I don't think it will be significant since that it really only true for the LSB and all of the octets are xored together. >Is the hash-function really a significant amount of the time spent in >the fast forwarding as it stands? Yes. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri May 22 18:54:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA11340 for freebsd-net-outgoing; Fri, 22 May 1998 18:54:16 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA11275 for ; Fri, 22 May 1998 18:54:01 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id BAA08331; Sat, 23 May 1998 01:54:00 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id DAA07847; Sat, 23 May 1998 03:53:54 +0200 (MET DST) Message-ID: <19980523035353.44901@follo.net> Date: Sat, 23 May 1998 03:53:53 +0200 From: Eivind Eklund To: dg@root.com Cc: freebsd-net@FreeBSD.ORG Subject: Re: hash calculation for IP fast forwarding References: <19980522172718.26605@follo.net> <199805230021.RAA06112@implode.root.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199805230021.RAA06112@implode.root.com>; from David Greenman on Fri, May 22, 1998 at 05:21:55PM -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, May 22, 1998 at 05:21:55PM -0700, David Greenman wrote: > >On Fri, May 22, 1998 at 05:27:16AM -0700, David Greenman wrote: > >> As I mentioned recently in freebsd-net, the hash function that the fast > >> IP forwarding code uses is expensive (16 adds, 12 shifts, 6 subtracts, and > >> 6 compares). I think the following will provide a hash with similar quality, > >> but I might be missing something. This assumes that the table is 256 buckets > >> large, but it should work for larger tables as well. Opinions? > > > >I think this will tend to be overly much influenced by the tendency of > >IP-addresses to be loaded in the lower end of each octet. For a good > >hash, you'll want to mix bits on a non-octet level. However, to > >really find out if this is significant you'd have to do measurements. > > That might cause a small statistical shift, but I don't think it will be > significant since that it really only true for the LSB and all of the > octets are xored together. Well, labelling the address as A.B.C.D, it seems (from some examination of the net) A is clearly biased towards the range 192 (128) to 210 (223) B is not biased (or not much, anyway; it might look like a slight bias towards high values, which would be natural) C is biased towards small values D is biased towards small values I'm don't think the influence is too significant for a backbone router. However, I'm slightly less certain when it comes to small networks, where you often have a significant slide towards the lower address-ranges (e.g, splitting 10.x.x.x into a lot of /24-nets). One possible solution to find out how well it works is a verifier that tests how well the buckets are utilized every now and then, and printf()s a request for the admin to contact questions@FreeBSD.ORG if the utilization suck :) Here are smaple hash values for a sample from the large-scale net (based on a web-log I had lying around): Reviewed 1015317 entires : A B C D H 000: 0 2690 4657 27 3351 001: 0 3388 15182 14690 2299 002: 0 2917 9579 27290 5299 003: 0 4541 7282 13655 3422 004: 0 8293 6480 8204 4271 005: 0 2561 4744 15687 3880 006: 0 3057 3644 13031 2913 007: 0 2500 3648 10676 3274 008: 0 3355 5281 8927 4512 009: 0 1680 4762 7399 4850 010: 0 4039 5900 15201 5048 011: 0 2883 4183 9538 2655 012: 17040 3231 2930 5813 3492 013: 0 2222 5492 5123 3764 014: 0 1882 3946 5063 4374 015: 52 1958 3960 5173 5511 016: 0 4059 4796 3809 3207 017: 4 2517 4936 6031 2867 018: 0 3005 4567 6215 4705 019: 0 2559 4016 6326 2834 020: 22 1700 3873 6568 4719 021: 0 4638 3568 7293 4497 022: 0 3462 3613 5873 4840 023: 0 2069 3593 5417 5629 024: 8363 3380 2978 4275 4799 025: 0 4113 4143 7130 6798 026: 0 4456 3723 5734 3778 027: 0 4734 3586 5377 2925 028: 0 3018 5139 3176 2752 029: 0 4041 3770 4235 2573 030: 0 5991 3996 3900 6269 031: 0 3715 2732 4772 2420 032: 2477 2182 3748 5213 3433 033: 9 2737 4317 7752 4238 034: 0 8701 4206 7669 4798 035: 178 8921 31467 11534 5698 036: 6 4962 5838 6916 2500 037: 0 7366 4180 7396 4036 038: 4493 2081 3076 7485 4898 039: 0 3184 3547 6333 4404 040: 230 2498 2803 6690 5321 041: 0 2102 4581 5252 3565 042: 0 2937 1901 6660 3177 043: 0 1268 4260 3982 3794 044: 0 1952 4129 4335 5991 045: 0 1925 2270 4445 5996 046: 0 1461 3060 3712 3884 047: 0 2922 2053 2138 7349 048: 0 4194 3467 4341 3410 049: 0 3230 3555 6871 3429 050: 0 2674 5630 4995 3009 051: 0 3532 2688 3838 2365 052: 0 1936 2808 3702 3696 053: 112 2156 2050 2616 5150 054: 0 4148 4324 2586 1875 055: 262 3980 3234 4132 5309 056: 0 1695 3432 3028 3052 057: 37 1841 4652 4036 3389 058: 0 2202 4626 4617 2785 059: 0 1922 3384 3252 2676 060: 0 2954 4147 2383 3281 061: 0 1898 2362 2727 3994 062: 381 1345 3852 2483 3645 063: 0 4354 2898 1768 3286 064: 0 5718 7601 2460 3946 065: 0 4745 3249 5444 3792 066: 0 3008 6284 8787 3482 067: 0 6985 2321 4398 2718 068: 0 4547 4868 3850 4110 069: 0 2398 3243 3366 4701 070: 0 2783 4509 4038 4001 071: 0 4821 3044 3785 3895 072: 0 5263 4130 4187 4286 073: 0 1897 2805 3321 4452 074: 0 2467 2567 2421 4211 075: 0 1622 2999 3894 2855 076: 0 2126 2673 2870 5377 077: 0 3785 3511 2923 3290 078: 0 2032 2111 3279 4638 079: 0 27470 3143 3028 3848 080: 0 2915 4631 4468 2504 081: 0 2446 2296 2331 2746 082: 0 2853 1704 3710 3191 083: 0 5389 5048 3901 2747 084: 0 2730 3731 2520 3912 085: 0 830 2728 2644 2731 086: 0 4188 2722 2856 2923 087: 0 1388 2333 7252 2815 088: 0 3450 2672 6826 3595 089: 0 1317 3489 6066 2387 090: 0 1707 7574 2260 2446 091: 0 2375 3264 3898 2281 092: 0 3030 3363 2754 3007 093: 0 1391 2159 2327 3572 094: 0 3779 3055 2591 4731 095: 0 1565 1871 2425 2172 096: 0 6135 4278 1414 3536 097: 0 3179 4651 3142 3026 098: 0 869 1647 3990 4314 099: 0 2320 3094 2453 2819 100: 0 5585 3887 6546 2439 101: 0 4158 3279 6703 6529 102: 0 3657 3713 4924 2997 103: 0 4759 2885 4840 2628 104: 0 2043 4630 4756 3569 105: 0 1405 3895 5364 2948 106: 0 2146 3986 5303 4722 107: 0 2167 4651 3696 6289 108: 0 2351 2982 3398 5116 109: 0 3281 2322 3136 3567 110: 0 989 2813 3725 3412 111: 0 2578 2293 3818 2790 112: 0 4033 2407 4334 5659 113: 0 2722 3386 5365 3466 114: 0 1808 4740 4699 2332 115: 0 7763 2237 4848 3163 116: 0 3902 3482 3666 2845 117: 0 2625 3111 3056 4915 118: 0 1054 4955 2146 4337 119: 0 1441 3366 2033 4883 120: 0 6701 2534 3071 6407 121: 0 2104 2620 2788 4417 122: 0 1212 2020 3207 4026 123: 0 2581 4547 2542 5000 124: 0 1282 3061 3806 4890 125: 0 2444 5277 2636 5749 126: 0 2097 2431 2158 6269 127: 0 4222 2936 1634 4613 128: 10595 5206 4961 2185 2977 129: 12702 2404 3423 3816 4971 130: 9222 4308 7851 5770 5008 131: 4717 2900 12590 3476 4189 132: 3589 2992 3563 3569 3577 133: 13 5695 4571 4059 4451 134: 5450 5010 2622 2688 2843 135: 0 3060 4001 6835 3403 136: 2845 2998 2794 6705 3668 137: 5856 3205 2763 7462 4303 138: 994 3055 2354 6994 3611 139: 2908 3967 3623 6827 2906 140: 3167 3419 3707 8717 3830 141: 1603 2612 2093 3948 4023 142: 11392 12327 3096 2255 2842 143: 1138 3405 2758 2533 2598 144: 1535 3384 3142 2331 2843 145: 571 915 3327 3411 3733 146: 3058 2782 4164 2912 3484 147: 3110 3673 2495 1949 1948 148: 1882 3600 3480 2539 2057 149: 1779 4146 2397 2182 3058 150: 2297 3045 2999 2348 4320 151: 3313 3615 3094 3204 3744 152: 132700 6814 3166 3699 3582 153: 13014 4775 2478 3590 2370 154: 113 3398 1928 1774 5282 155: 3517 4923 2768 3955 3959 156: 3674 3345 3196 2468 6679 157: 1861 2117 2241 2468 6955 158: 3009 2472 3254 2973 7301 159: 2793 2545 2291 2382 8260 160: 1773 3632 3260 1343 4681 161: 4076 4507 4034 1863 5383 162: 3665 4409 2352 3200 4902 163: 2890 128061 3265 2283 3730 164: 6651 3503 2893 2624 3210 165: 6041 7906 1707 2591 4149 166: 8974 3360 2766 3149 2302 167: 3397 2592 3451 2297 3710 168: 8162 2888 2274 2596 2524 169: 2568 1204 2740 2346 2591 170: 3784 6192 2561 3014 3295 171: 493 2536 2166 3016 3058 172: 0 12311 2583 2214 4529 173: 0 4116 2600 3280 4190 174: 0 4972 4005 1927 5469 175: 0 4572 2719 1217 7494 176: 0 4231 1719 1284 3676 177: 0 8279 2348 2319 2466 178: 0 1995 2152 2161 3110 179: 0 2457 1912 2009 3290 180: 0 2341 1797 2720 3167 181: 0 2680 1414 2506 4167 182: 0 1077 1963 2219 3391 183: 0 3968 3534 2718 3988 184: 0 3886 3094 2862 2818 185: 0 2499 2727 1179 2229 186: 0 3480 2247 2670 3768 187: 0 1389 4267 2571 2660 188: 0 16570 2277 1521 3920 189: 0 3938 2115 1164 2316 190: 0 3308 2082 1841 3342 191: 0 1705 3601 2153 3913 192: 23883 1548 2816 949 2916 193: 15099 4266 3618 2152 4138 194: 33808 5753 7890 3161 3447 195: 21309 1562 18733 2161 3491 196: 10369 4690 2648 2705 3203 197: 0 1919 16132 3651 2846 198: 30691 5067 3900 1306 2488 199: 28058 1864 2299 2192 3848 200: 2902 3337 2595 3564 4934 201: 0 3118 18514 2239 4024 202: 13802 2031 2722 2634 4369 203: 27279 3188 2781 1596 2871 204: 54243 4403 17751 1927 3746 205: 46194 4201 15483 2223 3963 206: 80883 2800 16128 3059 3206 207: 135804 4171 13543 2496 2845 208: 71091 2179 4250 2126 4006 209: 77330 2567 2490 2399 6038 210: 1766 3168 2868 1864 5164 211: 0 1850 2930 1724 4817 212: 249 5610 2772 1598 2736 213: 0 2104 18159 1802 4359 214: 0 8997 2487 1443 4941 215: 0 1740 2156 2593 3590 216: 0 7027 3637 1926 5960 217: 0 4504 2443 9879 4305 218: 0 1969 2007 8178 4660 219: 0 2432 2535 9692 6009 220: 0 1683 2841 1646 4542 221: 0 1134 2044 1531 4567 222: 0 3866 2357 2792 3922 223: 0 1627 1889 1095 3317 224: 0 2812 5237 1843 3925 225: 0 4596 2232 2527 3796 226: 0 1569 2648 3272 4368 227: 0 4269 2920 3783 4119 228: 0 5341 3834 2231 3212 229: 0 3477 4055 2813 3322 230: 0 2797 3051 2478 2816 231: 0 2715 1472 2593 4566 232: 0 3740 7231 1587 2833 233: 0 2841 2810 2362 2779 234: 0 2477 3009 1865 3779 235: 0 2668 2095 3740 5235 236: 0 2808 2255 3654 4944 237: 0 3596 2958 3799 2897 238: 0 5706 2675 1917 3065 239: 0 3027 2451 1578 4443 240: 0 2712 3834 3823 4891 241: 0 2763 3331 5396 5406 242: 0 2061 2486 6679 4855 243: 0 3402 2352 2096 2081 244: 0 3202 1870 1260 6230 245: 0 1919 3348 1763 7276 246: 0 1209 2747 1383 4334 247: 0 2469 1941 2812 6067 248: 0 2171 3964 1948 5967 249: 0 768 1956 1978 2092 250: 0 3125 1611 2766 7104 251: 0 2361 1418 1906 5753 252: 0 2907 2206 1958 3178 253: 0 3407 3867 2136 4544 254: 0 5023 3497 3534 4166 255: 0 3781 3665 61 4799 Doesn't look so bad, especially considering that this is from a single site, so the IP-addresses of the admins can cause some 'spikes'. Oh, and A 152 and B 163 is AOL :-) Eivind To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message