From owner-freebsd-net@FreeBSD.ORG Sun Jun 8 02:53:59 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF66037B401 for ; Sun, 8 Jun 2003 02:53:59 -0700 (PDT) Received: from email01.aon.at (WARSL402PIP8.highway.telekom.at [195.3.96.97]) by mx1.FreeBSD.org (Postfix) with SMTP id 9C4C543FBF for ; Sun, 8 Jun 2003 02:53:58 -0700 (PDT) (envelope-from shoesoft@gmx.net) Received: (qmail 270870 invoked from network); 8 Jun 2003 09:53:57 -0000 Received: from n647p003.dipool.highway.telekom.at ([212.183.90.195]) (envelope-sender ) by qmail1rs.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 8 Jun 2003 09:53:57 -0000 From: Stefan Ehmann To: freebsd-net@freebsd.org Content-Type: text/plain Organization: Message-Id: <1055066059.1397.3.camel@shoeserv.freebsd> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 08 Jun 2003 11:54:20 +0200 Content-Transfer-Encoding: 7bit Subject: ppp connection unstable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2003 09:54:00 -0000 I'm running user ppp for my Internet connection. It basically runs fine but there is this quite annoying problem: Sometimes packets stop going out through the tun0 interface (pppctl shows queued packets) but there are still packets incoming (obviously the connection becomes unusable). The only remedy is to reconnect manually (I'm doing this via pppctl) or wait until this is done automatically when lqr is enabled. When does this happen? - many connections at the same time (e.g. running a file-sharing tool) - heavy CPU load A combination of the two factors usually result in the problem within some minutes. When burning Cd's there's a similar problem. First the bandwidth goes down really low but pinging is still possible - sometimes i also get disconnected. (But I could live with that problem since i don't burn CD's that often.) My configuration: I'm using FreeBSD CURRENT (but the same problem appeared using 4.8-RELEASE) ISDN-Card: AVM Fritz!Card PCI (passive) excerpt from kernel config #AVM Fritz!Card device ifpi #ISDN Protocol Stack (mandatory) device "i4bq921" device "i4bq931" device "i4b" #ISDN Devices device "i4btrc" 4 device "i4bctl" device "i4brbch" 4 #device "i4btel" 2 #device "i4bipr" 4 #options IPR_VJ #device "i4bisppp" 4 For ppp configuration I use isdnd.rc and ppp.conf.isdn from /usr/share/examples/ppp/ (only telephone numbers and login information changed) I couldn't find the cause of this problem so far. My best guess would be some kind of hardware incompatibility but there should be some remedy since it runs fine using windows. Any help would be appreciated. From owner-freebsd-net@FreeBSD.ORG Sun Jun 8 08:29:35 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEA0237B401 for ; Sun, 8 Jun 2003 08:29:35 -0700 (PDT) Received: from cmailm3.svr.pol.co.uk (cmailm3.svr.pol.co.uk [195.92.193.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BB6843FD7 for ; Sun, 8 Jun 2003 08:29:32 -0700 (PDT) (envelope-from cartman@totalmac.net) Received: from modem-444.arbok.dialup.pol.co.uk ([217.135.17.188] helo=butthead) by cmailm3.svr.pol.co.uk with smtp (Exim 4.14) id 19P26s-0006ii-To; Sun, 08 Jun 2003 16:29:31 +0100 Message-ID: <001c01c32dd2$c9116b90$0200a8c0@butthead> From: "cartman" To: Date: Sun, 8 Jun 2003 16:29:41 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: aue driver problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2003 15:29:36 -0000 Hi, ive recently installed a aue usb ethernet card (aue0: ADMtek USB To = LAN Converter, rev 1.10/1.01, addr 2), added usb support to the kernel, = device aue etc. It detects it and assigns a ip ok but whenever a ip is = assigned to it and i try to connect to other hosts, etc i get this error = constantly: aue0: usb error on rx: IOERROR Could anyone help with this problem? From owner-freebsd-net@FreeBSD.ORG Sun Jun 8 08:51:47 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5BCC37B401; Sun, 8 Jun 2003 08:51:47 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEE9E43FBF; Sun, 8 Jun 2003 08:51:46 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9/8.12.9) with ESMTP id h58FoQOn087669; Sun, 8 Jun 2003 11:50:26 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h58FoQAm087666; Sun, 8 Jun 2003 11:50:26 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sun, 8 Jun 2003 11:50:26 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: David Yeske In-Reply-To: <20030608050138.82947.qmail@web13506.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org cc: net@freebsd.org Subject: Re: sendmail starts before rpc.statd and rpc.lockd X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2003 15:51:48 -0000 On Sat, 7 Jun 2003, David Yeske wrote: > Jun 8 00:52:33 photon sendmail[293]: h584pRfm000293: SYSERR(root): cannot > flock(./tfh584pRfm000293, fd=5, type=6, omode=40001, euid=25^C. > NFS access cache time=2 > Starting statd. > Starting lockd. > > It looks like sendmail starts before rpc.lockd and rpc.statd? This will > cause diskless clients to hang? This is a nfs server and diskless > client running 5.1-RELEASE. I'm running rpc.lockd and rpc.statd on the > server and the client. Should rpc.lockd and rpc.statd be started before > sendmail starts? Hmm. It shouldn't cause diskless clients to hang, or at least, doesn't for me. The cause of the error message, however, is exactly as you surmise -- befpre rpc.lockd, calls to flock() on the NFS file system will return an error. Is the hang you're seeing immediately after the "Starting lockd"? If you hit Ctrl-T, does it tell you anything useful? Note that unless you're running 5.x pretty close to the release, pressing Ctrl-T while a process is attempting to grab an NFS-backed file lock will result in a slipped lock and many nasty failure modes. I disabled signal delivery to processes while sleeping on an NFS lock as a workaround until out rpc.lockd addresses the "process aborts the lock request" race, which isn't handled right now. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories From owner-freebsd-net@FreeBSD.ORG Sun Jun 8 17:23:55 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB40937B401 for ; Sun, 8 Jun 2003 17:23:55 -0700 (PDT) Received: from mail.utcorp.net (mail.utcorp.net [146.145.135.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CA7643FDF for ; Sun, 8 Jun 2003 17:23:55 -0700 (PDT) (envelope-from kseel@utcorp.com) Received: from dell.khome.utcorp.net ([10.200.1.40] helo=utcorp.com) by mail.utcorp.net with esmtp (Exim 3.36 #1) id 19PAkj-000DVj-00; Sun, 08 Jun 2003 20:43:13 -0400 Sender: kseel@FreeBSD.ORG Message-ID: <3EE3D45D.33A143EB@utcorp.com> Date: Sun, 08 Jun 2003 20:27:09 -0400 From: User Kseel X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: anu@nttmcl.com, "freebsd-net@FreeBSD.ORG" References: <001201c24f81$193b7e20$f64545d8@anuntt> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Wireless X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 00:23:56 -0000 Did you ever get the AP going on the PCI bridge thingey? I have a PCMCIA -> ISA bridge and a USR 240X running as AP just fine, _but_ some things could be better ... 1) the ISA bus limitations effectively cap performance at 5 Mb/sec. 2) The card doesn't have a pigtail adapter, I have some fancy antennas I would like to try, some pringle cans and other stuff too :-} Also, does anyone have any suggestions on a really good card? In terms of : 1) Good pigtail connector. 2) Highest mw power output allowed. 3) Good driver support in FreeBSD. TIA Anuranjan Shukla wrote: > It doesn't depend on the card. What you need is a driver that can run the > card as an AP. > > -----Original Message----- > From: owner-freebsd-net@FreeBSD.ORG > [mailto:owner-freebsd-net@FreeBSD.ORG]On Behalf Of Simeó Reig > Sent: Thursday, August 29, 2002 3:49 AM > To: freebsd-net@FreeBSD.ORG > Subject: Wireless > > Hi, I want to make a wireless node with freeBSD acting > as a AP. Wich card should I buy ? Conceptronics PCI C11iDT > is a good choice ? It has Prism 2 chipset but I don't know if freeBSD > can detect it, is it possible ? Orinocco cards can act as a AP ? Dlink ?? > > Thanks a lot ! > > Simeo > Tarragona (Spain) > > 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@FreeBSD.ORG Sun Jun 8 18:13:32 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F0FA37B401 for ; Sun, 8 Jun 2003 18:13:32 -0700 (PDT) Received: from web13507.mail.yahoo.com (web13507.mail.yahoo.com [216.136.175.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 2E14E43FE1 for ; Sun, 8 Jun 2003 18:13:31 -0700 (PDT) (envelope-from dyeske@yahoo.com) Message-ID: <20030609011331.14200.qmail@web13507.mail.yahoo.com> Received: from [68.114.30.244] by web13507.mail.yahoo.com via HTTP; Sun, 08 Jun 2003 18:13:31 PDT Date: Sun, 8 Jun 2003 18:13:31 -0700 (PDT) From: David Yeske To: Robert Watson In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: current@freebsd.org cc: net@freebsd.org Subject: Re: sendmail starts before rpc.statd and rpc.lockd X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 01:13:32 -0000 This is when sendmail is ran from virecover. Is this because sendmail is taking redirection, and it needs to flock() for that? I think a solution could be to make virecover called later on. Why are rpc.lockd and rpc.statd not started directly after rpcbind? Here is some more output. Recovering vi editor sessions:Jun 8 21:03:39 photon sendmail[292]: h5913dfn000292: SYSERR(root): cannot flock(./dfh5913dfn000292, fd=3, type=2, omode=40002, euid=25): Operation not supported collect: Cannot write ./dfh5913dfn000292 (bfcommit, uid=25, gid=25): Operation not supported cannot flock(./tfh5913dfn000292, fd=5, type=6, omode=40001, euid=25): Operation not supported cannot flock(./tfh5913dfn000292, fd=5, type=6, omode=40001, euid=25): Operation not supported Jun 8 21:03:39 photon sendmail[292]: h5913dfn000292: SYSERR(root): collect: Cannot write ./dfh5913dfn000292 (bfcommit, uid=25, gid=25): Operation not supported Jun 8 21:03:39 photon sendmail[292]: h5913dfn000292: SYSERR(root): cannot flock(./tfh5913dfn000292, fd=5, type=6, omode=40001, euid=25): Operation not supported Jun 8 21:03:39 photon sendmail[292]: h5913dfn000292: queueup: cannot lock ./tfh5913dfn000292: Operation not supported Here is what Control-T does load: 0.20 cmd: sendmail 292 [pause] 0.02u 0.04s 0% 2016k --- Robert Watson wrote: > On Sat, 7 Jun 2003, David Yeske wrote: > > > Jun 8 00:52:33 photon sendmail[293]: h584pRfm000293: SYSERR(root): cannot > > flock(./tfh584pRfm000293, fd=5, type=6, omode=40001, euid=25^C. > > NFS access cache time=2 > > Starting statd. > > Starting lockd. > > > > It looks like sendmail starts before rpc.lockd and rpc.statd? This will > > cause diskless clients to hang? This is a nfs server and diskless > > client running 5.1-RELEASE. I'm running rpc.lockd and rpc.statd on the > > server and the client. Should rpc.lockd and rpc.statd be started before > > sendmail starts? > > Hmm. It shouldn't cause diskless clients to hang, or at least, doesn't > for me. The cause of the error message, however, is exactly as you > surmise -- befpre rpc.lockd, calls to flock() on the NFS file system will > return an error. Is the hang you're seeing immediately after the > "Starting lockd"? If you hit Ctrl-T, does it tell you anything useful? > Note that unless you're running 5.x pretty close to the release, pressing > Ctrl-T while a process is attempting to grab an NFS-backed file lock will > result in a slipped lock and many nasty failure modes. I disabled signal > delivery to processes while sleeping on an NFS lock as a workaround until > out rpc.lockd addresses the "process aborts the lock request" race, which > isn't handled right now. > > Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > robert@fledge.watson.org Network Associates Laboratories > > __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From owner-freebsd-net@FreeBSD.ORG Sun Jun 8 18:53:58 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B766C37B401; Sun, 8 Jun 2003 18:53:58 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6DAB43FA3; Sun, 8 Jun 2003 18:53:57 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9/8.12.9) with ESMTP id h591qaOn094640; Sun, 8 Jun 2003 21:52:36 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h591qaeY094637; Sun, 8 Jun 2003 21:52:36 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sun, 8 Jun 2003 21:52:36 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: David Yeske In-Reply-To: <20030609011331.14200.qmail@web13507.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org cc: net@freebsd.org Subject: Re: sendmail starts before rpc.statd and rpc.lockd X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 01:53:59 -0000 On Sun, 8 Jun 2003, David Yeske wrote: > This is when sendmail is ran from virecover. > > Is this because sendmail is taking redirection, and it needs to flock() > for that? Generally, sendmail uses flock() on the aliases file and related databases to ensure consistency. As far as I know, it's unrelated to redirection. > I think a solution could be to make virecover called later on. Why are > rpc.lockd and rpc.statd not started directly after rpcbind? No idea. Moving virecover later is a possibility; probably the missing piece is that sendmail should depend on rpc.lockd, ordering-wise. Or perhaps, it should depend on late-stage file system bits, and the file system bits don't probably depend with the rpc bits. > Here is some more output. > > Recovering vi editor sessions:Jun 8 21:03:39 photon sendmail[292]: h5913dfn000292: SYSERR(root): > cannot flock(./dfh5913dfn000292, fd=3, type=2, omode=40002, euid=25): Operation not supported > collect: Cannot write ./dfh5913dfn000292 (bfcommit, uid=25, gid=25): Operation not supported > cannot flock(./tfh5913dfn000292, fd=5, type=6, omode=40001, euid=25): Operation not supported > cannot flock(./tfh5913dfn000292, fd=5, type=6, omode=40001, euid=25): Operation not supported > Jun 8 21:03:39 photon sendmail[292]: h5913dfn000292: SYSERR(root): collect: Cannot write > ./dfh5913dfn000292 (bfcommit, uid=25, gid=25): Operation not supported > Jun 8 21:03:39 photon sendmail[292]: h5913dfn000292: SYSERR(root): cannot > flock(./tfh5913dfn000292, fd=5, type=6, omode=40001, euid=25): Operation not supported > Jun 8 21:03:39 photon sendmail[292]: h5913dfn000292: queueup: cannot lock ./tfh5913dfn000292: > Operation not supported > > Here is what Control-T does > load: 0.20 cmd: sendmail 292 [pause] 0.02u 0.04s 0% 2016k pause, eh? That doesn't sound like it's related the the NFS locking. Note that the errors you get for sendmail due to lack of locking result in a fairly clean exit, not a hang. Hangs are generally associated with DNS. Try a packet sniff? From owner-freebsd-net@FreeBSD.ORG Sun Jun 8 19:45:04 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2FC937B401; Sun, 8 Jun 2003 19:45:03 -0700 (PDT) Received: from horsey.gshapiro.net (horsey.gshapiro.net [64.105.95.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BF1643FE1; Sun, 8 Jun 2003 19:45:03 -0700 (PDT) (envelope-from gshapiro@gshapiro.net) Received: from horsey.gshapiro.net (localhost [127.0.0.1]) h592j2hm017973 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 8 Jun 2003 19:45:02 -0700 (PDT) Received: (from gshapiro@localhost)h592j21u017972; Sun, 8 Jun 2003 19:45:02 -0700 (PDT) Date: Sun, 8 Jun 2003 19:45:02 -0700 From: Gregory Neil Shapiro To: Robert Watson Message-ID: <20030609024501.GP90892@horsey.gshapiro.net> References: <20030609011331.14200.qmail@web13507.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: David Yeske cc: current@freebsd.org cc: net@freebsd.org Subject: Re: sendmail starts before rpc.statd and rpc.lockd X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 02:45:04 -0000 > Generally, sendmail uses flock() on the aliases file and related databases > to ensure consistency. As far as I know, it's unrelated to redirection. And for locking queue files. > > Here is what Control-T does > > load: 0.20 cmd: sendmail 292 [pause] 0.02u 0.04s 0% 2016k > > pause, eh? That doesn't sound like it's related the the NFS locking. > Note that the errors you get for sendmail due to lack of locking result in > a fairly clean exit, not a hang. Hangs are generally associated with DNS. > Try a packet sniff? No, it's sendmail: void queueup(e, announce, msync) ... const int flags = O_CREAT|O_WRONLY|O_EXCL|O_EXLOCK; ... /* get a locked tf file */ for (i = 0; i < 128; i++) { ... tfd = open(tf, flags, QueueFileMode); ... if (lockfile(tfd, tf, NULL, LOCK_EX|LOCK_NB)) break; ... (void) sleep(i % 32); } While trying to create a locked queue file, it sleeps in case a later attempt will work. From owner-freebsd-net@FreeBSD.ORG Mon Jun 9 00:13:16 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37C4337B401 for ; Mon, 9 Jun 2003 00:13:16 -0700 (PDT) Received: from smtp100.mail.sc5.yahoo.com (smtp100.mail.sc5.yahoo.com [216.136.174.138]) by mx1.FreeBSD.org (Postfix) with SMTP id 504AD43F3F for ; Mon, 9 Jun 2003 00:13:15 -0700 (PDT) (envelope-from max@willystudios.com) Received: from host121-123.pool80116.interbusiness.it (HELO max.willystudios.com) (willythemax@80.116.123.121 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 9 Jun 2003 07:13:14 -0000 Date: Mon, 9 Jun 2003 09:13:11 +0200 From: Massimiliano Stucchi To: freebsd-net@freebsd.org Message-Id: <20030609091311.372af112.max@willystudios.com> In-Reply-To: <3EE3D45D.33A143EB@utcorp.com> References: <001201c24f81$193b7e20$f64545d8@anuntt> <3EE3D45D.33A143EB@utcorp.com> Organization: WillyStudios.com, LTD X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Wireless X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: stucchi@willystudios.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 07:13:16 -0000 On Sun, 08 Jun 2003 20:27:09 -0400 User Kseel wrote: > Also, does anyone have any suggestions on a really good card? > In terms of : > 1) Good pigtail connector. > 2) Highest mw power output allowed. > 3) Good driver support in FreeBSD. > www.netgate.com sells some good cards (for your terms, not in the overall). If you want to give them a try... Ciao ciao -- Stucchi Massimiliano | Gruppo Utenti FreeBSD Italia WillyStudios.com | http://www.gufi.org stucchi@willystudios.com | max@gufi.org "People who make no mistakes do not usually make anything" From owner-freebsd-net@FreeBSD.ORG Mon Jun 9 07:23:19 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0193937B401 for ; Mon, 9 Jun 2003 07:23:19 -0700 (PDT) Received: from tiamat.astral-on.net (tiamat.astral-on.net [193.41.4.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 433D343FB1 for ; Mon, 9 Jun 2003 07:23:14 -0700 (PDT) (envelope-from ad@odin.astral-on.net) Received: from odin.astral-on.net (odin.astral-on.net [193.41.4.6]) by tiamat.astral-on.net (8.12.9/8.12.8) with ESMTP id h59EN9Tg015480 for ; Mon, 9 Jun 2003 17:23:09 +0300 (EEST) Received: (from ad@localhost) by odin.astral-on.net (8.11.6/8.11.6) id h59EN9D41704 for freebsd-net@freebsd.org; Mon, 9 Jun 2003 17:23:09 +0300 (EEST) (envelope-from ad) Date: Mon, 9 Jun 2003 17:23:09 +0300 From: Andrew Degtiariov To: freebsd-net@freebsd.org Message-ID: <20030609142309.GB37504@astral-on.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Subject: Problem with bridge 802.1q frames X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ad@astral-on.net List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 14:23:19 -0000 Hello FreeBSD users! We'v tried to bridge Ethernet frames across rl0 and vlan0 interfaces and this does not work. vlan4|-------| |---------------| Host1 | | p1 | | -----=----- |-------| | Switch | 192.168.3.100 -----=----- | p2 | | vlan0 ---------- -------- | | rl0 fxp0| | |Host2 |-----------|Host3 | | | | | ---------- -------- 192.168.3.15 Host1, Host2 and Host3 in the same VLAN (vlan 6). Port p1 and port p2 on Swith is "trunk" or "tagged" (add/delete vlan tags). Host2 is bridge. On Host3 we execute ping 192.168.3.100. If we do ifconfig vlan0 inet 192.168.3.254 netmask 255.255.255.0 on Host2 and lanch ping 192.168.3.100 its work perfectly! I can see on vlan0 and fxp0 frames that forwarded from Host3 to Host1 Frames passed from host1 don't appeare on vlan0 but on fxp0 do!? There aren't packet filters on Host2 Some debug information about Host2: bash-2.05b# uname -spr FreeBSD 5.1-RC1 i386 bash-2.05b# bash-2.05b# ifconfig -au fxp0: flags=8943 mtu 1500 options=8 ether 00:07:e9:0b:92:cf media: Ethernet autoselect (100baseTX) status: active rl0: flags=8943 mtu 1500 ether 00:00:21:29:2c:c7 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 vlan0: flags=8943 mtu 1500 ether 00:07:e9:0b:92:cf media: Ethernet autoselect (100baseTX) status: active vlan: 6 parent interface: fxp0 bash-2.05b# sysctl net.link.ether net.link.ether.inet.prune_intvl: 300 net.link.ether.inet.max_age: 1200 net.link.ether.inet.host_down_time: 20 net.link.ether.inet.maxtries: 5 net.link.ether.inet.useloopback: 1 net.link.ether.inet.proxyall: 0 net.link.ether.inet.log_arp_wrong_iface: 1 net.link.ether.inet.log_arp_movements: 1 net.link.ether.ipfw: 0 net.link.ether.bridge_cfg: vlan0:1,rl0:1 net.link.ether.bridge: 1 net.link.ether.bridge_ipfw: 0 net.link.ether.bridge_ipf: 0 net.link.ether.bridge_ipfw_drop: 0 net.link.ether.bridge_ipfw_collisions: 0 net.link.ether.verbose: 0 net.link.ether.bdg_split_pkts: 0 net.link.ether.bdg_thru: 264 net.link.ether.bdg_copied: 0 net.link.ether.bdg_dropped: 0 net.link.ether.bdg_copy: 0 net.link.ether.bdg_predict: 0 net.link.ether.bdg_fw_avg: 0 net.link.ether.bdg_fw_ticks: 0 net.link.ether.bdg_fw_count: 0 bash-2.05b# This is "tcpdump -i fxp0" output 15:22:45.738897 802.1Q vlan#6 P0 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 15:22:45.739121 802.1Q vlan#6 P0 arp reply 192.168.3.100 is-at 0:2:b3:61:ab:8d 15:22:46.599665 802.1d config 07d0.00:30:84:1c:1c:92.8015 root 07d0.00:30:84:1c:1c:92 pathcost 0 age 0 max 20 hello 2 fdelay 15 15:22:46.749497 802.1Q vlan#6 P0 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 15:22:46.749759 802.1Q vlan#6 P0 arp reply 192.168.3.100 is-at 0:2:b3:61:ab:8d 15:22:47.760087 802.1Q vlan#6 P0 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 15:22:47.760311 802.1Q vlan#6 P0 arp reply 192.168.3.100 is-at 0:2:b3:61:ab:8d 15:22:48.490190 802.1d config 07d0.00:30:84:1c:1c:92.8015 root 07d0.00:30:84:1c:1c:92 pathcost 0 age 0 max 20 hello 2 fdelay 15 15:22:48.770688 802.1Q vlan#6 P0 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 15:22:48.770920 802.1Q vlan#6 P0 arp reply 192.168.3.100 is-at 0:2:b3:61:ab:8d 15:22:49.781306 802.1Q vlan#6 P0 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 15:22:49.781537 802.1Q vlan#6 P0 arp reply 192.168.3.100 is-at 0:2:b3:61:ab:8d 15:22:50.771076 802.1d config 07d0.00:30:84:1c:1c:92.8015 root 07d0.00:30:84:1c:1c:92 pathcost 0 age 0 max 20 hello 2 fdelay 15 15:22:52.669977 802.1d config 07d0.00:30:84:1c:1c:92.8015 root 07d0.00:30:84:1c:1c:92 pathcost 0 age 0 max 20 hello 2 fdelay 15 15:22:54.560392 802.1d config 07d0.00:30:84:1c:1c:92.8015 root 07d0.00:30:84:1c:1c:92 pathcost 0 age 0 max 20 hello 2 fdelay 15 And "tcpdump -i vlan0" output 15:22:45.738830 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 15:22:46.749436 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 15:22:47.760028 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 15:22:48.770633 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 15:22:49.781246 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 -- Andrew Degtiariov AD5898-RIPE From owner-freebsd-net@FreeBSD.ORG Mon Jun 9 08:33:11 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C125837B405 for ; Mon, 9 Jun 2003 08:33:11 -0700 (PDT) Received: from silver.he.iki.fi (silver.he.iki.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F80D43FAF for ; Mon, 9 Jun 2003 08:33:10 -0700 (PDT) (envelope-from pete@he.iki.fi) Received: from PETEX31 (h81.vuokselantie10.fi [193.64.42.129]) by silver.he.iki.fi (8.12.9/8.11.4) with SMTP id h59FX8DX003662 for ; Mon, 9 Jun 2003 18:33:09 +0300 (EEST) (envelope-from pete@he.iki.fi) Message-ID: <008801c32e9c$6b1db230$812a40c1@PETEX31> From: "Petri Helenius" To: Date: Mon, 9 Jun 2003 18:33:02 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: intel 10GbE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 15:33:12 -0000 Is there planned support for the 82597EX (10 GbE) chipset and if there is a plan, is that incremental development on the em driver or completely separate piece of code? At least the linux driver seems to be separate, although the chip semantics seem very similar of the later 8254X (1 GbE) chips. (so separate piece of code would probably be wasteful?) Pete From owner-freebsd-net@FreeBSD.ORG Mon Jun 9 09:19:52 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 850D837B401 for ; Mon, 9 Jun 2003 09:19:52 -0700 (PDT) Received: from relay.macomnet.ru (relay.macomnet.ru [195.128.64.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A5E543FBD for ; Mon, 9 Jun 2003 09:19:51 -0700 (PDT) (envelope-from maxim@macomnet.ru) Received: from news1.macomnet.ru (news1.macomnet.ru [195.128.64.14]) by relay.macomnet.ru (8.11.6/8.11.6) with ESMTP id h59GJhg7204835; Mon, 9 Jun 2003 20:19:44 +0400 (MSD) Date: Mon, 9 Jun 2003 20:19:43 +0400 (MSD) From: Maxim Konovalov To: ad@astral-on.net In-Reply-To: <20030609142309.GB37504@astral-on.net> Message-ID: <20030609201828.L95896@news1.macomnet.ru> References: <20030609142309.GB37504@astral-on.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: Problem with bridge 802.1q frames X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 16:19:52 -0000 On Mon, 9 Jun 2003, 17:23+0300, Andrew Degtiariov wrote: > Hello FreeBSD users! > We'v tried to bridge Ethernet frames across rl0 and vlan0 interfaces and this > does not work. > > vlan4|-------| > |---------------| Host1 | > | p1 | | > -----=----- |-------| > | Switch | 192.168.3.100 > -----=----- > | p2 > | > | vlan0 > ---------- -------- > | | rl0 fxp0| | > |Host2 |-----------|Host3 | > | | | | > ---------- -------- > 192.168.3.15 > > Host1, Host2 and Host3 in the same VLAN (vlan 6). > Port p1 and port p2 on Swith is "trunk" or "tagged" (add/delete vlan tags). > Host2 is bridge. > On Host3 we execute ping 192.168.3.100. > If we do ifconfig vlan0 inet 192.168.3.254 netmask 255.255.255.0 on Host2 and > lanch ping 192.168.3.100 its work perfectly! > I can see on vlan0 and fxp0 frames that forwarded from Host3 to Host1 > Frames passed from host1 don't appeare on vlan0 but on fxp0 do!? > > There aren't packet filters on Host2 > > Some debug information about Host2: > > bash-2.05b# uname -spr > FreeBSD 5.1-RC1 i386 > bash-2.05b# > > bash-2.05b# ifconfig -au > fxp0: flags=8943 mtu 1500 > options=8 > ether 00:07:e9:0b:92:cf > media: Ethernet autoselect (100baseTX) > status: active > rl0: flags=8943 mtu 1500 > ether 00:00:21:29:2c:c7 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > vlan0: flags=8943 mtu 1500 > ether 00:07:e9:0b:92:cf > media: Ethernet autoselect (100baseTX) > status: active > vlan: 6 parent interface: fxp0 > > bash-2.05b# sysctl net.link.ether > net.link.ether.inet.prune_intvl: 300 > net.link.ether.inet.max_age: 1200 > net.link.ether.inet.host_down_time: 20 > net.link.ether.inet.maxtries: 5 > net.link.ether.inet.useloopback: 1 > net.link.ether.inet.proxyall: 0 > net.link.ether.inet.log_arp_wrong_iface: 1 > net.link.ether.inet.log_arp_movements: 1 > net.link.ether.ipfw: 0 > net.link.ether.bridge_cfg: vlan0:1,rl0:1 > net.link.ether.bridge: 1 > net.link.ether.bridge_ipfw: 0 > net.link.ether.bridge_ipf: 0 > net.link.ether.bridge_ipfw_drop: 0 > net.link.ether.bridge_ipfw_collisions: 0 > net.link.ether.verbose: 0 > net.link.ether.bdg_split_pkts: 0 > net.link.ether.bdg_thru: 264 > net.link.ether.bdg_copied: 0 > net.link.ether.bdg_dropped: 0 > net.link.ether.bdg_copy: 0 > net.link.ether.bdg_predict: 0 > net.link.ether.bdg_fw_avg: 0 > net.link.ether.bdg_fw_ticks: 0 > net.link.ether.bdg_fw_count: 0 > bash-2.05b# > > This is "tcpdump -i fxp0" output > 15:22:45.738897 802.1Q vlan#6 P0 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 > 15:22:45.739121 802.1Q vlan#6 P0 arp reply 192.168.3.100 is-at 0:2:b3:61:ab:8d > 15:22:46.599665 802.1d config 07d0.00:30:84:1c:1c:92.8015 root 07d0.00:30:84:1c:1c:92 pathcost 0 age 0 max 20 hello 2 fdelay 15 > 15:22:46.749497 802.1Q vlan#6 P0 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 > 15:22:46.749759 802.1Q vlan#6 P0 arp reply 192.168.3.100 is-at 0:2:b3:61:ab:8d > 15:22:47.760087 802.1Q vlan#6 P0 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 > 15:22:47.760311 802.1Q vlan#6 P0 arp reply 192.168.3.100 is-at 0:2:b3:61:ab:8d > 15:22:48.490190 802.1d config 07d0.00:30:84:1c:1c:92.8015 root 07d0.00:30:84:1c:1c:92 pathcost 0 age 0 max 20 hello 2 fdelay 15 > 15:22:48.770688 802.1Q vlan#6 P0 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 > 15:22:48.770920 802.1Q vlan#6 P0 arp reply 192.168.3.100 is-at 0:2:b3:61:ab:8d > 15:22:49.781306 802.1Q vlan#6 P0 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 > 15:22:49.781537 802.1Q vlan#6 P0 arp reply 192.168.3.100 is-at 0:2:b3:61:ab:8d > 15:22:50.771076 802.1d config 07d0.00:30:84:1c:1c:92.8015 root 07d0.00:30:84:1c:1c:92 pathcost 0 age 0 max 20 hello 2 fdelay 15 > 15:22:52.669977 802.1d config 07d0.00:30:84:1c:1c:92.8015 root 07d0.00:30:84:1c:1c:92 pathcost 0 age 0 max 20 hello 2 fdelay 15 > 15:22:54.560392 802.1d config 07d0.00:30:84:1c:1c:92.8015 root 07d0.00:30:84:1c:1c:92 pathcost 0 age 0 max 20 hello 2 fdelay 15 > > And "tcpdump -i vlan0" output > 15:22:45.738830 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 > 15:22:46.749436 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 > 15:22:47.760028 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 > 15:22:48.770633 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 > 15:22:49.781246 arp who-has 192.168.3.100 (2e:2f:30:31:32:33) tell 192.168.3.15 Try this hack and let me know if it works for you. Thanks! Index: if_ethersubr.c =================================================================== RCS file: /home/ncvs/src/sys/net/if_ethersubr.c,v retrieving revision 1.147 diff -u -r1.147 if_ethersubr.c --- if_ethersubr.c 5 May 2003 09:15:50 -0000 1.147 +++ if_ethersubr.c 20 May 2003 15:06:50 -0000 @@ -625,6 +625,7 @@ if (rule) /* packet was already bridged */ goto post_stats; +#if 0 if (!(BDG_ACTIVE(ifp))) { /* * Discard packet if upper layers shouldn't see it because it @@ -641,6 +642,7 @@ return; } } +#endif /* Discard packet if interface is not up */ if ((ifp->if_flags & IFF_UP) == 0) { %%% -- Maxim Konovalov, maxim@macomnet.ru, maxim@FreeBSD.org From owner-freebsd-net@FreeBSD.ORG Mon Jun 9 10:01:21 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86D8837B401 for ; Mon, 9 Jun 2003 10:01:21 -0700 (PDT) Received: from tiamat.astral-on.net (tiamat.astral-on.net [193.41.4.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA13C43F75 for ; Mon, 9 Jun 2003 10:01:18 -0700 (PDT) (envelope-from ad@odin.astral-on.net) Received: from odin.astral-on.net (odin.astral-on.net [193.41.4.6]) by tiamat.astral-on.net (8.12.9/8.12.8) with ESMTP id h59H1ETg063678; Mon, 9 Jun 2003 20:01:14 +0300 (EEST) Received: (from ad@localhost) by odin.astral-on.net (8.11.6/8.11.6) id h59H1Cc46608; Mon, 9 Jun 2003 20:01:12 +0300 (EEST) (envelope-from ad) Date: Mon, 9 Jun 2003 20:01:12 +0300 From: Andrew Degtiariov To: Maxim Konovalov Message-ID: <20030609170111.GF37504@astral-on.net> References: <20030609142309.GB37504@astral-on.net> <20030609201828.L95896@news1.macomnet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030609201828.L95896@news1.macomnet.ru> User-Agent: Mutt/1.3.28i cc: freebsd-net@freebsd.org Subject: Re: Problem with bridge 802.1q frames X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ad@astral-on.net List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 17:01:21 -0000 On Mon, Jun 09, 2003 at 08:19:43PM +0400, Maxim Konovalov wrote: > Try this hack and let me know if it works for you. Thanks! > > Index: if_ethersubr.c > =================================================================== > RCS file: /home/ncvs/src/sys/net/if_ethersubr.c,v > retrieving revision 1.147 > diff -u -r1.147 if_ethersubr.c > --- if_ethersubr.c 5 May 2003 09:15:50 -0000 1.147 > +++ if_ethersubr.c 20 May 2003 15:06:50 -0000 > @@ -625,6 +625,7 @@ > if (rule) /* packet was already bridged */ > goto post_stats; > > +#if 0 > if (!(BDG_ACTIVE(ifp))) { > /* > * Discard packet if upper layers shouldn't see it because it > @@ -641,6 +642,7 @@ > return; > } > } > +#endif > > /* Discard packet if interface is not up */ > if ((ifp->if_flags & IFF_UP) == 0) { > %%% > Thank you. It's worked. -- Andrew Degtiariov AD5898-RIPE From owner-freebsd-net@FreeBSD.ORG Mon Jun 9 10:51:40 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5D8037B401 for ; Mon, 9 Jun 2003 10:51:40 -0700 (PDT) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id E358343FDD for ; Mon, 9 Jun 2003 10:51:39 -0700 (PDT) (envelope-from joe@genius.tao.org.uk) Received: by genius.tao.org.uk (Postfix, from userid 100) id 5CAC9423E; Mon, 9 Jun 2003 18:50:54 +0100 (BST) Date: Mon, 9 Jun 2003 18:50:54 +0100 From: Josef Karthauser To: cartman Message-ID: <20030609175054.GB55182@genius.tao.org.uk> References: <001c01c32dd2$c9116b90$0200a8c0@butthead> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="l76fUT7nc3MelDdI" Content-Disposition: inline In-Reply-To: <001c01c32dd2$c9116b90$0200a8c0@butthead> User-Agent: Mutt/1.5.4i cc: freebsd-net@freebsd.org Subject: Re: aue driver problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 17:51:41 -0000 --l76fUT7nc3MelDdI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 08, 2003 at 04:29:41PM +0100, cartman wrote: > Hi, ive recently installed a aue usb ethernet card (aue0: ADMtek USB To L= AN Converter, rev 1.10/1.01, addr 2), added usb support to the kernel, devi= ce aue etc. It detects it and assigns a ip ok but whenever a ip is assigned= to it and i try to connect to other hosts, etc i get this error constantly= : aue0: usb error on rx: IOERROR >=20 > Could anyone help with this problem? > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" --=20 Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/ FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an= d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --l76fUT7nc3MelDdI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iEYEARECAAYFAj7kyPwACgkQXVIcjOaxUBZMQgCfW8uWO6n/Pd6EpnSVp5sLW7lk GDkAni5UJEu362r6Pxdr+U3EOdV/8x0g =+/Tu -----END PGP SIGNATURE----- --l76fUT7nc3MelDdI-- From owner-freebsd-net@FreeBSD.ORG Mon Jun 9 10:52:35 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80F2037B401 for ; Mon, 9 Jun 2003 10:52:35 -0700 (PDT) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCDB943FA3 for ; Mon, 9 Jun 2003 10:52:34 -0700 (PDT) (envelope-from joe@genius.tao.org.uk) Received: by genius.tao.org.uk (Postfix, from userid 100) id 7A5774511; Mon, 9 Jun 2003 18:51:50 +0100 (BST) Date: Mon, 9 Jun 2003 18:51:50 +0100 From: Josef Karthauser To: cartman , freebsd-net@freebsd.org Message-ID: <20030609175150.GC55182@genius.tao.org.uk> References: <001c01c32dd2$c9116b90$0200a8c0@butthead> <20030609175054.GB55182@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="da4uJneut+ArUgXk" Content-Disposition: inline In-Reply-To: <20030609175054.GB55182@genius.tao.org.uk> User-Agent: Mutt/1.5.4i Subject: Re: aue driver problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 17:52:35 -0000 --da4uJneut+ArUgXk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 09, 2003 at 06:50:54PM +0100, Josef Karthauser wrote: > On Sun, Jun 08, 2003 at 04:29:41PM +0100, cartman wrote: > > Hi, ive recently installed a aue usb ethernet card (aue0: ADMtek > > USB To LAN Converter, rev 1.10/1.01, addr 2), added usb support to > > the kernel, device aue etc. It detects it and assigns a ip ok but > > whenever a ip is assigned to it and i try to connect to other hosts, > > etc i get this error constantly: aue0: usb error on rx: IOERROR > >=20 > > Could anyone help with this problem? Whoops, sorry about sending an empty message. I was going to say that you don't say whether you're using 4.x or 5.x. Joe --=20 Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/ FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an= d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --da4uJneut+ArUgXk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iEYEARECAAYFAj7kyTUACgkQXVIcjOaxUBafdQCg7HGkyVWDpAwb5vLA2ZdoWqiy /ZgAnijwcj1xjPD5TzcT5deNrGRz5Kgm =rZPD -----END PGP SIGNATURE----- --da4uJneut+ArUgXk-- From owner-freebsd-net@FreeBSD.ORG Mon Jun 9 17:00:10 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A48A937B401 for ; Mon, 9 Jun 2003 17:00:10 -0700 (PDT) Received: from www.ambrisko.com (adsl-64-174-51-42.dsl.snfc21.pacbell.net [64.174.51.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAD4E43FA3 for ; Mon, 9 Jun 2003 17:00:09 -0700 (PDT) (envelope-from ambrisko@www.ambrisko.com) Received: from www.ambrisko.com (localhost [127.0.0.1]) by www.ambrisko.com (8.12.8p1/8.12.8) with ESMTP id h5A008O7055438; Mon, 9 Jun 2003 17:00:09 -0700 (PDT) (envelope-from ambrisko@www.ambrisko.com) Received: (from ambrisko@localhost) by www.ambrisko.com (8.12.8p1/8.12.8/Submit) id h5A008Ae055437; Mon, 9 Jun 2003 17:00:08 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200306100000.h5A008Ae055437@www.ambrisko.com> In-Reply-To: <176830000.1054647441@palle.girgensohn.se> To: Palle Girgensohn Date: Mon, 9 Jun 2003 17:00:08 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: fxp0: device timeout | SCB already complete. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 00:00:10 -0000 Palle Girgensohn writes: | Hi! | | When I run network backups, one of our FreeBSD machines (backup client) get | NIC timeouts and warnings from the scsi driver: | | Jun 3 14:50:12 melon /kernel: fxp0: device timeout | Jun 3 14:50:36 melon /kernel: fxp0: device timeout | Jun 3 14:51:03 melon /kernel: fxp0: device timeout | Jun 3 14:51:38 melon /kernel: fxp0: device timeout | Jun 3 14:52:41 melon /kernel: ahc0: Timedout SCB already complete. | Interrupts may not be functioning. | Jun 3 14:53:12 melon /kernel: fxp0: device timeout | | Both machines are on a hubbed 100 Mbit/s half duplex network. Looking at | the traffic with netstat -d 1, I see that as soon as the traffic increases, | there is a timeout and traffic stops, after with the net is reachable | again. This goes on and on. It only happens when there is much traffic on | both NIC and SCSI, it seems (alas when running backups...) | | Since there was a second NIC, it tried connecting it to the server using | that NIC through a switch, on a private network, but then the machine | nearly crashed, or at least came to a grinding halt. It seems, as soon as I | pulled the ethernet cable it came back. This happened without any backup | running... | | To me, this sounds like some odd interrupt problem? It is a PCI machine | with an Intel ?x440 (if memory serves me right) and dual CPUs 400 Mhz, | running freebsd-4.7p2. | | Any ideas where to look, how to debug or what to do? Try this: diff -c -r1.1.1.2 -r1.3 *** if_fxp.c 28 May 2003 23:39:32 -0000 1.1.1.2 --- if_fxp.c 5 Jun 2003 02:10:23 -0000 1.3 *************** *** 574,579 **** --- 579,610 ---- } } + if (i == 0x1039 || i == 0x103A) { + fxp_read_eeprom(sc, &data, 13, 1); + if ((data & 0x0f) == 4) { + u_int16_t cksum; + int i; + + device_printf(dev, + "Fix Tyan bug in EEPROM\n"); + data = (data & 0xf0) + 0xf; + fxp_write_eeprom(sc, &data, 13, 1); + device_printf(dev, "New EEPROM ID: 0x%x\n", data); + cksum = 0; + for (i = 0; i < (1 << sc->eeprom_size) - 1; i++) { + fxp_read_eeprom(sc, &data, i, 1); + cksum += data; + } + i = (1 << sc->eeprom_size) - 1; + cksum = 0xBABA - cksum; + fxp_read_eeprom(sc, &data, i, 1); + fxp_write_eeprom(sc, &cksum, i, 1); + device_printf(dev, + "EEPROM checksum @ 0x%x: 0x%x -> 0x%x\n", + i, data, cksum); + } + } + /* * If we are not a 82557 chip, we can enable extended features. */ For kicks. We had to do this on our motherboard. Don't know why. Couldn't get an answer. I figured this out via a binary search of a good eeprom contents and bad. Note you have to boot the kernel twice or power off. Your mileage may vary. Your machine could blow up etc. This is on a Tyan 2099GNN board. Doug A. From owner-freebsd-net@FreeBSD.ORG Tue Jun 10 10:00:00 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7E0737B401 for ; Tue, 10 Jun 2003 10:00:00 -0700 (PDT) Received: from norton.palomine.net (norton.palomine.net [66.93.48.52]) by mx1.FreeBSD.org (Postfix) with SMTP id 47D5A43FBF for ; Tue, 10 Jun 2003 09:59:59 -0700 (PDT) (envelope-from sullrich@palomine.net) Received: (qmail 10650 invoked by uid 1004); 10 Jun 2003 16:59:58 -0000 Date: Tue, 10 Jun 2003 12:59:58 -0400 From: SKU To: net@freebsd.org Message-ID: <20030610165958.GA10104@palomine.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Load balancing 2 ADSL connetions with NATD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 17:00:01 -0000 Greetings fellow FreeBSD'ers. I currently have 2 ADSL lines that are load balanced(outgoing) with ipfw fwd rules similar to this: 10.0.250.5 = First ADSL Line 10.0.250.6 = Second ADSL Line The rules related to this: 00100 2128172 1220561188 divert 8668 ip from any to any via sis0 00125 0 0 check-state 00127 43792 1794917 prob 0.500000 fwd 10.0.250.6 ip from 10.0.250.33 to any setup in recv sis2 keep-state This seems to work pretty well except in certain cases where I have to hit refresh on a web page, etc. I am able to receive more than 310Kb/sec using a download manager! My first question would be: Is this is a correct way of doing this? Should the fwd rule be moved before the divert statement on natd? My other question is: Could this setup be duplicated with netgraph? It seems netgraph is more flexible but I am still a little wet behind the ears but would like to jump right in. The ng_onetomany seems like a good fit but I would need 2 connections from the same ISP since they both have different gateways? At any rate, if some others could share their experiences with Load Balancing from alternate ISP's(outgoing only), I would be grateful. In addition to learning the above, I would also like to write up some documentation and submit it so that others that are in the same situation may have something to go on as well. Thanks in advance! -SKU From owner-freebsd-net@FreeBSD.ORG Tue Jun 10 17:28:22 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7EB337B401; Tue, 10 Jun 2003 17:28:22 -0700 (PDT) Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBF5E43F75; Tue, 10 Jun 2003 17:28:21 -0700 (PDT) (envelope-from merlin.germany@gmx.net) Received: from fwd11.aul.t-online.de by mailout05.sul.t-online.com with smtp id 19PtTR-0000uO-00; Wed, 11 Jun 2003 02:28:21 +0200 Received: from merlin-home.dtdns.net (rXlKViZXremv-byHJXo1WaZH53MJCaGJT2QgprCReKSRP6fjAloYZT@[217.81.166.105]) by fmrl11.sul.t-online.com with esmtp id 19PtTL-1szl7w0; Wed, 11 Jun 2003 02:28:15 +0200 Received: from localhost.svk.de (localhost.svk.de [127.0.0.1]) by merlin-home.dtdns.net (Postfix) with ESMTP id DA6D5F069; Wed, 11 Jun 2003 02:28:14 +0200 (CEST) Received: from merlin-home.dtdns.net (localhost.svk.de [127.0.0.1]) by localhost.svk.de (AvMailGate-2.0.1.11) id 35689-771B0880; Wed, 11 Jun 2003 02:27:55 +0200 Received: from winxp (W2K1.svk.de [192.168.200.10]) by merlin-home.dtdns.net (Postfix) with ESMTP id 0ED35F069; Wed, 11 Jun 2003 02:27:53 +0200 (CEST) From: "Sascha Valckenier Kips" To: , Date: Wed, 11 Jun 2003 02:27:25 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-AntiVirus: checked by AntiVir MailGate (version: 2.0.1.11; AVE: 6.20.0.0; VDF: 6.20.0.6; host: localhost) X-Seen: false X-ID: rXlKViZXremv-byHJXo1WaZH53MJCaGJT2QgprCReKSRP6fjAloYZT@t-dialin.net Subject: Support for Linksys WLAN Cards X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 00:28:23 -0000 Hello, is the Linksys 54MBit WLAN Adapters supportet ? Model WMP54G for PCI Variante and Model WPC54G for the PCMCIA. Both Card's i need under FreeBSD 4.x or 5.x Thanks for help Sascha From owner-freebsd-net@FreeBSD.ORG Wed Jun 11 03:40:23 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1FB737B401; Wed, 11 Jun 2003 03:40:23 -0700 (PDT) Received: from mccinet.ru (relay.cell.ru [212.119.96.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 368EA43FA3; Wed, 11 Jun 2003 03:40:22 -0700 (PDT) (envelope-from dolgop@mccinet.ru) Received: from [212.1.235.150] (HELO server.dep624) by mccinet.ru (CommuniGate Pro SMTP 4.0.2) with ESMTP-TLS id 4375635; Wed, 11 Jun 2003 14:40:20 +0400 From: Evgeny Dolgopiat To: freebsd-net@freebsd.org Date: Wed, 11 Jun 2003 14:41:07 +0400 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_Ddw5+xIsltZZzpE" Message-Id: <200306111441.07234.dolgop@mccinet.ru> X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: "Rogier R. Mulhuijzen" cc: Archie Cobbs Subject: Link failure detection algorithm for one2many netgraph node. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: evg_dolgop@mail.ru List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 10:40:24 -0000 --Boundary-00=_Ddw5+xIsltZZzpE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, All! I have developed a simple link failure detection algorithm for one2many netgraph node. I called it "heartbeat algorithm" :) This is brief description: What is it Link failure determination for one2many netgraph node. How it works It is implemented as "heartbeat" packet counters on all one2many tranked interfaces. If the number of packest hook received is less for some specified value than max number of packest, received by another hooks of the node, then interface is marked as failed (subnet or link failure). If this difference is less than this value and interface is marked as failed, then interface is up and working. How to setup Algorithm number is 2, so to configure node one should issue "setconfig {xmitAlg=1 failAlg=2}" message. There are two params of algorithm: timeout - time between sending of hearbeat packets (integer number of 1/10 sec) period - number of timeouts for failure determination statistics Default values are timeout=10 and period=10. Two new node messages: "gethbconfig" and "sethbconfig {timeout=X period=Y}" for getting and setting heartbeat algorithm params. Tech data "Heartbeat" packet uses ethernet broadcast address (ff:ff:ff:ff:ff:ff) and packet type set to NG_ONE2MANY_HEARTBEAT_PROTO in the ethernet header. Expected timings are: failure determination: average - 1.5*timeout*period worst - 2*timeout*period up determination: average - 0.5*timeout*period worst - timeout*period Author: Evgeny Dolgopiat --Boundary-00=_Ddw5+xIsltZZzpE-- From owner-freebsd-net@FreeBSD.ORG Wed Jun 11 03:49:58 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5708037B401; Wed, 11 Jun 2003 03:49:58 -0700 (PDT) Received: from silver.he.iki.fi (silver.he.iki.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8CDF43FCB; Wed, 11 Jun 2003 03:49:56 -0700 (PDT) (envelope-from pete@he.iki.fi) Received: from PETEX31 (h81.vuokselantie10.fi [193.64.42.129]) by silver.he.iki.fi (8.12.9/8.11.4) with SMTP id h5BAmSDX027299; Wed, 11 Jun 2003 13:48:28 +0300 (EEST) (envelope-from pete@he.iki.fi) Message-ID: <01a701c33006$fb25ee90$812a40c1@PETEX31> From: "Petri Helenius" To: , References: <200306111441.07234.dolgop@mccinet.ru> Date: Wed, 11 Jun 2003 13:48:22 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: "Rogier R. Mulhuijzen" Subject: Re: Link failure detection algorithm for one2many netgraph node. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 10:49:58 -0000 Are you aware of the work done in various forums to address this? For one of the more recent presentations look at http://www.nanog.org/mtg-0306/ward.html Pete ----- Original Message ----- From: "Evgeny Dolgopiat" To: Cc: "Rogier R. Mulhuijzen" ; "Archie Cobbs" Sent: Wednesday, June 11, 2003 1:41 PM Subject: Link failure detection algorithm for one2many netgraph node. > Hello, All! > > I have developed a simple link failure detection algorithm for one2many > netgraph node. I called it "heartbeat algorithm" :) > > This is brief description: > > What is it > Link failure determination for one2many netgraph node. > > How it works > It is implemented as "heartbeat" packet counters on all one2many tranked > interfaces. If the number of > packest hook received is less for some specified value than max number of > packest, received by another hooks > of the node, then interface is marked as failed (subnet or link failure). If > this difference is less than this value and > interface is marked as failed, then interface is up and working. > > How to setup > Algorithm number is 2, so to configure node one should issue "setconfig > {xmitAlg=1 failAlg=2}" message. > There are two params of algorithm: > timeout - time between sending of hearbeat packets (integer number of 1/10 > sec) > period - number of timeouts for failure determination statistics > Default values are timeout=10 and period=10. > Two new node messages: "gethbconfig" and "sethbconfig {timeout=X period=Y}" > for getting and setting > heartbeat algorithm params. > > Tech data > "Heartbeat" packet uses ethernet broadcast address (ff:ff:ff:ff:ff:ff) and > packet type set to > NG_ONE2MANY_HEARTBEAT_PROTO in the ethernet header. Expected timings are: > failure determination: > average - 1.5*timeout*period > worst - 2*timeout*period > up determination: > average - 0.5*timeout*period > worst - timeout*period > > Author: Evgeny Dolgopiat > -------------------------------------------------------------------------------- > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@FreeBSD.ORG Wed Jun 11 04:31:08 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1D6637B401 for ; Wed, 11 Jun 2003 04:31:08 -0700 (PDT) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3EEE43FAF for ; Wed, 11 Jun 2003 04:31:07 -0700 (PDT) (envelope-from zel@free.fr) Received: from imp1-2.free.fr (imp1-2.free.fr [213.228.0.151]) by postfix4-2.free.fr (Postfix) with ESMTP id DB534C166 for ; Wed, 11 Jun 2003 13:31:06 +0200 (CEST) Received: by imp1-2.free.fr (Postfix, from userid 33) id 8DB0A87372; Wed, 11 Jun 2003 13:31:06 +0200 (CEST) To: freebsd-net@FreeBSD.ORG, UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR Message-ID: <1055331065.3ee712f9ec12e@imp.free.fr> Date: Wed, 11 Jun 2003 13:31:05 +0200 (CEST) From: zel@free.fr MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.6 X-Originating-IP: 81.80.243.157 Subject: PB CONFIG X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 11:31:08 -0000 Hye!!! I need help about configuration of following situation: ADSL-MODEM <== 10.0.0.0/8 ==> (ed1) FREEBSD (ep0) <== 192.168.0.0/16 == ... I would like that my FreeBSD acts as a transparent firewall router. I red some things about that, but i do not success to install it on my router. I had made a new kernel with IPDIVERT, IPFIREWALL... My ADSL connection is ok but my clients computers do not success to access to the Internet... Could some one gives me some detailled explanations about what to do??? Thanks Zel. From owner-freebsd-net@FreeBSD.ORG Wed Jun 11 04:32:22 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 612DB37B401 for ; Wed, 11 Jun 2003 04:32:22 -0700 (PDT) Received: from smtp.uc3m.es (smtp01.uc3m.es [163.117.136.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6171C43F93 for ; Wed, 11 Jun 2003 04:32:21 -0700 (PDT) (envelope-from jrh@it.uc3m.es) Received: from smtp01.uc3m.es (localhost [127.0.0.1]) by smtp.uc3m.es (Postfix) with ESMTP id 2FC60431A4 for ; Wed, 11 Jun 2003 13:32:20 +0200 (CEST) Received: from lmserv2.lab.it.uc3m.es (lmserv2.lab.it.uc3m.es [163.117.144.152]) by smtp01.uc3m.es (Postfix) with ESMTP id 2333C99E9C for ; Wed, 11 Jun 2003 13:32:20 +0200 (CEST) Received: from mira.it.uc3m.es (mira.it.uc3m.es [163.117.140.166]) by lmserv2.lab.it.uc3m.es (8.9.3/8.9.3) with ESMTP id NAA07802 for ; Wed, 11 Jun 2003 13:32:17 +0200 From: Juan Rodriguez Hervella Organization: UC3M To: freebsd-net@freebsd.org Date: Wed, 11 Jun 2003 13:31:40 +0200 User-Agent: KMail/1.5.1 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200306111332.05563.jrh@it.uc3m.es> Subject: Is there any tool for tracking/following the memory used by a process ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 11:32:22 -0000 I know "top", but I don't want to be in front of the computer all the time (because if the process finishes/dies the information vanished) Thanks and sorry if this isn't an specifiq question about networking :) -- JFRH From owner-freebsd-net@FreeBSD.ORG Wed Jun 11 04:55:15 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF6A237B401 for ; Wed, 11 Jun 2003 04:55:15 -0700 (PDT) Received: from tokyo.ccrle.nec.de (tokyo.ccrle.nec.de [195.37.70.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94E5F43FA3 for ; Wed, 11 Jun 2003 04:55:14 -0700 (PDT) (envelope-from Martin.Stiemerling@ccrle.nec.de) Received: from venus.office (venus.office [10.1.1.11]) by tokyo.ccrle.nec.de (8.12.9/8.12.8) with ESMTP id h5BBtCVI009111; Wed, 11 Jun 2003 13:55:13 +0200 (CEST) Received: from ccrle.nec.de (n-stiemerling.office [10.1.1.109]) by venus.office (Postfix on SuSE Linux eMail Server 3.0) with ESMTP id 476BD7BFB3; Wed, 11 Jun 2003 13:42:03 +0200 (CEST) Message-ID: <3EE718A1.7090504@ccrle.nec.de> Date: Wed, 11 Jun 2003 13:55:13 +0200 From: Martin Stiemerling User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: zel@free.fr References: <1055331065.3ee712f9ec12e@imp.free.fr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: PB CONFIG X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 11:55:16 -0000 Do you have enabled bridging in the kernel? Take a look into this part of the FreeBSD handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bridging.html Cheers Martin zel@free.fr wrote: >Hye!!! > >I need help about configuration of following situation: > > >ADSL-MODEM <== 10.0.0.0/8 ==> (ed1) FREEBSD (ep0) <== 192.168.0.0/16 == ... > >I would like that my FreeBSD acts as a transparent firewall router. >I red some things about that, but i do not success to install it on my router. > >I had made a new kernel with IPDIVERT, IPFIREWALL... My ADSL connection is ok >but my clients computers do not success to access to the Internet... > >Could some one gives me some detailled explanations about what to do??? > >Thanks > >Zel. >_______________________________________________ >freebsd-net@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-net >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > From owner-freebsd-net@FreeBSD.ORG Wed Jun 11 07:57:39 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1888337B401 for ; Wed, 11 Jun 2003 07:57:39 -0700 (PDT) Received: from out002.verizon.net (out002pub.verizon.net [206.46.170.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34ED743FA3 for ; Wed, 11 Jun 2003 07:57:38 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([141.149.47.46]) by out002.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030611145737.PYFF13328.out002.verizon.net@mac.com>; Wed, 11 Jun 2003 09:57:37 -0500 Message-ID: <3EE74359.6070501@mac.com> Date: Wed, 11 Jun 2003 10:57:29 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Juan Rodriguez Hervella References: <200306111332.05563.jrh@it.uc3m.es> In-Reply-To: <200306111332.05563.jrh@it.uc3m.es> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [141.149.47.46] at Wed, 11 Jun 2003 09:57:37 -0500 cc: freebsd-net@freebsd.org Subject: Re: Is there any tool for tracking/following the memory used by a process ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 14:57:39 -0000 Juan Rodriguez Hervella wrote: > I know "top", but I don't want to be in front of the computer all the time > (because if the process finishes/dies the information vanished) Take a look at system accounting-- see "man acct". -- -Chuck From owner-freebsd-net@FreeBSD.ORG Wed Jun 11 08:04:58 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A11737B401 for ; Wed, 11 Jun 2003 08:04:58 -0700 (PDT) Received: from smtp.uc3m.es (smtp03.uc3m.es [163.117.136.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CD4743FE3 for ; Wed, 11 Jun 2003 08:04:56 -0700 (PDT) (envelope-from jrh@it.uc3m.es) Received: from smtp03.uc3m.es (localhost [127.0.0.1]) by smtp.uc3m.es (Postfix) with ESMTP id 7154B43296; Wed, 11 Jun 2003 17:04:55 +0200 (CEST) Received: from itserv2.lab.it.uc3m.es (itserv2.lab.it.uc3m.es [163.117.144.121]) by smtp03.uc3m.es (Postfix) with ESMTP id 073202B67B; Wed, 11 Jun 2003 17:04:55 +0200 (CEST) Received: from mira.it.uc3m.es (mira.it.uc3m.es [163.117.140.166]) by itserv2.lab.it.uc3m.es (8.9.3/8.9.3) with ESMTP id RAA03793; Wed, 11 Jun 2003 17:04:54 +0200 From: Juan Rodriguez Hervella Organization: UC3M To: Chuck Swiger Date: Wed, 11 Jun 2003 17:04:52 +0200 User-Agent: KMail/1.5.1 References: <200306111332.05563.jrh@it.uc3m.es> <3EE74359.6070501@mac.com> In-Reply-To: <3EE74359.6070501@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306111704.53952.jrh@it.uc3m.es> cc: freebsd-net@freebsd.org Subject: Re: Is there any tool for tracking/following the memory used by a process ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 15:04:58 -0000 On Wednesday 11 June 2003 16:57, Chuck Swiger wrote: > Juan Rodriguez Hervella wrote: > > I know "top", but I don't want to be in front of the computer all the > > time (because if the process finishes/dies the information vanished) > > Take a look at system accounting-- see "man acct". But it's an application programmed with Java. I was thinking on a utility to track the memory usage without having to modify the source code. Thanks anyway :) -- JFRH From owner-freebsd-net@FreeBSD.ORG Wed Jun 11 21:19:36 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F044837B401 for ; Wed, 11 Jun 2003 21:19:35 -0700 (PDT) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EC9F43FB1 for ; Wed, 11 Jun 2003 21:19:34 -0700 (PDT) (envelope-from Olivier.Nicole@ait.ac.th) Received: from bazooka.cs.ait.ac.th (on@bazooka.cs.ait.ac.th [192.41.170.2]) by mail.cs.ait.ac.th (8.12.3/8.9.3) with ESMTP id h5C4IF7F048979 for ; Thu, 12 Jun 2003 11:19:31 +0700 (ICT) From: Olivier Nicole Received: (from on@localhost) by bazooka.cs.ait.ac.th (8.8.5/8.8.5) id LAA23920; Thu, 12 Jun 2003 11:18:14 +0700 (ICT) Date: Thu, 12 Jun 2003 11:18:14 +0700 (ICT) Message-Id: <200306120418.LAA23920@bazooka.cs.ait.ac.th> To: freebsd-net@freebsd.org X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Subject: arp: is using my IP address X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 04:19:36 -0000 Hi, I know the problem is not new, but... I am using 4.8-RELEASE, 2 interfaces 3com 905b (xl0 and xl1), and one RealTeck, no IP on the 3 com, one fixed IP on the rl0. I bridge between xl0 and xl1. Interface rl0 and xl1 are connected to the same switched ethernet network. Sometime, the interface Xl1 answers to arp requests and mess up the communication between that machine and others. And then I get the above mentionned message. I tried to configure the 3com interfaces with -arp but it does not help. Looking at teh source of sys/netinet/if_ether.c, I see: /* * No match, use the first inet address on the receive interface * as a dummy address for the rest of the function. */ TAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) if (ifa->ifa_addr && ifa->ifa_addr->sa_family == AF_INET) { ia = ifatoia(ifa); goto match; } /* * If bridging, fall back to using any inet address. * This is probably incorrect, the right way being try to match * addresses for interfaces in the same cluster, so if we * get here we should always drop the packet. */ The first part was corrected apparently back in 2001, but it seems that when ding bridge, we are still left with some dirty situation. Is there any way to correct that behaviour? (except than forcing static ARP in every single host that would have to talk to that guy) Best regards, Olivier From owner-freebsd-net@FreeBSD.ORG Thu Jun 12 01:06:51 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4063A37B401 for ; Thu, 12 Jun 2003 01:06:51 -0700 (PDT) Received: from mail.sandilands.vu (CPE-144-132-178-155.nsw.bigpond.net.au [144.132.178.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87E3343FBD for ; Thu, 12 Jun 2003 01:06:46 -0700 (PDT) (envelope-from peter@sandilands.vu) Received: from wxp ([192.168.100.28]) by mail.sandilands.vu (8.11.6/8.11.6) with ESMTP id h5C85cb27220 for ; Thu, 12 Jun 2003 18:05:39 +1000 (EST) (envelope-from peter@sandilands.vu) From: "Peter Sandilands" Organization: Better Development Skills Pty Ltd To: freebsd-net@freebsd.org Date: Thu, 12 Jun 2003 18:08:11 +1000 MIME-Version: 1.0 Message-ID: <3EE8C18B.3263.5BFB1F8@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.11) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: FBSD 4.8 + IPSEC + Racoon to D-Link Dl804V Any experiences? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 08:06:51 -0000 Hi, Trying to finish off setting up a VPN (ESP Tunnel mode) between a FreeBSD 4.8 box and a D-Link router Dl-804V. After much fiddling and configing I have a setup that works as long as I establish the tunnel from the D-link end. All then works fine from a VPN standpoint. I cannot seem to provoke the Tunnel into action from the lan behind the FreeBSD box. I have tried with the distributed version of racoon.conf and havce most success with apurpose crafted version. Running racoon in foreground with -v and -d provides me with LOTS of info :-) Not all of which is easy to follow. Adding -l and logging to a file provides even more info. >From what I can see- The Fbsd box starts a Phase 1 IKE-SA in aggressive mode, builds the packet, sends it to the other end. It the re-sends the packet and keeps doing that. I don't see any message labelled as "error" by racoon. All I seem able to set at the D-link is pre-shared or manula key (using pre-shared), use DES or 3DES, use perfect forward secrecy or not and what they call Key life (defaults to 3600) and Ike Life Time (defaults to 28800 sec) Anyone done this before? Any pointers on where I can look further? I have trawled the web pretty extensively regards Pete From owner-freebsd-net@FreeBSD.ORG Thu Jun 12 05:16:22 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78DA937B401 for ; Thu, 12 Jun 2003 05:16:22 -0700 (PDT) Received: from sandesha.sasken.com (ftp-xb.sasken.com [164.164.56.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1FC743FA3 for ; Thu, 12 Jun 2003 05:16:20 -0700 (PDT) (envelope-from gbnaidu@sasken.com) Received: from sunsv2.sasken.com (localhost [127.0.0.1]) by sandesha.sasken.com (8.12.8/8.12.8) with ESMTP id h5CCFoIO003988 for ; Thu, 12 Jun 2003 17:45:50 +0530 (IST) Received: from localhost (gbnaidu@localhost) by sunsv2.sasken.com (8.11.6/8.11.6) with ESMTP id h5CCGGi07914 for ; Thu, 12 Jun 2003 17:46:16 +0530 (IST) Date: Thu, 12 Jun 2003 17:46:11 +0530 (IST) From: "G.B.Naidu" To: Message-ID: MIME-Version: 1.0 Content-type: multipart/mixed; boundary="=_IS_MIME_Boundary" Subject: TCP/IP stack performance... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 12:16:22 -0000 --=_IS_MIME_Boundary Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, I am looking for information on performance of the FreeBSD TCP/IP stack in terms of: - Number of TCP sessions it supports - Number of New Connections/sec Is there any documentation available to get this information. TIA --gb --=_IS_MIME_Boundary Content-Type: text/plain;charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline ************************************************************************ SASKEN BUSINESS DISCLAIMER This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. *********************************************************************** --=_IS_MIME_Boundary-- From owner-freebsd-net@FreeBSD.ORG Thu Jun 12 10:17:08 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E29C37B401; Thu, 12 Jun 2003 10:17:08 -0700 (PDT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41ED643FD7; Thu, 12 Jun 2003 10:17:07 -0700 (PDT) (envelope-from sam@errno.com) Received: from melange (melange.errno.com [66.127.85.82]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.9) with ESMTP id h5CHH57N029183 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 12 Jun 2003 10:17:06 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <019e01c33106$73083b70$52557f42@errno.com> From: "Sam Leffler" To: "Sascha Valckenier Kips" , , References: Date: Thu, 12 Jun 2003 10:17:04 -0700 Organization: Errno Consulting MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 Subject: Re: Support for Linksys WLAN Cards X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 17:17:08 -0000 > is the Linksys 54MBit WLAN Adapters supportet ? > > Model WMP54G for PCI Variante and Model WPC54G for the PCMCIA. > > Both Card's i need under FreeBSD 4.x or 5.x I believe these use Broadcom parts and are not supported (or likely to be supported anytime soon). However support for the WMP55AG and WPC55AG is coming, but only under 5.x. Sam From owner-freebsd-net@FreeBSD.ORG Thu Jun 12 22:43:42 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A23937B401 for ; Thu, 12 Jun 2003 22:43:42 -0700 (PDT) Received: from smtp.omnis.com (smtp.omnis.com [216.239.128.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7D0E43F93 for ; Thu, 12 Jun 2003 22:43:41 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.homeunix.net (66-91-236-204.san.rr.com [66.91.236.204]) by smtp-relay.omnis.com (Postfix) with ESMTP id F2CD61B341; Thu, 12 Jun 2003 22:43:39 -0700 (PDT) From: Wes Peters Organization: Softweyr To: "G.B.Naidu" , Date: Thu, 12 Jun 2003 22:43:38 -0700 User-Agent: KMail/1.5.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306122243.38741.wes@softweyr.com> Subject: Re: TCP/IP stack performance... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 05:43:42 -0000 On Thursday 12 June 2003 05:16 am, G.B.Naidu wrote: > Hi, > > I am looking for information on performance of the FreeBSD TCP/IP stack > in terms of: > - Number of TCP sessions it supports > - Number of New Connections/sec > > Is there any documentation available to get this information. It's pretty hard to tell how you could document that without knowing what hardware you're interested in. I daresay the range of performances is quite wide, varying between 486-class systems running at 100 MHz or so to multiprocessor P4/Athlon/IA64/UltraSPARC class processors running on high end machines. -- Where am I, and what am I doing in this handbasket? Wes Peters wes@softweyr.com From owner-freebsd-net@FreeBSD.ORG Fri Jun 13 04:01:49 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8C5637B401 for ; Fri, 13 Jun 2003 04:01:49 -0700 (PDT) Received: from sandesha.sasken.com (ftp-xb.sasken.com [164.164.56.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAA2143F3F for ; Fri, 13 Jun 2003 04:01:47 -0700 (PDT) (envelope-from gbnaidu@sasken.com) Received: from sunsv2.sasken.com (localhost [127.0.0.1]) by sandesha.sasken.com (8.12.8/8.12.8) with ESMTP id h5DB13IO006895; Fri, 13 Jun 2003 16:31:07 +0530 (IST) Received: from localhost (gbnaidu@localhost) by sunsv2.sasken.com (8.11.6/8.11.6) with ESMTP id h5DB1Ua25042; Fri, 13 Jun 2003 16:31:30 +0530 (IST) Date: Fri, 13 Jun 2003 16:31:30 +0530 (IST) From: "G.B.Naidu" To: Wes Peters In-Reply-To: <200306122243.38741.wes@softweyr.com> Message-ID: MIME-Version: 1.0 Content-type: multipart/mixed; boundary="=_IS_MIME_Boundary" cc: freebsd-net@FreeBSD.org Subject: Re: TCP/IP stack performance... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 11:01:50 -0000 --=_IS_MIME_Boundary Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, Thanks for your reply. The target processor I am looking for is 2 GHz Xeon Processor. I would appreciate if you could provide me the TCP/IP stack performance for this. If the data for this is not available, please provide for Intel Pentium processor. TIA --gb > On Thursday 12 June 2003 05:16 am, G.B.Naidu wrote: > > Hi, > > > > I am looking for information on performance of the FreeBSD TCP/IP stack > > in terms of: > > - Number of TCP sessions it supports > > - Number of New Connections/sec > > > > Is there any documentation available to get this information. > > It's pretty hard to tell how you could document that without knowing what > hardware you're interested in. I daresay the range of performances is > quite wide, varying between 486-class systems running at 100 MHz or so to > multiprocessor P4/Athlon/IA64/UltraSPARC class processors running on high > end machines. > > -- > > Where am I, and what am I doing in this handbasket? > > Wes Peters wes@softweyr.com > --=_IS_MIME_Boundary Content-Type: text/plain;charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline ************************************************************************ SASKEN BUSINESS DISCLAIMER This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. *********************************************************************** --=_IS_MIME_Boundary-- From owner-freebsd-net@FreeBSD.ORG Fri Jun 13 05:15:06 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B48C137B401 for ; Fri, 13 Jun 2003 05:15:06 -0700 (PDT) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FA6743FBD for ; Fri, 13 Jun 2003 05:15:05 -0700 (PDT) (envelope-from zel@free.fr) Received: from imp2-1.free.fr (imp2-1.free.fr [213.228.0.22]) by postfix3-1.free.fr (Postfix) with ESMTP id AF4ADC0E3 for ; Fri, 13 Jun 2003 14:15:04 +0200 (CEST) Received: by imp2-1.free.fr (Postfix, from userid 33) id A1AC6580A2; Fri, 13 Jun 2003 14:14:46 +0200 (CEST) To: freebsd-net@freebsd.org Message-ID: <1055506486.3ee9c0361dcbd@imp.free.fr> Date: Fri, 13 Jun 2003 14:14:46 +0200 (CEST) From: zel@free.fr MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.6 X-Originating-IP: 81.80.243.157 Subject: pb nat X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 12:15:07 -0000 Could someone help me please... (I m'not very good at net on freebsd and i am in front of a problem i cannot resolve !!!) I installed on an old computer (a Pentium 1 at 100Mhz with 32Mo RAM) a FreeBSD 4.4.1 for firewall nat activity with an ADSL Internet connection. So: The situation is described below: Alcatel SpeedTouch < - > (ed1) FREEBSD Station (ep0) < - > Local area network Ethernet ed1 is a NE2000 compatible ISA network card. ep0 is a 3Com 509COMBO ISA network card. IPs are ed1 : 10.0.0.1 over 10.0.0.0 /24 ep0 : 192.168.1.254 over 192.168.1.0/24 in my rc.conf : my configuration of ppp is ok because I can connect to Internet and request dns servers from FREEBSD... But i never succeed to connect ADSL with client workstation. I compiled my kernel with IPDIVERT, IPFIREWALL, IPFIREWALL_FORWARD And I store in rc.conf the following lines as mentionned in some websites: ppp_nat="YES" natd_enabled="YES" natd_interface="ed1" natd_flags="" gateway_enable="YES" But the kernel answer is always the same: 192.168.1.X is on ep0 but get an answer from ed1 !!! Is it not the job of NAT to translate address ???? So !!! What can I do... If you need some informations to resolve my pb, please, send me your question... Thanks ZEL From owner-freebsd-net@FreeBSD.ORG Fri Jun 13 07:33:09 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC3D337B401 for ; Fri, 13 Jun 2003 07:33:09 -0700 (PDT) Received: from cybercat.qc.ca (frigo.cybercat.ca [207.96.251.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0945343FBD for ; Fri, 13 Jun 2003 07:33:09 -0700 (PDT) (envelope-from rossnick-lists@cybercat.ca) Received: from [24.200.13.90] (HELO defiant) by cybercat.qc.ca (CommuniGate Pro SMTP 4.0.3) with SMTP id 5858011 for freebsd-net@freebsd.org; Fri, 13 Jun 2003 10:33:13 -0400 Message-ID: <002f01c331b8$b749b3b0$6400a8c0@defiant> From: "Nicolas Ross" To: Date: Fri, 13 Jun 2003 10:33:11 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: nge and vlans X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 14:33:10 -0000 Hi there ! Sorry for the cross post from freebsd-question, but I need help on this... We are trying to setup a router with freebsd and an asante 3548 swicth. The switch is connected to the bsd box via an asante giganix (nge driver) card. I searched this list for answer on this question, searching for nge and vlan reveals to me the same problem I have : Packets that go trought vlans on the switchs are shown in tcpdump on nge0 with the incorrect vlan tags : http://www.freebsd.org/cgi/getmsg.cgi?fetch=2102763+2107441+/usr/local/www/db/text/2003/freebsd-questions/20030413.freebsd-questions http://www.freebsd.org/cgi/getmsg.cgi?fetch=1816764+1821123+/usr/local/www/db/text/2003/freebsd-questions/20030413.freebsd-questions Mike Hogsett and Cejka Rudolf seems to have found also this problem. So I wounder if there is a solution to this problem ? Thanks, Nicolas Ross From owner-freebsd-net@FreeBSD.ORG Fri Jun 13 12:49:58 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AABC37B401 for ; Fri, 13 Jun 2003 12:49:58 -0700 (PDT) Received: from 66-162-33-178.gen.twtelecom.net (66-162-33-181.gen.twtelecom.net [66.162.33.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id C857443F75 for ; Fri, 13 Jun 2003 12:49:57 -0700 (PDT) (envelope-from steve@expertcity.com) Received: from [10.4.10.142] (helo=expertcity.com) by 66-162-33-178.gen.twtelecom.net with esmtp (Exim 3.22 #4) id 19QuYf-00027U-00 for freebsd-net@freebsd.org; Fri, 13 Jun 2003 12:49:57 -0700 Message-ID: <3EEA2AE5.6070109@expertcity.com> Date: Fri, 13 Jun 2003 12:49:57 -0700 From: Steve Francis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030401 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: What are Interface errors in netstat? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 19:49:58 -0000 Can anyone explain what are interface errors in netstat -I? I assume they are CRC, undersize frames, etc. Anyway to get details on which errors are occurring? Also, I'm now not sure that is what the error counter means - a box doing about 20k pps normally runs with no reported interface errors - however, when the application crashed, it got a spike of input interface errors. The application crashing should not have affected MAC layer packets, so do interface errors also include some TCP layer errors? From owner-freebsd-net@FreeBSD.ORG Fri Jun 13 13:21:29 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABF8C37B401 for ; Fri, 13 Jun 2003 13:21:29 -0700 (PDT) Received: from hysteria.spc.org (hysteria.spc.org [195.206.69.234]) by mx1.FreeBSD.org (Postfix) with SMTP id C59FE43FE3 for ; Fri, 13 Jun 2003 13:21:28 -0700 (PDT) (envelope-from bms@hysteria.spc.org) Received: (qmail 26114 invoked by uid 5013); 7 Jun 2003 12:13:27 -0000 Date: Sat, 7 Jun 2003 13:13:27 +0100 From: Bruce M Simpson To: Conrad Sabatier Message-ID: <20030607121327.GD32325@spc.org> Mail-Followup-To: Bruce M Simpson , Conrad Sabatier , freebsd-net@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-net@FreeBSD.ORG Subject: Re: accf_{data,http} defaults? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 20:21:30 -0000 On Fri, Jun 06, 2003 at 09:49:25PM -0500, Conrad Sabatier wrote: > Is this impression correct, or will accf_data and accf_http actually have > any effect if simply loaded? Correcto. Apache has patches in its tree to use these features when loaded. BMS From owner-freebsd-net@FreeBSD.ORG Fri Jun 13 13:56:42 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CFE937B401 for ; Fri, 13 Jun 2003 13:56:42 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CA8B43FA3 for ; Fri, 13 Jun 2003 13:56:38 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h5DKuDVd039656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 13 Jun 2003 23:56:13 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h5DKu98R039646; Fri, 13 Jun 2003 23:56:09 +0300 (EEST) (envelope-from ru) Date: Fri, 13 Jun 2003 23:56:09 +0300 From: Ruslan Ermilov To: Steve Francis Message-ID: <20030613205609.GC29368@sunbay.com> References: <3EEA2AE5.6070109@expertcity.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KN5l+BnMqAQyZLvT" Content-Disposition: inline In-Reply-To: <3EEA2AE5.6070109@expertcity.com> User-Agent: Mutt/1.5.4i cc: freebsd-net@freebsd.org Subject: Re: What are Interface errors in netstat? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 20:56:42 -0000 --KN5l+BnMqAQyZLvT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 13, 2003 at 12:49:57PM -0700, Steve Francis wrote: > Can anyone explain what are interface errors in netstat -I? >=20 > I assume they are CRC, undersize frames, etc. > Anyway to get details on which errors are occurring? >=20 The interface input/output errors are incremented by the if_output routines. These are documented in the ifnet(9) manpage, as ifi_ierrors and ifi_oerrors, respectively. > Also, I'm now not sure that is what the error counter means - a box=20 > doing about 20k pps normally runs with no reported interface errors -=20 > however, when the application crashed, it got a spike of input interface= =20 > errors. >=20 The nature of these errors is very interface specific, except for some common types like memory allocation failure, input/output queue full, etc. > The application crashing should not have affected MAC layer packets, so= =20 > do interface errors also include some TCP layer errors? >=20 No. TCP layer errors are available thru "netstat -s -p tcp". Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --KN5l+BnMqAQyZLvT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+6jppUkv4P6juNwoRAiw1AJ9hk1w8tsOkyp3Io44NLAW8qOoFXgCeJtPR P9VPHuPi2xb8lUQEf16H1pI= =nozu -----END PGP SIGNATURE----- --KN5l+BnMqAQyZLvT-- From owner-freebsd-net@FreeBSD.ORG Fri Jun 13 14:12:54 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E38137B404 for ; Fri, 13 Jun 2003 14:12:54 -0700 (PDT) Received: from pyroxene.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08F3343F75 for ; Fri, 13 Jun 2003 14:12:54 -0700 (PDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by pyroxene.sentex.ca (8.12.9/8.12.8) with ESMTP id h5DLCq8D092393 for ; Fri, 13 Jun 2003 17:12:52 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <5.2.0.9.0.20030613171118.07821488@209.112.4.2> X-Sender: mdtpop@209.112.4.2 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Fri, 13 Jun 2003 17:13:31 -0400 To: freebsd-net@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: By Sentex Communications (lava/20020517) Subject: problems adding interfaces with zebra X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 21:12:54 -0000 Lets say I have the following network of 4 machines A,B,C,D A1--------B1 (speaking OSPF) On 10.0.0.0/28 And I have C1--------D1 On 11.0.0.0/28 I want to setup it up so that all 4 now have a common physical interface on the new hub. I will then setup the 4 interfaces to be on the 12.0.0.0/8 network A1---------B1 | | +++++Hub++++ | | C1---------D1 So I ifconfig A2 (i.e. the second interface on A) to 12.0.0.1/8, no problem. The route, 12.0.0.0/8 gets installed into the local routing table, and gets redistributed via OSPF to the machine B1. Now, on B I do ifconfig B2 12.0.0.2 netmask 255.0.0.0 I get the error ifconfig: ioctl (SIOCAIFADDR): File exists Because the route is already installed locally as pointing to machine A via interface B1. (.i.e. I have redistribute connected enabled) Short of killing ospfd and zebra how do I get around this ? I tried the same in zebra (ip address 12.0.0.2/8, but I get the error, "File Exists" which means that the route exists I guess. ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike From owner-freebsd-net@FreeBSD.ORG Fri Jun 13 23:10:10 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C893237B401 for ; Fri, 13 Jun 2003 23:10:10 -0700 (PDT) Received: from icc.cgu.chel.su (gw.csu.ru [195.54.14.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB18F43FB1 for ; Fri, 13 Jun 2003 23:10:07 -0700 (PDT) (envelope-from ilia@cgu.chel.su) Received: from mail.cgu.chel.su (mail.cgu.chel.su [195.54.14.68]) by icc.cgu.chel.su (8.12.9/8.12.6) with ESMTP id h5E6A1TN020145 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 14 Jun 2003 12:10:03 +0600 (YEKST) (envelope-from ilia@cgu.chel.su) Received: from localhost (localhost [127.0.0.1]) by mail.cgu.chel.su (8.12.9/8.12.9) with ESMTP id h5E6AeeL016559 for ; Sat, 14 Jun 2003 12:10:40 +0600 (YEKST) (envelope-from ilia@cgu.chel.su) Date: Sat, 14 Jun 2003 12:10:36 +0600 (YEKST) From: "Ilia E. Chipitsine" To: Message-ID: <20030614120833.T16514-100000@mail.cgu.chel.su> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: mpd + RADIUS X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 06:10:11 -0000 Dear Sirs, I've configured RADIUS (gnu-radius), and it works as I can see by "radauth" command. However, it doesn't work with mpd. anybody already running mpd+gnu-radius ? Thanks! Ilia Chipitsine From owner-freebsd-net@FreeBSD.ORG Sat Jun 14 03:46:56 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BAAD37B401 for ; Sat, 14 Jun 2003 03:46:56 -0700 (PDT) Received: from mwinf0303.wanadoo.fr (smtp6.wanadoo.fr [193.252.22.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A6F043F93 for ; Sat, 14 Jun 2003 03:46:55 -0700 (PDT) (envelope-from vjardin@wanadoo.fr) Received: from venus.vincentjardin.net (AVelizy-102-1-3-63.w217-128.abo.wanadoo.fr [217.128.244.63]) by mwinf0303.wanadoo.fr (SMTP Server) with ESMTP id A7D7E5000840; Sat, 14 Jun 2003 12:46:53 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Vincent Jardin To: Mike Tancsa , freebsd-net@freebsd.org Date: Sat, 14 Jun 2003 12:47:40 +0200 User-Agent: KMail/1.4.3 References: <5.2.0.9.0.20030613171118.07821488@209.112.4.2> In-Reply-To: <5.2.0.9.0.20030613171118.07821488@209.112.4.2> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200306141247.40278.vjardin@wanadoo.fr> Subject: Re: problems adding interfaces with zebra X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 10:46:56 -0000 > ifconfig: ioctl (SIOCAIFADDR): File exists > > Because the route is already installed locally as pointing to machine A= via > interface B1. (.i.e. I have redistribute connected enabled) > > Short of killing ospfd and zebra how do I get around this ? It is a FreeBSD's issue. It can be repeated without Zebra: route -n add 12.0.0.0 192.168.0.1 ifconfig fxp0 12.0.0.1 alias ifconfig: ioctl (SIOCAIFADDR): File exists Regards, Vincent PS: su-2.05b# route -n get 12.0.0.0 route to: 12.0.0.0 destination: 12.0.0.0 mask: 255.0.0.0 gateway: 192.168.0.1 interface: fxp0 flags: su-2.05b# route -n delete 12.0.0.0 delete net 12.0.0.0 su-2.05b# ifconfig fxp0 12.0.0.1 alias=20 su-2.05b# route -n get 12.0.0.0 route to: 12.0.0.0 destination: 12.0.0.0 mask: 255.0.0.0 interface: fxp0 flags: From owner-freebsd-net@FreeBSD.ORG Sat Jun 14 06:38:43 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4B8E37B401 for ; Sat, 14 Jun 2003 06:38:43 -0700 (PDT) Received: from cage.simianscience.com (cage.simianscience.com [64.7.134.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65C0C43F75 for ; Sat, 14 Jun 2003 06:38:42 -0700 (PDT) (envelope-from mike@sentex.net) Received: from house.sentex.net (fcage [192.168.0.2])h5EDcdlD095712; Sat, 14 Jun 2003 09:38:39 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <5.2.0.9.0.20030614092420.07360cc0@192.168.0.12> X-Sender: mdtancsa@192.168.0.12 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Sat, 14 Jun 2003 09:36:39 -0400 To: Vincent Jardin From: Mike Tancsa In-Reply-To: <200306141247.40278.vjardin@wanadoo.fr> References: <5.2.0.9.0.20030613171118.07821488@209.112.4.2> <5.2.0.9.0.20030613171118.07821488@209.112.4.2> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: amavis-20020220 cc: freebsd-net@freebsd.org Subject: Re: problems adding interfaces with zebra X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 13:38:44 -0000 At 12:47 PM 6/14/2003 +0200, Vincent Jardin wrote: > > ifconfig: ioctl (SIOCAIFADDR): File exists > > > > Because the route is already installed locally as pointing to machine A via > > interface B1. (.i.e. I have redistribute connected enabled) > > > > Short of killing ospfd and zebra how do I get around this ? > >su-2.05b# route -n get 12.0.0.0 > route to: 12.0.0.0 >destination: 12.0.0.0 > mask: 255.0.0.0 > gateway: 192.168.0.1 > interface: fxp0 > flags: >su-2.05b# route -n delete 12.0.0.0 >delete net 12.0.0.0 > >su-2.05b# ifconfig fxp0 12.0.0.1 alias >su-2.05b# route -n get 12.0.0.0 > route to: 12.0.0.0 >destination: 12.0.0.0 > mask: 255.0.0.0 > interface: fxp0 > flags: Thanks, the problem is, if I do a "route delete" by the time I go to set the interface, the route is re-added by zebra :-( So I would have to kill (or somehow suspend?) zebra to add the route properly? Any other ways ? # route get 12.0.0.112/28 route to: 12.0.0.112 destination: 12.0.0.112 mask: 255.255.255.240 gateway: 64.7.143.42 interface: vlan1 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 0 # ping 12.0.0.112 PING 12.0.0.112 (12.0.0.112): 56 data bytes ^C --- 12.0.0.112 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss iolite3# route get 192.168.0.40/29 route to: 192.168.0.40 destination: 192.168.0.40 mask: 255.255.255.248 interface: vlan1 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 -646415 # In the case of the 12.0.0.112/28 network I guess i need to get the kernel and zebra to know that its not flags: but flags: What about some ifconfig hackery ? Is this not the stop where it dies ? if (newaddr && (setaddr || setmask)) { strncpy(afp->af_addreq, name, sizeof ifr.ifr_name); if (ioctl(s, afp->af_aifaddr, afp->af_addreq) < 0) Perror("ioctl (SIOCAIFADDR)"); } What if I added a check for a flag/param (e.g. -force) if (newaddr && (setaddr || setmask) && !FORCE ) { strncpy(afp->af_addreq, name, sizeof ifr.ifr_name); if (ioctl(s, afp->af_aifaddr, afp->af_addreq) < 0) Perror("ioctl (SIOCAIFADDR)"); } ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike From owner-freebsd-net@FreeBSD.ORG Sat Jun 14 21:53:03 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0023F37B401 for ; Sat, 14 Jun 2003 21:53:02 -0700 (PDT) Received: from cecov.masternet.it (cecov.masternet.it [194.184.65.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B2A243FAF for ; Sat, 14 Jun 2003 21:53:01 -0700 (PDT) (envelope-from gmarco@scotty.masternet.it) Received: from usul.scotty.masternet.it (freebsd.giovannelli.com [194.184.65.139]) by cecov.masternet.it (8.12.9/8.12.9) with ESMTP id h5F4tKNX046493; Sun, 15 Jun 2003 06:55:23 +0200 (CEST) (envelope-from gmarco@scotty.masternet.it) Message-Id: <5.2.1.1.2.20030615064011.02e39eb8@194.184.65.4> X-Sender: gmarco@194.184.65.7 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Sun, 15 Jun 2003 06:55:28 +0200 To: net@freebsd.org From: Gianmarco Giovannelli Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: esperti@gufi.org Subject: ADSL PPoA or RFC1483, any solutions ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2003 04:53:03 -0000 Hi, I need in a near future to convert a bunch of adsl from PPPoE to PPPoA (more than 100 :-). Now they was working on FreeBSD (usually 4.8-STABLE, user ppp in PPPoE, zyxel 645M). Everything works fine until the management choose a new feeder for them which doesn't use PPPoE at all, but only RFC1483 and PPPoA. Is really possible that there is no way to do PPPoA with FreeBSD ? I am not expert so I ask: 1) Any viable solution with FreeBSD for doing that kinds (PPPoA or RFC 1483) of encapsulation. Or I have simply to drop the idea to have a PPP (or any other progs) that permits at FreeBSD to manage the connection using instead a simple router ? Having FreeBSD that manage the connection usually permit to save a lot of NAT/PAT in the router iteself and make also firewall rules more simpler :-) 2) Why FreeBSD doesn't support PPPoA in the same way it support PPPoE ? Which are the difficulties of doing this ? The "experts" that came to sell this migration said that PPPoA is a far more efficient and better than PPPoE, is it true ? Thanks all for the kind attention. Best Regards, Gianmarco Giovannelli , "Unix expert since yesterday" http://www.gufi.org/~gmarco From owner-freebsd-net@FreeBSD.ORG Sat Jun 14 23:36:54 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89A6637B401 for ; Sat, 14 Jun 2003 23:36:54 -0700 (PDT) Received: from metalhead.pwrsrc.net (client108.fre.communitycolo.net [64.62.161.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 069DC43FBD for ; Sat, 14 Jun 2003 23:36:54 -0700 (PDT) (envelope-from mrp@pwrsrc.net) Received: from adsl-64-175-66-198.dsl.pltn13.pacbell.net ([64.175.66.198] helo=pwrsrc.net) by metalhead.pwrsrc.net with asmtp (Cipher TLSv1:RC4-MD5:128) (Exim 3.35 #1 (Debian)) id 19RR85-0007WJ-00 for ; Sat, 14 Jun 2003 23:36:41 -0700 Message-ID: <3EEC14D2.1020705@pwrsrc.net> Date: Sat, 14 Jun 2003 23:40:18 -0700 From: I-Gene Leong User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean Subject: ipfw + ppp -nat: packets not being filtered correctly? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2003 06:36:54 -0000 I'm not sure if this should go to -net or -security, so my apologies if this goes to the wrong place. Since I'm not subscribed, please cc any responses to me. I'm using ipfw and ppp -nat on a FreeBSD 4.8-STABLE system to provide Internet connectivity to an internal network. My firewall rules are set up this way: 00100 divert 8668 ip from any to any 00200 check-state 00300 deny ip from 10.0.0.0/8 to any in recv tun0 00400 deny ip from 172.16.0.0/12 to any in recv tun0 00500 deny ip from 192.168.0.0/16 to any in recv tun0 00600 deny ip from 0.0.0.0/8 to any in recv tun0 00700 deny ip from 169.254.0.0/16 to any in recv tun0 00800 deny ip from 192.0.0.0/16 to any in recv tun0 00900 deny ip from 224.0.0.0/4 to any in recv tun0 01000 deny ip from 240.0.0.0/4 to any in recv tun0 01100 skipto 4000 ip from any to any recv tun0 01200 skipto 4000 ip from any to any out xmit tun0 01300 allow tcp from any to any setup keep-state 01400 deny tcp from any to any 01500 allow ip from any to any keep-state 04000 check-state log 04100 allow tcp from me to any out setup keep-state 04200 deny tcp from me to any out 04300 allow ip from me to any out keep-state 04400 allow tcp from 10.0.0.0/24 to any out via tun0 setup keep-state 04500 deny tcp from 10.0.0.0/24 to any out via tun0 04600 allow ip from 10.0.0.0/24 to any out via tun0 keep-state 04700 allow tcp from any to me dst-port 22,80 in recv tun0 setup keep-state 04800 reset tcp from any to me dst-port 113 in 04900 allow icmp from any to any icmptypes 0,3,8,11,12,13,14 05000 deny ip from any to any 65535 deny ip from any to any Now, it seems to me rules 1100 and 1200 should pass all packets that have anything to do with tun0 up to rule 4000 (which is redundant, but just a remnant from earlier experimentation). I want rules 1300 to 1500 to apply to all traffic that is not destined for tun0. This is the case for all traffic generated on the FreeBSD system itself; it all gets passed onto rules 4000-4300 instead. However, the dynamic rules list shows: ## Dynamic rules (123): 01300 41 19410 (298s) STATE tcp 10.1.0.2 3360 <-> 216.136.204.117 80 01300 331 35856 (291s) STATE tcp 10.1.0.2 3261 <-> 205.188.11.212 5190 01300 239 146496 (279s) STATE tcp 10.1.0.5 4266 <-> 64.62.161.18 993 01300 239 16580 (216s) STATE tcp 10.1.0.2 3297 <-> 207.46.107.40 1863 01300 195 18068 (282s) STATE tcp 10.1.0.2 3259 <-> 205.188.10.96 5190 01300 350 58220 (300s) STATE tcp 10.1.0.2 3250 <-> 10.1.0.1 22 01300 79 5352 (297s) STATE tcp 10.1.0.2 3262 <-> 205.188.1.79 5190 01300 73 5530 (272s) STATE tcp 10.1.0.2 3254 <-> 216.136.226.208 5050 01300 81 8654 (299s) STATE tcp 10.1.0.2 3263 <-> 64.12.26.27 5190 01300 231 81254 (297s) STATE tcp 10.1.0.2 3273 <-> 216.239.33.99 80 01300 205 63476 (297s) STATE tcp 10.1.0.2 3274 <-> 216.239.33.99 80 All of these rules come from packets originating inside the internal network and were generated by rule 1300, despite the destinations clearly being elsewhere on the Internet. (To me, all these should have been generated by rule 4400.) Additionally, if I enable logging on rule 1500 and then ping an outside host from an inside host, I see the following: Jun 14 22:59:25 icecube /kernel: ipfw: 1500 Accept ICMP:8.0 10.1.0.2 64.62.161.18 in via rl0 Jun 14 22:59:25 icecube /kernel: ipfw: 1500 Accept ICMP:8.0 10.1.0.2 64.62.161.18 out via tun0 Jun 14 22:59:25 icecube /kernel: ipfw: 1500 Accept ICMP:0.0 64.62.161.18 10.1.0.2 in via tun0 Jun 14 22:59:25 icecube /kernel: ipfw: 1500 Accept ICMP:0.0 64.62.161.18 10.1.0.2 out via rl0 I'm wondering where this apparent "doubling" of packets comes from, and more importantly, how to get these packets away from rule 1500 and handled by rule 4600 instead. Thoughts or ideas? Thanks in advance. - I-Gene