From owner-freebsd-net@FreeBSD.ORG Tue Nov 18 07:32: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 98EF616A4FE for ; Tue, 18 Nov 2003 07:32:39 -0800 (PST) Received: from mizar.origin-it.net (mizar.origin-it.net [194.8.96.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 125E7442A3 for ; Tue, 18 Nov 2003 07:28:01 -0800 (PST) (envelope-from helge.oldach@atosorigin.com) Received: from matar.hbg.de.int.atosorigin.com (dehsfw3e.origin-it.net [194.8.96.68])hAIFRwUQ034866 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Nov 2003 16:27:59 +0100 (CET) (envelope-from helge.oldach@atosorigin.com) Received: from galaxy.hbg.de.ao-srv.com (galaxy.hbg.de.ao-srv.com [161.89.20.4])ESMTP id hAIFRw35082753; Tue, 18 Nov 2003 16:27:58 +0100 (CET) (envelope-from helge.oldach@atosorigin.com) Received: (from hmo@localhost) by galaxy.hbg.de.ao-srv.com (8.9.3p2/8.9.3/hmo30mar03) id QAA03150; Tue, 18 Nov 2003 16:27:54 +0100 (MET) Message-Id: <200311181527.QAA03150@galaxy.hbg.de.ao-srv.com> In-Reply-To: <000801c3adba$17a09cb0$115dcfc2@nico> from Jamie Heckford at "Nov 18, 2003 10:55:26 am" To: jamie@tridentmicrosystems.co.uk From: Helge Oldach X-Address: Atos Origin GmbH, Friesenstraße 13, D-20097 Hamburg, Germany X-Phone: +49 40 7886 7464, Fax: +49 40 7886 9464, Mobile: +49 160 4782517 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: Problem with Racoon/IPSec/Setkey - Routing to/from multiple n etwo rks 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: , Date: Tue, 18 Nov 2003 15:32:39 -0000 X-Original-Date: Tue, 18 Nov 2003 16:27:54 +0100 (MET) X-List-Received-Date: Tue, 18 Nov 2003 15:32:39 -0000 Jamie Heckford: >Helge Oldach wrote: >> Jamie Heckford: >>> /usr/sbin/setkey -c << EOF >>> flush; >>> spdflush; >>> spdadd ${LOCAL_NETWORK} ${STJUST_NETWORK} any -P out ipsec >>> esp/tunnel/${LOCAL_OUTSIDE}-${STJUST_OUTSIDE}/require; >>> spdadd ${STJUST_NETWORK} ${LOCAL_NETWORK} any -P in ipsec >>> esp/tunnel/${STJUST_OUTSIDE}-${LOCAL_OUTSIDE}/require; >>> spdadd ${ALLNET_1} ${STJUST_NETWORK} any -P out ipsec >>> esp/tunnel/${LOCAL_OUTSIDE}-${STJUST_OUTSIDE}/require; >>> spdadd ${STJUST_NETWORK} ${ALLNET_1} any -P in ipsec >>> esp/tunnel/${STJUST_OUTSIDE}-${LOCAL_OUTSIDE}/require; >>> spdadd ${LOCAL_NETWORK} ${BENELUX_NETWORK} any -P out ipsec >>> esp/tunnel/${LOCAL_OUTSIDE}-${BENELUX_OUTSIDE}/require; >>> spdadd ${BENELUX_NETWORK} ${LOCAL_NETWORK} any -P in ipsec >>> esp/tunnel/${BENELUX_OUTSIDE}-${LOCAL_OUTSIDE}/require; >>> spdadd ${ALLNET_1} ${BENELUX_NETWORK} any -P out ipsec >>> esp/tunnel/${LOCAL_OUTSIDE}-${BENELUX_OUTSIDE}/require; >>> spdadd ${BENELUX_NETWORK} ${ALLNET_1} any -P in ipsec >>> esp/tunnel/${BENELUX_OUTSIDE}-${LOCAL_OUTSIDE}/require; >>> EOF >> >> Try using "unique" instead of "require". >> >> Helge > >Thanks a lot Helge, this worked fine :) > >What does unique do instead of require..? Frankly, I never understood this in detail. "unique" appears to tie together the SA and the policy and appears to ensure that the correct SA is being used for a policy. But then I don't see what "require" would be useful for at all, as the "unique" behaviour is what one usually wants to achieve when using IKE (racoon). Actually this question pops up every now and then, with always the same answer. :-) For example, if you're talking against a Cisco VPN gateway, you *must* use unique, otherwise it won't work at all. Maybe somebody else can shed some light into the matter? Helge From owner-freebsd-net@FreeBSD.ORG Fri Dec 26 14:35:01 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 7B54016A4CE for ; Fri, 26 Dec 2003 14:35:01 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 3E0C043D39 for ; Fri, 26 Dec 2003 14:35:00 -0800 (PST) (envelope-from silby@silby.com) Received: (qmail 49804 invoked from network); 26 Dec 2003 22:34:59 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 26 Dec 2003 22:34:59 -0000 X-pair-Authenticated: 209.68.2.70 From: Mike Silbersack To: freebsd-net@freebsd.org Message-ID: <20031226162618.L4261@odysseus.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Sam Leffler Subject: wi0 wireless compatibility issue? 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: , Date: Fri, 26 Dec 2003 22:35:01 -0000 X-Original-Date: Fri, 26 Dec 2003 16:34:57 -0600 (CST) X-List-Received-Date: Fri, 26 Dec 2003 22:35:01 -0000 Has anyone had experience connecting FreeBSD client to a Netgear MR814v2 wireless router? I picked up one for my sister and decided to give it a shot here first; I'm able to connect to it fine when under Windows, but FreeBSD refuses to associate with it. I suspect that this may be some sort of compatibilty issue, as I've used this wi0 card to connect to my FreeBSD AP as well as a few other access points without issue. (This machine is running -current, but I guess I could reconfigure my main AP for testing with -stable if necessary.) If someone can tell me how to dump 802.11 packets for the purpose of debugging this issue, I'd be happy to do so. (Note that I have WEP and SSID hiding both enabled on the MR814v2; have other people found SSID hiding to cause problems with FreeBSD clients?) Thanks, Mike "Silby" Silbersack From owner-freebsd-net@FreeBSD.ORG Wed Jan 7 15:35:04 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D2ED16A4CE for ; Wed, 7 Jan 2004 15:35:04 -0800 (PST) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 865C543D49 for ; Wed, 7 Jan 2004 15:34:58 -0800 (PST) (envelope-from andre@freebsd.org) Received: (qmail 16453 invoked from network); 7 Jan 2004 23:34:57 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.54]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 7 Jan 2004 23:34:57 -0000 Message-ID: <3FFC97A1.4F397CC3@freebsd.org> From: Andre Oppermann X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: rw@codeburst.co.uk, freebsd-net@freebsd.org References: <200401072023.UAA18922@starburst.demon.co.uk> <3FFC8CBE.13B527A3@freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: kern/60889 - zero IP id change issues in 5.2RC2 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: , Date: Wed, 07 Jan 2004 23:35:04 -0000 X-Original-Date: Thu, 08 Jan 2004 00:34:57 +0100 X-List-Received-Date: Wed, 07 Jan 2004 23:35:04 -0000 Andre Oppermann wrote: > > Richard, > > I've attached a patch that fixes the problem with FIN/ACK and one more > case which got it wrong. I also fixed the host byte order problem in > ip_output.c for the normal ip_id incrementor. > > Some comments and questions: > > 1. Do you think it is neccessary to do a htons() on the randomized > ip_id too? I'd say yes if there is a case where it has to > monotonically increase afterwards. Does it? > > 2. I have a Win2k machine but have check out how I can get tcp header > compression to work with my Cisco AS5300 (if it doesn't do that by > default). Will I see the problem when I do a download from a FreeBSD > 5.2RC2 machine or do I have to use the Windoze as router sending > packets upwards?` > > 3. There are indeed devices clearing the DF bit. For example Cisco > is recommending this in it's trouble shooting section for broadband > access via DSL/L2TP where the MTU is lower than 1500 because of the > tunnelling overhead. Make a route-map to unset the DF bit and apply > it to the incoming interface. 4. After reading the pf.conf man page from OpenBSD (where it talks about scrubbing IP packets) I don't think it's a good idea to set the ip_id to zero in the DF case. It seems to cause various kinds of problems when for some reason DF is removed along the path (which it shouldn't but whatever). I think it is clearly better to put a ip_id into every packet no matter what. Although the ip_randomid() function doesn't look really cheap to run... but then security comes at a cost. 5. Random ip_id is already a kernel option but it is *not* enabled by default in 5.2RC2 GENERIC or -current. On the other hand the code *does* zero the ip_id when DF is set in any case which is troublesome as we just found out. Updated fix attached. Same tab-brokenness due to c&p. -- Andre Index: ip_output.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/ip_output.c,v retrieving revision 1.203 diff -u -p -r1.203 ip_output.c --- ip_output.c 20 Nov 2003 20:07:38 -0000 1.203 +++ ip_output.c 7 Jan 2004 23:31:56 -0000 @@ -229,10 +229,10 @@ ip_output(struct mbuf *m0, struct mbuf * /* * Fill in IP header. If we are not allowing fragmentation, - * then the ip_id field is meaningless, so send it as zero - * to reduce information leakage. Otherwise, if we are not - * randomizing ip_id, then don't bother to convert it to network - * byte order -- it's just a nonce. Note that a 16-bit counter + * then the ip_id field is meaningless, but we don't set it + * to zero. Doing so causes various problems when devices along + * the path (routers, load balancers, firewalls, etc.) illegally + * disable DF on our packet. Note that a 16-bit counter * will wrap around in less than 10 seconds at 100 Mbit/s on a * medium with MTU 1500. See Steven M. Bellovin, "A Technique * for Counting NATted Hosts", Proc. IMW'02, available at @@ -241,17 +241,11 @@ ip_output(struct mbuf *m0, struct mbuf * if ((flags & (IP_FORWARDING|IP_RAWOUTPUT)) == 0) { ip->ip_v = IPVERSION; ip->ip_hl = hlen >> 2; - if ((ip->ip_off & IP_DF) == 0) { - ip->ip_off = 0; #ifdef RANDOM_IP_ID - ip->ip_id = ip_randomid(); + ip->ip_id = ip_randomid(); #else - ip->ip_id = ip_id++; + ip->ip_id = htons(ip_id++); #endif - } else { - ip->ip_off = IP_DF; - ip->ip_id = 0; - } ipstat.ips_localout++; } else { hlen = ip->ip_hl << 2; Index: tcp_subr.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/tcp_subr.c,v retrieving revision 1.172 diff -u -p -r1.172 tcp_subr.c --- tcp_subr.c 6 Jan 2004 23:29:46 -0000 1.172 +++ tcp_subr.c 7 Jan 2004 23:31:57 -0000 @@ -459,6 +459,8 @@ tcp_respond(tp, ipgen, th, m, ack, seq, tlen += sizeof (struct tcpiphdr); ip->ip_len = tlen; ip->ip_ttl = ip_defttl; + if (path_mtu_discovery) + ip->ip_off |= IP_DF; } m->m_len = tlen; m->m_pkthdr.len = tlen; @@ -1733,6 +1735,8 @@ tcp_twrespond(struct tcptw *tw, struct s m->m_pkthdr.csum_flags = CSUM_TCP; m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum); ip->ip_len = m->m_pkthdr.len; + if (path_mtu_discovery) + ip->ip_off |= IP_DF; error = ip_output(m, inp->inp_options, NULL, (tw->tw_so_options & SO_DONTROUTE), NULL, inp); } > If these questions are answered I can prepare the final patch and > commit it pending review and re@ approval. > > -- > Andre > > (Note: tabs converted to whitespace because of c&p) > > Index: ip_output.c > =================================================================== > RCS file: /home/ncvs/src/sys/netinet/ip_output.c,v > retrieving revision 1.203 > diff -u -p -r1.203 ip_output.c > --- ip_output.c 20 Nov 2003 20:07:38 -0000 1.203 > +++ ip_output.c 7 Jan 2004 22:43:54 -0000 > @@ -246,7 +246,7 @@ ip_output(struct mbuf *m0, struct mbuf * > #ifdef RANDOM_IP_ID > ip->ip_id = ip_randomid(); > #else > - ip->ip_id = ip_id++; > + ip->ip_id = htons(ip_id++); > #endif > } else { > ip->ip_off = IP_DF; > Index: tcp_subr.c > =================================================================== > RCS file: /home/ncvs/src/sys/netinet/tcp_subr.c,v > retrieving revision 1.172 > diff -u -p -r1.172 tcp_subr.c > --- tcp_subr.c 6 Jan 2004 23:29:46 -0000 1.172 > +++ tcp_subr.c 7 Jan 2004 22:43:55 -0000 > @@ -459,6 +459,8 @@ tcp_respond(tp, ipgen, th, m, ack, seq, > tlen += sizeof (struct tcpiphdr); > ip->ip_len = tlen; > ip->ip_ttl = ip_defttl; > + if (path_mtu_discovery) > + ip->ip_off |= IP_DF; > } > m->m_len = tlen; > m->m_pkthdr.len = tlen; > @@ -1733,6 +1735,8 @@ tcp_twrespond(struct tcptw *tw, struct s > m->m_pkthdr.csum_flags = CSUM_TCP; > m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum); > ip->ip_len = m->m_pkthdr.len; > + if (path_mtu_discovery) > + ip->ip_off |= IP_DF; > error = ip_output(m, inp->inp_options, NULL, > (tw->tw_so_options & SO_DONTROUTE), NULL, inp); > } > > Richard Wendland wrote: > > > > I've been asked (for freebsd-bugs) to open a discussion about PR > > kern/60889 on freebsd-net, to decide if a recent change to IP should be > > reversed before 5.2-RELEASE (scheduled this month) to give more time > > for some serious issues and risks my PR has raised to be considered > > and tested. My proposal is to revert to 5.1 behaviour for now. > > > > The recent change is to emit a zero fragmentation id when DF is set, with > > the objective of improving privacy from external id sequence observation, > > an issue raised by Steve Bellovin's paper in IMW'02. > > > > I've identified 4 problems with this change: > > > > 1) Even with path_mtu_discovery set, for some reason TCP emits FIN-ACK > > without DF. This causes two problems for this change: > > > > a) Currently the change doesn't really meet its objective for TCP, > > it just means FIN-ACK must be observed. > > > > b) Because now just one id is consumed per TCP connection on the > > FIN-ACK, for most/many systems id becomes a close approximate > > count of the number of TCP connections it has made, which external > > observers can see, not possible before this change. To me this > > seems more of a privacy issue for all FreeBSD users than the NAT > > issue in Steve Bellovin's paper this change seeks to solve. > > > > 2) Linux made exactly this change some time ago, around Linux 2.4.4, > > but was forced to back-out the change because (I think) of practical > > connectivity issues related to the comment in include/net/ip.h > > ip_select_ident() where it now implements an incrementing ip_id for DF: > > > > /* This is only to work around buggy Windows95/2000 > > * VJ compression implementations. If the ID field > > * does not change, they drop every other packet in > > * a TCP stream using header compression. > > */ > > > > I'm not aware that anyone checked that this buggy Windows95/2000 VJ > > compression problem is no longer an issue in practice. I doubt that > > the large web hosters who use FreeBSD would be best-pleased if they > > ran into this for even just a few users - especially as there is no > > config option to disable this change. > > > > 3) This change causes ip_id for non-DF to be output in native > > byte order in ip_output.c. Unfortunately ip_id is still output in > > Network Byte Order in ip_mroute.c and raw_ip.c, so this change risks > > little-endian machines emitting the same fragmentation id at about > > the same time from these different modules, rather than the usual > > 64k cycle; creating a small but real risk of re-assembly errors. > > [This isn't in my PR, I've only just noticed it.] > > > > I also have a suspicion that some middle-boxes (like HTTP load-balancers) > > may clear DF without setting a fresh IP id - clearing DF would save them > > the bother of routing ICMP fragmentation needed back to the source server. > > If this is so this is another problem this change could show up which > > may cause re-assembly errors. I know the bug is elsewhere, but it would > > still become a practical problem for some FreeBSD users. > > > > So before going with this change I think four things need to be done: > > > > 1) TCP changed so FIN-ACK goes out with DF if path_mtu_discovery set. > > > > 2) Tests with Windows95/2000 TCP VJ compression (RFC1144) run. > > > > 3) ip_id should be emitted in the same byte order everywhere. > > > > 4) The change made a config option, so sites can disable it should > > they run into problems, just as RANDOM_IP_ID is an option. > > > > This all seems too much to do for 5.2-RELEASE, and as I think the problems > > and risks sufficiently serious, I propose reversing the change until this > > can be done. We need a quick decision on this to get it into 5.2-RELEASE. > > > > The PR has some more detail and tcpdump output demonstrating the > > issue: > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/60889 > > > > The change to be reversed can be seen at: > > > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/ip_output.c#rev1.189 > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/ip_output.c.diff?r1=1.188&r2=1.189 > > > > NB If anyone can easily run tests with Windows95/2000 TCP VJ compression that > > would be great (using tcpdump to see if there is abnormal retransmission). > > > > NB2 If anyone knows why FIN-ACK goes out without DF that would be helpful. > > I've quickly looked at the source, and I can't see why. It's emitted > > as TCP moves from FIN_WAIT_n state to TIME_WAIT probably at line 3091 of > > tcp_input.c with a call to tcp_output(). tcp_output() always appears to > > set IP_DF at line 998 of tcp_output.c, if path_mtu_discovery is enabled. > > A puzzle. > > > > Thanks to Boris Staeblow and Tim Rylance > > for highlighting this change and helping me > > diagnose the issues. > > > > Richard > > -- > > Richard Wendland richard@wendland.org.uk > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Fri Jan 16 06:34:58 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D08AC16A4CE for ; Fri, 16 Jan 2004 06:34:58 -0800 (PST) Received: from proton.hexanet.fr (proton.hexanet.fr [81.23.32.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67B8143D6A for ; Fri, 16 Jan 2004 06:34:57 -0800 (PST) (envelope-from c.prevotaux@hexanet.fr) Received: from hexanet.fr (localhost [127.0.0.1]) by proton.hexanet.fr (Postfix) with SMTP id AD3174C927 for ; Fri, 16 Jan 2004 15:34:55 +0100 (CET) From: Christophe Prevotaux To: freebsd-net@freebsd.org Message-Id: <20040116153455.16dd3194.c.prevotaux@hexanet.fr> Organization: HEXANET Sarl X-Mailer: Sylpheed version 0.9.6 (GTK+ 1.2.10; i386-portbld-freebsd4.9) X-NCC-RegID: fr.hexanet Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: MPD and 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: , Date: Fri, 16 Jan 2004 14:34:58 -0000 X-Original-Date: Fri, 16 Jan 2004 15:34:55 +0100 X-List-Received-Date: Fri, 16 Jan 2004 14:34:58 -0000 Hi, I was wondering if someone is working on the RADIUS support for MPD=20 because it does not seem like there any such thing at the moment in mpd 3.16 ? -- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Christophe Prevotaux Email: c.prevotaux@hexanet.fr HEXANET SARL URL: http://www.hexanet.fr/ Z.A.C Les Charmilles Tel: +33 (0)3 26 79 30 05=20 3 All=E9e Thierry Sabine Direct: +33 (0)3 26 61 77 72=20 BP202 Fax: +33 (0)3 26 79 30 06 51686 Reims Cedex 2 =20 FRANCE HEXANET Network Operation Center =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D From owner-freebsd-net@FreeBSD.ORG Mon Jan 26 21:48:04 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4F9C16A5E3 for ; Mon, 26 Jan 2004 21:48:01 -0800 (PST) Received: from mail.oisca.org (mail.oisca.org [164.46.152.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8071944B31 for ; Mon, 26 Jan 2004 21:01:27 -0800 (PST) (envelope-from r_ikeda@oisca.org) Received: from oisca.org (163.47.44.61.ap.yournet.ne.jp [61.44.47.163]) (authenticated)i0R51N027843; Tue, 27 Jan 2004 14:01:23 +0900 Message-ID: <4015F090.5030400@oisca.org> Date: Tue, 27 Jan 2004 14:01:04 +0900 From: "Rommel B. Ikeda" Organization: OISCA-International User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040124 X-Accept-Language: en-us, en, ja MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <40149506.6090602@oisca.org> <200401260431.LAA18910@banyan.cs.ait.ac.th> <4014A13B.2040109@oisca.org> <401539F1.8050106@vineyard.net> In-Reply-To: <401539F1.8050106@vineyard.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: on@cs.ait.ac.th Subject: Re: Setting-Up my PC to a Printer in our LAN - FX DocuColor 1250 CP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: r_ikeda@oisca.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 05:48:05 -0000 Thank you very much for the replies. > > There are lots of ways you might try. From ports you might consider > cups or LPRng. However, it will in part depend on what the LAN card > supports (HP JetDirect cards are easy). > > This is all really well covered in the handbook under printing. > > Given that the printer on your network has a hostname, and that > hostname is printer.mynet.com, and the network card supports lpd put > the following in your /etc/printcap: > > text:\ > :rm=printer.mynet.com:\ > :rp=text:\ > :sd=/var/spool/output/lpd-text:\ > :lf=/var/log/lpd-errs: > # > lp|PostScript Printer:\ > :rm=printer.mynet.com:\ > :rp=raw:\ > :mx#0: > :vf=/bin/ls:\ > :sd=/var/spool/output/lpd-ps:\ > :lf=/var/log/lpd-errs: > I have included all of these in my /etc/printcap file. I only replaced the rm:printer.mynet.com to rm:192.168.1.15 When I typed http://192.168.1.15 in my Mozilla Browser, I was able to see some details of my Printer and I found out that the Printer has an IP Address to 192.168.1.15 with subnet 255.255.255.0 it also has a Host Name = FX-095574 and found that most of the settings are all dynamically set. > create the spool directories you just mentioned: > > mkdir /var/spool/output/lpd-ps > mkdir /var/spool/output/lpd-text > I did these too. > start the lpd daemon: > > lpd > > And (assuming all is well) put a flag in /etc/rc.conf to make sure > that lpd is started for you at every boot: > > lpd_enable="YES" # Run the line printer daemon. I included this in my /etc/rc.conf too. > Assuming everything is ok, you can print a postscript file by: > > lp filename.ps > > and a text file by: > > lp -d text filename.txt > I did also these to test . Now here is my Problem, I can print...or nothing comes out from the Printer...What do you think am I missing...? Thanks for any reply... Rommel Ikeda From owner-freebsd-net@FreeBSD.ORG Mon Jan 26 23:41:56 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83F9816A4CE for ; Mon, 26 Jan 2004 23:41:56 -0800 (PST) Received: from mail.a-quadrat.at (mail.a-quadrat.at [81.223.141.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C25543D54 for ; Mon, 26 Jan 2004 23:41:55 -0800 (PST) (envelope-from mbretter@a-quadrat.at) Received: from BRUTUS.a-quadrat.at (brutus.a-quadrat.at [192.168.90.60]) by files.a-quadrat.at (Postfix) with ESMTP id 058525C951; Tue, 27 Jan 2004 08:37:47 +0100 (CET) Date: Tue, 27 Jan 2004 08:41:52 +0100 (=?ISO-8859-15?Q?Westeurop=E4ische_Normalzeit?=) From: Michael Bretterklieber To: Christophe Prevotaux In-Reply-To: <20040116153455.16dd3194.c.prevotaux@hexanet.fr> Message-ID: References: <20040116153455.16dd3194.c.prevotaux@hexanet.fr> X-X-Sender: mbretter@files.a-quadrat.at MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: MPD and 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: Tue, 27 Jan 2004 07:41:56 -0000 Hi, On Fri, 16 Jan 2004, Christophe Prevotaux wrote: > Hi, > > I was wondering if someone is working on the RADIUS support for MPD > because it does not seem like there any such thing at the moment in > mpd 3.16 ? How about reading the manual? /usr/local/share/doc/mpd/mpd.html :-) Mpd has full support for RADIUS accounting and authentication. bye, -- ------------------------------- ---------------------------------- Michael Bretterklieber - http://www.bretterklieber.com A-Quadrat Automation GmbH - http://www.a-quadrat.at Tel: ++43-(0)3172-41679 - GSM: ++43-(0)699 12861847 ------------------------------- ---------------------------------- "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972 From owner-freebsd-net@FreeBSD.ORG Tue Jan 27 03:01:17 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B9F816A4CE for ; Tue, 27 Jan 2004 03:01:17 -0800 (PST) Received: from ns2.alphaque.com (ns2.alphaque.com [202.75.47.153]) by mx1.FreeBSD.org (Postfix) with SMTP id 8D4C143D5C for ; Tue, 27 Jan 2004 03:01:12 -0800 (PST) (envelope-from dinesh@alphaque.com) Received: (qmail 55357 invoked by uid 0); 27 Jan 2004 11:00:48 -0000 Received: from lucifer.net-gw.com (HELO prophet.alphaque.com) (202.75.47.153) by lucifer.net-gw.com with SMTP; 27 Jan 2004 11:00:48 -0000 Received: from localhost (localhost.alphaque.com [127.0.0.1]) by prophet.alphaque.com (8.12.10/8.12.9) with ESMTP id i0RAucRH009374; Tue, 27 Jan 2004 18:56:38 +0800 (MYT) (envelope-from dinesh@alphaque.com) Date: Tue, 27 Jan 2004 18:56:38 +0800 (MYT) From: Dinesh Nair To: "Rommel B. Ikeda" In-Reply-To: <40149506.6090602@oisca.org> Message-ID: <20040127185545.E4255-100000@prophet.alphaque.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: Setting-Up my PC to a Printer in our LAN - FX DocuColor 1250 CP 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, 27 Jan 2004 11:01:17 -0000 On Mon, 26 Jan 2004, Rommel B. Ikeda wrote: > hints, help or advice on how to set up my FreeBSD Box so that I can > finally Print from my PC instead of asking my officemates who are using > Windows to Print for me... take a look at /usr/ports/print/apsfilter. it's pretty handy for freebsd printing in a windows network and handles windows shared printers et al thru samba. it automagically creates the /etc/printcap entry, so all you'd need to do is to start lpd for the print to run. Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+ From owner-freebsd-net@FreeBSD.ORG Tue Jan 27 08:48:31 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 465B316A4CE; Tue, 27 Jan 2004 08:48:31 -0800 (PST) Received: from dust.freshx.de (freshx.de [80.190.100.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CD2343D53; Tue, 27 Jan 2004 08:48:17 -0800 (PST) (envelope-from kai@freshx.de) Received: from localhost (LOCALHOST [127.0.0.1]) by dust.freshx.de (Postfix) with ESMTP id 4C7D415E2CE; Tue, 27 Jan 2004 17:47:22 +0100 (CET) Received: from alpha (p508B30E7.dip.t-dialin.net [80.139.48.231]) by dust.freshx.de (Postfix) with ESMTP id 152B015E1FA; Tue, 27 Jan 2004 17:47:21 +0100 (CET) From: "Kai Mosebach" To: , Date: Tue, 27 Jan 2004 17:47:33 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20040126135820.E20430@tikitechnologies.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 Thread-Index: AcPk2e1+JfRrII55TG2vBGQYwhUMIgAGn3Qw Message-Id: <20040127164721.152B015E1FA@dust.freshx.de> X-Virus-Scanned: by AMaViS 0.3.12 Subject: truncated-ip 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: Tue, 27 Jan 2004 16:48:31 -0000 Dear lists, lately i installed my netgear wg511 pci, trying to run it as a AP on my FreeBSD 5.2-RELEASE using the ath driver. Now I run into these problems : dhcp requests are not answered, pings don't work (traffic at all is unstable) a tcpdump results in this : -bash-2.05b# tcpdump -e -vvv -i ath0 tcpdump: listening on ath0 17:42:45.311390 0:9:5b:84:56:7f Broadcast ip 342: 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x1d24ed9c [|bootp] (ttl 128, id 1547, len 328) 17:42:45.337508 0:9:5b:84:56:7f Broadcast ip 342: truncated-ip - 18105 bytes missing! 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x1d24ed9c [|bootp] (ttl 128, id 1547, len 18433, bad cksum 339b!) 17:42:48.312342 0:9:5b:84:56:7f Broadcast ip 342: 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x1d24ed9c secs:768 [|bootp] (ttl 128, id 1548, len 328) 17:42:48.409555 0:9:5b:84:56:7f Broadcast ip 342: truncated-ip - 18105 bytes missing! 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x1d24ed9c secs:768 [|bootp] (ttl 128, id 1548, len 18433, bad cksum 339a!) 17:42:50.316387 0:9:5b:84:56:7f Broadcast ip 342: 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x4f73f3ba [|bootp] (ttl 128, id 1549, len 328) 17:42:50.355191 0:9:5b:84:56:7f Broadcast ip 342: truncated-ip - 18105 bytes missing! 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x4f73f3ba [|bootp] (ttl 128, id 1549, len 18433, bad cksum 3399!) 17:42:53.319672 0:9:5b:84:56:7f Broadcast ip 342: 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x4f73f3ba secs:768 [|bootp] (ttl 128, id 1550, len 328) 17:42:53.324823 0:9:5b:84:56:7f Broadcast ip 342: truncated-ip - 18105 bytes missing! 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x4f73f3ba secs:768 [|bootp] (ttl 128, id 1550, len 18433, bad cksum 3398!) I tried on another fbsd5.2 without a problem... Hardware or config problem ? Any ideas ? I read a something on http://www.benzedrine.cx/pf/msg03492.html , but could not see any parallels Regards Kai PS : Please CC me, as I am not subscribed to the freebsd-net list. From owner-freebsd-net@FreeBSD.ORG Tue Jan 27 13:52:26 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1D2E16A4CE; Tue, 27 Jan 2004 13:52:26 -0800 (PST) Received: from gateway.posi.net (adsl-63-201-89-201.dsl.snfc21.pacbell.net [63.201.89.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id D253B43D5D; Tue, 27 Jan 2004 13:52:23 -0800 (PST) (envelope-from kbyanc@posi.net) Received: from localhost (localhost [127.0.0.1]) by gateway.posi.net (Postfix) with ESMTP id CFF2D6A041B; Tue, 27 Jan 2004 13:52:26 -0800 (PST) Date: Tue, 27 Jan 2004 13:52:25 -0800 (PST) From: Kelly Yancey To: Kai Mosebach In-Reply-To: <20040127164721.152B015E1FA@dust.freshx.de> Message-ID: <20040127135010.A83468@gateway.posi.net> References: <20040127164721.152B015E1FA@dust.freshx.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org cc: hackers@freebsd.org Subject: Re: truncated-ip 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: Tue, 27 Jan 2004 21:52:27 -0000 On Tue, 27 Jan 2004, Kai Mosebach wrote: > Dear lists, > > lately i installed my netgear wg511 pci, trying to run it as a AP on my > FreeBSD 5.2-RELEASE using the ath driver. > > Now I run into these problems : > > dhcp requests are not answered, pings don't work (traffic at all is > unstable) > > a tcpdump results in this : > > -bash-2.05b# tcpdump -e -vvv -i ath0 > tcpdump: listening on ath0 > 17:42:45.311390 0:9:5b:84:56:7f Broadcast ip 342: 0.0.0.0.bootpc > > 255.255.255.255.bootps: xid:0x1d24ed9c [|bootp] (ttl 128, id 1547, len 328) > 17:42:45.337508 0:9:5b:84:56:7f Broadcast ip 342: truncated-ip - 18105 bytes > missing! 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x1d24ed9c [|bootp] > (ttl 128, id 1547, len 18433, bad cksum 339b!) Try adding -S 20000 to your tcpdump command-line. This wouldn't be cause of your connectivity problems, but would reduce the noise in your tcpdumps. Tcpdump cannot calculate the checksums you requested by specifying -vvv unless it has the entire packet to work with. Kelly -- Kelly Yancey - kbyanc@{posi.net,FreeBSD.org} - kelly@nttmcl.com From owner-freebsd-net@FreeBSD.ORG Tue Jan 27 23:34:34 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E642916A4CE for ; Tue, 27 Jan 2004 23:34:33 -0800 (PST) Received: from guard.polynet.lviv.ua (guard.polynet.lviv.ua [217.9.2.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 14F7543D46 for ; Tue, 27 Jan 2004 23:34:30 -0800 (PST) (envelope-from akorud@polynet.lviv.ua) Received: (qmail 54252 invoked from network); 28 Jan 2004 07:34:24 -0000 Received: from eaux.polynet.lviv.ua (HELO localhost) (217.9.2.4) by 217.9.2.1 with SMTP; 28 Jan 2004 07:34:24 -0000 Received: from ip-81-210-9-42.netia.com.pl (ip-81-210-9-42.netia.com.pl [81.210.9.42]) by isp.polynet.lviv.ua (IMP) with HTTP for <.akorud.netadmin.lp@guard>; Wed, 28 Jan 2004 09:34:24 +0200 Message-ID: <1075275264.401766007d839@isp.polynet.lviv.ua> Date: Wed, 28 Jan 2004 09:34:24 +0200 From: Andriy Korud To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 Subject: Large scale NAT - problem resolved 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, 28 Jan 2004 07:34:34 -0000 Hi, At last I've managed to build stable NAT on FreeBSD box for 34Mbit link and ~2000 clients (cable modem network). At full speed (34Mbit) CPU usage is 0% and system load is 0.0 :-) The solution was to find proper ip_nat.h file and properly define compile-time parameters. Thanks all for you help, Andriy Korud From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 00:16:01 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 106F416A4CE for ; Wed, 28 Jan 2004 00:16:01 -0800 (PST) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41B0043D1F for ; Wed, 28 Jan 2004 00:15:59 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc11) with ESMTP id <20040128081558013008ni55e>; Wed, 28 Jan 2004 08:15:58 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id AAA00239; Wed, 28 Jan 2004 00:15:57 -0800 (PST) Date: Wed, 28 Jan 2004 00:15:56 -0800 (PST) From: Julian Elischer To: Andriy Korud In-Reply-To: <1075275264.401766007d839@isp.polynet.lviv.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: Large scale NAT - problem resolved 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, 28 Jan 2004 08:16:01 -0000 On Wed, 28 Jan 2004, Andriy Korud wrote: > > Hi, > At last I've managed to build stable NAT on FreeBSD box for 34Mbit link and > ~2000 clients (cable modem network). > At full speed (34Mbit) CPU usage is 0% and system load is 0.0 :-) > It'd be really interesting to see how natd would handle such a load.... > The solution was to find proper ip_nat.h file and properly define compile-time > parameters. > > Thanks all for you help, > > Andriy Korud > > > _______________________________________________ > 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 Jan 28 00:45:12 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9726316A4CE for ; Wed, 28 Jan 2004 00:45:12 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 6A33F43D54 for ; Wed, 28 Jan 2004 00:45:10 -0800 (PST) (envelope-from silby@silby.com) Received: (qmail 34869 invoked from network); 28 Jan 2004 08:45:09 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 28 Jan 2004 08:45:09 -0000 X-pair-Authenticated: 209.68.2.70 Date: Wed, 28 Jan 2004 02:45:08 -0600 (CST) From: Mike Silbersack To: Kenneth W Cochran In-Reply-To: <200401211611.LAA16954677@shell.TheWorld.com> Message-ID: <20040128024438.H1516@odysseus.silby.com> References: <200401211611.LAA16954677@shell.TheWorld.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org cc: freebsd-hardware@freebsd.org Subject: Re: Troubleshooting network card/link 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, 28 Jan 2004 08:45:12 -0000 On Wed, 21 Jan 2004, Kenneth W Cochran wrote: > Hello: > > Is there anything for FreeBSD that's analogous to Linux's > "mii-diag" program? I'm (still) trying to troubleshoot > a card's (mis)communication with a router. Not at this time, although it would be very useful... Mike "Silby" Silbersack From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 05:27:14 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF11716A4CE for ; Wed, 28 Jan 2004 05:27:14 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FBAD43D41 for ; Wed, 28 Jan 2004 05:27:09 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id D301465426; Wed, 28 Jan 2004 13:27:06 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 65822-03-6; Wed, 28 Jan 2004 13:27:06 +0000 (GMT) Received: from saboteur.dek.spc.org (82-147-17-88.dsl.uk.rapidplay.com [82.147.17.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id D26456541D; Wed, 28 Jan 2004 13:27:04 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id A3A7857; Wed, 28 Jan 2004 13:27:03 +0000 (GMT) Date: Wed, 28 Jan 2004 13:27:03 +0000 From: Bruce M Simpson To: Mike Silbersack Message-ID: <20040128132703.GA2869@saboteur.dek.spc.org> Mail-Followup-To: Mike Silbersack , freebsd-net@freebsd.org, Sam Leffler References: <20031226162618.L4261@odysseus.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031226162618.L4261@odysseus.silby.com> cc: freebsd-net@freebsd.org cc: Sam Leffler Subject: Re: wi0 wireless compatibility issue? 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, 28 Jan 2004 13:27:15 -0000 On Fri, Dec 26, 2003 at 04:34:57PM -0600, Mike Silbersack wrote: > If someone can tell me how to dump 802.11 packets for the purpose of > debugging this issue, I'd be happy to do so. I recently committed a port of the current beta version of tcpdump. There's a switch in the makefile, WITH_RADIOTAP, to compile with radiotap support. This is then turned on with the option -y ieee802_11_radio at runtime. I find I get best results with a PRISM2; YMMV. BMS From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 11:25:30 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D229216A4CE for ; Wed, 28 Jan 2004 11:25:30 -0800 (PST) Received: from mail.dragondata.com (server2-b.dragondata.com [64.202.113.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EDEA43D67 for ; Wed, 28 Jan 2004 11:25:15 -0800 (PST) (envelope-from toasty@dragondata.com) Received: (qmail 75748 invoked by uid 1092); 28 Jan 2004 19:27:47 -0000 Received: from toasty@dragondata.com by server2.dragondata.com by uid 82 with qmail-scanner-1.20rc3 (uvscan: v4.2.40/v4296. spamassassin: 2.60-cvs. Clear:RC:1:. Processed in 0.624251 secs); 28 Jan 2004 19:27:47 -0000 Received: from ppp045.dhcp.your.org (HELO ?199.165.179.45?) (199.165.179.45) by mail.dragondata.com with RC4-SHA encrypted SMTP; 28 Jan 2004 19:27:46 -0000 Mime-Version: 1.0 (Apple Message framework v612) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-net@freebsd.org From: Kevin Day Date: Wed, 28 Jan 2004 13:25:13 -0600 X-Mailer: Apple Mail (2.612) Subject: DEVICE_POLLING with SMP 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, 28 Jan 2004 19:25:31 -0000 Has anyone made any headway with getting polling(4) to work with a SMP kernel? Last May this was discussed on here briefly with me, Luigi and Don Bowman, which seemed to indicate that the majority of what needed to be fixed to make this work would be some kind of locking in idle_loop to make sure only one CPU gets into the polling code at once. I've got a case where enabling SMP gives me a 20-30% performance boost, or if I turn polling on I get another 10-15% boost. I'd love to see what the two together could do. From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 11:45:00 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02EFD16A4CE for ; Wed, 28 Jan 2004 11:45:00 -0800 (PST) Received: from c7.campus.utcluj.ro (c7.campus.utcluj.ro [193.226.6.226]) by mx1.FreeBSD.org (Postfix) with SMTP id E6CA943D5A for ; Wed, 28 Jan 2004 11:44:42 -0800 (PST) (envelope-from veedee@c7.campus.utcluj.ro) Received: (qmail 16304 invoked by uid 1008); 28 Jan 2004 19:44:35 -0000 From: veedee@c7.campus.utcluj.ro Date: Wed, 28 Jan 2004 21:44:35 +0200 To: freebsd-net@freebsd.org Message-ID: <20040128194435.GA16076@c7.campus.utcluj.ro> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: DEVICE_POLLING with SMP 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, 28 Jan 2004 19:45:00 -0000 On Wed, Jan 28, 2004 at 01:25:13PM -0600, Kevin Day wrote: > > Has anyone made any headway with getting polling(4) to work with a SMP > kernel? Last May this was discussed on here briefly with me, Luigi and > Don Bowman, which seemed to indicate that the majority of what needed > to be fixed to make this work would be some kind of locking in > idle_loop to make sure only one CPU gets into the polling code at once. > > I've got a case where enabling SMP gives me a 20-30% performance boost, > or if I turn polling on I get another 10-15% boost. I'd love to see > what the two together could do. I was just about to ask the same question. We've just received 2 Athlon MPs 2400+ and we're about to buy a gigabit Intel PRO/1000MT Dual for one of our servers. It would be great if SMP could be combined with polling. -- | Radu Bogdan 'veedee' Rusu | NetSysAdm at campus dot utcluj dot ro | Personal gallery at http://rbrusu.com | ...mirroring FreeBSD and coffee From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 12:41:33 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 978D116A4CE for ; Wed, 28 Jan 2004 12:41:33 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id E186E43D4C for ; Wed, 28 Jan 2004 12:41:24 -0800 (PST) (envelope-from ru@FreeBSD.org.ua) Received: from phantom.cris.net (ru@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id i0SKfLem011778; Wed, 28 Jan 2004 22:41:21 +0200 (EET) (envelope-from ru@FreeBSD.org.ua) Received: (from ru@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id i0SKfKrk011773; Wed, 28 Jan 2004 22:41:20 +0200 (EET) (envelope-from ru) Date: Wed, 28 Jan 2004 22:41:20 +0200 From: Ruslan Ermilov To: Julian Elischer Message-ID: <20040128204120.GF11253@FreeBSD.org.ua> References: <1075275264.401766007d839@isp.polynet.lviv.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IvGM3kKqwtniy32b" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1i cc: freebsd-net@freebsd.org cc: Andriy Korud Subject: Re: Large scale NAT - problem resolved 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, 28 Jan 2004 20:41:33 -0000 --IvGM3kKqwtniy32b Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 28, 2004 at 12:15:56AM -0800, Julian Elischer wrote: >=20 > On Wed, 28 Jan 2004, Andriy Korud wrote: >=20 > >=20 > > Hi, > > At last I've managed to build stable NAT on FreeBSD box for 34Mbit link= and > > ~2000 clients (cable modem network). > > At full speed (34Mbit) CPU usage is 0% and system load is 0.0 :-) > >=20 >=20 > It'd be really interesting to see how natd would handle such a load.... >=20 You must be kidding. ;) Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --IvGM3kKqwtniy32b Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAGB5wUkv4P6juNwoRAkdMAJ9yoCtqCOuEY6Kaqt5a7qAiE+FiiwCfSZls hfNQy61W7hHttOTDj3OnmLA= =OUVw -----END PGP SIGNATURE----- --IvGM3kKqwtniy32b-- From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 12:46:13 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7972116A4CE for ; Wed, 28 Jan 2004 12:46:13 -0800 (PST) Received: from c7.campus.utcluj.ro (c7.campus.utcluj.ro [193.226.6.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 3C8A043D5D for ; Wed, 28 Jan 2004 12:46:05 -0800 (PST) (envelope-from veedee@c7.campus.utcluj.ro) Received: (qmail 19895 invoked by uid 1008); 28 Jan 2004 20:46:03 -0000 From: veedee@c7.campus.utcluj.ro Date: Wed, 28 Jan 2004 22:46:03 +0200 To: freebsd-net@freebsd.org Message-ID: <20040128204603.GA19311@c7.campus.utcluj.ro> References: <1075275264.401766007d839@isp.polynet.lviv.ua> <20040128204120.GF11253@FreeBSD.org.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040128204120.GF11253@FreeBSD.org.ua> Subject: Re: Large scale NAT - problem resolved 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, 28 Jan 2004 20:46:13 -0000 On Wed, Jan 28, 2004 at 10:41:20PM +0200, Ruslan Ermilov wrote: > On Wed, Jan 28, 2004 at 12:15:56AM -0800, Julian Elischer wrote: > > > > On Wed, 28 Jan 2004, Andriy Korud wrote: > > > > > > > > Hi, > > > At last I've managed to build stable NAT on FreeBSD box for 34Mbit link and > > > ~2000 clients (cable modem network). > > > At full speed (34Mbit) CPU usage is 0% and system load is 0.0 :-) > > > > > > > It'd be really interesting to see how natd would handle such a load.... > > > You must be kidding. ;) Agreed. NATd "crashes" with 400 clients on AMD Athlon 900Mhz. :( ipnat works fine. This raises a question... is there any point in still having natd? (don't throw rocks at me please, I'm just asking). Or maybe it's still being used for servers with less clients to nat? > Cheers, > -- > Ruslan Ermilov > FreeBSD committer > ru@FreeBSD.org -- | Radu Bogdan 'veedee' Rusu | NetSysAdm at campus dot utcluj dot ro | Personal gallery at http://rbrusu.com | ...mirroring FreeBSD and coffee From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 12:53:21 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E92F16A4CE for ; Wed, 28 Jan 2004 12:53:21 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD8CB43D2F for ; Wed, 28 Jan 2004 12:53:15 -0800 (PST) (envelope-from ru@FreeBSD.org.ua) Received: from phantom.cris.net (ru@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id i0SKroem012056; Wed, 28 Jan 2004 22:53:50 +0200 (EET) (envelope-from ru@FreeBSD.org.ua) Received: (from ru@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id i0SKrnAi012054; Wed, 28 Jan 2004 22:53:49 +0200 (EET) (envelope-from ru) Date: Wed, 28 Jan 2004 22:53:49 +0200 From: Ruslan Ermilov To: veedee@c7.campus.utcluj.ro Message-ID: <20040128205349.GH11253@FreeBSD.org.ua> References: <1075275264.401766007d839@isp.polynet.lviv.ua> <20040128204120.GF11253@FreeBSD.org.ua> <20040128204603.GA19311@c7.campus.utcluj.ro> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K1n7F7fSdjvFAEnM" Content-Disposition: inline In-Reply-To: <20040128204603.GA19311@c7.campus.utcluj.ro> User-Agent: Mutt/1.5.5.1i cc: freebsd-net@freebsd.org Subject: Re: Large scale NAT - problem resolved 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, 28 Jan 2004 20:53:21 -0000 --K1n7F7fSdjvFAEnM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 28, 2004 at 10:46:03PM +0200, veedee@c7.campus.utcluj.ro wrote: > On Wed, Jan 28, 2004 at 10:41:20PM +0200, Ruslan Ermilov wrote: > > On Wed, Jan 28, 2004 at 12:15:56AM -0800, Julian Elischer wrote: > > >=20 > > > On Wed, 28 Jan 2004, Andriy Korud wrote: > > >=20 > > > >=20 > > > > Hi, > > > > At last I've managed to build stable NAT on FreeBSD box for 34Mbit = link and > > > > ~2000 clients (cable modem network). > > > > At full speed (34Mbit) CPU usage is 0% and system load is 0.0 :-) > > > >=20 > > >=20 > > > It'd be really interesting to see how natd would handle such a load..= =2E. > > >=20 > > You must be kidding. ;) >=20 > Agreed. NATd "crashes" with 400 clients on AMD Athlon 900Mhz. :( ipnat > works fine. >=20 > This raises a question... is there any point in still having natd? (don't > throw rocks at me please, I'm just asking). Or maybe it's still being used > for servers with less clients to nat? > =20 If your Internet connection is 128kbit/s, it can cope with it nicely. One day I will write the ng_nat(4) module. Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --K1n7F7fSdjvFAEnM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAGCFdUkv4P6juNwoRAjD0AJ0ZyHmvOpaQO6DNBmv5E/p9XtA5sgCfeJZ1 slcwKe0aWPw3CQDY71W31MY= =h+PV -----END PGP SIGNATURE----- --K1n7F7fSdjvFAEnM-- From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 13:03:59 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53E4F16A4CE for ; Wed, 28 Jan 2004 13:03:59 -0800 (PST) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8789443D1F for ; Wed, 28 Jan 2004 13:03:57 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc12) with ESMTP id <200401282103530140052680e>; Wed, 28 Jan 2004 21:03:57 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA07373; Wed, 28 Jan 2004 13:03:52 -0800 (PST) Date: Wed, 28 Jan 2004 13:03:51 -0800 (PST) From: Julian Elischer To: veedee@c7.campus.utcluj.ro In-Reply-To: <20040128204603.GA19311@c7.campus.utcluj.ro> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: Large scale NAT - problem resolved 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, 28 Jan 2004 21:03:59 -0000 On Wed, 28 Jan 2004 veedee@c7.campus.utcluj.ro wrote: > On Wed, Jan 28, 2004 at 10:41:20PM +0200, Ruslan Ermilov wrote: > > On Wed, Jan 28, 2004 at 12:15:56AM -0800, Julian Elischer wrote: > > > > > > On Wed, 28 Jan 2004, Andriy Korud wrote: > > > > > > > > > > > Hi, > > > > At last I've managed to build stable NAT on FreeBSD box for 34Mbit link and > > > > ~2000 clients (cable modem network). > > > > At full speed (34Mbit) CPU usage is 0% and system load is 0.0 :-) > > > > > > > > > > It'd be really interesting to see how natd would handle such a load.... > > > > > You must be kidding. ;) > > Agreed. NATd "crashes" with 400 clients on AMD Athlon 900Mhz. :( ipnat > works fine. > > This raises a question... is there any point in still having natd? (don't > throw rocks at me please, I'm just asking). Or maybe it's still being used > for servers with less clients to nat? Well for people using ipfw.. if_nat requires ipfilter If it 'crashes' that sugests that a bug exists.. anyone know what 'crashes' means? gets slow? if so then probably using a hash table somehwere would fix it.. From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 13:06:10 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6770C16A4CE; Wed, 28 Jan 2004 13:06:10 -0800 (PST) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 634EB43D39; Wed, 28 Jan 2004 13:06:09 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc11) with ESMTP id <20040128210608013008n071e>; Wed, 28 Jan 2004 21:06:08 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA07436; Wed, 28 Jan 2004 13:06:07 -0800 (PST) Date: Wed, 28 Jan 2004 13:06:06 -0800 (PST) From: Julian Elischer To: Ruslan Ermilov In-Reply-To: <20040128205349.GH11253@FreeBSD.org.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: Large scale NAT - problem resolved 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, 28 Jan 2004 21:06:10 -0000 On Wed, 28 Jan 2004, Ruslan Ermilov wrote: > On Wed, Jan 28, 2004 at 10:46:03PM +0200, veedee@c7.campus.utcluj.ro wrote: > > On Wed, Jan 28, 2004 at 10:41:20PM +0200, Ruslan Ermilov wrote: > > > On Wed, Jan 28, 2004 at 12:15:56AM -0800, Julian Elischer wrote: > > > > > > > > On Wed, 28 Jan 2004, Andriy Korud wrote: > > > > > > > > > > > > > > Hi, > > > > > At last I've managed to build stable NAT on FreeBSD box for 34Mbit link and > > > > > ~2000 clients (cable modem network). > > > > > At full speed (34Mbit) CPU usage is 0% and system load is 0.0 :-) > > > > > > > > > > > > > It'd be really interesting to see how natd would handle such a load.... > > > > > > > You must be kidding. ;) > > > > Agreed. NATd "crashes" with 400 clients on AMD Athlon 900Mhz. :( ipnat > > works fine. > > > > This raises a question... is there any point in still having natd? (don't > > throw rocks at me please, I'm just asking). Or maybe it's still being used > > for servers with less clients to nat? > > > If your Internet connection is 128kbit/s, it can cope with it nicely. > One day I will write the ng_nat(4) module. actually it can cope with a LOT more than that.. We see no degredation nating a 100Mb link.. (though not fully). > > > Cheers, > -- > Ruslan Ermilov > FreeBSD committer > ru@FreeBSD.org > From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 13:12:10 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 749C616A4CE for ; Wed, 28 Jan 2004 13:12:10 -0800 (PST) Received: from mx2.nersc.gov (mx2.nersc.gov [128.55.6.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DCCA43D2D for ; Wed, 28 Jan 2004 13:12:09 -0800 (PST) (envelope-from dart@nersc.gov) Received: by mx2.nersc.gov (Postfix, from userid 4002) id D3AD8774E; Wed, 28 Jan 2004 13:12:08 -0800 (PST) Received: from mx2.nersc.gov (localhost [127.0.0.1]) by localhost.nersc.gov (Postfix) with ESMTP id DE3107745; Wed, 28 Jan 2004 13:12:00 -0800 (PST) Received: from gemini.nersc.gov (gemini.nersc.gov [128.55.16.111]) by mx2.nersc.gov (Postfix) with ESMTP id 94E51775B; Wed, 28 Jan 2004 13:12:00 -0800 (PST) Received: from gemini.nersc.gov (localhost [127.0.0.1]) by gemini.nersc.gov (Postfix) with ESMTP id 7DCC4F8EB; Wed, 28 Jan 2004 13:12:00 -0800 (PST) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Andriy Korud In-Reply-To: Message from Andriy Korud <1075275264.401766007d839@isp.polynet.lviv.ua> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-1935836800P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 28 Jan 2004 13:12:00 -0800 From: Eli Dart Message-Id: <20040128211200.7DCC4F8EB@gemini.nersc.gov> X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mx2.nersc.gov X-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 cc: freebsd-net@freebsd.org Subject: Re: Large scale NAT - problem resolved 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, 28 Jan 2004 21:12:10 -0000 --==_Exmh_-1935836800P Content-Type: text/plain; charset=us-ascii In reply to Andriy Korud : > > Hi, > At last I've managed to build stable NAT on FreeBSD box for 34Mbit link and > ~2000 clients (cable modem network). > At full speed (34Mbit) CPU usage is 0% and system load is 0.0 :-) > > The solution was to find proper ip_nat.h file and properly define compile-time > parameters. Hmmm....sorry if I missed it, but do you have a copy of the modified file handy? I'd be interested to see what tweaks are required for this kind of config.... Thanks, --eli > > Thanks all for you help, > > Andriy Korud > > > _______________________________________________ > 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" > --==_Exmh_-1935836800P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQFAGCWgLTFEeF+CsrMRAiOBAJwIwQVwxFIfz3FrcBi4wsxPzp3lIACfaMS0 U4oVblQLXfNrC5Yl4BGjkOk= =Xr+0 -----END PGP SIGNATURE----- --==_Exmh_-1935836800P-- From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 13:20:18 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0771316A4CE for ; Wed, 28 Jan 2004 13:20:18 -0800 (PST) Received: from guard.polynet.lviv.ua (guard.polynet.lviv.ua [217.9.2.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 08BCC43D3F for ; Wed, 28 Jan 2004 13:20:14 -0800 (PST) (envelope-from akorud@polynet.lviv.ua) Received: (qmail 11712 invoked from network); 28 Jan 2004 21:20:05 -0000 Received: from eaux.polynet.lviv.ua (HELO localhost) (217.9.2.4) by 217.9.2.1 with SMTP; 28 Jan 2004 21:20:04 -0000 Received: from pv239.neoplus.adsl.tpnet.pl (pv239.neoplus.adsl.tpnet.pl [80.50.53.239]) by isp.polynet.lviv.ua (IMP) with HTTP for <.akorud.netadmin.lp@guard>; Wed, 28 Jan 2004 23:20:03 +0200 Message-ID: <1075324803.401827837ff00@isp.polynet.lviv.ua> Date: Wed, 28 Jan 2004 23:20:03 +0200 From: Andriy Korud To: rmkml References: <1075275264.401766007d839@isp.polynet.lviv.ua> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 cc: freebsd-net@freebsd.org Subject: Re: Large scale NAT - problem resolved 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, 28 Jan 2004 21:20:18 -0000 Quoting rmkml : > Hi Andriy, > > You use ipnat (ipfilter) > Well, I'm using ipnat. In order to make it work properly, I have to: - install ipfilter 3.4.32 (it claims to have some bugs fixed in NAT code, in stock system you'll find 3.4.31); - define in _proper_ :-) ip_nat.h: #define LARGE_NAT #define NAT_SIZE 80809 #define RDR_SIZE 80809 #define NAT_TABLE_SZ 262143 #define HOSTMAP_SIZE 32767 don't ask me from where I've taken those number - mostly they was found in mailing lists. regards, Andriy Korud From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 13:42:21 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BEA116A4CE for ; Wed, 28 Jan 2004 13:42:21 -0800 (PST) Received: from c7.campus.utcluj.ro (c7.campus.utcluj.ro [193.226.6.226]) by mx1.FreeBSD.org (Postfix) with SMTP id AF42A43D39 for ; Wed, 28 Jan 2004 13:42:19 -0800 (PST) (envelope-from veedee@c7.campus.utcluj.ro) Received: (qmail 23501 invoked by uid 1008); 28 Jan 2004 21:42:18 -0000 From: veedee@c7.campus.utcluj.ro Date: Wed, 28 Jan 2004 23:42:18 +0200 To: Julian Elischer Message-ID: <20040128214218.GA23393@c7.campus.utcluj.ro> References: <20040128204603.GA19311@c7.campus.utcluj.ro> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: freebsd-net@freebsd.org Subject: Re: Large scale NAT - problem resolved 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, 28 Jan 2004 21:42:21 -0000 On Wed, Jan 28, 2004 at 01:03:51PM -0800, Julian Elischer wrote: > > > On Wed, 28 Jan 2004 veedee@c7.campus.utcluj.ro wrote: > > > On Wed, Jan 28, 2004 at 10:41:20PM +0200, Ruslan Ermilov wrote: > > > On Wed, Jan 28, 2004 at 12:15:56AM -0800, Julian Elischer wrote: > > > > > > > > On Wed, 28 Jan 2004, Andriy Korud wrote: > > > > > > > > > > > > > > Hi, > > > > > At last I've managed to build stable NAT on FreeBSD box for 34Mbit link and > > > > > ~2000 clients (cable modem network). > > > > > At full speed (34Mbit) CPU usage is 0% and system load is 0.0 :-) > > > > > > > > > > > > > It'd be really interesting to see how natd would handle such a load.... > > > > > > > You must be kidding. ;) > > > > Agreed. NATd "crashes" with 400 clients on AMD Athlon 900Mhz. :( ipnat > > works fine. > > > > This raises a question... is there any point in still having natd? (don't > > throw rocks at me please, I'm just asking). Or maybe it's still being used > > for servers with less clients to nat? > > Well for people using ipfw.. > if_nat requires ipfilter > > If it 'crashes' that sugests that a bug exists.. > anyone know what 'crashes' means? gets slow? Yup, sorry... I meant slow. CPU usage will go to 100% (and beyond, if possible :/ ). > if so then probably using a hash table somehwere would fix it.. -- | Radu Bogdan 'veedee' Rusu | NetSysAdm at campus dot utcluj dot ro | Personal gallery at http://rbrusu.com | ...mirroring FreeBSD and coffee From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 13:44:10 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 024A916A4CE for ; Wed, 28 Jan 2004 13:44:10 -0800 (PST) Received: from c7.campus.utcluj.ro (c7.campus.utcluj.ro [193.226.6.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 18BD643D2D for ; Wed, 28 Jan 2004 13:44:06 -0800 (PST) (envelope-from veedee@c7.campus.utcluj.ro) Received: (qmail 23644 invoked by uid 1008); 28 Jan 2004 21:44:05 -0000 From: veedee@c7.campus.utcluj.ro Date: Wed, 28 Jan 2004 23:44:05 +0200 To: Julian Elischer Message-ID: <20040128214405.GB23393@c7.campus.utcluj.ro> References: <20040128205349.GH11253@FreeBSD.org.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: freebsd-net@freebsd.org Subject: Re: Large scale NAT - problem resolved 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, 28 Jan 2004 21:44:10 -0000 On Wed, Jan 28, 2004 at 01:06:06PM -0800, Julian Elischer wrote: > > > On Wed, 28 Jan 2004, Ruslan Ermilov wrote: > > > On Wed, Jan 28, 2004 at 10:46:03PM +0200, veedee@c7.campus.utcluj.ro wrote: > > > On Wed, Jan 28, 2004 at 10:41:20PM +0200, Ruslan Ermilov wrote: > > > > On Wed, Jan 28, 2004 at 12:15:56AM -0800, Julian Elischer wrote: > > > > > > > > > > On Wed, 28 Jan 2004, Andriy Korud wrote: > > > > > > > > > > > > > > > > > Hi, > > > > > > At last I've managed to build stable NAT on FreeBSD box for 34Mbit link and > > > > > > ~2000 clients (cable modem network). > > > > > > At full speed (34Mbit) CPU usage is 0% and system load is 0.0 :-) > > > > > > > > > > > > > > > > It'd be really interesting to see how natd would handle such a load.... > > > > > > > > > You must be kidding. ;) > > > > > > Agreed. NATd "crashes" with 400 clients on AMD Athlon 900Mhz. :( ipnat > > > works fine. > > > > > > This raises a question... is there any point in still having natd? (don't > > > throw rocks at me please, I'm just asking). Or maybe it's still being used > > > for servers with less clients to nat? > > > > > If your Internet connection is 128kbit/s, it can cope with it nicely. > > One day I will write the ng_nat(4) module. > > actually it can cope with a LOT more than that.. We see no degredation > nating a 100Mb link.. (though not fully). I got ~400 (was 400, now 450 this year) clients on an 100Mbps link and it only works with ipnat for me :( > > > > > > > > Cheers, > > -- > > Ruslan Ermilov > > FreeBSD committer > > ru@FreeBSD.org > > > -- | Radu Bogdan 'veedee' Rusu | NetSysAdm at campus dot utcluj dot ro | Personal gallery at http://rbrusu.com | ...mirroring FreeBSD and coffee From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 13:45:08 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D44616A4CE for ; Wed, 28 Jan 2004 13:45:08 -0800 (PST) Received: from c7.campus.utcluj.ro (c7.campus.utcluj.ro [193.226.6.226]) by mx1.FreeBSD.org (Postfix) with SMTP id CC9A043D62 for ; Wed, 28 Jan 2004 13:44:50 -0800 (PST) (envelope-from veedee@c7.campus.utcluj.ro) Received: (qmail 23699 invoked by uid 1008); 28 Jan 2004 21:44:50 -0000 From: veedee@c7.campus.utcluj.ro Date: Wed, 28 Jan 2004 23:44:50 +0200 To: Eli Dart Message-ID: <20040128214449.GC23393@c7.campus.utcluj.ro> References: <1075275264.401766007d839@isp.polynet.lviv.ua> <20040128211200.7DCC4F8EB@gemini.nersc.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040128211200.7DCC4F8EB@gemini.nersc.gov> cc: freebsd-net@freebsd.org cc: Andriy Korud Subject: Re: Large scale NAT - problem resolved 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, 28 Jan 2004 21:45:08 -0000 On Wed, Jan 28, 2004 at 01:12:00PM -0800, Eli Dart wrote: > > In reply to Andriy Korud : > > > > > Hi, > > At last I've managed to build stable NAT on FreeBSD box for 34Mbit link and > > ~2000 clients (cable modem network). > > At full speed (34Mbit) CPU usage is 0% and system load is 0.0 :-) > > > > The solution was to find proper ip_nat.h file and properly define compile-time > > parameters. > > Hmmm....sorry if I missed it, but do you have a copy of the modified > file handy? I'd be interested to see what tweaks are required for > this kind of config.... I think the only thing that you need to modify is to define LARGE_NAT in ip_nat.h (and probably modify the tables, if you really feel like doing it). > > Thanks, > > --eli > > > > > > Thanks all for you help, > > > > Andriy Korud > > > > > > _______________________________________________ > > 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" > > > > -- | Radu Bogdan 'veedee' Rusu | NetSysAdm at campus dot utcluj dot ro | Personal gallery at http://rbrusu.com | ...mirroring FreeBSD and coffee From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 13:50:42 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C4F016A4CE for ; Wed, 28 Jan 2004 13:50:42 -0800 (PST) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AA0D43D48 for ; Wed, 28 Jan 2004 13:50:40 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc11) with ESMTP id <20040128215039013008rtjue>; Wed, 28 Jan 2004 21:50:39 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA07994; Wed, 28 Jan 2004 13:50:38 -0800 (PST) Date: Wed, 28 Jan 2004 13:50:37 -0800 (PST) From: Julian Elischer To: veedee@c7.campus.utcluj.ro In-Reply-To: <20040128214405.GB23393@c7.campus.utcluj.ro> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: Large scale NAT - problem resolved 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, 28 Jan 2004 21:50:42 -0000 On Wed, 28 Jan 2004 veedee@c7.campus.utcluj.ro wrote: > On Wed, Jan 28, 2004 at 01:06:06PM -0800, Julian Elischer wrote: > > > > > > On Wed, 28 Jan 2004, Ruslan Ermilov wrote: > > > > > On Wed, Jan 28, 2004 at 10:46:03PM +0200, veedee@c7.campus.utcluj.ro wrote: > > > > On Wed, Jan 28, 2004 at 10:41:20PM +0200, Ruslan Ermilov wrote: > > > > > On Wed, Jan 28, 2004 at 12:15:56AM -0800, Julian Elischer wrote: > > > > > > > > > > > > On Wed, 28 Jan 2004, Andriy Korud wrote: > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > > At last I've managed to build stable NAT on FreeBSD box for 34Mbit link and > > > > > > > ~2000 clients (cable modem network). > > > > > > > At full speed (34Mbit) CPU usage is 0% and system load is 0.0 :-) > > > > > > > > > > > > > > > > > > > It'd be really interesting to see how natd would handle such a load.... > > > > > > > > > > > You must be kidding. ;) > > > > > > > > Agreed. NATd "crashes" with 400 clients on AMD Athlon 900Mhz. :( ipnat > > > > works fine. > > > > > > > > This raises a question... is there any point in still having natd? (don't > > > > throw rocks at me please, I'm just asking). Or maybe it's still being used > > > > for servers with less clients to nat? > > > > > > > If your Internet connection is 128kbit/s, it can cope with it nicely. > > > One day I will write the ng_nat(4) module. > > > > actually it can cope with a LOT more than that.. We see no degredation > > nating a 100Mb link.. (though not fully). > > I got ~400 (was 400, now 450 this year) clients on an 100Mbps link and it > only works with ipnat for me :( we only have a few "clients" so possibly it's related to that.. > > > > > > > > > > > > > > Cheers, > > > -- > > > Ruslan Ermilov > > > FreeBSD committer > > > ru@FreeBSD.org > > > > > > > -- > | Radu Bogdan 'veedee' Rusu > | NetSysAdm at campus dot utcluj dot ro > | Personal gallery at http://rbrusu.com > | ...mirroring FreeBSD and coffee > _______________________________________________ > 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 Jan 28 17:49:26 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC99916A4CE; Wed, 28 Jan 2004 17:49:26 -0800 (PST) Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DE8743D2D; Wed, 28 Jan 2004 17:49:25 -0800 (PST) (envelope-from mi+mx@aldan.algebra.com) Received: from 250-217.customer.cloud9.net (195-11.customer.cloud9.net [168.100.195.11])i0T1nMaT063685 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 28 Jan 2004 20:49:23 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) Received: from localhost (mteterin@localhost [127.0.0.1]) i0T1n2w3009775; Wed, 28 Jan 2004 20:49:09 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) From: mi+mx@aldan.algebra.com Organization: Murex N.A. To: net@FreeBSD.org Date: Wed, 28 Jan 2004 20:49:02 -0500 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401282049.02320@misha-mx.virtual-estates.net> X-Scanned-By: MIMEDefang 2.39 cc: isp@FreeBSD.org Subject: jumbo-frames on the network 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, 29 Jan 2004 01:49:26 -0000 Hello! Some newer machines on our FreeBSD/Linux/Windows network have 1000BaseT network cards capable of jumbo frames up to 16K (mostly em(4)). They are plugged into a big switch, which supports jumbo frames up to 9K on each port. However, when I try to crank the MTU up on this machines (up to the switch's limitation), weird things start happening -- mostly NFS problems. I can login to a remote host (wich has MTU of 1500), but it will not be able to access the NFS partitions exported by a jumbo-frames enhanced box. Can different MTUs be mixed on the same wire -- in theory (who is to do the fragmentation?) and in practice -- or do we need to isolate these machines on a subnet of their own (so that they can keep fast-talking to each other) and put something dual-homed between them and the rest of the network? Do the logins just work because no packet exceeds 1500 anyway? Thanks for any advice! -mi From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 18:24:11 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2211B16A4CE for ; Wed, 28 Jan 2004 18:24:11 -0800 (PST) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8EE543D45 for ; Wed, 28 Jan 2004 18:24:09 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.9/8.12.9) with ESMTP id i0T2NmDa051301 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK CN=khavrinen.lcs.mit.edu issuer=SSL+20Client+20CA); Wed, 28 Jan 2004 21:23:48 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.9/8.12.9/Submit) id i0T2NkRc051298; Wed, 28 Jan 2004 21:23:46 -0500 (EST) (envelope-from wollman) Date: Wed, 28 Jan 2004 21:23:46 -0500 (EST) From: Garrett Wollman Message-Id: <200401290223.i0T2NkRc051298@khavrinen.lcs.mit.edu> To: mi+mx@aldan.algebra.com In-Reply-To: <200401282049.02320@misha-mx.virtual-estates.net> References: <200401282049.02320@misha-mx.virtual-estates.net> X-Spam-Score: -9.9 () IN_REP_TO,REFERENCES X-Scanned-By: MIMEDefang 2.37 cc: net@FreeBSD.ORG Subject: jumbo-frames on the network 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, 29 Jan 2004 02:24:11 -0000 < Can different MTUs be mixed on the same wire No. -GAWollman From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 19:30:49 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0E8D16A4CE for ; Wed, 28 Jan 2004 19:30:49 -0800 (PST) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21C7143D2F for ; Wed, 28 Jan 2004 19:30:49 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.9p2/8.12.9) with ESMTP id i0T3UP7E085602; Wed, 28 Jan 2004 19:30:30 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <200401290330.i0T3UP7E085602@gw.catspoiler.org> Date: Wed, 28 Jan 2004 19:30:25 -0800 (PST) From: Don Lewis To: wollman@khavrinen.lcs.mit.edu In-Reply-To: <200401290223.i0T2NkRc051298@khavrinen.lcs.mit.edu> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: mi+mx@aldan.algebra.com cc: net@FreeBSD.org Subject: Re: jumbo-frames on the network 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, 29 Jan 2004 03:30:50 -0000 On 28 Jan, Garrett Wollman wrote: > < >> Can different MTUs be mixed on the same wire > > No. It's ugly, but I wonder if adding host routes with the -lock -mtu options might work ... From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 23:04:15 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5FD116A4CE for ; Wed, 28 Jan 2004 23:04:15 -0800 (PST) Received: from diaspar.rdsnet.ro (diaspar.rdsnet.ro [213.157.165.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA19B43D2D for ; Wed, 28 Jan 2004 23:04:13 -0800 (PST) (envelope-from dudu@diaspar.rdsnet.ro) Received: (qmail 23295 invoked by uid 89); 29 Jan 2004 07:04:18 -0000 Received: from unknown (HELO diaspar.rdsnet.ro) (dudu@diaspar.rdsnet.ro@213.157.165.224) by 0 with AES256-SHA encrypted SMTP; 29 Jan 2004 07:04:18 -0000 Date: Thu, 29 Jan 2004 09:04:13 +0200 From: Vlad Galu To: freebsd-net@freebsd.org Message-Id: <20040129090413.5e3a9cc0.dudu@diaspar.rdsnet.ro> In-Reply-To: <20040128194435.GA16076@c7.campus.utcluj.ro> References: <20040128194435.GA16076@c7.campus.utcluj.ro> X-Mailer: Sylpheed version 0.9.8a (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Thu__29_Jan_2004_09_04_13_+0200_.qNB_hsrMoHtNA1M" Subject: Re: DEVICE_POLLING with SMP 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, 29 Jan 2004 07:04:15 -0000 --Signature=_Thu__29_Jan_2004_09_04_13_+0200_.qNB_hsrMoHtNA1M Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit veedee@c7.campus.utcluj.ro writes: |On Wed, Jan 28, 2004 at 01:25:13PM -0600, Kevin Day wrote: |> |> Has anyone made any headway with getting polling(4) to work with a |SMP > kernel? Last May this was discussed on here briefly with me, |Luigi and > Don Bowman, which seemed to indicate that the majority of |what needed > to be fixed to make this work would be some kind of |locking in > idle_loop to make sure only one CPU gets into the polling |code at once.> |> I've got a case where enabling SMP gives me a 20-30% performance |boost, > or if I turn polling on I get another 10-15% boost. I'd love |to see > what the two together could do. | |I was just about to ask the same question. We've just received 2 Athlon |MPs 2400+ and we're about to buy a gigabit Intel PRO/1000MT Dual for |one of our servers. | |It would be great if SMP could be combined with polling. I see no reason for it. Having to switch between multiple kernel threads to handle polling may bring too much overhead. |-- || Radu Bogdan 'veedee' Rusu || NetSysAdm at campus dot utcluj dot ro || Personal gallery at http://rbrusu.com || ...mirroring FreeBSD and coffee |_______________________________________________ |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" | ---- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. --Signature=_Thu__29_Jan_2004_09_04_13_+0200_.qNB_hsrMoHtNA1M Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAGLByP5WtpVOrzpcRAqTTAJ9HJ3+Jq5tSdva+0iFwHvk44uOT0wCfTD5X e0iS2nomqAglppMPmViqwbk= =nYOR -----END PGP SIGNATURE----- --Signature=_Thu__29_Jan_2004_09_04_13_+0200_.qNB_hsrMoHtNA1M-- From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 23:36:54 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D658F16A4CE for ; Wed, 28 Jan 2004 23:36:54 -0800 (PST) Received: from mail.dragondata.com (server2-b.dragondata.com [64.202.113.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F61543D2F for ; Wed, 28 Jan 2004 23:36:52 -0800 (PST) (envelope-from toasty@dragondata.com) Received: (qmail 45529 invoked by uid 1092); 29 Jan 2004 07:39:25 -0000 Received: from toasty@dragondata.com by server2.dragondata.com by uid 82 with qmail-scanner-1.20rc3 (uvscan: v4.2.40/v4296. spamassassin: 2.60-cvs. Clear:RC:1:. Processed in 0.659289 secs); 29 Jan 2004 07:39:25 -0000 Received: from ppp045.dhcp.your.org (HELO ?199.165.179.45?) (199.165.179.45) by mail.dragondata.com with RC4-SHA encrypted SMTP; 29 Jan 2004 07:39:24 -0000 In-Reply-To: <20040129090413.5e3a9cc0.dudu@diaspar.rdsnet.ro> References: <20040128194435.GA16076@c7.campus.utcluj.ro> <20040129090413.5e3a9cc0.dudu@diaspar.rdsnet.ro> Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Kevin Day Date: Thu, 29 Jan 2004 01:36:50 -0600 To: Vlad Galu X-Mailer: Apple Mail (2.612) cc: freebsd-net@freebsd.org Subject: Re: DEVICE_POLLING with SMP 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, 29 Jan 2004 07:36:55 -0000 On Jan 29, 2004, at 1:04 AM, Vlad Galu wrote: > > I see no reason for it. Having to switch between multiple kernel > threads to handle polling may bring too much overhead. > > Would that really be happening though? If polling is happening in the idle loop, extra overhead doesn't really matter all that much, the CPU is idle, and I can't imagine it being any worse during a livelock inducing amount of traffic. If it's polling during any other time, the code is exactly the same between the UP and SMP case, and I can't imagine the overhead being all THAT much worse, would it? My primary goal with it is to stop thrashing context switches when I've got a system acting as a router with 8 network interfaces on it. Even with network card interrupt coalescing there is a whole lot of interrupt activity going on, which polling seems to make a noticeable difference with polling enabled. I'm also very interested in polling's ability to more gracefully handle extremely heavy network traffic without getting into livelock, which may be worth it to some people prone to DoS activity when they have a whole lot of bandwidth to deal with. I'd be willing to chip in a few bucks for development time if anyone wants to make the changes to try it out. It didn't look that difficult, but my time is pretty booked right now. -- Kevin From owner-freebsd-net@FreeBSD.ORG Thu Jan 29 07:02:17 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB0DF16A4CE for ; Thu, 29 Jan 2004 07:02:17 -0800 (PST) Received: from ftp.ccrle.nec.de (ftp.netlab.nec.de [195.37.70.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B51F43D41 for ; Thu, 29 Jan 2004 07:02:15 -0800 (PST) (envelope-from lars.eggert@netlab.nec.de) Received: from netlab.nec.de (tokyo.netlab.nec.de [195.37.70.2]) by ftp.ccrle.nec.de (Postfix) with ESMTP id D16EEF5A9 for ; Thu, 29 Jan 2004 16:06:54 +0100 (CET) Message-ID: <4019206F.6000408@netlab.nec.de> Date: Thu, 29 Jan 2004 16:02:07 +0100 From: Lars Eggert Organization: NEC Network Laboratories User-Agent: Mozilla Thunderbird 0.5a (Macintosh/20040126) X-Accept-Language: en-us, en MIME-Version: 1.0 To: net@freebsd.org Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms000906040004020402080903" Subject: European USB DSL modems? 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, 29 Jan 2004 15:02:17 -0000 This is a cryptographically signed message in MIME format. --------------ms000906040004020402080903 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, does -current support any European USB DSL modems, and if so, which ones? I could get this one free with my DSL order: http://www.avm.de/de/Produkte/FRITZCard_DSL/FRITZ_Card_DSL_SL_USB/index.js.html (Sorry, page is in German.) Thanks, Lars PS: I'm clueless when it comes to DSL in Europe - all my US modems just had an Ethernet port... -- Lars Eggert NEC Network Laboratories --------------ms000906040004020402080903 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJ/zCC Az8wggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUwEwYDVQQI EwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhhd3RlIENv bnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24xJDAi BgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYccGVy c29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3MTYyMzU5 NTlaMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBM dGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQTCBnzAN BgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me7L3N9Vvy Gna9fww6YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQqE88r1fOC dz0Dviv+uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEAAaOBlDCB kTASBgNVHRMBAf8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9jcmwudGhh d3RlLmNvbS9UaGF3dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIBBjApBgNV HREEIjAgpB4wHDEaMBgGA1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcNAQEFBQAD gYEASIzRUIPqCy7MDaNmrGcPf6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNwPP2t4WFi w9k6GX6EsZkbAMUaC4J0niVQlGLH2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq726jTlEBpb NU1341YheILcIRk13iSx0x1G/11fZU8wggNaMIICw6ADAgECAgMLU6IwDQYJKoZIhvcNAQEE BQAwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0 ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTAz MTIxNTEyMzEyOFoXDTA0MTIxNDEyMzEyOFowgYQxDzANBgNVBAQTBkVnZ2VydDENMAsGA1UE KhMETGFyczEUMBIGA1UEAxMLTGFycyBFZ2dlcnQxKDAmBgkqhkiG9w0BCQEWGWxhcnMuZWdn ZXJ0QG5ldGxhYi5uZWMuZGUxIjAgBgkqhkiG9w0BCQEWE2xhcnMuZWdnZXJ0QGdteC5uZXQw ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDWps58Zq8Buu2DKDl9crbvzSo6zWsZ TkQLr5zOTqUMs/eU7Mcohv64O4IxWWYGLfYsjDRxUlmdHdJUbyTtUh2lH452DUDJByXidlLm RDgohG0AVwztedqy1+hE3VnCdpMhUGks+6ntrr3dKSxMgLM0AM1kPWsH9lWX6IOPdxOC30gM PiQ65zH9PR70befQLgFPKcAv0wP8210l05n8ekwYAcq2cm3/j+nuDu0HEh5pgsnY7cVELeNJ ODvr4IiE1t3c2w4+0Nc/WJrqGCMl+gZ8c+7FtzjoyDeEsCjNFDeA2ymNd+10O6kjwvPHlzPr 3rW73RDRPAjMJ49HXlueiuoNAgMBAAGjdzB1MCoGBStlAQQBBCEwHwIBADAaMBgCAQQEE0wy dU15ZmZCTlViTkpKY2RaMnMwOQYDVR0RBDIwMIEZbGFycy5lZ2dlcnRAbmV0bGFiLm5lYy5k ZYETbGFycy5lZ2dlcnRAZ214Lm5ldDAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GB AHgrv3SQFD4AS4lY4oKcI3iTHcclEHbYfg3UUb8zzCUsl+OJoz0nmebGmOL+tvNj5GvCrWnN H4LvVLh8ZBhFXms7eKJ1YiHgbKwTRK23P8Y5NDit5ico0ZjpFWeenUWj3ajEbN6n4K8dNp+C 0b2apnSrlFVWY6BucZFIYqQ1Lf91MIIDWjCCAsOgAwIBAgIDC1OiMA0GCSqGSIb3DQEBBAUA MGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQu MSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQTAeFw0wMzEy MTUxMjMxMjhaFw0wNDEyMTQxMjMxMjhaMIGEMQ8wDQYDVQQEEwZFZ2dlcnQxDTALBgNVBCoT BExhcnMxFDASBgNVBAMTC0xhcnMgRWdnZXJ0MSgwJgYJKoZIhvcNAQkBFhlsYXJzLmVnZ2Vy dEBuZXRsYWIubmVjLmRlMSIwIAYJKoZIhvcNAQkBFhNsYXJzLmVnZ2VydEBnbXgubmV0MIIB IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1qbOfGavAbrtgyg5fXK2780qOs1rGU5E C6+czk6lDLP3lOzHKIb+uDuCMVlmBi32LIw0cVJZnR3SVG8k7VIdpR+Odg1AyQcl4nZS5kQ4 KIRtAFcM7XnastfoRN1ZwnaTIVBpLPup7a693SksTICzNADNZD1rB/ZVl+iDj3cTgt9IDD4k Oucx/T0e9G3n0C4BTynAL9MD/NtdJdOZ/HpMGAHKtnJt/4/p7g7tBxIeaYLJ2O3FRC3jSTg7 6+CIhNbd3NsOPtDXP1ia6hgjJfoGfHPuxbc46Mg3hLAozRQ3gNspjXftdDupI8Lzx5cz6961 u90Q0TwIzCePR15bnorqDQIDAQABo3cwdTAqBgUrZQEEAQQhMB8CAQAwGjAYAgEEBBNMMnVN eWZmQk5VYk5KSmNkWjJzMDkGA1UdEQQyMDCBGWxhcnMuZWdnZXJ0QG5ldGxhYi5uZWMuZGWB E2xhcnMuZWdnZXJ0QGdteC5uZXQwDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQQFAAOBgQB4 K790kBQ+AEuJWOKCnCN4kx3HJRB22H4N1FG/M8wlLJfjiaM9J5nmxpji/rbzY+Rrwq1pzR+C 71S4fGQYRV5rO3iidWIh4GysE0Sttz/GOTQ4reYnKNGY6RVnnp1Fo92oxGzep+CvHTafgtG9 mqZ0q5RVVmOgbnGRSGKkNS3/dTGCAzswggM3AgEBMGkwYjELMAkGA1UEBhMCWkExJTAjBgNV BAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJz b25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAgMLU6IwCQYFKw4DAhoFAKCCAacwGAYJKoZIhvcN AQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDQwMTI5MTUwMjA3WjAjBgkqhkiG 9w0BCQQxFgQUA4jjUVmeJOjhtRtNvHU521u/GLQwUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG 9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcN AwICASgweAYJKwYBBAGCNxAEMWswaTBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECAwtTojB6BgsqhkiG9w0BCRACCzFroGkwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0 ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAgMLU6IwDQYJKoZIhvcNAQEBBQAEggEA eG+/G3PqQ3UrdTh8nPcDFjsAm18bMNIWFodg1GPm8/bIM1emSi1BVnZfMyx888Uvc7m2fMIS AXomVRsQDy6nd9fU8GrwmWISeRsVCBzvyAu1jE2ImKAIO74HhDM1SziqISGsP/zC2hhGu+Gf ee3aH7h/uDlMJG+VSiIWQRbdAyRWYG7HeG1V+wVuuCmpsGw0iOAJTkWxuE2QxyftHuZE8JLP /i4laD6yxxL+I6/MpYrWwetRr/lZGUuExM1P4OzzA3o/kNXE5ueuyWgXbX30NZdut9BpoJ3+ Nc47Ec9qmSS1R5BXuzOl5fmboe7dlJZn9eAgYrjy3mmAylRXY6k4CgAAAAAAAA== --------------ms000906040004020402080903-- From owner-freebsd-net@FreeBSD.ORG Thu Jan 29 08:40:14 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0136D16A4CE; Thu, 29 Jan 2004 08:40:14 -0800 (PST) Received: from mx2.nersc.gov (mx2.nersc.gov [128.55.6.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D00F43D1F; Thu, 29 Jan 2004 08:40:05 -0800 (PST) (envelope-from dart@nersc.gov) Received: by mx2.nersc.gov (Postfix, from userid 4002) id 43D0A7752; Thu, 29 Jan 2004 08:40:05 -0800 (PST) Received: from mx2.nersc.gov (localhost [127.0.0.1]) by localhost.nersc.gov (Postfix) with ESMTP id B9F4A775B; Thu, 29 Jan 2004 08:40:01 -0800 (PST) Received: from gemini.nersc.gov (gemini.nersc.gov [128.55.16.111]) by mx2.nersc.gov (Postfix) with ESMTP id 730767752; Thu, 29 Jan 2004 08:40:01 -0800 (PST) Received: from gemini.nersc.gov (localhost [127.0.0.1]) by gemini.nersc.gov (Postfix) with ESMTP id 61DE5F8EB; Thu, 29 Jan 2004 08:40:01 -0800 (PST) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Don Lewis In-Reply-To: Message from Don Lewis <200401290330.i0T3UP7E085602@gw.catspoiler.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-1058242534P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 29 Jan 2004 08:40:01 -0800 From: Eli Dart Message-Id: <20040129164001.61DE5F8EB@gemini.nersc.gov> X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mx2.nersc.gov X-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 cc: net@FreeBSD.org Subject: Re: jumbo-frames on the network 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, 29 Jan 2004 16:40:14 -0000 --==_Exmh_-1058242534P Content-Type: text/plain; charset=us-ascii In reply to Don Lewis : > On 28 Jan, Garrett Wollman wrote: > > < > > >> Can different MTUs be mixed on the same wire > > > > No. > > It's ugly, but I wonder if adding host routes with the -lock -mtu > options might work ... I wouldn't even mess with it. If you have an MTU mismatch on the same layer-2 domain, you have a Broken Network. If you manage to make it work with duct tape and zip ties, you're only setting yourself up for operational pain down the road. Just put a layer-3 hop in between your standard frame and jumbo frame hosts, and you're good to go. The other thing people often do is block all ICMP because "ICMP is bad" and then wonder why path MTU discovery breaks :P --eli > _______________________________________________ > 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" > --==_Exmh_-1058242534P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQFAGTdhLTFEeF+CsrMRApSGAJ9dRKgThcWy/2uAfXMjCq/iXMtXeACfQ1W2 JYlUZ8iNKYwOyt80kSNnhgA= =9SH1 -----END PGP SIGNATURE----- --==_Exmh_-1058242534P-- From owner-freebsd-net@FreeBSD.ORG Thu Jan 29 10:10:37 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A724616A4CE for ; Thu, 29 Jan 2004 10:10:37 -0800 (PST) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2854243D39 for ; Thu, 29 Jan 2004 10:10:36 -0800 (PST) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Thu, 29 Jan 2004 13:10:35 -0500 Message-ID: From: Don Bowman To: 'Kevin Day' , Vlad Galu Date: Thu, 29 Jan 2004 13:10:30 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" cc: freebsd-net@freebsd.org Subject: RE: DEVICE_POLLING with SMP 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, 29 Jan 2004 18:10:37 -0000 > From: Kevin Day [mailto:toasty@dragondata.com] > On Jan 29, 2004, at 1:04 AM, Vlad Galu wrote: > > > > I see no reason for it. Having to switch between multiple kernel > > threads to handle polling may bring too much overhead. > > > > > > Would that really be happening though? > > If polling is happening in the idle loop, extra overhead > doesn't really > matter all that much, the CPU is idle, and I can't imagine it > being any > worse during a livelock inducing amount of traffic. > > If it's polling during any other time, the code is exactly the same > between the UP and SMP case, and I can't imagine the overhead > being all > THAT much worse, would it? > > My primary goal with it is to stop thrashing context switches > when I've > got a system acting as a router with 8 network interfaces on it. Even > with network card interrupt coalescing there is a whole lot of > interrupt activity going on, which polling seems to make a noticeable > difference with polling enabled. I'm also very interested in > polling's > ability to more gracefully handle extremely heavy network traffic > without getting into livelock, which may be worth it to some people > prone to DoS activity when they have a whole lot of bandwidth to deal > with. > > I'd be willing to chip in a few bucks for development time if anyone > wants to make the changes to try it out. It didn't look that > difficult, > but my time is pretty booked right now. > > -- Kevin On 4.X, you can simply comment out the check for device polling and MP operation. The system will now work fine. It will not, however, poll on idle. We are running this way and it works very well. Polling on idle for MP requires a bit more work. If you do that work, you will have some locking issues to solve. I have not tried this on current yet. --don From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 02:25:21 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D09816A4CE for ; Fri, 30 Jan 2004 02:25:21 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CF8143D3F for ; Fri, 30 Jan 2004 02:25:19 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 1B44A654B2; Fri, 30 Jan 2004 10:25:18 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 89169-02-2; Fri, 30 Jan 2004 10:25:17 +0000 (GMT) Received: from saboteur.dek.spc.org (82-147-17-88.dsl.uk.rapidplay.com [82.147.17.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 303136547C; Fri, 30 Jan 2004 10:25:17 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id 2D59957; Fri, 30 Jan 2004 10:25:15 +0000 (GMT) Date: Fri, 30 Jan 2004 10:25:15 +0000 From: Bruce M Simpson To: Lars Eggert Message-ID: <20040130102515.GA733@saboteur.dek.spc.org> References: <4019206F.6000408@netlab.nec.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <4019206F.6000408@netlab.nec.de> cc: net@freebsd.org Subject: Re: European USB DSL modems? 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, 30 Jan 2004 10:25:21 -0000 On Thu, Jan 29, 2004 at 04:02:07PM +0100, Lars Eggert wrote: > does -current support any European USB DSL modems, and if so, which=20 > ones? I could get this one free with my DSL order:=20 > http://www.avm.de/de/Produkte/FRITZCard_DSL/FRITZ_Card_DSL_SL_USB/index.j= s.html=20 > (Sorry, page is in German.) There is a driver for Sagem devices; I haven't had success with the driver under 4.9, but the author suggests that -CURRENT yields much better results. Search for ueagle. It's not part of the tree. BMS From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 06:08:32 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD88D16A4CE for ; Fri, 30 Jan 2004 06:08:32 -0800 (PST) Received: from famine.e-raist.com (69-30-69-105.dq1mn.easystreet.com [69.30.69.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FEE143D4C for ; Fri, 30 Jan 2004 06:08:30 -0800 (PST) (envelope-from aburke@nullplusone.com) Received: from thebe (c-67-170-182-208.client.comcast.net [67.170.182.208]) (authenticated bits=0) by famine.e-raist.com (8.12.8/8.12.8) with ESMTP id i0UE8R5L042129 for ; Fri, 30 Jan 2004 06:08:29 -0800 (PST) From: "Aaron Burke" To: Date: Fri, 30 Jan 2004 06:08:38 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: Multilink FreeBSD to FreeBSD with mpd over Cable and DSL 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, 30 Jan 2004 14:08:33 -0000 Hello FreeBSD-net, I am trying to figure out the best way to link two FreeBSD boxes together using two seperate internet connections at the same time per host. Both FreeBSD boxen have both Cable and DSL connections. I am looking for a way to link them together using both connections. Cable and DSL seem to have about 98% uptime in my area, and I am in a situation, where I can not live without a broadband connection between the two sites. I intend on creating a multilink connection between the two FreeBSD boxen using mpd. It is my understanding that mpd will detect that one of the links has gone down and stop using it. (I am assuming that it occationally checks the link to see if it has gone back up) I basically have the following situation (fake IP addresses). Alpha and DG are Host names. Alpha: (Cable) 12.5.3.103 (1500K/256K) Alpha: (DSL) 14.2.1.7 (768K/128K) DG: (Cable) 17.3.2.202 (1500K/256K) DG: (DSL) 17.24.12.83 (768K/128K) I would like to create a link from Cable to Cable, and DSL to DSL. The speeds on cable are about twice the speed, so I am also interested in mpd's ability to divert more traffic out that link, and receive more traffic from that link. I am planning on sending a private address over the links, having 192.168.50.100 on Alpha, and 192.168.50.101 on DG. (example): 192.168.50.100 <-- MPD1 MPD1 --> 192.168.50.101 <-- MPD2 MPD2 --> I have done some research into mpd, and it appears to do exactly what I want, but I am looking for a way of configuring the mpd. The problem is that the sample configs of mpd dont seem to describe this situation. Can anyone direct me to a site with a similar setup? Am I mistaken about mpd? Thanks for your time Aaron Burke aburke@nullplusone.com From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 07:43:16 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D15EF16A4CE for ; Fri, 30 Jan 2004 07:43:16 -0800 (PST) Received: from outhub3.tibco.com (outhub3.tibco.com [63.100.100.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2803743D45 for ; Fri, 30 Jan 2004 07:43:15 -0800 (PST) (envelope-from BobVan@tibco.com) Received: from outhub1.tibco.com (outhub1.tibco.com [63.100.100.155]) by outhub3.tibco.com (8.12.10/8.12.10) with SMTP id i0UFhEVJ005938 for ; Fri, 30 Jan 2004 07:43:14 -0800 (PST) Received: from nodnsquery(10.106.128.33) by outhub1.tibco.com via csmap id b217a402_533a_11d8_9c13_00304811db0b_8761; Fri, 30 Jan 2004 07:40:56 -0800 (PST) Received: from Tin.War.Tibco.Com (Tin.PGM.war.tibco.com [10.97.128.50]) i0UFhDr8000152 for ; Fri, 30 Jan 2004 07:43:13 -0800 (PST) Received: from [10.97.128.77] (NewStorm.war.tibco.com [10.97.128.77]) by Tin.War.Tibco.Com (8.12.3/8.12.3) with ESMTP id i0UFhCOs017863 for ; Fri, 30 Jan 2004 09:43:13 -0600 (CST) (envelope-from BobVan@Tibco.Com) From: Bob Van Valzah To: FreeBSD-Net@FreeBSD.Org Content-Type: text/plain Message-Id: <1075477392.83564.4.camel@NewStorm.War.Tibco.Com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 30 Jan 2004 09:43:12 -0600 Content-Transfer-Encoding: 7bit Subject: PIM IPv4 user-level 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: Fri, 30 Jan 2004 15:43:16 -0000 I'm interested in doing IPv4 multicast routing but want to avoid DVMRP. I see kernel support for PIM both IPv4 and IPv6. But I can't find any user-level process to run PIM IPv4. It seems odd that kernel support would be present with no routing daemon. Am I missing something obvious? Thanks, Bob From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 08:48:29 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD17B16A4CE for ; Fri, 30 Jan 2004 08:48:29 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7820343D58 for ; Fri, 30 Jan 2004 08:47:54 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 4B1A3651FC; Fri, 30 Jan 2004 16:45:53 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 92369-04; Fri, 30 Jan 2004 16:45:52 +0000 (GMT) Received: from saboteur.dek.spc.org (82-147-17-88.dsl.uk.rapidplay.com [82.147.17.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 61A0E651F7; Fri, 30 Jan 2004 16:45:52 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id 786C840; Fri, 30 Jan 2004 16:45:51 +0000 (GMT) Date: Fri, 30 Jan 2004 16:45:51 +0000 From: Bruce M Simpson To: Bob Van Valzah Message-ID: <20040130164551.GE732@saboteur.dek.spc.org> Mail-Followup-To: Bob Van Valzah , FreeBSD-Net@FreeBSD.Org References: <1075477392.83564.4.camel@NewStorm.War.Tibco.Com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1075477392.83564.4.camel@NewStorm.War.Tibco.Com> cc: FreeBSD-Net@FreeBSD.Org Subject: Re: PIM IPv4 user-level 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: Fri, 30 Jan 2004 16:48:29 -0000 On Fri, Jan 30, 2004 at 09:43:12AM -0600, Bob Van Valzah wrote: > I'm interested in doing IPv4 multicast routing but want to avoid DVMRP. > I see kernel support for PIM both IPv4 and IPv6. But I can't find any > user-level process to run PIM IPv4. It seems odd that kernel support > would be present with no routing daemon. Am I missing something > obvious? We don't have pimsd or pimdd for IPv4 in ports at the moment. Patches will be gratefully accepted! BMS From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 09:35:10 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C4E416A4CE for ; Fri, 30 Jan 2004 09:35:10 -0800 (PST) Received: from mail.isg.siue.edu (mail.isg.siue.edu [146.163.5.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id CABAC43D5F for ; Fri, 30 Jan 2004 09:34:56 -0800 (PST) (envelope-from ehamilt@cougar.isg.siue.edu) Received: from WEBSHIELD1.isg.siue.edu (webshield1.isg.siue.edu [146.163.5.149])id LAA06948 for ; Fri, 30 Jan 2004 11:34:46 -0600 (CST) Received: From mail.isg.siue.edu ([146.163.5.4]) by WEBSHIELD1.isg.siue.edu (WebShield SMTP v4.5 MR1a); id 1075484085302; Fri, 30 Jan 2004 11:34:45 -0600 Received: from cougar.isg.siue.edu (cougar [146.163.5.29]) id LAA06835; Fri, 30 Jan 2004 11:34:42 -0600 (CST) Received: from localhost (ehamilt@localhost)ESMTP id LAA29681; Fri, 30 Jan 2004 11:34:41 -0600 (CST) Date: Fri, 30 Jan 2004 11:34:41 -0600 (CST) From: Erik Hamilton To: freebsd-questions@freebsd.org, freebsd-net@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: FreeBSD IP Device Driver 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, 30 Jan 2004 17:35:10 -0000 I'm currently working on building a simple token ring networking scheme over the parallel port (/dev/ppi0) for a graduate project. The project itself is to be used later for educational purposes, illustrating how you can build a network from the ground up through hardware developement, framing, and layering. The hardware is done, simple token managment is working, and data can be passed around the ring. So basically I have the physical and datalink layers mostly done. It's my understanding that if I can get my program to speak IP to FreeBSD (through a kernel module or something else) I could inherit its TCP/IP stack. Ideally I would like to have my simple token ring as another network device that could be used just like any other network interface. I've been reading through FreeBSD's handbooks and poking through /usr/src/sys/dev/. * Developers' Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.html * FreeBSD Architecture Handbook (esp. Section II: Device Drivers): http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/index.html Basically I think I'm just looking for some guidance. Am I on the right track? or am I confused? I haven't had the best luck with google, so any other reading material would be greatly appreciated. Erik From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 09:51:52 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3770416A4CE for ; Fri, 30 Jan 2004 09:51:52 -0800 (PST) Received: from ack.Berkeley.EDU (ack.Berkeley.EDU [128.32.206.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2337543D79 for ; Fri, 30 Jan 2004 09:51:31 -0800 (PST) (envelope-from mhunter@ack.Berkeley.EDU) Received: (from mhunter@localhost) by ack.Berkeley.EDU (8.11.3/8.11.3) id i0UHpAL19243 for freebsd-net@freebsd.org; Fri, 30 Jan 2004 09:51:10 -0800 (PST) Date: Fri, 30 Jan 2004 09:51:10 -0800 From: Mike Hunter To: freebsd-net@freebsd.org Message-ID: <20040130175110.GA18346@ack.Berkeley.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: net.inet.icmp.icmplim change issues 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, 30 Jan 2004 17:51:52 -0000 Greetings programs, I'm working on making a freebsd shuttle box to do throughput testing at remote sites on campus. There's a couple things I'd appreciate some advice about. I'm interested in turning off the icmp response limit. In /boot/loader.conf I have the following: net.inet.icmp.icmplim="0" Yet when I boot % sysctl -a | grep icmpl net.inet.icmp.icmplim: 200 net.inet.icmp.icmplim_output: 1 Doh! Would I need to recompile my kernel for some reason, or is /boot/loader.conf not the right place. Is this something I really shouldn't be doing? Thanks, Mike From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 09:56:04 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A8C116A4CE for ; Fri, 30 Jan 2004 09:56:04 -0800 (PST) Received: from outhub3.tibco.com (outhub3.tibco.com [63.100.100.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EE1843D53 for ; Fri, 30 Jan 2004 09:55:55 -0800 (PST) (envelope-from BVanValz@tibco.com) Received: from outhub1.tibco.com (outhub1.tibco.com [63.100.100.155]) by outhub3.tibco.com (8.12.10/8.12.10) with SMTP id i0UHtsVJ011298; Fri, 30 Jan 2004 09:55:54 -0800 (PST) Received: from nodnsquery(10.106.128.33) by outhub1.tibco.com via csmap id 3af2e7a2_534d_11d8_9d76_00304811db0b_17660; Fri, 30 Jan 2004 09:53:37 -0800 (PST) Received: from Tin.War.Tibco.Com (Tin.PGM.war.tibco.com [10.97.128.50]) i0UHtrr8005956; Fri, 30 Jan 2004 09:55:54 -0800 (PST) Received: from [10.97.128.77] (NewStorm.war.tibco.com [10.97.128.77]) by Tin.War.Tibco.Com (8.12.3/8.12.3) with ESMTP id i0UHtrOs018619; Fri, 30 Jan 2004 11:55:53 -0600 (CST) (envelope-from BVanValz@Tibco.Com) From: Bob Van Valzah To: Bruce M Simpson In-Reply-To: <20040130164551.GE732@saboteur.dek.spc.org> References: <1075477392.83564.4.camel@NewStorm.War.Tibco.Com> <20040130164551.GE732@saboteur.dek.spc.org> Content-Type: text/plain Message-Id: <1075485353.83564.63.camel@NewStorm.War.Tibco.Com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 30 Jan 2004 11:55:53 -0600 Content-Transfer-Encoding: 7bit cc: FreeBSD-Net@FreeBSD.Org Subject: Re: PIM IPv4 user-level 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: Fri, 30 Jan 2004 17:56:04 -0000 I've done some local ports before and I know enough about multicast routing that I stand a chance of being able to come up with some suitable patches. I even have a good test environment for it here with Ciscos running PIM. I probably won't have time to come up with an extensive patch set, but I could probably make something work if the amount of patching required is more modest. Where would I find the sources to get started porting/patching? Thanks, Bob On Fri, 2004-01-30 at 10:45, Bruce M Simpson wrote: > On Fri, Jan 30, 2004 at 09:43:12AM -0600, Bob Van Valzah wrote: > > I'm interested in doing IPv4 multicast routing but want to avoid DVMRP. > > I see kernel support for PIM both IPv4 and IPv6. But I can't find any > > user-level process to run PIM IPv4. It seems odd that kernel support > > would be present with no routing daemon. Am I missing something > > obvious? > > We don't have pimsd or pimdd for IPv4 in ports at the moment. > Patches will be gratefully accepted! > > BMS From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 10:14:04 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C295E16A4CE; Fri, 30 Jan 2004 10:14:04 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA8C043D3F; Fri, 30 Jan 2004 10:13:25 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.3) with ESMTP id i0UIDD2h013344; Fri, 30 Jan 2004 10:13:13 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i0UIDDLq013341; Fri, 30 Jan 2004 10:13:13 -0800 Date: Fri, 30 Jan 2004 10:13:12 -0800 From: Brooks Davis To: Erik Hamilton Message-ID: <20040130181312.GC1914@Odin.AC.HMC.Edu> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6sX45UoQRIJXqkqR" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: freebsd-net@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD IP Device Driver 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, 30 Jan 2004 18:14:04 -0000 --6sX45UoQRIJXqkqR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 30, 2004 at 11:34:41AM -0600, Erik Hamilton wrote: > I'm currently working on building a simple token ring networking scheme > over the parallel port (/dev/ppi0) for a graduate project. The project > itself is to be used later for educational purposes, illustrating how you > can build a network from the ground up through hardware developement, > framing, and layering. The hardware is done, simple token managment is > working, and data can be passed around the ring. So basically I have the > physical and datalink layers mostly done. It's my understanding that if I > can get my program to speak IP to FreeBSD (through a kernel module or > something else) I could inherit its TCP/IP stack. >=20 > Ideally I would like to have my simple token ring as another network > device that could be used just like any other network interface. I've been > reading through FreeBSD's handbooks and poking through /usr/src/sys/dev/. >=20 > * Developers' Handbook: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/inde= x.html >=20 > * FreeBSD Architecture Handbook (esp. Section II: Device Drivers): > http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/index.html >=20 > Basically I think I'm just looking for some guidance. Am I on the right > track? or am I confused? I haven't had the best luck with google, so any > other reading material would be greatly appreciated. Those are good places to look. I'd specifictly recommend looking at the implementation of the plip driver since that interfaces to the parallel port. Depending on how your device works (what the datalink layer looks like, what your timing requirements are, etc.), you might find it easier to handle the transmission through a userland program using tap or tun devices or possiably a combination of netgraph nodes. Actually, making a netgraph parallel port device might simplify your life tremendously if you decide to work in the kernel. One thing that would help you would be if your datalink layer looks enough like ethernet that you can use ARP so you don't have to rebuild the link layer to IP mapping code. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --6sX45UoQRIJXqkqR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAGp62XY6L6fI4GtQRAi5IAKCxW9UVt7KyqEmvLQ26Ecq4TMTz4QCeNjwd aGVwDLdWfoy9F9MhvSwcBQU= =Vrkh -----END PGP SIGNATURE----- --6sX45UoQRIJXqkqR-- From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 10:16:05 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CD7716A4CE for ; Fri, 30 Jan 2004 10:16:05 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 4E7C343D7F for ; Fri, 30 Jan 2004 10:15:38 -0800 (PST) (envelope-from silby@silby.com) Received: (qmail 53224 invoked from network); 30 Jan 2004 18:15:26 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 30 Jan 2004 18:15:26 -0000 X-pair-Authenticated: 209.68.2.70 Date: Fri, 30 Jan 2004 12:15:25 -0600 (CST) From: Mike Silbersack To: Mike Hunter In-Reply-To: <20040130175110.GA18346@ack.Berkeley.EDU> Message-ID: <20040130121435.X691@odysseus.silby.com> References: <20040130175110.GA18346@ack.Berkeley.EDU> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: net.inet.icmp.icmplim change issues 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, 30 Jan 2004 18:16:05 -0000 On Fri, 30 Jan 2004, Mike Hunter wrote: > I'm interested in turning off the icmp response limit. In > /boot/loader.conf I have the following: /etc/sysctl.conf is what you are looking for. loader.conf is (mostly) for tunable values which cannot be changed at runtime. Mike "Silby" Silbersack From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 10:24:38 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E332616A4CE for ; Fri, 30 Jan 2004 10:24:38 -0800 (PST) Received: from ack.Berkeley.EDU (ack.Berkeley.EDU [128.32.206.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE44C43D45 for ; Fri, 30 Jan 2004 10:24:34 -0800 (PST) (envelope-from mhunter@ack.Berkeley.EDU) Received: (from mhunter@localhost) by ack.Berkeley.EDU (8.11.3/8.11.3) id i0UIOYb27671; Fri, 30 Jan 2004 10:24:34 -0800 (PST) Date: Fri, 30 Jan 2004 10:24:34 -0800 From: Mike Hunter To: freebsd-net@freebsd.org Message-ID: <20040130182434.GB18346@ack.Berkeley.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: Assymetric results from iperf across gigabit link (long) 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, 30 Jan 2004 18:24:39 -0000 Hi, I'm having a confusing time trying to figure out why I can't get good throughput across a gigabit fiber run. I'm going to provide more details than is probably necessary to turn this email into something suitable to read as a bed time story. It all starts with two IMC media converters, a gigabit fiber run (don't know the _X/nm specs...sorry, I'm not a real network engineer, I'm just a programmer :| ), and two fbsd 5 boxes: One Shuttle box running 5.1-current from November with a "bge0: mem 0xf7000000-0xf700ffff irq 19 at device 7.0 on pci2", and a dell d800 laptop with a "bge0: mem 0xfaff0000-0xfaffffff irq 11 at device 0.0 on pci2" running 5.2-release. I'm trying to run iperf version 1.7 and achieve "gigabit" speeds across the link. The Shuttle box is located in a secret location that we'll call Space Science Laboratory (SSL), and the Laptop is located some place we'll call Sproul Hall. Preamble: I had a lot of trouble getting link. I found it necessary to ifconfig the interface up before it would even give me link...I was lucky to stumble upon that in the first place...any thoughts why that might be? >From Sproul to SSL, with the Shuttle acting as the iperf server, I can get around 290 MBits/sec throughput. I understand that there's a theoretical bus bandwidth limit at 300 Mbps, so maybe that number should be considered good (comments welcome.) >From SSL to Sproul, with my laptop acting as the iperf server, I can only get sub-10-mbps performance. I even tried booting my laptop into windows XP and installing iperf for windows, and I got the same result. I asked several friends for advice, and I got a lot of suggestions about checking netstat. I checked netstat -s, -m, -i, and none of them gave anything out of the ordinary. I've included a netstat -s. The only thing that seems remotely strange is the number of out-of-order packets, but I looked at the corresponding number for the "working" direction and it seemed about the same. So, I guess I'm looking for any other commands to see what the problem might be. I'm getting ready to reverse the positions of the two computers and run the tests again...hopefully the slow side will be the opposite and I can write this off to a crappy laptop network adapter. Also, `slurm` and `systat -tcp -z` are awesome! Thanks for any help, Mike PS one last detail: I hooked the laptop into a 100 mbps switch that's fed off of this link, and I got similarly lop-sided results. PPS results of flood-pings follow: Forwarded message: So let me clue you in on what I'm trying to do: I've got this fancy laptop and this fancy shuttle box that I want to blast iperf between. Check this out: from laptop; iperf -c 169.229.254.140 -d ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ ------------------------------------------------------------ Client connecting to 169.229.254.140, TCP port 5001 TCP window size: 32.5 KByte (default) ------------------------------------------------------------ [ 6] local 169.229.254.141 port 49167 connected with 169.229.254.140 port 5001 [ 7] local 169.229.254.141 port 5001 connected with 169.229.254.140 port 49183 [ ID] Interval Transfer Bandwidth [ 6] 0.0-10.0 sec 55.1 MBytes 46.2 Mbits/sec [ 7] 0.0-10.0 sec 110 MBytes 92.2 Mbits/sec There's nothing asymetric about the link here...why on earth would the bandwidths be so different? netstat -i said "-" errors (as opposed to "0")...know what the difference is? netstat -s tells me this (I don't see anything out of the ordinary): tcp: 1608050 packets sent 1024825 data packets (1482233166 bytes) 1144 data packets (1656272 bytes) retransmitted 1 data packet unnecessarily retransmitted 0 resends initiated by MTU discovery 331651 ack-only packets (711 delayed) 0 URG only packets 0 window probe packets 250403 window update packets 27 control packets 1455446 packets received 607611 acks (for 1482233196 bytes) 16143 duplicate acks 0 acks for unsent data 748137 packets (1081890050 bytes) received in-sequence 17 completely duplicate packets (24616 bytes) 0 old duplicate packets 0 packets with some dup. data (0 bytes duped) 6465 out-of-order packets (9348120 bytes) 0 packets (0 bytes) of data after window 0 window probes 77838 window update packets 1 packet received after close 0 discarded for bad checksums 0 discarded for bad header offset fields 0 discarded because packet too short 15 connection requests 9 connection accepts 0 bad connection attempts 0 listen queue overflows 23 connections established (including accepts) 27 connections closed (including 0 drops) 12 connections updated cached RTT on close 12 connections updated cached RTT variance on close 3 connections updated cached ssthresh on close 1 embryonic connection dropped 607611 segments updated rtt (of 252611 attempts) 7 retransmit timeouts 0 connections dropped by rexmit timeout 0 persist timeouts 0 connections dropped by persist timeout 0 keepalive timeouts 0 keepalive probes sent 0 connections dropped by keepalive 80 correct ACK header predictions 747352 correct data packet header predictions 9 syncache entries added 0 retransmitted 0 dupsyn 0 dropped 9 completed 0 bucket overflow 0 cache overflow 0 reset 0 stale 0 aborted 0 badack 0 unreach 0 zone failures 0 cookies sent 0 cookies received udp: 1024 datagrams received 0 with incomplete header 0 with bad data length field 0 with bad checksum 0 with no checksum 2 dropped due to no socket 140 broadcast/multicast datagrams dropped due to no socket 0 dropped due to full socket buffers 0 not for hashed pcb 882 delivered 1826 datagrams output ip: 1456503 total packets received 0 bad header checksums 0 with size smaller than minimum 0 with data size < data length 0 with ip length > max ip packet size 0 with header length < data size 0 with data length < header length 0 with bad options 0 with incorrect version number 0 fragments received 0 fragments dropped (dup or out of space) 0 fragments dropped after timeout 0 packets reassembled ok 1456471 packets for this host 32 packets for unknown/unsupported protocol 0 packets forwarded (0 packets fast forwarded) 0 packets not forwardable 0 packets received for unknown multicast group 0 redirects sent 1609889 packets sent from this host 0 packets sent with fabricated ip header 0 output packets dropped due to no bufs, etc. 24 output packets discarded due to no route 0 output datagrams fragmented 0 fragments created 0 datagrams that can't be fragmented 0 tunneling packets that can't find gif 0 datagrams with bad address in header icmp: 2 calls to icmp_error 0 errors not generated in response to an icmp message Output histogram: echo reply: 1 destination unreachable: 2 0 messages with bad code fields 0 messages < minimum length 0 bad checksums 0 messages with bad length 0 multicast echo requests ignored 0 multicast timestamp requests ignored Input histogram: echo: 1 1 message response generated 0 invalid return addresses 0 no return routes ICMP address mask responses are disabled igmp: 32 messages received 0 messages received with too few bytes 0 messages received with bad checksum 32 membership queries received 0 membership queries received with invalid field(s) 0 membership reports received 0 membership reports received with invalid field(s) 0 membership reports received for groups to which we belong 0 membership reports sent ip6: 0 total packets received 0 with size smaller than minimum 0 with data size < data length 0 with bad options 0 with incorrect version number 0 fragments received 0 fragments dropped (dup or out of space) 0 fragments dropped after timeout 0 fragments that exceeded limit 0 packets reassembled ok 0 packets for this host 0 packets forwarded 0 packets not forwardable 0 redirects sent 7 packets sent from this host 0 packets sent with fabricated ip header 0 output packets dropped due to no bufs, etc. 0 output packets discarded due to no route 0 output datagrams fragmented 0 fragments created 0 datagrams that can't be fragmented 0 packets that violated scope rules 0 multicast packets which we don't join Mbuf statistics: 0 one mbuf 0 one ext mbuf 0 two or more ext mbuf 0 packets whose headers are not continuous 0 tunneling packets that can't find gif 0 packets discarded because of too many headers 0 failures of source address selection 0 forward cache hit 0 forward cache miss icmp6: 0 calls to icmp6_error 0 errors not generated in response to an icmp6 message 0 errors not generated because of rate limitation Output histogram: multicast listener report: 6 neighbor solicitation: 1 0 messages with bad code fields 0 messages < minimum length 0 bad checksums 0 messages with bad length Histogram of error messages to be generated: 0 no route 0 administratively prohibited 0 beyond scope 0 address unreachable 0 port unreachable 0 packet too big 0 time exceed transit 0 time exceed reassembly 0 erroneous header field 0 unrecognized next header 0 unrecognized option 0 redirect 0 unknown 0 message responses generated 0 messages with too many ND options 0 messages with bad ND options 0 bad neighbor solicitation messages 0 bad neighbor advertisement messages 0 bad router solicitation messages 0 bad router advertisement messages 0 bad redirect messages 0 path MTU changes -------------------------------------------- celeste is my laptop, shuttlebox is the shuttlebox, .137 is the router interface, 138 is the Sproul switch, 139 is the remote switch, 140 is the shuttlebox, and 141 is the laptop. Notice the clean(?) pings between everything except the two boxes, which I understand to be related to icmplimit, as addressed in my previous mail. >From Sproul: celeste# ping -s 1400 -f -c 1000 169.229.254.137 PING 169.229.254.137 (169.229.254.137): 1400 data bytes ............................. --- 169.229.254.137 ping statistics --- 1000 packets transmitted, 972 packets received, 2% packet loss round-trip min/avg/max/stddev = 1.043/1.099/3.694/0.155 ms celeste# ping -s 1400 -f -c 1000 169.229.254.138 PING 169.229.254.138 (169.229.254.138): 1400 data bytes ...................... --- 169.229.254.138 ping statistics --- 1000 packets transmitted, 979 packets received, 2% packet loss round-trip min/avg/max/stddev = 0.234/0.272/3.122/0.103 ms celeste# ping -s 1400 -f -c 1000 169.229.254.139 PING 169.229.254.139 (169.229.254.139): 1400 data bytes ....................... --- 169.229.254.139 ping statistics --- 1000 packets transmitted, 978 packets received, 2% packet loss round-trip min/avg/max/stddev = 0.322/0.424/3.383/0.095 ms celeste# ping -s 1400 -f -c 1000 169.229.254.140 PING 169.229.254.140 (169.229.254.140): 1400 data bytes ................................................................................ ................................................................................ ............................. --- 169.229.254.140 ping statistics --- 1000 packets transmitted, 813 packets received, 18% packet loss round-trip min/avg/max/stddev = 0.416/1.096/65.937/5.768 ms celeste# ping -s 1400 -f -c 1000 169.229.254.141 PING 169.229.254.141 (169.229.254.141): 1400 data bytes ................................................................................ ................................................................................ .............................. --- 169.229.254.141 ping statistics --- 1000 packets transmitted, 811 packets received, 18% packet loss round-trip min/avg/max/stddev = 0.082/0.090/4.032/0.139 ms >From SSL: shuttlebox# ping -f -c 1000 -s 1400 169.229.254.137 PING 169.229.254.137 (169.229.254.137): 1400 data bytes .... --- 169.229.254.137 ping statistics --- 1000 packets transmitted, 997 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.956/1.050/6.765/0.227 ms shuttlebox# ping -f -c 1000 -s 1400 169.229.254.138 PING 169.229.254.138 (169.229.254.138): 1400 data bytes ... --- 169.229.254.138 ping statistics --- 1000 packets transmitted, 999 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.219/0.232/0.765/0.023 ms shuttlebox# ping -f -c 1000 -s 1400 169.229.254.139 PING 169.229.254.139 (169.229.254.139): 1400 data bytes . --- 169.229.254.139 ping statistics --- 1000 packets transmitted, 1000 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.152/0.161/0.388/0.010 ms shuttlebox# ping -f -c 1000 -s 1400 169.229.254.140 PING 169.229.254.140 (169.229.254.140): 1400 data bytes ................................................................................ ................................................................................ ................................ --- 169.229.254.140 ping statistics --- 1000 packets transmitted, 809 packets received, 19% packet loss round-trip min/avg/max/stddev = 0.014/0.339/65.521/4.584 ms shuttlebox# ping -f -c 1000 -s 1400 169.229.254.141 PING 169.229.254.141 (169.229.254.141): 1400 data bytes ................................................................................ ................................................................................ ............................. --- 169.229.254.141 ping statistics --- 1000 packets transmitted, 812 packets received, 18% packet loss round-trip min/avg/max/stddev = 0.329/0.411/0.905/0.031 ms From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 10:33:09 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3378716A4CE for ; Fri, 30 Jan 2004 10:33:09 -0800 (PST) Received: from csmail.commserv.ucsb.edu (cspdc.commserv.ucsb.edu [128.111.251.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7659C43D48 for ; Fri, 30 Jan 2004 10:33:07 -0800 (PST) (envelope-from steve@expertcity.com) Received: from expertcity.com ([68.111.37.3]) by csmail.commserv.ucsb.edu (Netscape Messaging Server 3.62) with ESMTP id 384; Fri, 30 Jan 2004 10:33:06 -0800 Message-ID: <401AA3A0.7080208@expertcity.com> Date: Fri, 30 Jan 2004 10:34:08 -0800 From: Steve Francis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Device polling, kern.polling.burst_max and gig-e 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, 30 Jan 2004 18:33:09 -0000 We have a 4.9-RELEASE-p1 box dedicated to some traffic analysis. It monitors on two em interfaces: about 200,000 pps on one interface, and 180,000 pps on the other. It's been dealing with that OK, but our traffic levels are increasing - we reached over 240,000 pps on one interface last week. This made CPU reach 100%, and some packets not get processed. So, last night we enabled polling on the nics. Initially, great result - CPU dropped from 82% load (45% system load due to interupts) yesterday to 55% load today (12% in system), for same pps load (about 300,000 pps total) at the time. However, input errors went from 0 to about 1200 (oddly, it was 1200 every other second, and 0 for the seconds in-between.) A bit of digging around led me to increase kern.polling.burst_max. According to http://info.iet.unipi.it/~luigi/polling/, "The default value is enough for a 100Mbit ethernet". I increased it gradually to 900, whcih has almost (but not entirely) eliminated the errors. Now the errors are zero for most intervals, but every 10 or so intervals there are between 10 and 100 input errors. So: - does it make sense to leave the default at 150, in this day of gigabit nics? - is there a danger in increasing the burt_max? (My burst size goes straight to the max of 900.) - can it be increased more ? - are there other variables that make sense to increase for gigabit? (like kern.polling.each_burst:?) Since I increased the burst max, I now have slowly incrementing kern.polling.lost_polls - about 1 every 2 seconds. Anything to worry about? Thanks Steve Francis From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 10:39:27 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45D3C16A4CE for ; Fri, 30 Jan 2004 10:39:27 -0800 (PST) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 152AC43D66 for ; Fri, 30 Jan 2004 10:38:57 -0800 (PST) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.9p1/8.12.8) with ESMTP id i0UIctAF007867; Fri, 30 Jan 2004 10:38:55 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id i0UIct9G007866; Fri, 30 Jan 2004 10:38:55 -0800 (PST) (envelope-from rizzo) Date: Fri, 30 Jan 2004 10:38:55 -0800 From: Luigi Rizzo To: Steve Francis Message-ID: <20040130103855.A7798@xorpc.icir.org> References: <401AA3A0.7080208@expertcity.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <401AA3A0.7080208@expertcity.com>; from steve@expertcity.com on Fri, Jan 30, 2004 at 10:34:08AM -0800 cc: freebsd-net@freebsd.org Subject: Re: Device polling, kern.polling.burst_max and gig-e 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, 30 Jan 2004 18:39:27 -0000 i would probably increase HZ to 2000 and burst_max to 300-400, not much more though otherwise you are going to spend too much time in the timer handler. In any case, i don't think the card is able to go above 6-700kpps. If you are having a lot of load, it is natural that you are going to get losses, the 2sec period is probably how often the nic updates the stats. cheers luigi On Fri, Jan 30, 2004 at 10:34:08AM -0800, Steve Francis wrote: > We have a 4.9-RELEASE-p1 box dedicated to some traffic analysis. It > monitors on two em interfaces: about 200,000 pps on one interface, and > 180,000 pps on the other. > It's been dealing with that OK, but our traffic levels are increasing - > we reached over 240,000 pps on one interface last week. This made CPU > reach 100%, and some packets not get processed. > So, last night we enabled polling on the nics. > Initially, great result - CPU dropped from 82% load (45% system load due > to interupts) yesterday to 55% load today (12% in system), for same pps > load (about 300,000 pps total) at the time. > > However, input errors went from 0 to about 1200 (oddly, it was 1200 > every other second, and 0 for the seconds in-between.) > > A bit of digging around led me to increase kern.polling.burst_max. > According to http://info.iet.unipi.it/~luigi/polling/, "The default > value is enough for a 100Mbit ethernet". I increased it gradually to > 900, whcih has almost (but not entirely) eliminated the errors. Now the > errors are zero for most intervals, but every 10 or so intervals there > are between 10 and 100 input errors. > > So: > - does it make sense to leave the default at 150, in this day of gigabit > nics? > - is there a danger in increasing the burt_max? (My burst size goes > straight to the max of 900.) > - can it be increased more ? > - are there other variables that make sense to increase for gigabit? > (like kern.polling.each_burst:?) > > Since I increased the burst max, I now have slowly incrementing > kern.polling.lost_polls - about 1 every 2 seconds. Anything to worry about? > > Thanks > Steve Francis > > > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 10:45:07 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1835216A4CF for ; Fri, 30 Jan 2004 10:45:07 -0800 (PST) Received: from csmail.commserv.ucsb.edu (cspdc.commserv.ucsb.edu [128.111.251.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D94F43D2F for ; Fri, 30 Jan 2004 10:45:05 -0800 (PST) (envelope-from steve@expertcity.com) Received: from expertcity.com ([68.111.37.3]) by csmail.commserv.ucsb.edu (Netscape Messaging Server 3.62) with ESMTP id 379; Fri, 30 Jan 2004 10:45:04 -0800 Message-ID: <401AA66E.3090708@expertcity.com> Date: Fri, 30 Jan 2004 10:46:06 -0800 From: Steve Francis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Luigi Rizzo References: <401AA3A0.7080208@expertcity.com> <20040130103855.A7798@xorpc.icir.org> In-Reply-To: <20040130103855.A7798@xorpc.icir.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: Device polling, kern.polling.burst_max and gig-e 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, 30 Jan 2004 18:45:07 -0000 Luigi Rizzo wrote: >i would probably increase HZ to 2000 and burst_max to 300-400, >not much more though otherwise you are going to spend too much >time in the timer handler. >In any case, i don't think the card is able to go above 6-700kpps. > > OK, thanks. Each card is only being asked to do (at most ) 250kpps. Two cards with that load in the system. No tuning of kern.polling.each_burst recommended? Thanks >If you are having a lot of load, it is natural that you are >going to get losses, the 2sec period is probably how often the >nic updates the stats. > > cheers > luigi > >On Fri, Jan 30, 2004 at 10:34:08AM -0800, Steve Francis wrote: > > >>We have a 4.9-RELEASE-p1 box dedicated to some traffic analysis. It >>monitors on two em interfaces: about 200,000 pps on one interface, and >>180,000 pps on the other. >>It's been dealing with that OK, but our traffic levels are increasing - >>we reached over 240,000 pps on one interface last week. This made CPU >>reach 100%, and some packets not get processed. >>So, last night we enabled polling on the nics. >>Initially, great result - CPU dropped from 82% load (45% system load due >>to interupts) yesterday to 55% load today (12% in system), for same pps >>load (about 300,000 pps total) at the time. >> >>However, input errors went from 0 to about 1200 (oddly, it was 1200 >>every other second, and 0 for the seconds in-between.) >> >>A bit of digging around led me to increase kern.polling.burst_max. >>According to http://info.iet.unipi.it/~luigi/polling/, "The default >>value is enough for a 100Mbit ethernet". I increased it gradually to >>900, whcih has almost (but not entirely) eliminated the errors. Now the >>errors are zero for most intervals, but every 10 or so intervals there >>are between 10 and 100 input errors. >> >>So: >>- does it make sense to leave the default at 150, in this day of gigabit >>nics? >>- is there a danger in increasing the burt_max? (My burst size goes >>straight to the max of 900.) >>- can it be increased more ? >>- are there other variables that make sense to increase for gigabit? >>(like kern.polling.each_burst:?) >> >>Since I increased the burst max, I now have slowly incrementing >>kern.polling.lost_polls - about 1 every 2 seconds. Anything to worry about? >> >>Thanks >>Steve Francis >> >> >> >> >>_______________________________________________ >>freebsd-net@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-net >>To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> >> From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 10:51:00 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B838916A4CE for ; Fri, 30 Jan 2004 10:51:00 -0800 (PST) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0912343D53 for ; Fri, 30 Jan 2004 10:50:59 -0800 (PST) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.9p1/8.12.8) with ESMTP id i0UIovAF008448; Fri, 30 Jan 2004 10:50:57 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id i0UIovpw008447; Fri, 30 Jan 2004 10:50:57 -0800 (PST) (envelope-from rizzo) Date: Fri, 30 Jan 2004 10:50:57 -0800 From: Luigi Rizzo To: Steve Francis Message-ID: <20040130105057.A8098@xorpc.icir.org> References: <401AA3A0.7080208@expertcity.com> <20040130103855.A7798@xorpc.icir.org> <401AA66E.3090708@expertcity.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <401AA66E.3090708@expertcity.com>; from steve@expertcity.com on Fri, Jan 30, 2004 at 10:46:06AM -0800 cc: freebsd-net@freebsd.org Subject: Re: Device polling, kern.polling.burst_max and gig-e 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, 30 Jan 2004 18:51:00 -0000 On Fri, Jan 30, 2004 at 10:46:06AM -0800, Steve Francis wrote: ... > No tuning of > > kern.polling.each_burst recommended? on a fast box maybe you can bring it up to 10-15, not clear that it will give a lot of performance gain, though. cheers luigi > > >If you are having a lot of load, it is natural that you are > >going to get losses, the 2sec period is probably how often the > >nic updates the stats. > > > > cheers > > luigi > > > >On Fri, Jan 30, 2004 at 10:34:08AM -0800, Steve Francis wrote: > > > > > >>We have a 4.9-RELEASE-p1 box dedicated to some traffic analysis. It > >>monitors on two em interfaces: about 200,000 pps on one interface, and > >>180,000 pps on the other. > >>It's been dealing with that OK, but our traffic levels are increasing - > >>we reached over 240,000 pps on one interface last week. This made CPU > >>reach 100%, and some packets not get processed. > >>So, last night we enabled polling on the nics. > >>Initially, great result - CPU dropped from 82% load (45% system load due > >>to interupts) yesterday to 55% load today (12% in system), for same pps > >>load (about 300,000 pps total) at the time. > >> > >>However, input errors went from 0 to about 1200 (oddly, it was 1200 > >>every other second, and 0 for the seconds in-between.) > >> > >>A bit of digging around led me to increase kern.polling.burst_max. > >>According to http://info.iet.unipi.it/~luigi/polling/, "The default > >>value is enough for a 100Mbit ethernet". I increased it gradually to > >>900, whcih has almost (but not entirely) eliminated the errors. Now the > >>errors are zero for most intervals, but every 10 or so intervals there > >>are between 10 and 100 input errors. > >> > >>So: > >>- does it make sense to leave the default at 150, in this day of gigabit > >>nics? > >>- is there a danger in increasing the burt_max? (My burst size goes > >>straight to the max of 900.) > >>- can it be increased more ? > >>- are there other variables that make sense to increase for gigabit? > >>(like kern.polling.each_burst:?) > >> > >>Since I increased the burst max, I now have slowly incrementing > >>kern.polling.lost_polls - about 1 every 2 seconds. Anything to worry about? > >> > >>Thanks > >>Steve Francis > >> > >> > >> > >> > >>_______________________________________________ > >>freebsd-net@freebsd.org mailing list > >>http://lists.freebsd.org/mailman/listinfo/freebsd-net > >>To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > >> > >> > From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 13:39:36 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66BAD16A4F7 for ; Fri, 30 Jan 2004 13:39:36 -0800 (PST) Received: from ack.Berkeley.EDU (ack.Berkeley.EDU [128.32.206.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C48143D39 for ; Fri, 30 Jan 2004 13:39:35 -0800 (PST) (envelope-from mhunter@ack.Berkeley.EDU) Received: (from mhunter@localhost) by ack.Berkeley.EDU (8.11.3/8.11.3) id i0ULdZv26194 for freebsd-net@freebsd.org; Fri, 30 Jan 2004 13:39:35 -0800 (PST) Date: Fri, 30 Jan 2004 13:39:35 -0800 From: Mike Hunter To: freebsd-net@freebsd.org Message-ID: <20040130213935.GB25194@ack.Berkeley.EDU> References: <20040130182434.GB18346@ack.Berkeley.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040130182434.GB18346@ack.Berkeley.EDU> User-Agent: Mutt/1.4i Subject: Re: Assymetric results from iperf across gigabit link (long) 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, 30 Jan 2004 21:39:36 -0000 On Jan 30, "To freebsd-net@freebsd.org" wrote: > Hi, [snip] I switched the two pieces of hardware, and the photons still prefer going uphill, so maybe there's a problem with the fiber after all. I'd still appreciate any hints on what to ask freebsd to help me figure it out. (Yes, we have real fiber test gear, this is more of an experiment.) Thanks, Mike From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 14:00:13 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B15C216A4CE for ; Fri, 30 Jan 2004 14:00:13 -0800 (PST) Received: from mx2.nersc.gov (mx2.nersc.gov [128.55.6.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DB7943D1D for ; Fri, 30 Jan 2004 14:00:11 -0800 (PST) (envelope-from dart@nersc.gov) Received: by mx2.nersc.gov (Postfix, from userid 4002) id 55A8077A2; Fri, 30 Jan 2004 14:00:10 -0800 (PST) Received: from mx2.nersc.gov (localhost [127.0.0.1]) by localhost.nersc.gov (Postfix) with ESMTP id 76A17775D; Fri, 30 Jan 2004 14:00:01 -0800 (PST) Received: from gemini.nersc.gov (gemini.nersc.gov [128.55.16.111]) by mx2.nersc.gov (Postfix) with ESMTP id A2D22774A; Fri, 30 Jan 2004 14:00:00 -0800 (PST) Received: from gemini.nersc.gov (localhost [127.0.0.1]) by gemini.nersc.gov (Postfix) with ESMTP id 81179F8EB; Fri, 30 Jan 2004 14:00:00 -0800 (PST) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Mike Hunter In-Reply-To: Message from Mike Hunter <20040130213935.GB25194@ack.Berkeley.EDU> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-966797664P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 30 Jan 2004 14:00:00 -0800 From: Eli Dart Message-Id: <20040130220000.81179F8EB@gemini.nersc.gov> X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mx2.nersc.gov X-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 cc: freebsd-net@freebsd.org Subject: Re: Assymetric results from iperf across gigabit link (long) 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, 30 Jan 2004 22:00:13 -0000 --==_Exmh_-966797664P Content-Type: text/plain; charset=us-ascii In reply to Mike Hunter : > On Jan 30, "To freebsd-net@freebsd.org" wrote: > > > Hi, > > [snip] > > I switched the two pieces of hardware, and the photons still prefer going > uphill, so maybe there's a problem with the fiber after all. I'd still > appreciate any hints on what to ask freebsd to help me figure it out. > (Yes, we have real fiber test gear, this is more of an experiment.) Have you looked at interface error counts? (netstat -inbd) If you have dirty fiber, you could just be missing/corrupting the odd packet here and there, which would be enough to impact a high-bandwidth TCP flow. the other thing to check is if a UDP cannon has the same bandwidth asymmetry, since the UDP iperf tests don't have TCP's timidity (if memory serves me).... --eli > > Thanks, > > Mike > _______________________________________________ > 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" > --==_Exmh_-966797664P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQFAGtPgLTFEeF+CsrMRAq2sAJ9uFiOjntj/guvuzA21Cfjn7j9y4gCgwB/d kPdNA34Mhgy2Z1+lv9QCg1w= =u9Kc -----END PGP SIGNATURE----- --==_Exmh_-966797664P-- From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 15:20:23 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5359516A4CE for ; Fri, 30 Jan 2004 15:20:23 -0800 (PST) Received: from outhub3.tibco.com (outhub3.tibco.com [63.100.100.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B9E743D31 for ; Fri, 30 Jan 2004 15:20:22 -0800 (PST) (envelope-from BVanValz@tibco.com) Received: from outhub1.tibco.com (outhub1.tibco.com [63.100.100.155]) by outhub3.tibco.com (8.12.10/8.12.10) with SMTP id i0UNKLVJ024914; Fri, 30 Jan 2004 15:20:21 -0800 (PST) Received: from nodnsquery(10.106.128.33) by outhub1.tibco.com via csmap id 8ed2f4ac_537a_11d8_9205_00304811db0b_6770; Fri, 30 Jan 2004 15:18:05 -0800 (PST) Received: from Tin.War.Tibco.Com (Tin.PGM.war.tibco.com [10.97.128.50]) i0UNKKr8021751; Fri, 30 Jan 2004 15:20:20 -0800 (PST) Received: from [10.97.128.77] (NewStorm.war.tibco.com [10.97.128.77]) by Tin.War.Tibco.Com (8.12.3/8.12.3) with ESMTP id i0UNKJOs020485; Fri, 30 Jan 2004 17:20:20 -0600 (CST) (envelope-from BVanValz@Tibco.Com) From: Bob Van Valzah To: Bruce M Simpson In-Reply-To: <20040130164551.GE732@saboteur.dek.spc.org> References: <1075477392.83564.4.camel@NewStorm.War.Tibco.Com> <20040130164551.GE732@saboteur.dek.spc.org> Content-Type: text/plain Message-Id: <1075504819.83564.133.camel@NewStorm.War.Tibco.Com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 30 Jan 2004 17:20:19 -0600 Content-Transfer-Encoding: 7bit cc: FreeBSD-Net@FreeBSD.Org Subject: Re: PIM IPv4 user-level 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: Fri, 30 Jan 2004 23:20:23 -0000 On Fri, 2004-01-30 at 10:45, Bruce M Simpson wrote: > We don't have pimsd or pimdd for IPv4 in ports at the moment. > Patches will be gratefully accepted! I downloaded xorp-0.5 to see if I could pull pimsd from it. A quick attempt to compile just pim resulted in an error. I did succeed in compiling the whole thing, but it sure looks like pim was meant to be used as part of the whole xorp thing rather than as a standalone. A port of the whole xorp world might be a better target than just the pim part. That wouldn't take much since it compiled easily. But it is a whopper--nearly 1 GB required to build. Bob From owner-freebsd-net@FreeBSD.ORG Fri Jan 30 15:43:42 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83EBA16A4CE for ; Fri, 30 Jan 2004 15:43:42 -0800 (PST) Received: from ack.Berkeley.EDU (ack.Berkeley.EDU [128.32.206.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E9E643D1F for ; Fri, 30 Jan 2004 15:43:41 -0800 (PST) (envelope-from mhunter@ack.Berkeley.EDU) Received: (from mhunter@localhost) by ack.Berkeley.EDU (8.11.3/8.11.3) id i0UNheK03384; Fri, 30 Jan 2004 15:43:40 -0800 (PST) Date: Fri, 30 Jan 2004 15:43:40 -0800 From: Mike Hunter To: Eli Dart Message-ID: <20040130234340.GA3288@ack.Berkeley.EDU> References: <20040130213935.GB25194@ack.Berkeley.EDU> <20040130220000.81179F8EB@gemini.nersc.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040130220000.81179F8EB@gemini.nersc.gov> User-Agent: Mutt/1.4i cc: freebsd-net@freebsd.org Subject: Re: Assymetric results from iperf across gigabit link (long) 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, 30 Jan 2004 23:43:42 -0000 On Jan 30, "Eli Dart" wrote: > In reply to Mike Hunter : > > I switched the two pieces of hardware, and the photons still prefer going > > uphill, so maybe there's a problem with the fiber after all. I'd still > > appreciate any hints on what to ask freebsd to help me figure it out. > > (Yes, we have real fiber test gear, this is more of an experiment.) > > Have you looked at interface error counts? (netstat -inbd) If you > have dirty fiber, you could just be missing/corrupting the odd packet > here and there, which would be enough to impact a high-bandwidth TCP > flow. % netstat -inbd bge0 Name Mtu Network Address Ipkts Ierrs Ibytes Opkts Oerrs Obytes Coll Drop bge0 1500 00:30:1b:b1:08:b6 1321030 0 153151700 1971658 0 2929764081 0 0 bge0 1500 fe80:2::230:1 fe80:2::230:1bff: 0 - 0 3 - 216 - - bge0 1500 169.229.254.1 169.229.254.140 1320970 - 134650330 1971653 - 2902160837 - - [snip] > the other thing to check is if a UDP cannon has the same bandwidth > asymmetry, since the UDP iperf tests don't have TCP's timidity (if > memory serves me).... I'll give that a shot...thanks. Although my flood pings should have served the same purpose (given that I fixed the icmplimit problem), right? Thanks, Mike From owner-freebsd-net@FreeBSD.ORG Sat Jan 31 05:57:13 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0ED1716A4CE for ; Sat, 31 Jan 2004 05:57:13 -0800 (PST) Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAD6643D31 for ; Sat, 31 Jan 2004 05:57:11 -0800 (PST) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from ocean.jinmei.org (unknown [2001:200:0:8002:200:39ff:fe5e:cfd7]) by shuttle.wide.toshiba.co.jp (Postfix) with ESMTP id E135A1525D; Sat, 31 Jan 2004 22:57:10 +0900 (JST) Date: Sat, 31 Jan 2004 22:57:10 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: Bob Van Valzah In-Reply-To: <1075477392.83564.4.camel@NewStorm.War.Tibco.Com> References: <1075477392.83564.4.camel@NewStorm.War.Tibco.Com> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) Emacs/21.3 Mule/5.0 (SAKAKI) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII cc: FreeBSD-Net@FreeBSD.Org Subject: Re: PIM IPv4 user-level 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: Sat, 31 Jan 2004 13:57:13 -0000 >>>>> On Fri, 30 Jan 2004 09:43:12 -0600, >>>>> Bob Van Valzah said: > I'm interested in doing IPv4 multicast routing but want to avoid DVMRP. > I see kernel support for PIM both IPv4 and IPv6. But I can't find any > user-level process to run PIM IPv4. It seems odd that kernel support > would be present with no routing daemon. Am I missing something > obvious? You may want to check pimd developed at USC for PIM-SM http://netweb.usc.edu/pim/ and pimd-dense developed u-Oregon for PIM-DM http://www.antc.uoregon.edu/PIMDM/pimd-dense.html Actually, pim6sd is a port of pimd for IPv6, and pim6dd is a port of pimd-dense for IPv6. JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp From owner-freebsd-net@FreeBSD.ORG Sat Jan 31 06:27:08 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E542616A4CE; Sat, 31 Jan 2004 06:27:08 -0800 (PST) Received: from smtp0.libero.it (smtp0.libero.it [193.70.192.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4988A43D1D; Sat, 31 Jan 2004 06:27:07 -0800 (PST) (envelope-from saturnero@gufi.org) Received: from pigra.saturnero.sat (151.37.55.168) by smtp0.libero.it (7.0.020-DD01) id 401B73BA00021188; Sat, 31 Jan 2004 15:27:06 +0100 Received: from [192.168.99.200] (libera.saturnero.sat [192.168.99.200]) by pigra.saturnero.sat (Postfix) with ESMTP id 154D8E7061; Sat, 31 Jan 2004 15:27:05 +0100 (CET) From: Dario Freni To: freebsd-firewire@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-YCx9lmcUif3A/TCv/Vbt" Message-Id: <1075559223.615.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sat, 31 Jan 2004 15:27:03 +0100 cc: freebsd-net@freebsd.org Subject: Will rfc2734 be supported? 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, 31 Jan 2004 14:27:09 -0000 --=-YCx9lmcUif3A/TCv/Vbt Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi guys, I was wondering if the standard implementation of IPoFW is planning to be implemented. I'm not expert on device writing, I was also looking for some workarounds, like attach the fwe0:lower netgraph hook to a virtual interface, but reading the rfc I realized that the normal IP packet needs an encapsulation before it's sent on the wire. Bye, Dario --=20 Dario Freni (saturnero@gufi.org) - SaturNero on IRCNet, Azzurra Gruppo Utenti FreeBSD Italia (http://www.gufi.org) GPG Public key at http://www.saturnero.net/saturnero.asc --=-YCx9lmcUif3A/TCv/Vbt Content-Type: application/pgp-signature; name=signature.asc Content-Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAG7s3Z1XqWj1OqUERAsyPAKCcHYfzuOWtgARjwpZ4wfplQbz0lACdEOib fb38jNKekHhYE8aVXsIHTWQ= =CWfh -----END PGP SIGNATURE----- --=-YCx9lmcUif3A/TCv/Vbt-- From owner-freebsd-net@FreeBSD.ORG Sat Jan 31 12:03:28 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A70316A4CE for ; Sat, 31 Jan 2004 12:03:28 -0800 (PST) Received: from possum.icir.org (possum.icir.org [192.150.187.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6598843D62 for ; Sat, 31 Jan 2004 12:03:08 -0800 (PST) (envelope-from pavlin@icir.org) Received: from possum.icir.org (localhost [127.0.0.1]) by possum.icir.org (8.12.9p1/8.12.8) with ESMTP id i0VK388N000535; Sat, 31 Jan 2004 12:03:08 -0800 (PST) (envelope-from pavlin@possum.icir.org) Message-Id: <200401312003.i0VK388N000535@possum.icir.org> To: freebsd-net@freebsd.org Date: Sat, 31 Jan 2004 12:03:08 -0800 From: Pavlin Radoslavov cc: pavlin@icir.org Subject: Re: PIM IPv4 user-level 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: Sat, 31 Jan 2004 20:03:28 -0000 [Note: I am not on the freebsd-net mailing list, so I am answering some of the questions after the thread was brought to my attention] * Regarding existing PIM IPv4 user-level implementations. The only IPv4 PIM implementations for UNIX I am aware of are: a) Commersial: - NextHop (http://www.nexthop.com/) - IP Infusion (http://www.ipinfusion.com) b) Non-commersial: - pimd from USC (PIM-SM only): http://netweb.usc.edu/pim/ - pimdd from U of Oregon (PIM-DM only): http://www.antc.uoregon.edu/PIMDM/pimd-dense.html - XORP (PIM-SM only) http:/www.xorp.org/ Personally, I have been involved with the first and third implementations (pimd and XORP), and between them I will definitely recommend XORP. There are just too many issues with pimd (incomplete and obsolete implementation, very limited testing, just to name few), so even though currently XORP is still officially in alpha stage, the XORP PIM-SM module is (in my biased opinion :) definitely better and more robust compared to pimd. In fact, pimd is already on the retiring track. * Regarding running XORP PIM-SM itself. - FreeBSD is our primary development platform, so "porting" XORP to FreeBSD should be a no-op (except writing the packaging files for the ports collection of course). If there is a compilation error, then please send a bug report. - You have to compile almost everything, because the PIM-SM binary depends on a number of internal libraries. - You can run PIM-SM stand-alone without the rest of the XORP components. Just read pim/README and/or send me an email for details. Pavlin From owner-freebsd-net@FreeBSD.ORG Sat Jan 31 17:24:02 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 773AE16A4CE for ; Sat, 31 Jan 2004 17:24:02 -0800 (PST) Received: from mail.valuehost.co.uk (mail.valuehost.co.uk [62.25.99.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 789A543D58 for ; Sat, 31 Jan 2004 17:24:00 -0800 (PST) (envelope-from bjorn@eikeland.info) Received: (qmail 55886 invoked by uid 89); 1 Feb 2004 01:23:58 +0000 Received: from unknown (HELO beer.eikeland.info) (bjorn@eikeland.info@80.202.106.8) by mail.valuehost.co.uk with SMTP; 1 Feb 2004 01:23:58 +0000 Date: Sun, 01 Feb 2004 02:24:04 +0100 To: freebsd-net@freebsd.org From: Bjorn Eikeland Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera7.23/FreeBSD M2 build 518 Subject: defect onboard broadcom causing boot hang 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, 01 Feb 2004 01:24:02 -0000 I've just changed to using freebsd on my desktop pc, my Asus A7V8X motherboad has a onboard Broadcom chip - this just stopped working under windows and turned into a unknown device. Asus or vendor's support never replied so I just picked up a new fxp card. However under FreeBSD it hangs for a while at boot between the ata4 and pci0 line form dmesg (ata4 is a Promise PDC20376 SATA150 w/ ad4 on it): ata4: at 0xec000000 on atapci0 ata4: [MPSAFE] pci0: at device 9.0 (no driver attached) (I have done some googling and found older Promice ide controllers to cause boot hangs on older versions of freebsd 4.4 - but not sata and 5.x so I'm hoping its the Broadcom chip) pciconf shows this device to be a: none0@pci0:9:0: class=0x008000 card=0x80008000 chip=0x800014e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' class = old I've tried loading the kernel module if_bfe (and if_bge) but still no new interface, windows used the card as a BCM440x - but the box does say gigabit lan. If it is possible to somehow get this card working I would really appreicate any help in "resurrecting" it, as I then can use my box as a bridge and do some traffic shaping on my lan :) Just skipping the device altogether and avoid the boot time hang is also looking very attractive! -Bjorn From owner-freebsd-net@FreeBSD.ORG Sat Jan 31 17:38:51 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA66C16A4D0; Sat, 31 Jan 2004 17:38:51 -0800 (PST) Received: from tromso-dhcp-235-56.bluecom.no (tromso-dhcp-235-56.bluecom.no [62.101.235.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66DF343D46; Sat, 31 Jan 2004 17:38:50 -0800 (PST) (envelope-from lists@jonepet.net) Received: from localhost (localhost.jonepet.net [127.0.0.1]) by tromso-dhcp-235-56.bluecom.no (Postfix) with ESMTP id 6FD686D1; Sun, 1 Feb 2004 02:40:43 +0100 (CET) Received: from tromso-dhcp-235-56.bluecom.no ([127.0.0.1]) by localhost (discovery.jonepet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05498-04; Sun, 1 Feb 2004 02:40:43 +0100 (CET) Received: from jonepet.net (atlantis.wlan.jonepet.net [10.2.33.4]) by tromso-dhcp-235-56.bluecom.no (Postfix) with ESMTP id 323216D0; Sun, 1 Feb 2004 02:40:43 +0100 (CET) Message-ID: <401C58AF.3000600@jonepet.net> Date: Sun, 01 Feb 2004 02:38:55 +0100 From: Jon-Eirik Pettersen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at jonepet.net cc: freebsd-ipfw@freebsd.org Subject: Merge a NAT-router and a Non-NAT-server 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, 01 Feb 2004 01:38:51 -0000 Hi. I'm trying to merge two "servers", one of them is only a NAT-router for the rest of the LAN another one is a host without NAT that needs a unique IP. I have 3 network interfaces on the other. I want that to take over the NAT-routing, but I need to use one network device to that server, and one other to the NAT-routing. All connections from this host should go thru ed0 without NAT. Server: NIC0 (vr0): NAT-network - rest of the network (NET0) - Switch 0 NIC1 (ed0): Default outgoing interface - Internet (NET1) - Switch 1 NIC2 (xl0): LAN (NAT'ed thru vr0) - Internet (NET1) - Switch 1 xl0 and vr0 is on the same switch to the same network, but with different IP's. Is this possible? And another network question: Is it possible to make a virtual network interface bridged to another one? From owner-freebsd-net@FreeBSD.ORG Sun Feb 1 02:02:18 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A09B16A4CE for ; Sun, 1 Feb 2004 02:02:18 -0800 (PST) Received: from webmail.kent.edu (webmail.kent.edu [131.123.74.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94CCF43D2D for ; Sun, 1 Feb 2004 02:02:16 -0800 (PST) (envelope-from sdavo@cs.kent.edu) X-WebMail-UserID: sdavo@cs.kent.edu Date: Sun, 1 Feb 2004 05:20:43 -0500 Sender: Sandeep kumar Davu From: Sandeep kumar Davu To: freebsd-net@freebsd.org X-EXP32-SerialNo: 00002334 Message-ID: <401EE394@webmail.kent.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: WebMail (Hydra) SMTP v3.51.06 Subject: Strange routing configuration 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, 01 Feb 2004 10:02:18 -0000 I have 3 machines running freebsd 4.5. I want to configure one of as a router. One machine (A) has a IP of 131.123.36.65 (dc0). This needs to be connected to another machine (B) 131.123.36.102 (ed1)through a machine (R) that has two network cards 131.123.36.98(dc0) and 131.123.36.101(dc1). The netmask for the every ip is 255.255.255.192 (CANT CHANGE THIS). I am able to ping A to R, R to A. Firstly I could not ping B to R. I figured out that B was unable to find the lladdr or R and added a static route in R. $route add 131.123.36.102 -interface dc1 $arp -s 131.123.36.102 _ll_addr_ Doing so I could ping from R to B. Now heres the problem >From B I can ping to one interface of R dc1. But I cannot get to the other interface dc0 nor to A. I have configured the machine R to be a router. gateway_enable="YES" router_enable ="YES" Even this did not help at all. I dont know where I am doing a mistake. There is something that needs to be filled in. Can anyone please help me here. I am stuck in this for days. Regards sandeep From owner-freebsd-net@FreeBSD.ORG Sun Feb 1 05:18:48 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C0D816A537 for ; Sun, 1 Feb 2004 05:18:48 -0800 (PST) Received: from phuket.psconsult.nl (ps226.psconsult.nl [213.222.19.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id E066943D6B for ; Sun, 1 Feb 2004 05:18:09 -0800 (PST) (envelope-from paul@phuket.psconsult.nl) Received: from phuket.psconsult.nl (localhost [127.0.0.1]) by phuket.psconsult.nl (8.12.6p3/8.12.6) with ESMTP id i11DHtGB046114; Sun, 1 Feb 2004 14:17:55 +0100 (CET) (envelope-from paul@phuket.psconsult.nl) Received: (from paul@localhost) by phuket.psconsult.nl (8.12.6p3/8.12.6/Submit) id i11DHse2046113; Sun, 1 Feb 2004 14:17:54 +0100 (CET) Date: Sun, 1 Feb 2004 14:17:54 +0100 From: Paul Schenkeveld To: freebsd-net@freebsd.org, Sandeep kumar Davu Message-ID: <20040201131754.GA44597@psconsult.nl> Mail-Followup-To: freebsd-net@freebsd.org, Sandeep kumar Davu References: <401EE394@webmail.kent.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <401EE394@webmail.kent.edu> User-Agent: Mutt/1.5.4i Subject: Re: Strange routing configuration 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, 01 Feb 2004 13:18:48 -0000 On Sun, Feb 01, 2004 at 05:20:43AM -0500, Sandeep kumar Davu wrote: > I have 3 machines running freebsd 4.5. I want to configure one of as a router. > One machine (A) has a IP of 131.123.36.65 (dc0). This needs to be connected to > another machine (B) 131.123.36.102 (ed1)through a machine (R) that has two > network cards 131.123.36.98(dc0) and 131.123.36.101(dc1). The netmask for the > every ip is 255.255.255.192 (CANT CHANGE THIS). Given your netmask, both IP addresses of R are in the same subnet as machine B. The card in R which is on the same subnet as A should have an IP address between 131.123.36.66 and 131.123.36.94. > I am able to ping A to R, R to A. Firstly I could not ping B to R. I figured > out that B was unable to find the lladdr or R and added a static route in R. > > $route add 131.123.36.102 -interface dc1 > $arp -s 131.123.36.102 _ll_addr_ > > Doing so I could ping from R to B. > > Now heres the problem > >From B I can ping to one interface of R dc1. But I cannot get to the other > interface dc0 nor to A. > > I have configured the machine R to be a router. gateway_enable="YES" > router_enable ="YES" > > Even this did not help at all. I dont know where I am doing a mistake. > There is something that needs to be filled in. > Can anyone please help me here. > I am stuck in this for days. > > Regards > sandeep Regards, Paul Schenkeveld, Consultant PSconsult ICT Services BV From owner-freebsd-net@FreeBSD.ORG Sun Feb 1 09:43:22 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A0CF16A4CE for ; Sun, 1 Feb 2004 09:43:22 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8F6143D3F for ; Sun, 1 Feb 2004 09:43:13 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id A761065400; Sun, 1 Feb 2004 17:43:11 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17376-04; Sun, 1 Feb 2004 17:43:11 +0000 (GMT) Received: from saboteur.dek.spc.org (82-147-17-88.dsl.uk.rapidplay.com [82.147.17.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id F3E3D651EB; Sun, 1 Feb 2004 17:43:10 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id E4775CE; Sun, 1 Feb 2004 17:43:09 +0000 (GMT) Date: Sun, 1 Feb 2004 17:43:09 +0000 From: Bruce M Simpson To: Bob Van Valzah Message-ID: <20040201174309.GH705@saboteur.dek.spc.org> Mail-Followup-To: Bob Van Valzah , FreeBSD-Net@FreeBSD.Org References: <1075477392.83564.4.camel@NewStorm.War.Tibco.Com> <20040130164551.GE732@saboteur.dek.spc.org> <1075504819.83564.133.camel@NewStorm.War.Tibco.Com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1075504819.83564.133.camel@NewStorm.War.Tibco.Com> cc: FreeBSD-Net@FreeBSD.Org Subject: Re: PIM IPv4 user-level 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: Sun, 01 Feb 2004 17:43:22 -0000 On Fri, Jan 30, 2004 at 05:20:19PM -0600, Bob Van Valzah wrote: > A port of the whole xorp world might be a better target than just the > pim part. That wouldn't take much since it compiled easily. But it is > a whopper--nearly 1 GB required to build. XORP would be good as a separate port, but for PIM alone, the USC code might be a better starting point. I think XORP has a much wider scope; considering it's an alternative to Quagga et al. BMS From owner-freebsd-net@FreeBSD.ORG Sun Feb 1 21:50:40 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFAE316A4CE; Sun, 1 Feb 2004 21:50:40 -0800 (PST) Received: from tora.nunu.org (YahooBB219003182070.bbtec.net [219.3.182.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FD3343D1F; Sun, 1 Feb 2004 21:50:38 -0800 (PST) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from tora.nunu.org (unknown [192.168.1.2]) by tora.nunu.org (Postfix) with ESMTP id EC88F4B02A; Mon, 2 Feb 2004 14:50:36 +0900 (JST) Date: Mon, 02 Feb 2004 14:50:36 +0900 Message-ID: <87d68yowr7.wl@tora.nunu.org> From: Hidetoshi Shimokawa To: Dario Freni In-Reply-To: <1075559223.615.9.camel@localhost> References: <1075559223.615.9.camel@localhost> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable cc: freebsd-net@freebsd.org cc: freebsd-firewire@freebsd.org Subject: Re: Will rfc2734 be supported? 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, 02 Feb 2004 05:50:41 -0000 At Sat, 31 Jan 2004 15:27:03 +0100, Dario Freni wrote: >=20 > [1 ] > Hi guys, > I was wondering if the standard implementation of IPoFW is planning to > be implemented. I'm not expert on device writing, I was also looking for > some workarounds, like attach the fwe0:lower netgraph hook to a virtual > interface, but reading the rfc I realized that the normal IP packet > needs an encapsulation before it's sent on the wire. I have no plan to implement rfc2734 by myself near future. IEEE1394 is somewhat complicated, compared with Ethernet. Because there are some types of packets, fwe and IPoFW uses very different packet type and formats, so you don't have an easy workaround using netgraph. If you are interested in implementing rfc2734, you need several steps. - Implement rfc2734 encapsulation as /sys/net/if_ethersubr.c for ethernt. rfc2734 uses very different packet format from ethernet. - Implement generic GASP receive routin in the firewire driver. You need this service for multicast/broadcast packet such as an arp packet. - Implement if_fw.c for the interface device. Though I'm not sure it actually worked, the firewire driver for FreeBSD-4.0 seems to have a support for IPoFW See ftp://ftp.uec.ac.jp/pub/firewire/ for the patch. > Bye, > Dario >=20 > --=20 > Dario Freni (saturnero@gufi.org) - SaturNero on IRCNet, Azzurra > Gruppo Utenti FreeBSD Italia (http://www.gufi.org) > GPG Public key at http://www.saturnero.net/saturnero.asc > [2 Questa parte del messaggio =E8 firmata ] >=20 /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html From owner-freebsd-net@FreeBSD.ORG Sun Feb 1 22:22:14 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84BB216A4CE; Sun, 1 Feb 2004 22:22:14 -0800 (PST) Received: from ns.koganei.wide.ad.jp (koganei.wide.ad.jp [202.249.37.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE9B943D1D; Sun, 1 Feb 2004 22:22:11 -0800 (PST) (envelope-from ikob@koganei.wide.ad.jp) Received: from [202.249.37.10] (tweedledee.koganei.wide.ad.jp [202.249.37.10]) (authenticated bits=0) by ns.koganei.wide.ad.jp (8.12.9/8.12.6) with ESMTP id i126M9JD057052; Mon, 2 Feb 2004 15:22:09 +0900 (JST) (envelope-from ikob@koganei.wide.ad.jp) In-Reply-To: <87d68yowr7.wl@tora.nunu.org> References: <1075559223.615.9.camel@localhost> <87d68yowr7.wl@tora.nunu.org> Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <21FEFF58-5548-11D8-AD86-000A95C44FDC@koganei.wide.ad.jp> Content-Transfer-Encoding: quoted-printable From: Kobayashi Katsushi Date: Mon, 2 Feb 2004 15:22:10 +0900 To: Hidetoshi Shimokawa X-Mailer: Apple Mail (2.612) cc: freebsd-net@freebsd.org cc: freebsd-firewire@freebsd.org cc: Dario Freni Subject: Re: Will rfc2734 be supported? 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, 02 Feb 2004 06:22:14 -0000 Hi, I have once tried to implement IP over firewire with earlier ID. spec. in the previous version of driver. The packetization, ARP and broadcast is not difficult to implement. However, I cannot believe the MCAP mechanism will not work properly, since limited No. of acceptable stream channels is supported on current firewire chipset. I think the current IP over Firewire spec.=20 does not include mechanism to suppress channel allocation in the case of receiver cannot open more stream channels. On 2004/02/02, at 14:50, Hidetoshi Shimokawa wrote: > At Sat, 31 Jan 2004 15:27:03 +0100, > Dario Freni wrote: >> >> [1 ] >> Hi guys, >> I was wondering if the standard implementation of IPoFW is planning = to >> be implemented. I'm not expert on device writing, I was also looking=20= >> for >> some workarounds, like attach the fwe0:lower netgraph hook to a=20 >> virtual >> interface, but reading the rfc I realized that the normal IP packet >> needs an encapsulation before it's sent on the wire. > > I have no plan to implement rfc2734 by myself near future. > IEEE1394 is somewhat complicated, compared with Ethernet. > Because there are some types of packets, fwe and IPoFW uses very > different packet type and formats, so you don't have an easy > workaround using netgraph. > > If you are interested in implementing rfc2734, you need several steps. > > - Implement rfc2734 encapsulation as /sys/net/if_ethersubr.c for > ethernt. rfc2734 uses very different packet format from ethernet. > > - Implement generic GASP receive routin in the firewire driver. > You need this service for multicast/broadcast packet such as an arp > packet. > > - Implement if_fw.c for the interface device. > > Though I'm not sure it actually worked, the firewire driver for > FreeBSD-4.0 seems to have a support for IPoFW > See ftp://ftp.uec.ac.jp/pub/firewire/ for the patch. > >> Bye, >> Dario >> >> --=20 >> Dario Freni (saturnero@gufi.org) - SaturNero on IRCNet, Azzurra >> Gruppo Utenti FreeBSD Italia (http://www.gufi.org) >> GPG Public key at http://www.saturnero.net/saturnero.asc >> [2 Questa parte del messaggio =E8 firmata > (7bit)>] >> > > /\ Hidetoshi Shimokawa > \/ simokawa@sat.t.u-tokyo.ac.jp > PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html > _______________________________________________ > freebsd-firewire@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-firewire > To unsubscribe, send any mail to=20 > "freebsd-firewire-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Sun Feb 1 23:15:02 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72EB116A4CE for ; Sun, 1 Feb 2004 23:15:02 -0800 (PST) Received: from ms.tusur.ru (portal-gw-ppp.ttk.tusur.ru [212.192.163.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9037443D46 for ; Sun, 1 Feb 2004 23:15:00 -0800 (PST) (envelope-from derek@ms.tusur.ru) Received: from localhost (localhost [127.0.0.1]) by ms.tusur.ru (Postfix) with SMTP id 0C0B8262B3 for ; Mon, 2 Feb 2004 13:14:56 +0600 (NOVT) X-AV-Checked: Mon Feb 2 13:14:56 2004 Ok Received: from ms.tusur.ru (derek.tusur.ru [212.192.120.111]) by ms.tusur.ru (Postfix) with ESMTP id 1E4B1262A5 for ; Mon, 2 Feb 2004 13:14:54 +0600 (NOVT) Message-ID: <401E4CAD.3010701@ms.tusur.ru> Date: Mon, 02 Feb 2004 13:12:13 +0000 From: jekson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040130 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-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on ftp.it.tusur.ru X-Spam-DCC: : X-Spam-Status: No, hits=-102.8 required=5.0 tests=AWL,BAYES_00, DATE_IN_FUTURE_03_06,USER_IN_WHITELIST autolearn=no version=2.63 Subject: question 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, 02 Feb 2004 07:15:02 -0000 is there any CGI/Perl interface for managing ipa? From owner-freebsd-net@FreeBSD.ORG Mon Feb 2 10:46:08 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2BD916A4CE for ; Mon, 2 Feb 2004 10:46:07 -0800 (PST) Received: from webmail.kent.edu (webmail.kent.edu [131.123.74.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 288DB43D45 for ; Mon, 2 Feb 2004 10:46:05 -0800 (PST) (envelope-from sdavo@cs.kent.edu) X-WebMail-UserID: sdavo@cs.kent.edu Date: Mon, 2 Feb 2004 14:04:34 -0500 Sender: Sandeep kumar Davu From: Sandeep kumar Davu To: freebsd-net@freebsd.org X-EXP32-SerialNo: 00002334 Message-ID: <402327AE@webmail.kent.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: WebMail (Hydra) SMTP v3.51.06 Subject: RE: Strange routing configuration 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, 02 Feb 2004 18:46:08 -0000 >===== Original Message From Paul Schenkeveld ===== >On Sun, Feb 01, 2004 at 05:20:43AM -0500, Sandeep kumar Davu wrote: >> I have 3 machines running freebsd 4.5. I want to configure one of as a router. >> One machine (A) has a IP of 131.123.36.65 (dc0). This needs to be connected to >> another machine (B) 131.123.36.102 (ed1)through a machine (R) that has two >> network cards 131.123.36.98(dc0) and 131.123.36.101(dc1). The netmask for the >> every ip is 255.255.255.192 (CANT CHANGE THIS). > >Given your netmask, both IP addresses of R are in the same subnet >as machine B. > >The card in R which is on the same subnet as A should have an IP >address between 131.123.36.66 and 131.123.36.94. I cant do that The ip address to A is assigned by an administrator. Only thing I can do is to change the address and netmask on B and the card to R that connects to B. I did so by changing the netmask to 255.255.255.252. In doing so I could ping R on both the interfaces but still cant ping A. Any help is greatly appreciated. Thanks sandeep. > >> I am able to ping A to R, R to A. Firstly I could not ping B to R. I figured >> out that B was unable to find the lladdr or R and added a static route in R. >> >> $route add 131.123.36.102 -interface dc1 >> $arp -s 131.123.36.102 _ll_addr_ >> >> Doing so I could ping from R to B. >> >> Now heres the problem >> >From B I can ping to one interface of R dc1. But I cannot get to the other >> interface dc0 nor to A. >> >> I have configured the machine R to be a router. gateway_enable="YES" >> router_enable ="YES" >> >> Even this did not help at all. I dont know where I am doing a mistake. >> There is something that needs to be filled in. >> Can anyone please help me here. >> I am stuck in this for days. >> >> Regards >> sandeep > >Regards, > >Paul Schenkeveld, Consultant >PSconsult ICT Services BV Sandeep Kumar Davu M.S. Computer Science Kent State University Kent OH 44242 From owner-freebsd-net@FreeBSD.ORG Mon Feb 2 11:02:13 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB96B16A4CE for ; Mon, 2 Feb 2004 11:02:13 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D77CD43D68 for ; Mon, 2 Feb 2004 11:01:46 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.10/8.12.10) with ESMTP id i12J1aFR020512 for ; Mon, 2 Feb 2004 11:01:36 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i12J1Zp6020506 for freebsd-net@freebsd.org; Mon, 2 Feb 2004 11:01:35 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 2 Feb 2004 11:01:35 -0800 (PST) Message-Id: <200402021901.i12J1Zp6020506@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-net@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 19:02:13 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/07/11] kern/54383 net NFS root configurations without dynamic p 1 problem total. From owner-freebsd-net@FreeBSD.ORG Mon Feb 2 14:36:36 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79CB316A4CE for ; Mon, 2 Feb 2004 14:36:36 -0800 (PST) Received: from mail.valuehost.co.uk (mail.valuehost.co.uk [62.25.99.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 6E67043D39 for ; Mon, 2 Feb 2004 14:36:33 -0800 (PST) (envelope-from bjorn@eikeland.info) Received: (qmail 67898 invoked by uid 89); 2 Feb 2004 22:36:18 +0000 Received: from unknown (HELO beer.eikeland.info) (bjorn@eikeland.info@80.202.106.8) by mail.valuehost.co.uk with SMTP; 2 Feb 2004 22:36:18 +0000 Date: Mon, 02 Feb 2004 23:36:39 +0100 To: Jonathan Chappelow References: <401EB743.4030105@emory.edu> From: Bjorn Eikeland Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <401EB743.4030105@emory.edu> User-Agent: Opera7.23/FreeBSD M2 build 518 cc: "freebsd-net@freebsd.org" Subject: Re: defect onboard broadcom causing boot hang 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, 02 Feb 2004 22:36:36 -0000 Thanks for your reply Jon! I've checked the driver cd and it had the drivers under Drivers\LAN\4401\ and I seem to remeber thats what windows once called it. The unidentified chip id isnt a supprise, the card worked, and suddenly turned into a unknown device in windows, so it must have changed somehow. So if the chip stil works then adding/changing the device id sounds like a plan. Having casted a underskilled eye at the sources I'm not sure what file to edit, but is this it?: /usr/src/sys/dev/bfe/if_bfereg.h ln 396: #define BCOM_DEVICEID_BCM4401 0x4401 (Appologies for asking, but I dont want to mess my new and shiny setup :) > Bjorn Eikeland wrote: > >> I've just changed to using freebsd on my desktop pc, my Asus A7V8X >> motherboad has a onboard Broadcom chip - this just stopped working under >> windows and turned into a unknown device. Asus or vendor's support never >> replied so I just picked up a new fxp card. > > Depending on the options, this board either has BCM4401 or BCM5702. > Note "(optional)" written on the box next to Gigabit LAN. My old Asus > P4PE had the BCM4401 and I had a lot of trouble with buggy drivers > (*bfe*). The gigabit chip (BCM5702) uses bge. Try adding both to the > kernel with mii to see if either works. Also, their might be a more > detailed part number on a sticker somewhere. > >> pciconf shows this device to be a: >> none0@pci0:9:0: class=0x008000 card=0x80008000 chip=0x800014e4 rev=0x01 >> hdr=0x00 >> vendor = 'Broadcom Corporation' >> class = old > > According to pciids.sourceforge.net and www.pcidatabase.com, > chip=0x800014e4 is unidentified. vendor 14e4 is Broadcom, but device id > 8000 is a mystery. Although, this is close: > http://pciids.sourceforge.net/iii/?i=14e44401. Good luck with that. > You may just need to edit the code and add a device id? > > Jon > From owner-freebsd-net@FreeBSD.ORG Mon Feb 2 18:25:43 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 640E716A4D8 for ; Mon, 2 Feb 2004 18:25:43 -0800 (PST) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A29343D2F for ; Mon, 2 Feb 2004 18:25:42 -0800 (PST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost) by vjofn.tucs-beachin-obx-house.com (8.12.9/8.12.9) id i132Pfax071987; Mon, 2 Feb 2004 21:25:41 -0500 (EST) From: Tuc at the Beach House Message-Id: <200402030225.i132Pfax071987@vjofn.tucs-beachin-obx-house.com> To: freebsd-net@freebsd.org Date: Mon, 2 Feb 2004 21:25:41 -0500 (EST) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: tuc@ttsg.com Subject: Whats the best solution? 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, 03 Feb 2004 02:25:43 -0000 Hi, HELP! Whew, ok, felt good to get that out. Heres my problem, I'd like to know what people feel would be the best solution. I travel alot. When I do I bring a Wireless AP, and an Asante Firewall. Normally I plug the Asante into the ethernet connection at the hotel, and the WAP into the Asante. Some places I run into problem with their web proxy. Almost all places I have a hell of a time with DNS. When I have DNS issues, the machine just does not like it. I want to be able to set something up where I can tunnel to a dedicated private server I have on the global internet, and route all my traffic through it. I want it to be the default route, and once they hit my end server, they then can be forwarded over the rest of the global internet. I need to be able to have the client be on dynamic IPs. I need some sort of an authentication. And most of all, something easy to debug would help. Any ideas, thoughts, suggestions, etc? Thanks, Tuc/TTSG Internet Services, Inc. From owner-freebsd-net@FreeBSD.ORG Mon Feb 2 22:29:30 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A38C16A4CE for ; Mon, 2 Feb 2004 22:29:30 -0800 (PST) Received: from apollo.laserfence.net (apollo.laserfence.net [196.44.69.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id B122D43D2F for ; Mon, 2 Feb 2004 22:29:26 -0800 (PST) (envelope-from will@unfoldings.net) Received: from [127.0.0.1] (helo=localhost) by apollo.laserfence.net with esmtp (Exim 4.24; FreeBSD) id 1Anu3g-000Pdp-Fq; Tue, 03 Feb 2004 08:29:16 +0200 Received: from apollo.laserfence.net ([127.0.0.1]) by localhost (apollo.laserfence.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 97416-04; Tue, 3 Feb 2004 08:28:53 +0200 (SAST) Received: from [192.168.255.1] (helo=prometheus.home.laserfence.net) by apollo.laserfence.net with esmtp (Exim 4.24; FreeBSD) id 1Anu3H-000PdU-Iv; Tue, 03 Feb 2004 08:28:52 +0200 Received: from arista.home.laserfence.net ([192.168.0.10] helo=arista) by prometheus.home.laserfence.net with smtp (Exim 4.10) id 1Anu38-0009uS-00; Tue, 03 Feb 2004 08:28:42 +0200 Message-ID: <004a01c3ea1f$1a34cea0$0a00a8c0@arista> From: "Willie Viljoen" To: "Tuc at the Beach House" , References: <200402030225.i132Pfax071987@vjofn.tucs-beachin-obx-house.com> Date: Tue, 3 Feb 2004 08:29:39 +0200 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.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by amavisd-new at laserfence.net cc: tuc@ttsg.com Subject: Re: Whats the best solution? 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, 03 Feb 2004 06:29:30 -0000 SSH :-) Have a look at the ssh(1) manpage. The port forwarding should be able to do what you are looking for. Also, to get the authentication to be automatic, set up your SSH to use public keys, and use a passphraseless public key on your laptop. This will let it automatically log in and set up the tunnel. You can then tunnel any TCP traffic through a secure channel to your server. This is all described in the man page. For DNS, use the IP address of the server you plan to use for the other end of the tunnel. As long as you open only UDP port 53 and configure it sensibly, there should be no security risk to running a DNS that accepts from any IP, all proper DNS servers need to do this anyway. This way, you can run your own DNS, and possibly even put in some private DNS tricks to make working with the tunnel easier. Will ----- Original Message ----- From: "Tuc at the Beach House" To: Cc: Sent: Tuesday, February 03, 2004 4:25 AM Subject: Whats the best solution? > Hi, > > HELP! Whew, ok, felt good to get that out. > > Heres my problem, I'd like to know what people feel would be the > best solution. > > I travel alot. When I do I bring a Wireless AP, and an Asante > Firewall. Normally I plug the Asante into the ethernet connection at > the hotel, and the WAP into the Asante. > > Some places I run into problem with their web proxy. Almost > all places I have a hell of a time with DNS. When I have DNS issues, the > machine just does not like it. > > I want to be able to set something up where I can tunnel to a > dedicated private server I have on the global internet, and route all > my traffic through it. I want it to be the default route, and once they > hit my end server, they then can be forwarded over the rest of the global > internet. > > I need to be able to have the client be on dynamic IPs. I need some > sort of an authentication. And most of all, something easy to debug would > help. > > Any ideas, thoughts, suggestions, etc? > > Thanks, Tuc/TTSG Internet Services, Inc. > _______________________________________________ > 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 Tue Feb 3 01:27:33 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 147DC16A4CE; Tue, 3 Feb 2004 01:27:33 -0800 (PST) Received: from herring.nlsystems.com (mailgate.nlsystems.com [80.177.232.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A6B043D45; Tue, 3 Feb 2004 01:27:30 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from [10.0.0.2] (herring.nlsystems.com [10.0.0.2]) i139RHpE055169; Tue, 3 Feb 2004 09:27:18 GMT (envelope-from dfr@nlsystems.com) From: Doug Rabson To: Hidetoshi Shimokawa In-Reply-To: <87d68yowr7.wl@tora.nunu.org> References: <1075559223.615.9.camel@localhost> <87d68yowr7.wl@tora.nunu.org> Content-Type: text/plain Message-Id: <1075800437.50848.14.camel@herring.nlsystems.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 03 Feb 2004 09:27:17 +0000 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on herring.nlsystems.com cc: freebsd-net@freebsd.org cc: freebsd-firewire@freebsd.org cc: Dario Freni Subject: Re: Will rfc2734 be supported? 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, 03 Feb 2004 09:27:33 -0000 On Mon, 2004-02-02 at 05:50, Hidetoshi Shimokawa wrote: > At Sat, 31 Jan 2004 15:27:03 +0100, > Dario Freni wrote: > > > > [1 ] > > Hi guys, > > I was wondering if the standard implementation of IPoFW is planning to > > be implemented. I'm not expert on device writing, I was also looking for > > some workarounds, like attach the fwe0:lower netgraph hook to a virtual > > interface, but reading the rfc I realized that the normal IP packet > > needs an encapsulation before it's sent on the wire. > > I have no plan to implement rfc2734 by myself near future. > IEEE1394 is somewhat complicated, compared with Ethernet. > Because there are some types of packets, fwe and IPoFW uses very > different packet type and formats, so you don't have an easy > workaround using netgraph. > > If you are interested in implementing rfc2734, you need several steps. > > - Implement rfc2734 encapsulation as /sys/net/if_ethersubr.c for > ethernt. rfc2734 uses very different packet format from ethernet. > > - Implement generic GASP receive routin in the firewire driver. > You need this service for multicast/broadcast packet such as an arp > packet. > > - Implement if_fw.c for the interface device. > > Though I'm not sure it actually worked, the firewire driver for > FreeBSD-4.0 seems to have a support for IPoFW > See ftp://ftp.uec.ac.jp/pub/firewire/ for the patch. I spent a little time recently thinking about what would be needed for this and came to similar conclusions. The most interesting part is implementing generic GASP receive. I think the nicest way of doing that would be to implement a new network protocol for firewire, allowing userland programs to do something like: struct sockaddr_firewire a; s = socket(PF_FIREWIRE, SOCK_DGRAM, 0); a.sof_address = 0x12345000; ...; bind(s, &a, sizeof a); ...; len = recv(s, buf, sizeof buf, 0); Internally, this probably means arranging for all asynchronous packets to be DMA'd directly into mbufs and would probably change the firewire code a great deal. Still, it might be worth it to gain a familiar socket-based user api. From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 05:33:05 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 018E816A4CF; Tue, 3 Feb 2004 05:33:05 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58A3F43D31; Tue, 3 Feb 2004 05:33:03 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 804B1654EF; Tue, 3 Feb 2004 13:33:01 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 39397-02-3; Tue, 3 Feb 2004 13:33:01 +0000 (GMT) Received: from saboteur.dek.spc.org (82-147-17-88.dsl.uk.rapidplay.com [82.147.17.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id C0EF5654E1; Tue, 3 Feb 2004 13:32:58 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id 91B9740; Tue, 3 Feb 2004 13:32:57 +0000 (GMT) Date: Tue, 3 Feb 2004 13:32:57 +0000 From: Bruce M Simpson To: Dario Freni Message-ID: <20040203133257.GJ713@saboteur.dek.spc.org> Mail-Followup-To: Dario Freni , freebsd-firewire@freebsd.org, freebsd-net@freebsd.org, jkh@FreeBSD.org References: <1075559223.615.9.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3siQDZowHQqNOShm" Content-Disposition: inline In-Reply-To: <1075559223.615.9.camel@localhost> cc: freebsd-net@freebsd.org cc: freebsd-firewire@freebsd.org cc: jkh@FreeBSD.org Subject: Re: Will rfc2734 be supported? 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, 03 Feb 2004 13:33:05 -0000 --3siQDZowHQqNOShm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Jan 31, 2004 at 03:27:03PM +0100, Dario Freni wrote: > I was wondering if the standard implementation of IPoFW is planning to > be implemented. I'm not expert on device writing, I was also looking for I've already asked Jordan about a code drop from Apple; he's trying to get an answer from the appropriate people. BMS --3siQDZowHQqNOShm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: '' iD8DBQFAH6MIueUpAYYNtTsRAlAWAKClyKvsZ6MbiBqjfvd/ex4UX6xaBQCfRdyb w0In6x2AUBq0sP4gPFaoYsw= =2EIO -----END PGP SIGNATURE----- --3siQDZowHQqNOShm-- From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 07:38:26 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64CB916A4CF for ; Tue, 3 Feb 2004 07:38:26 -0800 (PST) Received: from vnet2.trinite.co.uk (vnet2.trinite.co.uk [195.38.64.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 889B443D2F for ; Tue, 3 Feb 2004 07:38:23 -0800 (PST) (envelope-from Edward.Butler@trinite.co.uk) Received: from trinite.co.uk ([195.38.64.222]) by vnet2.trinite.co.uk (8.12.9/8.12.9) with ESMTP id i13FcLYf001420 for ; Tue, 3 Feb 2004 15:38:21 GMT Received: from ACCENTHOUSEEXCH.accenthouse.co.uk [172.16.0.50] by ACCENTHOUSEEXCH1.accenthouse.co.uk with ESMTP; Tue, 3 Feb 2004 15:38:19 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Date: Tue, 3 Feb 2004 15:38:19 -0000 Message-ID: <4A22D4DACF836546ACB71760692F5B4D01044DA6@accenthouseexch1.accenthouse.co.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Obtaining Syslog message from a Cisco Router Thread-Index: AcPqa7/piYiX663DTtCMqqMjBb1uJA== From: "Edward Butler" To: Subject: Obtaining Syslog message from a Cisco Router 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, 03 Feb 2004 15:38:26 -0000 Hi, I am new to this distribution list but wanted to find out if any one has come across this issue before and could offer some pointers on getting this started. I am looking to dump the log files from various Cisco routers on to one of various FreeBSD boxes we are running ( mainly FreeBSD 4.4 ) once the logs have been dumped to then rotate these in a similar way that other system logs files are rotated - dns, www and mail etc... My question is - do I need to compile a specific syslog collector or will syslog on its own be able to handle these messages? Also how can I reconfigure logrotate to include these log files? Many thanks, apologies if my questions are a little niave!=20 Cheers Ed edward.butler@trinite.co.uk=20 If at first you don't succeed, don't try skydiving -------------------------------------------------------------------------- This message has been scanned for viruses by the Trinite' SMTP Firewall. For information please visit http://www.trinite.co.uk (www.trinite.co.uk)------------------------------------------------------- From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 07:39:18 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11EB816A4CE for ; Tue, 3 Feb 2004 07:39:18 -0800 (PST) Received: from rosalind.cc.emory.edu (rosalind.cc.emory.edu [170.140.204.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A28743D1F for ; Tue, 3 Feb 2004 07:39:15 -0800 (PST) (envelope-from jcchapp@emory.edu) Received: from emory.edu (localhost [127.0.0.1])i13FdDoj008539; Tue, 3 Feb 2004 10:39:13 -0500 (EST) Message-ID: <401FC09A.4030108@emory.edu> Date: Tue, 03 Feb 2004 10:39:06 -0500 From: Jonathan Chappelow User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040123 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bjorn Eikeland References: <401EB743.4030105@emory.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit cc: "freebsd-net@freebsd.org" Subject: Re: defect onboard broadcom causing boot hang 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, 03 Feb 2004 15:39:18 -0000 Bjorn Eikeland wrote: > Thanks for your reply Jon! > > I've checked the driver cd and it had the drivers under Drivers\LAN\4401\ > and I seem to remeber thats what windows once called it. The unidentified > chip id isnt a supprise, the card worked, and suddenly turned into a > unknown device in windows, so it must have changed somehow. > > So if the chip stil works then adding/changing the device id sounds like > a plan. Having casted a underskilled eye at the sources I'm not sure what > file to edit, but is this it?: > > /usr/src/sys/dev/bfe/if_bfereg.h > ln 396: #define BCOM_DEVICEID_BCM4401 0x4401 No problem, I had to take a look at this previously too. I think you could change that line all together, or you could possible add a new device by editing both if_bfe.c and if_bfereg.h. Maybe something like: --- /usr/src/sys/dev/bfe/if_bfe.c Fri Nov 14 14:00:30 2003 +++ ./if_bfe.c Tue Feb 3 10:30:42 2004 @@ -82,6 +82,8 @@ static struct bfe_type bfe_devs[] = { { BCOM_VENDORID, BCOM_DEVICEID_BCM4401, "Broadcom BCM4401 Fast Ethernet" }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM4401_1, + "Broadcom BCM4401 Fast Ethernet - A7V8X integrated" }, { 0, 0, NULL } }; --- /usr/src/sys/dev/bfe/if_bfereg.h Tue Sep 9 14:17:22 2003 +++ ./if_bfereg.h Tue Feb 3 10:28:09 2004 @@ -394,6 +394,7 @@ #define BCOM_VENDORID 0x14E4 #define BCOM_DEVICEID_BCM4401 0x4401 +#define BCOM_DEVICEID_BCM4401_1 0x8000 #define PCI_SETBIT(dev, reg, x, s) \ pci_write_config(dev, reg, (pci_read_config(dev, reg, s) | (x)), s) I've never done this before, but It would be fun to see if this is all you need to do. Best of luck. Jon > >> Bjorn Eikeland wrote: >> >>> I've just changed to using freebsd on my desktop pc, my Asus A7V8X >>> motherboad has a onboard Broadcom chip - this just stopped working >>> under >>> windows and turned into a unknown device. Asus or vendor's support >>> never >>> replied so I just picked up a new fxp card. >> >> >> Depending on the options, this board either has BCM4401 or BCM5702. >> Note "(optional)" written on the box next to Gigabit LAN. My old >> Asus P4PE had the BCM4401 and I had a lot of trouble with buggy >> drivers (*bfe*). The gigabit chip (BCM5702) uses bge. Try adding >> both to the kernel with mii to see if either works. Also, their >> might be a more detailed part number on a sticker somewhere. >> >>> pciconf shows this device to be a: >>> none0@pci0:9:0: class=0x008000 card=0x80008000 chip=0x800014e4 >>> rev=0x01 hdr=0x00 >>> vendor = 'Broadcom Corporation' >>> class = old >> >> >> According to pciids.sourceforge.net and www.pcidatabase.com, >> chip=0x800014e4 is unidentified. vendor 14e4 is Broadcom, but device >> id 8000 is a mystery. Although, this is close: >> http://pciids.sourceforge.net/iii/?i=14e44401. Good luck with that. >> You may just need to edit the code and add a device id? >> >> Jon >> > > > _______________________________________________ > 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 Tue Feb 3 07:54:37 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88ED816A4CE for ; Tue, 3 Feb 2004 07:54:37 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F3FE43D31 for ; Tue, 3 Feb 2004 07:54:34 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 83A3665435; Tue, 3 Feb 2004 15:54:32 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 40994-02-2; Tue, 3 Feb 2004 15:54:32 +0000 (GMT) Received: from saboteur.dek.spc.org (82-147-17-88.dsl.uk.rapidplay.com [82.147.17.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id B159A65434; Tue, 3 Feb 2004 15:54:31 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id EA00E40; Tue, 3 Feb 2004 15:54:30 +0000 (GMT) Date: Tue, 3 Feb 2004 15:54:30 +0000 From: Bruce M Simpson To: Edward Butler Message-ID: <20040203155430.GA2447@saboteur.dek.spc.org> Mail-Followup-To: Edward Butler , freebsd-net@freebsd.org References: <4A22D4DACF836546ACB71760692F5B4D01044DA6@accenthouseexch1.accenthouse.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A22D4DACF836546ACB71760692F5B4D01044DA6@accenthouseexch1.accenthouse.co.uk> cc: freebsd-net@freebsd.org Subject: Re: Obtaining Syslog message from a Cisco Router 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, 03 Feb 2004 15:54:37 -0000 On Tue, Feb 03, 2004 at 03:38:19PM -0000, Edward Butler wrote: > I am looking to dump the log files from various Cisco routers on to one > of various FreeBSD boxes we are running ( mainly FreeBSD 4.4 ) once the > logs have been dumped to then rotate these in a similar way that other > system logs files are rotated - dns, www and mail etc... > > My question is - do I need to compile a specific syslog collector or > will syslog on its own be able to handle these messages? Also how can I > reconfigure logrotate to include these log files? 1) Tell Cisco routers to use a specific facility/priority for their messages. 2) Tell syslog.conf to place the messages using this facility/priority into their own log file. 3) Tell newsyslog.conf to rotate these logs according to the desired policy. No need to install logrotate. newsyslog is the default FreeBSD log file rotation tool. BMS From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 08:18:09 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E88F16A4CE for ; Tue, 3 Feb 2004 08:18:09 -0800 (PST) Received: from castlerea.stdlib.net (castlerea.stdlib.net [212.13.199.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97B8843D41 for ; Tue, 3 Feb 2004 08:18:07 -0800 (PST) (envelope-from grimnar+freebsd-net@stdlib.net) Received: from grimnar by castlerea.stdlib.net with local (Exim 4.20) id 1Ao3FU-0003xV-Tw for freebsd-net@freebsd.org; Tue, 03 Feb 2004 16:18:04 +0000 Date: Tue, 3 Feb 2004 16:18:04 +0000 From: Colin Whittaker To: freebsd-net@freebsd.org Message-ID: <20040203161804.GA15150@castlerea.stdlib.net.> Mail-Followup-To: Colin Whittaker , freebsd-net@freebsd.org References: <4A22D4DACF836546ACB71760692F5B4D01044DA6@accenthouseexch1.accenthouse.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A22D4DACF836546ACB71760692F5B4D01044DA6@accenthouseexch1.accenthouse.co.uk> User-Agent: Mutt/1.3.28i Organization: North East Technologies Ltd. X-subliminal-message: Give Colin all your money. Subject: Re: Obtaining Syslog message from a Cisco Router 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, 03 Feb 2004 16:18:09 -0000 Edward Butler stated the following on Tue, Feb 03, 2004 at 03:38:19PM -0000 : > I am looking to dump the log files from various Cisco routers on to one > of various FreeBSD boxes we are running ( mainly FreeBSD 4.4 ) once the > logs have been dumped to then rotate these in a similar way that other > system logs files are rotated - dns, www and mail etc... > > My question is - do I need to compile a specific syslog collector or > will syslog on its own be able to handle these messages? Also how can I > reconfigure logrotate to include these log files? I use syslog-ng for this because it has some nice filtering options. One of which is source hostname/ip address. This means each router gets its own logfile along with a messages file for all the routers messages. Most of the engineers in the NOC tend to just leave this being tail'd in a terminal as a handy way on watching for issues. syslog-ng really is the way to go. Colin -- Colin Whittaker +353 (0)86 8211 965 colin@netech.ie From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 08:46:28 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C04916A4CE for ; Tue, 3 Feb 2004 08:46:28 -0800 (PST) Received: from guard.polynet.lviv.ua (guard.polynet.lviv.ua [217.9.2.1]) by mx1.FreeBSD.org (Postfix) with SMTP id DABA843D3F for ; Tue, 3 Feb 2004 08:46:24 -0800 (PST) (envelope-from akorud@polynet.lviv.ua) Received: (qmail 81988 invoked from network); 3 Feb 2004 16:46:18 -0000 Received: from eaux.polynet.lviv.ua (HELO localhost) (217.9.2.4) by 217.9.2.1 with SMTP; 3 Feb 2004 16:46:18 -0000 Received: from pg90.warszawa.cvx.ppp.tpnet.pl (pg90.warszawa.cvx.ppp.tpnet.pl [213.76.102.90]) by isp.polynet.lviv.ua (IMP) with HTTP for <.akorud.netadmin.lp@guard>; Tue, 3 Feb 2004 18:46:18 +0200 Message-ID: <1075826778.401fd05a1f8b3@isp.polynet.lviv.ua> Date: Tue, 3 Feb 2004 18:46:18 +0200 From: Andriy Korud To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 Subject: Changing TOS of forwarded packets? 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, 03 Feb 2004 16:46:28 -0000 Hi, my question is simple - is it possible to set TOS value of forwarded packets using ipfw, ipfilter or other magic on FreeBSD 4-STABLE? Tnanks in advance, Andriy Korud From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 08:56:46 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14C4016A4CE for ; Tue, 3 Feb 2004 08:56:46 -0800 (PST) Received: from mail.valuehost.co.uk (mail.valuehost.co.uk [62.25.99.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 7565743D2D for ; Tue, 3 Feb 2004 08:56:41 -0800 (PST) (envelope-from bjorn@eikeland.info) Received: (qmail 91058 invoked by uid 89); 3 Feb 2004 16:56:27 +0000 Received: from unknown (HELO beer.eikeland.info) (bjorn@eikeland.info@80.202.106.8) by mail.valuehost.co.uk with SMTP; 3 Feb 2004 16:56:27 +0000 Date: Tue, 03 Feb 2004 17:56:44 +0100 To: Jonathan Chappelow References: <401EB743.4030105@emory.edu> <401FC09A.4030108@emory.edu> Message-ID: From: Bjorn Eikeland Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <401FC09A.4030108@emory.edu> User-Agent: Opera7.23/FreeBSD M2 build 518 cc: "freebsd-net@freebsd.org" Subject: Re: defect onboard broadcom causing boot hang 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, 03 Feb 2004 16:56:46 -0000 Descided to stick with the easy way, as its not a change needing adding to the tree and I dont have any other bfe devices.. And surely the kernel says it's found a 4401 card when it boots, but: bfe0: mem 0xeb000000-0xeb001fff at device 9.0 on pci0 bfe0: Ethernet address: 80:00:80:00:80:00 bfe0: PHY Reset would not complete. bfe0: MII without any PHY! device_probe_and_attach: bfe0 attach returned 6 Thinking the chip is beyond "medical" help as even the MAC address is all funny - ofcourse I could change that with ifconfig bfe0 ether xx:xx, but not still of litte use without the phy :) So I think I'll ask the hardware list how to avoid probing the thing at all. Thanks for trying though!! (I've sure learned a bit from it!) > Bjorn Eikeland wrote: > >> Thanks for your reply Jon! >> >> I've checked the driver cd and it had the drivers under >> Drivers\LAN\4401\ >> and I seem to remeber thats what windows once called it. The >> unidentified >> chip id isnt a supprise, the card worked, and suddenly turned into a >> unknown device in windows, so it must have changed somehow. >> >> So if the chip stil works then adding/changing the device id sounds like >> a plan. Having casted a underskilled eye at the sources I'm not sure >> what >> file to edit, but is this it?: >> >> /usr/src/sys/dev/bfe/if_bfereg.h >> ln 396: #define BCOM_DEVICEID_BCM4401 0x4401 > > No problem, I had to take a look at this previously too. > > I think you could change that line all together, or you could possible > add a > new device by editing both if_bfe.c and if_bfereg.h. Maybe something > like: > > --- /usr/src/sys/dev/bfe/if_bfe.c Fri Nov 14 14:00:30 2003 > +++ ./if_bfe.c Tue Feb 3 10:30:42 2004 > @@ -82,6 +82,8 @@ > static struct bfe_type bfe_devs[] = { > { BCOM_VENDORID, BCOM_DEVICEID_BCM4401, > "Broadcom BCM4401 Fast Ethernet" }, > + { BCOM_VENDORID, BCOM_DEVICEID_BCM4401_1, > + "Broadcom BCM4401 Fast Ethernet - A7V8X integrated" }, > { 0, 0, NULL } > }; > --- /usr/src/sys/dev/bfe/if_bfereg.h Tue Sep 9 14:17:22 2003 > +++ ./if_bfereg.h Tue Feb 3 10:28:09 2004 > @@ -394,6 +394,7 @@ > #define BCOM_VENDORID 0x14E4 > #define BCOM_DEVICEID_BCM4401 0x4401 > +#define BCOM_DEVICEID_BCM4401_1 0x8000 > #define PCI_SETBIT(dev, reg, x, s) \ > pci_write_config(dev, reg, (pci_read_config(dev, reg, s) | (x)), s) > > I've never done this before, but It would be fun to see if this is all > you > need to do. Best of luck. > > Jon > >> >>> Bjorn Eikeland wrote: >>> >>>> I've just changed to using freebsd on my desktop pc, my Asus A7V8X >>>> motherboad has a onboard Broadcom chip - this just stopped working >>>> under >>>> windows and turned into a unknown device. Asus or vendor's support >>>> never >>>> replied so I just picked up a new fxp card. >>> >>> >>> Depending on the options, this board either has BCM4401 or BCM5702. >>> Note "(optional)" written on the box next to Gigabit LAN. My old Asus >>> P4PE had the BCM4401 and I had a lot of trouble with buggy drivers >>> (*bfe*). The gigabit chip (BCM5702) uses bge. Try adding both to the >>> kernel with mii to see if either works. Also, their might be a more >>> detailed part number on a sticker somewhere. >>> >>>> pciconf shows this device to be a: >>>> none0@pci0:9:0: class=0x008000 card=0x80008000 chip=0x800014e4 >>>> rev=0x01 hdr=0x00 >>>> vendor = 'Broadcom Corporation' >>>> class = old >>> >>> >>> According to pciids.sourceforge.net and www.pcidatabase.com, >>> chip=0x800014e4 is unidentified. vendor 14e4 is Broadcom, but device >>> id 8000 is a mystery. Although, this is close: >>> http://pciids.sourceforge.net/iii/?i=14e44401. Good luck with that. >>> You may just need to edit the code and add a device id? >>> >>> Jon >>> >> >> >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 09:19:14 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D098416A4CE for ; Tue, 3 Feb 2004 09:19:14 -0800 (PST) Received: from hotmail.com (sea2-dav70.sea2.hotmail.com [207.68.164.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 175C243D6D for ; Tue, 3 Feb 2004 09:19:12 -0800 (PST) (envelope-from pupilla@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 3 Feb 2004 09:19:11 -0800 Received: from 80.204.235.254 by sea2-dav70.sea2.hotmail.com with DAV; Tue, 03 Feb 2004 17:19:11 +0000 X-Originating-IP: [80.204.235.254] X-Originating-Email: [pupilla@hotmail.com] X-Sender: pupilla@hotmail.com From: "Marco Berizzi" To: Date: Tue, 3 Feb 2004 18:19:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1123 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123 Message-ID: X-OriginalArrivalTime: 03 Feb 2004 17:19:11.0885 (UTC) FILETIME=[D7325BD0:01C3EA79] Subject: ipsec ipcomp between FreeS/WAN 2.04 and FreeBSD 5.2 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, 03 Feb 2004 17:19:14 -0000 Hello everybody. I'm running an interop issue with IPSec tunnels between FreeS/WAN and FreeBSD 5.2 Without IPComp tunnel are successfully established. With IPComp enabled tunnel are again successfully established but there is no traffic flow. This is my setkey init (FreeBSD box side): /usr/local/sbin/setkey -c < 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 304C616A4CF; Tue, 3 Feb 2004 09:19:36 -0800 (PST) Received: from jkh-gw.brierdr.com (adsl-64-173-3-158.dsl.sntc01.pacbell.net [64.173.3.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B44D43D5D; Tue, 3 Feb 2004 09:19:35 -0800 (PST) (envelope-from jkh@queasyweasel.com) Received: from [64.173.15.98] (IDENT:1234-ident-is-a-completely-pointless-protocol-that-offers-no-security-or-traceability-at-all-so-tak@adsl-64-173-15-98.dsl.sntc01.pacbell.net [64.173.15.98]) by jkh-gw.brierdr.com (8.12.10/8.12.10) with ESMTP id i13HJCi5030359; Tue, 3 Feb 2004 09:19:12 -0800 (PST) (envelope-from jkh@queasyweasel.com) In-Reply-To: <20040203133257.GJ713@saboteur.dek.spc.org> References: <1075559223.615.9.camel@localhost> <20040203133257.GJ713@saboteur.dek.spc.org> Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <1C6EE8A8-566D-11D8-A1CB-000393BB9222@queasyweasel.com> Content-Transfer-Encoding: 7bit From: "Jordan K. Hubbard" Date: Tue, 3 Feb 2004 09:19:23 -0800 To: Bruce M Simpson X-Mailer: Apple Mail (2.612) cc: Jordan Hubbard cc: freebsd-net@freebsd.org cc: Dario Freni cc: freebsd-firewire@freebsd.org cc: Kevin Van Vechten Subject: Re: Will rfc2734 be supported? 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, 03 Feb 2004 17:19:36 -0000 It's up on the web site now, according to Kevin on the CC line (who was supposed to contact you but evidently did not :-). - Jordan On Feb 3, 2004, at 5:32 AM, Bruce M Simpson wrote: > On Sat, Jan 31, 2004 at 03:27:03PM +0100, Dario Freni wrote: >> I was wondering if the standard implementation of IPoFW is planning to >> be implemented. I'm not expert on device writing, I was also looking >> for > > I've already asked Jordan about a code drop from Apple; he's trying to > get > an answer from the appropriate people. > > BMS > -- Jordan K. Hubbard Engineering Manager, BSD technology group Apple Computer From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 10:33:37 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B246F16A4CE for ; Tue, 3 Feb 2004 10:33:37 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 097E543D54 for ; Tue, 3 Feb 2004 10:33:35 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.3) with ESMTP id i13IXW2h010085 for ; Tue, 3 Feb 2004 10:33:32 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i13IXWNG010084 for net@freebsd.org; Tue, 3 Feb 2004 10:33:32 -0800 Date: Tue, 3 Feb 2004 10:33:32 -0800 From: Brooks Davis To: net@freebsd.org Message-ID: <20040203183332.GD27244@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zbGR4y+acU1DwHSi" Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Subject: removing if_withname() 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, 03 Feb 2004 18:33:37 -0000 --zbGR4y+acU1DwHSi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Bruce pointed out that if_withname is inconsistent about IFNAMSIZ. I was looking at it and cleaned it up, but then I realized that it is a really inefficient implementation of ifnet_byindex(sdl->sdl_index). It turns out that it's also completely unused so I'd like to remove it entirely rather then fixing it since it's both broken and pointless. Is there any reason not to do so? I used glimpse and rwatson's fxr to verify that it's unused: http://fxr.watson.org/fxr/ident?i=3Dif_withname -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --zbGR4y+acU1DwHSi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAH+l6XY6L6fI4GtQRAikHAJ9oVkHUOj3lt0qJcYq1Tgk9AI/5AwCgl8LM qFHT1uRR/GkDCX3TJMLrjfA= =yEAV -----END PGP SIGNATURE----- --zbGR4y+acU1DwHSi-- From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 11:02:19 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9FED16A4CE; Tue, 3 Feb 2004 11:02:19 -0800 (PST) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 857B943D45; Tue, 3 Feb 2004 11:02:18 -0800 (PST) (envelope-from kvv@apple.com) Received: from mailgate2.apple.com (a17-128-100-204.apple.com [17.128.100.204])i13J2IX3002285; Tue, 3 Feb 2004 11:02:18 -0800 (PST) Received: from relay2.apple.com (relay2.apple.com) by mailgate2.apple.com ; Tue, 3 Feb 2004 11:02:18 -0800 Received: from apple.com (wisenheimer.apple.com [17.202.41.161]) by relay2.apple.com (8.12.11/8.12.11) with ESMTP id i13J2FLK006294; Tue, 3 Feb 2004 19:02:16 GMT Date: Tue, 3 Feb 2004 11:02:15 -0800 Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: Bruce M Simpson From: Kevin Van Vechten In-Reply-To: <1C6EE8A8-566D-11D8-A1CB-000393BB9222@queasyweasel.com> Message-Id: <7AEC679F-567B-11D8-9298-000A956D3902@apple.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) cc: freebsd-net@freebsd.org cc: Dario Freni cc: freebsd-firewire@freebsd.org cc: Jordan Hubbard Subject: Re: Will rfc2734 be supported? 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, 03 Feb 2004 19:02:19 -0000 The source code of the Mac OS X 10.3 (Panther) implementation is available from Apple's open source web site (APSL registration required): There is also a mirror at OpenDarwin.org: - Kevin On Tuesday, February 3, 2004, at 09:19 AM, Jordan K. Hubbard wrote: > It's up on the web site now, according to Kevin on the CC line (who > was supposed to contact you but evidently did not :-). > > - Jordan > > On Feb 3, 2004, at 5:32 AM, Bruce M Simpson wrote: > >> On Sat, Jan 31, 2004 at 03:27:03PM +0100, Dario Freni wrote: >>> I was wondering if the standard implementation of IPoFW is planning >>> to >>> be implemented. I'm not expert on device writing, I was also looking >>> for >> >> I've already asked Jordan about a code drop from Apple; he's trying >> to get >> an answer from the appropriate people. >> >> BMS >> > -- > Jordan K. Hubbard > Engineering Manager, BSD technology group > Apple Computer > From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 11:19:00 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92B0216A4CE for ; Tue, 3 Feb 2004 11:19:00 -0800 (PST) Received: from violet.noc.ucla.edu (violet.noc.ucla.edu [169.232.47.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87A3843D1D for ; Tue, 3 Feb 2004 11:18:59 -0800 (PST) (envelope-from shah@ucla.edu) Received: from azalea.noc.ucla.edu (azalea.noc.ucla.edu [169.232.47.12]) by violet.noc.ucla.edu (8.12.10/8.12.10) with ESMTP id i13JIwaJ001141 for ; Tue, 3 Feb 2004 11:18:58 -0800 Received: from [192.168.1.100] (67-40-94-180.phnx.qwest.net [67.40.94.180]) (authenticated bits=0) by azalea.noc.ucla.edu (8.12.10/8.12.10) with ESMTP id i13JIuNl022210 for ; Tue, 3 Feb 2004 11:18:57 -0800 Mime-Version: 1.0 (Apple Message framework v612) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-net@freebsd.org From: Sumit Shah Date: Tue, 3 Feb 2004 11:18:55 -0800 X-Mailer: Apple Mail (2.612) X-Probable-Spam: no X-Spam-Hits: -5.4 X-Old-X-Probable-Spam: no X-Old-X-Spam-Hits: -5.4 X-Old-X-Scanned-By: vscan.smtp.ucla.edu Subject: rl interface drops out occasionally 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, 03 Feb 2004 19:19:00 -0000 FreeBSD hackers, I have a FreeBSD 4.9 server with Abit AT7 Max motherboard which includes a built-in rl network interface. I've noticed that every now and then the network interface drops out. I can ifconfig destroy and then create it again and the network interface comes back. This machine serves nfs/smb/rsync exclusively and nothing more (2-3 gigs of traffic is moved per day). Any ideas on how to track down what the problem is? dmesg does not show anything unusual. Thanks, Sumit PS Here is what ifconfig rl shows: rl0: flags=8843 mtu 1500 inet x.x.x.74 netmask 0xffffff00 broadcast x.x.x.255 ether 00:50:8d:a6:2a:34 media: Ethernet autoselect (100baseTX ) status: active From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 11:54:09 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58C7F16A4CE for ; Tue, 3 Feb 2004 11:54:09 -0800 (PST) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FF1443D1D for ; Tue, 3 Feb 2004 11:54:07 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc11) with ESMTP id <2004020319540401100f9hh5e>; Tue, 3 Feb 2004 19:54:05 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA88166; Tue, 3 Feb 2004 11:54:02 -0800 (PST) Date: Tue, 3 Feb 2004 11:54:01 -0800 (PST) From: Julian Elischer To: Andriy Korud In-Reply-To: <1075826778.401fd05a1f8b3@isp.polynet.lviv.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: Changing TOS of forwarded packets? 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, 03 Feb 2004 19:54:09 -0000 check out the "tcpmssd" port. it changes soem tcp parameters during forwarding.. you could modify it to do what you want I am sure.. On Tue, 3 Feb 2004, Andriy Korud wrote: > > > Hi, my question is simple - is it possible to set TOS value of forwarded packets > using ipfw, ipfilter or other magic on FreeBSD 4-STABLE? > > Tnanks in advance, > Andriy Korud > _______________________________________________ > 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 Tue Feb 3 12:34:05 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E718916A4CE for ; Tue, 3 Feb 2004 12:34:05 -0800 (PST) Received: from mail.starblanket.ca (s142-179-220-105.ab.hsia.telus.net [142.179.220.105]) by mx1.FreeBSD.org (Postfix) with SMTP id 3EDB243D46 for ; Tue, 3 Feb 2004 12:34:04 -0800 (PST) (envelope-from bob.debolt@starblanket.ca) Received: (qmail 789 invoked from network); 2 Feb 2004 20:38:55 -0000 Received: from unknown (HELO toystxgtee2zio) (192.168.1.15) by mail.starblanket.ca with SMTP; 2 Feb 2004 20:38:55 -0000 From: "Bob DeBolt" To: "'Sumit Shah'" Date: Tue, 3 Feb 2004 13:38:30 -0700 Organization: Starblanket Research 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.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: cc: freebsd-net@freebsd.org Subject: RE: rl interface drops out occasionally X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bob.debolt@starblanket.ca List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 20:34:06 -0000 Greets > I've noticed that > every now > and then the network interface drops out. I can ifconfig destroy and > then create it again and the network interface comes back. This > machine serves nfs/smb/rsync exclusively and nothing more > (2-3 gigs of > traffic is moved per day). I had the same description of problem. I shut off the onboard NIC and installed a new rl and problem was solved. I spent several weeks testing different things. For the 5 or ten bucks for a new rl card, it is worth spending it. Sincerely Bob DeBolt Pres / CTO Starblanket Research 1-877-280-3695 Calgary 280-3695 bob.debolt@starblanket.ca 0x44E4A96B From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 13:29:43 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F37216A4CE for ; Tue, 3 Feb 2004 13:29:43 -0800 (PST) Received: from guard.polynet.lviv.ua (guard.polynet.lviv.ua [217.9.2.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 122B043D48 for ; Tue, 3 Feb 2004 13:29:28 -0800 (PST) (envelope-from akorud@polynet.lviv.ua) Received: (qmail 61647 invoked from network); 3 Feb 2004 21:29:24 -0000 Received: from eaux.polynet.lviv.ua (HELO localhost) (217.9.2.4) by 217.9.2.1 with SMTP; 3 Feb 2004 21:29:24 -0000 Received: from pf139.warszawa.cvx.ppp.tpnet.pl (pf139.warszawa.cvx.ppp.tpnet.pl [213.76.101.139]) by isp.polynet.lviv.ua (IMP) with HTTP for <.akorud.netadmin.lp@guard>; Tue, 3 Feb 2004 23:29:24 +0200 Message-ID: <1075843764.402012b4561da@isp.polynet.lviv.ua> Date: Tue, 3 Feb 2004 23:29:24 +0200 From: Andriy Korud To: Dominik Lupinski References: <1075826778.401fd05a1f8b3@isp.polynet.lviv.ua> <20040203173421.GA4446@errol.blah> In-Reply-To: <20040203173421.GA4446@errol.blah> MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 cc: freebsd-net@freebsd.org Subject: Re: Changing TOS of forwarded packets? 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, 03 Feb 2004 21:29:43 -0000 Thanks, but I'm looking for some solution that'd allow me to modify TOS of the packets that match some filter rule, so I think I have to modify ipfilter code. Andriy > On Tue, Feb 03, 2004 at 06:46:18PM +0200, Andriy Korud wrote: > > Hello, > > > Hi, my question is simple - is it possible to set TOS value of forwarded > packets > > using ipfw, ipfilter or other magic on FreeBSD 4-STABLE? > > As far as I know there is nothing official for this purposes (hope someone > will correct me if I am wrong). This is why I started to design something > on my own. My little goodie is a netgraph node for packet mangling in its > early stage. I *just* got it to work and it is tested now. Seems to work > properly for me. However, it was written and used only on FreeBSD-5.2-R > and > I'am not sure about diffrences in netgraph implementation in STABLE. > > Nevertheless, if noone suggests better sollution you may want to give it a > try. Bear in mind it's early stage, though. There you can reach it: > > http://venus.wsb-nlu.edu.pl/~dlupinsk/ng_mangle/ > > regards, > Dominik Lupinski > > > Ps. Any feedback appreciated. > -- > "...they build you up only to tear you down." > From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 13:29:57 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 644F716A4CE for ; Tue, 3 Feb 2004 13:29:57 -0800 (PST) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E97F43D41 for ; Tue, 3 Feb 2004 13:29:52 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from mail by mx.nsu.ru with drweb-scanned (Exim 3.35 #1 (Debian)) id 1Ao8KS-0001b3-00 for ; Wed, 04 Feb 2004 03:43:32 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mx.nsu.ru with esmtp (Exim 3.35 #1 (Debian)) id 1Ao8KQ-0001Zs-00 for ; Wed, 04 Feb 2004 03:43:30 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.10/8.12.10) with ESMTP id i13LTkkH023199 for ; Wed, 4 Feb 2004 03:29:46 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.10/8.12.10/Submit) id i13LTjMw023197 for freebsd-net@freebsd.org; Wed, 4 Feb 2004 03:29:45 +0600 (NS) (envelope-from fjoe) Date: Wed, 4 Feb 2004 03:29:43 +0600 From: Max Khon To: freebsd-net@freebsd.org Message-ID: <20040203212943.GA17105@iclub.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Envelope-To: freebsd-net@freebsd.org Subject: IPDIVERT 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, 03 Feb 2004 21:29:57 -0000 hi, there! I would like to add IPDIVERT option to GENERIC kernels on all platforms and to CFLAGS for ipfw module. This will allow using natd out of box. I'll commit this change by the end of this week if there will be no objections. Regards, /fjoe From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 13:31:58 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECFF616A4CE for ; Tue, 3 Feb 2004 13:31:58 -0800 (PST) Received: from guard.polynet.lviv.ua (guard.polynet.lviv.ua [217.9.2.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 9271943D7B for ; Tue, 3 Feb 2004 13:31:48 -0800 (PST) (envelope-from akorud@polynet.lviv.ua) Received: (qmail 62233 invoked from network); 3 Feb 2004 21:31:45 -0000 Received: from eaux.polynet.lviv.ua (HELO localhost) (217.9.2.4) by 217.9.2.1 with SMTP; 3 Feb 2004 21:31:45 -0000 Received: from pf139.warszawa.cvx.ppp.tpnet.pl (pf139.warszawa.cvx.ppp.tpnet.pl [213.76.101.139]) by isp.polynet.lviv.ua (IMP) with HTTP for <.akorud.netadmin.lp@guard>; Tue, 3 Feb 2004 23:31:45 +0200 Message-ID: <1075843905.4020134110b86@isp.polynet.lviv.ua> Date: Tue, 3 Feb 2004 23:31:45 +0200 From: Andriy Korud To: Julian Elischer References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 cc: freebsd-net@freebsd.org Subject: Re: Changing TOS of forwarded packets? 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, 03 Feb 2004 21:31:59 -0000 ãÉÔÕÀ Julian Elischer : > check out the "tcpmssd" port. > > it changes soem tcp parameters during forwarding.. > you could modify it to do what you want I am sure.. > > Thanks, but I think at the packet rate I'm interested in (~30Mbit/s and more) divert solution will have poor performance. Andriy From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 16:05:18 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9865516A4CE for ; Tue, 3 Feb 2004 16:05:18 -0800 (PST) Received: from daemon.kr.FreeBSD.org (daemon.kr.freebsd.org [61.78.53.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3C7043D5E for ; Tue, 3 Feb 2004 16:05:16 -0800 (PST) (envelope-from cjh@kr.FreeBSD.org) Received: from localhost (gradius [211.44.63.164]) by daemon.kr.FreeBSD.org (Postfix) with ESMTP id 455C61A801 for ; Wed, 4 Feb 2004 09:03:52 +0900 (KST) Date: Wed, 04 Feb 2004 09:03:52 +0900 (KST) Message-Id: <20040204.090352.41632950.cjh@kr.FreeBSD.org> To: freebsd-net@freebsd.org From: CHOI Junho Organization: Korea FreeBSD Users Group X-URL: http://www.kr.FreeBSD.org/~cjh X-Mailer: Mew version 4.0.64 on Emacs 21.3.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: SACK implementation for 4.9? 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, 04 Feb 2004 00:05:18 -0000 Hi, Is there any patches of SACK for 4.9? I found patches against 4.3 but it is very hard to apply. -- CHOI Junho KFUG FreeBSD Project Web Data Bank Key fingerprint = 1369 7374 A45F F41A F3C0 07E3 4A01 C020 E602 60F5 From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 16:17:27 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A81D16A4CF for ; Tue, 3 Feb 2004 16:17:27 -0800 (PST) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E8DB43D31 for ; Tue, 3 Feb 2004 16:17:23 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc12) with ESMTP id <2004020400172201200d0k4oe>; Wed, 4 Feb 2004 00:17:22 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA91248; Tue, 3 Feb 2004 16:17:20 -0800 (PST) Date: Tue, 3 Feb 2004 16:17:19 -0800 (PST) From: Julian Elischer To: Andriy Korud In-Reply-To: <1075843764.402012b4561da@isp.polynet.lviv.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org cc: Dominik Lupinski Subject: Re: Changing TOS of forwarded packets? 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, 04 Feb 2004 00:17:27 -0000 here's a suggestion.. I have not done this but it might work: use ipfw to send sessions that match to a divert socket at port X. use netgraph ng_ksocket to connect to the divert port you selected above. Use a variant of the node given to hack the TOC value.. (he's looking at ethernet packets where you would be looking at IP packets so it won't work directly). Hmmm having fiddled the packets we'd need to reinject them to a socket.. we could reinject them to teh same socket (we'd need to use a 'tee' node as follows: [divert]<--->[ksocket]<---->[tee]---->[hack]----\ ^ | \ | ----------------/ OR you could open another divert ksocket [divert]<--->[ksocket]<---->[tee]---->[hack]---->[ksocket]-->[divert] (the divert socket will always feed back into the IP stack.) On Tue, 3 Feb 2004, Andriy Korud wrote: > Thanks, but I'm looking for some solution that'd allow me to modify TOS of the > packets that match some filter rule, so I think I have to modify ipfilter > code. > > Andriy > > > On Tue, Feb 03, 2004 at 06:46:18PM +0200, Andriy Korud wrote: > > > > Hello, > > > > > Hi, my question is simple - is it possible to set TOS value of forwarded > > packets > > > using ipfw, ipfilter or other magic on FreeBSD 4-STABLE? > > > > As far as I know there is nothing official for this purposes (hope someone > > will correct me if I am wrong). This is why I started to design something > > on my own. My little goodie is a netgraph node for packet mangling in its > > early stage. I *just* got it to work and it is tested now. Seems to work > > properly for me. However, it was written and used only on FreeBSD-5.2-R > > and > > I'am not sure about diffrences in netgraph implementation in STABLE. > > > > Nevertheless, if noone suggests better sollution you may want to give it a > > try. Bear in mind it's early stage, though. There you can reach it: > > > > http://venus.wsb-nlu.edu.pl/~dlupinsk/ng_mangle/ > > > > regards, > > Dominik Lupinski > > > > > > Ps. Any feedback appreciated. > > -- > > "...they build you up only to tear you down." > > > > > > _______________________________________________ > 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 Tue Feb 3 16:20:37 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2541316A4CE for ; Tue, 3 Feb 2004 16:20:37 -0800 (PST) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id D04A143D3F for ; Tue, 3 Feb 2004 16:20:35 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc12) with ESMTP id <2004020400203401200em3fse>; Wed, 4 Feb 2004 00:20:35 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA91308; Tue, 3 Feb 2004 16:20:34 -0800 (PST) Date: Tue, 3 Feb 2004 16:20:34 -0800 (PST) From: Julian Elischer To: Andriy Korud In-Reply-To: <1075843905.4020134110b86@isp.polynet.lviv.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE cc: freebsd-net@freebsd.org Subject: Re: Changing TOS of forwarded packets? 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, 04 Feb 2004 00:20:37 -0000 On Tue, 3 Feb 2004, Andriy Korud wrote: > =E3=C9=D4=D5=C0 Julian Elischer : >=20 > > check out the "tcpmssd" port. > >=20 > > it changes soem tcp parameters during forwarding.. > > you could modify it to do what you want I am sure.. > >=20 > >=20 > Thanks, but I think at the packet rate I'm interested in (~30Mbit/s and m= ore) > divert solution will have poor performance. >=20 I wouldn't count on it.. especially if run at rtprio. > Andriy >=20 From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 16:53:24 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83BA716A4CE for ; Tue, 3 Feb 2004 16:53:24 -0800 (PST) Received: from smtp3.sentex.ca (smtp3.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B9E143D54 for ; Tue, 3 Feb 2004 16:53:23 -0800 (PST) (envelope-from mike@sentex.net) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smtp3.sentex.ca (8.12.10/8.12.10) with ESMTP id i140rGUE047090 for ; Tue, 3 Feb 2004 19:53:16 -0500 (EST) (envelope-from mike@sentex.net) Received: from BLUELAPIS.sentex.ca (cage.simianscience.com [64.7.134.1]) by smtp1.sentex.ca (8.12.10/8.12.10) with SMTP id i140rKOL096441 for ; Tue, 3 Feb 2004 19:53:21 -0500 (EST) (envelope-from mike@sentex.net) From: Mike Tancsa To: freebsd-net@freebsd.org Date: Tue, 03 Feb 2004 19:53:23 -0500 Message-ID: <4ig020dr1d98sfvpejljiu8d52t7t17gqt@4ax.com> References: <4A22D4DACF836546ACB71760692F5B4D01044DA6@accenthouseexch1.accenthouse.co.uk> <20040203155430.GA2447@saboteur.dek.spc.org> In-Reply-To: <20040203155430.GA2447@saboteur.dek.spc.org> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Re: Obtaining Syslog message from a Cisco Router 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, 04 Feb 2004 00:53:24 -0000 And you might need to restart syslogd with a different start up param so that it does not ignore messages from outside sources. ---Mike On Tue, 3 Feb 2004 15:54:30 +0000, in sentex.lists.freebsd.net you wrote: >On Tue, Feb 03, 2004 at 03:38:19PM -0000, Edward Butler wrote: >> I am looking to dump the log files from various Cisco routers on to = one >> of various FreeBSD boxes we are running ( mainly FreeBSD 4.4 ) once = the >> logs have been dumped to then rotate these in a similar way that other >> system logs files are rotated - dns, www and mail etc... >>=20 >> My question is - do I need to compile a specific syslog collector or >> will syslog on its own be able to handle these messages? Also how can = I >> reconfigure logrotate to include these log files? > >1) Tell Cisco routers to use a specific facility/priority for their = messages. >2) Tell syslog.conf to place the messages using this facility/priority = into >their own log file. >3) Tell newsyslog.conf to rotate these logs according to the desired = policy. > >No need to install logrotate. newsyslog is the default FreeBSD log file >rotation tool. > >BMS >_______________________________________________ >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 Tue Feb 3 18:51:02 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FF8716A4CE for ; Tue, 3 Feb 2004 18:51:02 -0800 (PST) Received: from violet.noc.ucla.edu (violet.noc.ucla.edu [169.232.47.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id E488B43D3F for ; Tue, 3 Feb 2004 18:51:00 -0800 (PST) (envelope-from shah@ucla.edu) Received: from tigerlily.noc.ucla.edu (tigerlily.noc.ucla.edu [169.232.46.12]) by violet.noc.ucla.edu (8.12.10/8.12.10) with ESMTP id i142ouaJ009710; Tue, 3 Feb 2004 18:50:57 -0800 Received: from [192.168.1.100] (67-40-94-180.phnx.qwest.net [67.40.94.180]) (authenticated bits=0)i142okLM032376; Tue, 3 Feb 2004 18:50:46 -0800 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Sumit Shah Date: Tue, 3 Feb 2004 18:50:45 -0800 To: X-Mailer: Apple Mail (2.612) X-Probable-Spam: no X-Spam-Hits: -7.4 X-Old-X-Probable-Spam: no X-Old-X-Spam-Hits: -7.4 X-Old-X-Scanned-By: vscan.smtp.ucla.edu cc: freebsd-net@freebsd.org Subject: Re: rl interface drops out occasionally 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, 04 Feb 2004 02:51:02 -0000 Thanks for the reply, it's good to hear I'm not the only one experiencing this. At least there is a simple workaround and we were going to upgrade the NIC anyway. thanks, sumit On Feb 3, 2004, at 12:38 PM, Bob DeBolt wrote: > Greets > >> I've noticed that >> every now >> and then the network interface drops out. I can ifconfig destroy and >> then create it again and the network interface comes back. This >> machine serves nfs/smb/rsync exclusively and nothing more >> (2-3 gigs of >> traffic is moved per day). > > I had the same description of problem. I shut off the onboard > NIC and installed a new rl and problem was solved. I spent several > weeks testing different things. For the 5 or ten bucks for a new > rl card, it is worth spending it. > > > Sincerely > > Bob DeBolt > Pres / CTO > Starblanket Research > 1-877-280-3695 > Calgary 280-3695 > bob.debolt@starblanket.ca > 0x44E4A96B > From owner-freebsd-net@FreeBSD.ORG Wed Feb 4 00:03:30 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 124E916A4CE for ; Wed, 4 Feb 2004 00:03:30 -0800 (PST) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41A8143D2F for ; Wed, 4 Feb 2004 00:03:26 -0800 (PST) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.30; FreeBSD) id 1AoI1l-0000FO-7t; Wed, 04 Feb 2004 11:04:53 +0300 From: "Vladimir B. Grebenschikov" To: Julian Elischer In-Reply-To: References: Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Inc. Message-Id: <1075881891.779.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 04 Feb 2004 11:04:52 +0300 Sender: Vladimir Grebenschikov cc: freebsd-net Subject: Re: Changing TOS of forwarded packets? 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, 04 Feb 2004 08:03:30 -0000 =F7 =D3=D2, 04.02.2004, =D7 03:17, Julian Elischer =D0=C9=DB=C5=D4: > here's a suggestion.. > I have not done this but it might work: I have tried such scheme (second, with two divert sockets, tee not necessary). It works, only thing you should care about - packet should not enter to this chain twice or kernel will panic. As for rtprio - I guess it will not help for tens of megabits traffic. ps: change action for ipfw2 will be funny enough, like: ipfw add X change iptos congestion .... ipfw add Y change src-ip 1.1.1.1 ... may be it is not bad feature for ipfw2 ? > use ipfw to send sessions that match to a divert socket at port X. >=20 > use netgraph ng_ksocket to connect to the divert port you selected > above. >=20 > Use a variant of the node given to hack the TOC value.. > (he's looking at ethernet packets where you would be looking at IP > packets so it won't work directly). Hmmm having fiddled the packets > we'd need to reinject them to a socket.. we could reinject them to teh > same socket (we'd need to use a 'tee' node as follows: >=20 >=20 > [divert]<--->[ksocket]<---->[tee]---->[hack]----\ > ^ | > \ | > ----------------/ >=20 >=20 > OR=20 > you could open another divert ksocket >=20 > [divert]<--->[ksocket]<---->[tee]---->[hack]---->[ksocket]-->[divert] >=20 > (the divert socket will always feed back into the IP stack.) >=20 >=20 > On Tue, 3 Feb 2004, Andriy Korud wrote: >=20 > > Thanks, but I'm looking for some solution that'd allow me to modify TOS= of the > > packets that match some filter rule, so I think I have to modify ipfilt= er > > code. > >=20 > > Andriy > >=20 > > > On Tue, Feb 03, 2004 at 06:46:18PM +0200, Andriy Korud wrote: > > > =20 > > > Hello, > > >=20 > > > > Hi, my question is simple - is it possible to set TOS value of forw= arded > > > packets > > > > using ipfw, ipfilter or other magic on FreeBSD 4-STABLE? > > >=20 > > > As far as I know there is nothing official for this purposes (hope = someone > > > will correct me if I am wrong). This is why I started to design som= ething=20 > > > on my own. My little goodie is a netgraph node for packet mangling = in its > > > early stage. I *just* got it to work and it is tested now. Seems to= work > > > properly for me. However, it was written and used only on FreeBSD-5= .2-R > > > and > > > I'am not sure about diffrences in netgraph implementation in STABLE= . > > >=20 > > > Nevertheless, if noone suggests better sollution you may want to gi= ve it a > > > try. Bear in mind it's early stage, though. There you can reach it: > > > =20 > > > http://venus.wsb-nlu.edu.pl/~dlupinsk/ng_mangle/ > > >=20 > > > regards, > > > Dominik Lupinski > > >=20 > > >=20 > > > Ps. Any feedback appreciated. > > > --=20 > > > "...they build you up only to tear you down." > > >=20 > >=20 > >=20 > >=20 > > _______________________________________________ > > 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 >=20 > _______________________________________________ > 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 Vladimir B. Grebenschikov SWsoft Inc. From owner-freebsd-net@FreeBSD.ORG Wed Feb 4 00:39:21 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6052316A4CE for ; Wed, 4 Feb 2004 00:39:21 -0800 (PST) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F11843D3F for ; Wed, 4 Feb 2004 00:39:10 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87])i148d85O014291; Wed, 4 Feb 2004 19:39:08 +1100 Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) i148d6Yc003921; Wed, 4 Feb 2004 19:39:07 +1100 Date: Wed, 4 Feb 2004 19:39:06 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Brooks Davis In-Reply-To: <20040203183332.GD27244@Odin.AC.HMC.Edu> Message-ID: <20040204193623.E1469@gamplex.bde.org> References: <20040203183332.GD27244@Odin.AC.HMC.Edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: net@freebsd.org Subject: Re: removing if_withname() 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, 04 Feb 2004 08:39:21 -0000 On Tue, 3 Feb 2004, Brooks Davis wrote: > Bruce pointed out that if_withname is inconsistent about IFNAMSIZ. I > was looking at it and cleaned it up, but then I realized that it is a > really inefficient implementation of ifnet_byindex(sdl->sdl_index). It > turns out that it's also completely unused so I'd like to remove it > entirely rather then fixing it since it's both broken and pointless. Is > there any reason not to do so? It seems to be a pat of KAME that has never been used in FreeBSD (net/if.c rev.1.77). Bruce From owner-freebsd-net@FreeBSD.ORG Wed Feb 4 04:08:41 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C73FE16A4CE for ; Wed, 4 Feb 2004 04:08:41 -0800 (PST) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id A19B443D48 for ; Wed, 4 Feb 2004 04:08:40 -0800 (PST) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com ([66.31.45.197]) by comcast.net (rwcrmhc12) with ESMTP id <200402041208360140082dtce>; Wed, 4 Feb 2004 12:08:36 +0000 Received: from h00609772adf0.ne.client2.attbi.com (localhost.crodrigues.org [127.0.0.1])i14C8Yhd007225; Wed, 4 Feb 2004 07:08:34 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)i14C8ShY007224; Wed, 4 Feb 2004 07:08:28 -0500 (EST) (envelope-from rodrigc) Date: Wed, 4 Feb 2004 07:08:28 -0500 From: Craig Rodrigues To: Andriy Korud Message-ID: <20040204120828.GA7141@crodrigues.org> References: <1075826778.401fd05a1f8b3@isp.polynet.lviv.ua> <20040203173421.GA4446@errol.blah> <1075843764.402012b4561da@isp.polynet.lviv.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1075843764.402012b4561da@isp.polynet.lviv.ua> User-Agent: Mutt/1.4.1i cc: freebsd-net@freebsd.org cc: Dominik Lupinski Subject: Re: Changing TOS of forwarded packets? 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, 04 Feb 2004 12:08:41 -0000 On Tue, Feb 03, 2004 at 11:29:24PM +0200, Andriy Korud wrote: > Thanks, but I'm looking for some solution that'd allow me to modify TOS of the > packets that match some filter rule, so I think I have to modify ipfilter > code. Have you looked at ALTQ, which is part of KAME ( http://www.kame.net )? ALTQ runs on FreeBSD-STABLE, and can set the TOS based on a filter rule. -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org From owner-freebsd-net@FreeBSD.ORG Wed Feb 4 04:43:31 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F69716A4CE for ; Wed, 4 Feb 2004 04:43:31 -0800 (PST) Received: from smtp.octapharma.se (smtp.octapharma.se [195.198.168.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id D85BA43D45 for ; Wed, 4 Feb 2004 04:43:28 -0800 (PST) (envelope-from Mikael.Gunnarsson@octapharma.se) Received: from sestosrv004p.ad.octapharma.se ([195.198.13.61] RDNS failed) by smtp.octapharma.se with Microsoft SMTPSVC(5.0.2195.6713); Wed, 4 Feb 2004 13:45:55 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 4 Feb 2004 13:43:24 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: rl interface drops out occasionally Thread-Index: AcPqydPANISoCqnMTW6WUMtkji/fzwAUjU2g From: "Gunnarsson, Mikael" To: "Sumit Shah" , X-OriginalArrivalTime: 04 Feb 2004 12:45:55.0640 (UTC) FILETIME=[D4AFAB80:01C3EB1C] cc: freebsd-net@freebsd.org Subject: RE: rl interface drops out occasionally 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, 04 Feb 2004 12:43:31 -0000 Save yourself some headache then and don't get another rl.. As it says = in the driver's source, it really redefines the meaning of 'low end'. It'= s dirt cheap, and you get what you pay for.. M > -----Original Mess= age----- > From: Sumit Shah [mailto:shah@ucla.edu] > Sent: den 4 februa= ri 2004 03:51 > To: bob.debolt@starblanket.ca > Cc: freebsd-net@freebsd= .org > Subject: Re: rl interface drops out occasionally > > > Thank= s for the reply, it's good to hear I'm not the only one > experiencing = this. At least there is a simple workaround and we were > going to upg= rade the NIC anyway. > > thanks, > sumit > > > On Feb 3, 2004, a= t 12:38 PM, Bob DeBolt wrote: > > > Greets > > > >> I've noticed tha= t > >> every now > >> and then the network interface drops out. I can = ifconfig > destroy and > >> then create it again and the network inter= face comes back. This > >> machine serves nfs/smb/rsync exclusively and= nothing more > >> (2-3 gigs of > >> traffic is moved per day). > > >= > I had the same description of problem. I shut off the onboard > > NIC= and installed a new rl and problem was solved. I spent several > > week= s testing different things. For the 5 or ten bucks for a new > > rl card= , it is worth spending it. > > > > > > Sincerely > > > > Bob DeBolt = > > Pres / CTO > > Starblanket Research > > 1-877-280-3695 > > Calgary= 280-3695 > > bob.debolt@starblanket.ca > > 0x44E4A96B > > > > ____= ___________________________________________ > freebsd-net@freebsd.org ma= iling list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To= unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > = This email and any files transmitted with it are confidential and intende= d solely for the use of the individual or entity to whom they are address= ed. If you have received this email in error please notify the system man= ager. This message contains confidential information and is intended only= for the individual named. If you are not the named addressee you should = not disseminate, distribute or copy this e-mail. From owner-freebsd-net@FreeBSD.ORG Wed Feb 4 05:49:29 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E08C16A4CE for ; Wed, 4 Feb 2004 05:49:29 -0800 (PST) Received: from guard.polynet.lviv.ua (guard.polynet.lviv.ua [217.9.2.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 3C43A43D55 for ; Wed, 4 Feb 2004 05:49:25 -0800 (PST) (envelope-from akorud@polynet.lviv.ua) Received: (qmail 24948 invoked from network); 4 Feb 2004 13:49:20 -0000 Received: from eaux.polynet.lviv.ua (HELO localhost) (217.9.2.4) by 217.9.2.1 with SMTP; 4 Feb 2004 13:49:20 -0000 Received: from sirko.ifpan.edu.pl (sirko.ifpan.edu.pl [148.81.45.164]) by isp.polynet.lviv.ua (IMP) with HTTP for <.akorud.netadmin.lp@postoffice.polynet.lviv.ua>; Wed, 4 Feb 2004 15:49:16 +0200 Message-ID: <1075902556.4020f85ca3750@isp.polynet.lviv.ua> Date: Wed, 4 Feb 2004 15:49:16 +0200 From: Andriy Korud To: Craig Rodrigues References: <1075826778.401fd05a1f8b3@isp.polynet.lviv.ua> <20040203173421.GA4446@errol.blah> <1075843764.402012b4561da@isp.polynet.lviv.ua> <20040204120828.GA7141@crodrigues.org> In-Reply-To: <20040204120828.GA7141@crodrigues.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 cc: freebsd-net@freebsd.org cc: Dominik Lupinski Subject: Re: Changing TOS of forwarded packets? 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, 04 Feb 2004 13:49:29 -0000 Cytowanie Craig Rodrigues : > On Tue, Feb 03, 2004 at 11:29:24PM +0200, Andriy Korud wrote: > > Thanks, but I'm looking for some solution that'd allow me to modify TOS of > the > > packets that match some filter rule, so I think I have to modify ipfilter > > code. > > Have you looked at ALTQ, which is part of KAME ( http://www.kame.net )? > ALTQ runs on FreeBSD-STABLE, and can set the TOS based > on a filter rule. > Thanks, I thought about it, but was not sure it may do it. Should give it a try. Andriy From owner-freebsd-net@FreeBSD.ORG Wed Feb 4 08:52:53 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15EAE16A4CE for ; Wed, 4 Feb 2004 08:52:53 -0800 (PST) Received: from cheer.mahoroba.org (flets20-024.kamome.or.jp [218.45.20.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E9E443D1F for ; Wed, 4 Feb 2004 08:52:49 -0800 (PST) (envelope-from ume@FreeBSD.org) Received: from lyrics.mahoroba.org (IDENT:2cyjBjfg6i67K+AAA3J+e+R6IL0oqb6+Hi84Kx3rvy+ri9yFFgDAPghEY4Hbz9XH@lyrics.mahoroba.org [IPv6:3ffe:501:185b:8010:280:88ff:fe03:4841]) (user=ume mech=CRAM-MD5 bits=0)i14GqgZS097784 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Feb 2004 01:52:43 +0900 (JST) (envelope-from ume@FreeBSD.org) Date: Thu, 05 Feb 2004 01:52:42 +0900 Message-ID: From: Hajimu UMEMOTO To: Bruce Evans In-Reply-To: <20040204193623.E1469@gamplex.bde.org> References: <20040203183332.GD27244@Odin.AC.HMC.Edu> <20040204193623.E1469@gamplex.bde.org> User-Agent: xcite1.38> Wanderlust/2.11.3 (Wonderwall) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 5.2-CURRENT MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on cheer.mahoroba.org cc: net@freebsd.org Subject: Re: removing if_withname() 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, 04 Feb 2004 16:52:53 -0000 Hi, >>>>> On Wed, 4 Feb 2004 19:39:06 +1100 (EST) >>>>> Bruce Evans said: > Bruce pointed out that if_withname is inconsistent about IFNAMSIZ. I > was looking at it and cleaned it up, but then I realized that it is a > really inefficient implementation of ifnet_byindex(sdl->sdl_index). It > turns out that it's also completely unused so I'd like to remove it > entirely rather then fixing it since it's both broken and pointless. Is > there any reason not to do so? bde> It seems to be a pat of KAME that has never been used in FreeBSD bde> (net/if.c rev.1.77). Yes, once, it was introduced during 1st KAME merge, it is not used in current code in FreeBSD nor KAME. So, I believe it is safe to nuke it. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From owner-freebsd-net@FreeBSD.ORG Wed Feb 4 09:42:54 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 660D016A4CF for ; Wed, 4 Feb 2004 09:42:54 -0800 (PST) Received: from viviendaatualcance.com.mx (dsl-200-67-167-6.prod-infinitum.com.mx [200.67.167.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB2F543D54 for ; Wed, 4 Feb 2004 09:42:52 -0800 (PST) (envelope-from eculp@viviendaatualcance.com.mx) Received: from localhost (localhost [127.0.0.1]) (uid 80) by viviendaatualcance.com.mx with local; Wed, 04 Feb 2004 11:42:51 -0600 Received: from local-62.local.net.mx (local-62.local.net.mx [192.168.5.62]) by mail.viviendaatualcance.com.mx (Horde) with HTTP for ; Wed, 4 Feb 2004 11:42:51 -0600 Message-ID: <20040204114251.fms0sgg44kgk40sk@mail.viviendaatualcance.com.mx> Date: Wed, 4 Feb 2004 11:42:51 -0600 From: Edwin Culp To: net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs Subject: 2 isp's, one LAN and need to divide traffic. 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, 04 Feb 2004 17:42:54 -0000 Is there a, hopefully simple, way to divide bidirectional traffic (LAN/INTERNET)between 2 internet connections more or less as the diagram below. I've just added a DSL connection with a lot more bandwidth than my ds0. I want to use the ds0 exclusively for email and DNS that I consider, in my case, to be lower priority and the DSL for all other traffic? Shared 64k ds0 Provider1<-->\ email/DNS 200.X.X.X/28 \ \ <-->FreeBSD Server<-->LAN [192.168.0.0] / / Provider2<-->/ HTTPD/FTP/MSG/ etc. DSL 200.X.X.6/32 Thanks for any suggestions. ed From owner-freebsd-net@FreeBSD.ORG Wed Feb 4 10:31:16 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEC0116A4CE for ; Wed, 4 Feb 2004 10:31:16 -0800 (PST) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 172E743D77 for ; Wed, 4 Feb 2004 10:31:15 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc13) with ESMTP id <20040204183106015007k8c2e>; Wed, 4 Feb 2004 18:31:10 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA02056; Wed, 4 Feb 2004 10:31:05 -0800 (PST) Date: Wed, 4 Feb 2004 10:31:04 -0800 (PST) From: Julian Elischer To: Dominik Lupinski In-Reply-To: <20040204084239.GA9033@errol.blah> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "Vladimir B. Grebenschikov" cc: freebsd-net Subject: Re: Changing TOS of forwarded packets? 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, 04 Feb 2004 18:31:17 -0000 On Wed, 4 Feb 2004, Dominik Lupinski wrote: > On Wed, Feb 04, 2004 at 11:04:52AM +0300, Vladimir B. Grebenschikov wrote: > > ? ??, 04.02.2004, ? 03:17, Julian Elischer ?????: > > > > here's a suggestion.. > > > I have not done this but it might work: > > > > I have tried such scheme (second, with two divert sockets, tee not > > necessary). It works, only thing you should care about - packet should > > not enter to this chain twice or kernel will panic. > > Thanks, both of you, for the input. Seems like I found the proper way for > dealing with ip packets in the stack. (Yes, I also think that tee node was > redundant in the second example). yeah the tee node was a cut-n-paste error :-) > > > ps: > > change action for ipfw2 will be funny enough, like: > > ipfw add X change iptos congestion .... > > ipfw add Y change src-ip 1.1.1.1 ... > > may be it is not bad feature for ipfw2 ? > > At least it's high time to have such thing natively in FreeBSD... > > -- > "...they build you up only to tear you down." > From owner-freebsd-net@FreeBSD.ORG Wed Feb 4 12:41:38 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A080216A4CE for ; Wed, 4 Feb 2004 12:41:38 -0800 (PST) Received: from mx02.ca.mci.com (mx02.ca.mci.com [142.77.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 959E243D41 for ; Wed, 4 Feb 2004 12:41:36 -0800 (PST) (envelope-from kfl@xiphos.ca) Received: from highway (modemcable012.96-200-24.mc.videotron.ca [24.200.96.12]) by mx02.ca.mci.com (Postfix) with SMTP id 3A753523DB; Wed, 4 Feb 2004 15:41:27 -0500 (EST) From: "Karim Fodil-Lemelin" To: "Marco Berizzi" , Date: Wed, 4 Feb 2004 15:34:43 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: ipsec ipcomp between FreeS/WAN 2.04 and FreeBSD 5.2 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, 04 Feb 2004 20:41:38 -0000 Hi, I tried that before and couldn't get it working :( Then I asked the Kame peps and it seems that ipcomp is not supported yet in tunnel mode. That was for FreeBSD 4.8 and I don't think it has changed since then. Karim. > -----Original Message----- > From: owner-freebsd-net@freebsd.org > [mailto:owner-freebsd-net@freebsd.org]On Behalf Of Marco Berizzi > Sent: 3 février, 2004 12:19 > To: freebsd-net@freebsd.org > Subject: ipsec ipcomp between FreeS/WAN 2.04 and FreeBSD 5.2 > > > Hello everybody. > > I'm running an interop issue with IPSec tunnels > between FreeS/WAN and FreeBSD 5.2 > Without IPComp tunnel are successfully established. > With IPComp enabled tunnel are again successfully > established but there is no traffic flow. > > This is my setkey init (FreeBSD box side): > > /usr/local/sbin/setkey -c < flush; > spdflush; > spdadd 10.1.2.0/24 10.1.1.0/24 any -P in ipsec > ipcomp/tunnel/172.16.1.247-172.16.1.226/use > esp/tunnel/172.16.1.247-172.16.1.226/require; > > spdadd 10.1.1.0/24 10.1.2.0/24 any -P out ipsec > ipcomp/tunnel/172.16.1.226-172.16.1.247/use > esp/tunnel/172.16.1.226-172.16.1.247/require; > EOF > > However with this kind of init file FreeS/WAN is dropping packet > coming from the FreeBSD box. > Michael Richardson (fsw mantainer) reply me telling: > > "... The packets that racoon is telling the system to build > would appear to have been constructed like: > > orig IPsrc = 10.1.1.1,IPdst = 10.1.2.1 > IPcomp > * IPsrc = 172.16.1.247,IPdst=172.16.1.226 > ESP > outer IPsrc = 172.16.1.247,IPdst=172.16.1.226 > > [...] This packet format is in error. It defeats most of the > point of using > IPcomp, which is to compress the inner-IP header out. It appears > that a new > IP header has been added. > If the 2.6.0 kernel accepts this, then I wonder what other things it > might accept! The IPIP header marked "*" is completely superfluous and > a waste of 20 bytes. ..." > > The full thread available at https://lists.freeswan.org/archives/design/2003-December/msg00032.html The thread is about FreeS/WAN and kernel 2.6 (2.6 IPSec stack is a KAME based). However Linux 2.6 and FreeBSD have the same behaviour. Comments? TIA PS: Please CC me. I'm not subscribed to the list. _______________________________________________ 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 Thu Feb 5 01:41:05 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DCD316A4CE for ; Thu, 5 Feb 2004 01:41:05 -0800 (PST) Received: from hotmail.com (sea2-dav26.sea2.hotmail.com [207.68.164.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7C5543D31 for ; Thu, 5 Feb 2004 01:41:03 -0800 (PST) (envelope-from pupilla@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 5 Feb 2004 01:41:03 -0800 Received: from 80.204.235.254 by sea2-dav26.sea2.hotmail.com with DAV; Thu, 05 Feb 2004 09:40:56 +0000 X-Originating-IP: [80.204.235.254] X-Originating-Email: [pupilla@hotmail.com] X-Sender: pupilla@hotmail.com From: "Marco Berizzi" To: "Karim Fodil-Lemelin" References: Date: Thu, 5 Feb 2004 10:41:06 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1123 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1123 Message-ID: X-OriginalArrivalTime: 05 Feb 2004 09:41:03.0585 (UTC) FILETIME=[2BB82510:01C3EBCC] cc: freebsd-net@freebsd.org Subject: Re: ipsec ipcomp between FreeS/WAN 2.04 and FreeBSD 5.2 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, 05 Feb 2004 09:41:05 -0000 > Hi, >=20 > I tried that before and couldn't get it working :( > Then I asked the Kame peps and it seems that ipcomp > is not supported yet in tunnel mode. That was for > FreeBSD 4.8 and I don't think it has changed since then. I asked help to kame mailing list also. I will forward any relevant info to you. From owner-freebsd-net@FreeBSD.ORG Thu Feb 5 07:50:42 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45F3716A4CE for ; Thu, 5 Feb 2004 07:50:42 -0800 (PST) Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5446E43D3F for ; Thu, 5 Feb 2004 07:50:39 -0800 (PST) (envelope-from ryan@sasknow.com) Received: from earl.sasknow.net (earl.sasknow.net [207.195.92.130]) by ren.sasknow.com (8.12.8p1/8.12.8) with ESMTP id i15FoOeP047227; Thu, 5 Feb 2004 09:50:24 -0600 (CST) (envelope-from ryan@sasknow.com) Received: from ren (ren.sasknow.com [207.195.92.131]) by earl.sasknow.net (8.12.9p2/8.12.9) with ESMTP id i15Fo4ip032881; Thu, 5 Feb 2004 09:50:24 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Thu, 5 Feb 2004 09:50:04 -0600 (CST) From: Ryan Thompson To: Edwin Culp In-Reply-To: <20040204114251.fms0sgg44kgk40sk@mail.viviendaatualcance.com.mx> Message-ID: <20040205094541.U43880-100000@ren.sasknow.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on earl.sasknow.net cc: net@freebsd.org Subject: Re: 2 isp's, one LAN and need to divide traffic. 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, 05 Feb 2004 15:50:42 -0000 Edwin Culp wrote to net@freebsd.org: > Is there a, hopefully simple, way to divide bidirectional traffic > (LAN/INTERNET)between 2 internet connections more or less as the > diagram below. I've just added a DSL connection with a lot more > bandwidth than my ds0. I want to use the ds0 exclusively for email and > DNS that I consider, in my case, to be lower priority and the DSL for > all other traffic? Sure. Unless I'm misunderstanding what you're asking for... just bind your email and DNS server to one or two of the ds0 IPs. Don't listen for those services on the Provider2 IP. Then bind your other services to the Provider2 IP. If you're directing this all to an RFC1918 internal network (i.e., the server(s) do not have public IPs), you're probably already using NAT, and can make use of static NAT and the -redirect_port feature. - Ryan -- Ryan Thompson SaskNow Technologies - http://www.sasknow.com 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America From owner-freebsd-net@FreeBSD.ORG Thu Feb 5 09:18:34 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D347316A4CE for ; Thu, 5 Feb 2004 09:18:34 -0800 (PST) Received: from web60801.mail.yahoo.com (web60801.mail.yahoo.com [216.155.196.64]) by mx1.FreeBSD.org (Postfix) with SMTP id 03FEC43D46 for ; Thu, 5 Feb 2004 09:18:34 -0800 (PST) (envelope-from kanwar_anshuman@yahoo.com) Message-ID: <20040205171833.89128.qmail@web60801.mail.yahoo.com> Received: from [68.111.37.3] by web60801.mail.yahoo.com via HTTP; Thu, 05 Feb 2004 09:18:33 PST Date: Thu, 5 Feb 2004 09:18:33 -0800 (PST) From: Anshuman Kanwar To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: is dev polling support planned for bge ? 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, 05 Feb 2004 17:18:35 -0000 Hi all, I enabled device polling on the em driver and cut the cpu load from 98%down to 55% ! This machine is a network sniffer doing about 320k packetsper sec (equally distributed over 2 gigE). Great job guys ! Are there any plans for implementing device polling for the bge driver ? Are there any docs I could read up to implement it myself ? Thanks,-ansh __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From owner-freebsd-net@FreeBSD.ORG Thu Feb 5 09:19:49 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A89F616A4F0 for ; Thu, 5 Feb 2004 09:19:49 -0800 (PST) Received: from web60808.mail.yahoo.com (web60808.mail.yahoo.com [216.155.196.71]) by mx1.FreeBSD.org (Postfix) with SMTP id A056943D5A for ; Thu, 5 Feb 2004 09:19:47 -0800 (PST) (envelope-from kanwar_anshuman@yahoo.com) Message-ID: <20040205171946.13823.qmail@web60808.mail.yahoo.com> Received: from [68.111.37.3] by web60808.mail.yahoo.com via HTTP; Thu, 05 Feb 2004 09:19:46 PST Date: Thu, 5 Feb 2004 09:19:46 -0800 (PST) From: Anshuman Kanwar To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Linux ethernet bonding like driver 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, 05 Feb 2004 17:19:49 -0000 Hi all, I have a situation where my servers (Freebsd Solaris and Linux) are connected to two independent switches via 2 seperate NIC cards. To enhance my redundancy I want to group 2 adapters in a active-standby failover mode, with a single IP flipping between the two. Under Solaris I can do this with nafo or more recently ipmp. Under Linux I can use the Ethernet bonding driver in mode=1 to get this behavior. I did not find any ready made solutions for FreeBSD so i coded my own perl script to look at ifconfig and do a failover based on "status" ... it can also ping a couple of IPs and figure if the link is up but connectivity has gone down. It fails over any aliases, fixes arp table, takes care of vlans and moves the def route. I'd be happy to share if anyone is interested. So what is the issue ? Well, I would like to achieve faster failover times than my script currently gives (~5 seconds). The linux driver does a failover in < 100 ms. It uses MII status to detect link loss. So in FreeBSD is there a way to implement a virtual driver which can team 2 or more physical adapters in a failover group ? I would appreciate some pointers on where to get started. Thanks, -ansh __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From owner-freebsd-net@FreeBSD.ORG Thu Feb 5 09:43:25 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EC5216A4CE for ; Thu, 5 Feb 2004 09:43:25 -0800 (PST) Received: from lariat.org (lariat.org [63.229.157.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45CB043D1F for ; Thu, 5 Feb 2004 09:43:24 -0800 (PST) (envelope-from brett@lariat.org) Received: (from brett@localhost) by lariat.org (8.9.3/8.9.3) id KAA25020 for net@freebsd.org; Thu, 5 Feb 2004 10:43:22 -0700 (MST) Date: Thu, 5 Feb 2004 10:43:22 -0700 (MST) From: Brett Glass Message-Id: <200402051743.KAA25020@lariat.org> To: net@freebsd.org Subject: Support for USB Wi-Fi adapters? 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, 05 Feb 2004 17:43:25 -0000 What is the state of support for USB Wi-Fi adapters in FreeBSD? Several clients have asked me if they can use these adapters on their BSD servers, but so far I can't find one that FreeBSD recognizes. I have one here that's based on the Atmel chipset; it says that it's made by Askey Computers and that its device ID is 0x123. There's a Prism-family Wi-Fi radio in there, so it may be that it's just a matter of glue to get the existing Prism driver to work with it. Any ideas? --Brett Glass From owner-freebsd-net@FreeBSD.ORG Thu Feb 5 09:56:57 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F09E16A4D6 for ; Thu, 5 Feb 2004 09:56:57 -0800 (PST) Received: from viviendaatualcance.com.mx (dsl-200-67-167-6.prod-infinitum.com.mx [200.67.167.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D05043D4C for ; Thu, 5 Feb 2004 09:56:52 -0800 (PST) (envelope-from eculp@viviendaatualcance.com.mx) Received: from localhost (localhost [127.0.0.1]) (uid 80) by viviendaatualcance.com.mx with local; Thu, 05 Feb 2004 11:56:51 -0600 Received: from dsl-200-95-35-233.prod-infinitum.com.mx (dsl-200-95-35-233.prod-infinitum.com.mx [200.95.35.233]) by mail.viviendaatualcance.com.mx (Horde) with HTTP for ; Thu, 5 Feb 2004 11:56:51 -0600 Message-ID: <20040205115651.wgw88sgcgwg4osg4@mail.viviendaatualcance.com.mx> Date: Thu, 5 Feb 2004 11:56:51 -0600 From: Edwin Culp To: Ryan Thompson References: <20040205094541.U43880-100000@ren.sasknow.com> In-Reply-To: <20040205094541.U43880-100000@ren.sasknow.com> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs cc: net@freebsd.org Subject: Re: 2 isp's, one LAN and need to divide traffic. 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, 05 Feb 2004 17:56:57 -0000 Quoting Ryan Thompson : > Edwin Culp wrote to net@freebsd.org: > >> Is there a, hopefully simple, way to divide bidirectional traffic >> (LAN/INTERNET)between 2 internet connections more or less as the >> diagram below. I've just added a DSL connection with a lot more >> bandwidth than my ds0. I want to use the ds0 exclusively for email and >> DNS that I consider, in my case, to be lower priority and the DSL for >> all other traffic? > > Sure. Unless I'm misunderstanding what you're asking for... just bind > your email and DNS server to one or two of the ds0 IPs. Don't listen for > those services on the Provider2 IP. Then bind your other services to the > Provider2 IP. > > If you're directing this all to an RFC1918 internal network (i.e., the > server(s) do not have public IPs), you're probably already using NAT, > and can make use of static NAT and the -redirect_port feature. Ryan That is exactly what I want to do. I've seen that in the NAT docs but was unsure how and if it would work in my case. I've never used NAT in anything but the default firewall configuration. I'm going to do some reading and testing. Thanks so much, ed From owner-freebsd-net@FreeBSD.ORG Thu Feb 5 11:31:26 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E550A16A4DD for ; Thu, 5 Feb 2004 11:31:26 -0800 (PST) Received: from mailbox.wingercom.dk (mailbox.wingercom.dk [81.19.240.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2847243D60 for ; Thu, 5 Feb 2004 11:31:24 -0800 (PST) (envelope-from per@xterm.dk) Received: from mailbox.wingercom.dk (localhost [127.0.0.1]) by mailbox.wingercom.dk (Postfix) with SMTP id 680EA931B3; Thu, 5 Feb 2004 20:34:09 +0100 (CET) Received: from 62.242.151.142 (SquirrelMail authenticated user per) by mailbox.wingercom.dk with HTTP; Thu, 5 Feb 2004 20:34:09 +0100 (CET) Message-ID: <37175.62.242.151.142.1076009649.squirrel@mailbox.wingercom.dk> Date: Thu, 5 Feb 2004 20:34:09 +0100 (CET) From: "Per Engelbrecht" To: In-Reply-To: <20040205171833.89128.qmail@web60801.mail.yahoo.com> References: <20040205171833.89128.qmail@web60801.mail.yahoo.com> X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-net@freebsd.org Subject: Re: is dev polling support planned for bge ? 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, 05 Feb 2004 19:31:27 -0000 Hi, Don't know about the bge driver, but if you need special information regarding device polling, you should contact Luigi Rizzo He's 'God' when it comes to tweaking device polling. Also look at; http://info.iet.unipi.it/~luigi/polling/ it gives you some info as well. If your BSD box is a dual based beast, forget about device polling. respectfully /per per@xterm.dk > Hi all, > > I enabled device polling on the em driver and cut the > cpu load from 98%down to 55% ! This machine is a > network sniffer doing about 320k packetsper sec > (equally distributed over 2 gigE). Great job guys ! > > Are there any plans for implementing device polling > for the bge driver ? Are there any docs I could read > up to implement it myself ? > > Thanks,-ansh > > > > __________________________________ > Do you Yahoo!? > Yahoo! Finance: Get your refund fast by filing online. > http://taxes.yahoo.com/filing.html > _______________________________________________ > 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 Thu Feb 5 11:46:36 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81C4816A4CE for ; Thu, 5 Feb 2004 11:46:36 -0800 (PST) Received: from dexter.starfire.mn.org (starfire.skypoint.net [66.93.17.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23C1043D68 for ; Thu, 5 Feb 2004 11:46:30 -0800 (PST) (envelope-from john@dexter.starfire.mn.org) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id i15JjuJ28097 for freebsd-net@freebsd.org; Thu, 5 Feb 2004 13:45:56 -0600 (CST) (envelope-from john) Date: Thu, 5 Feb 2004 13:45:55 -0600 From: John To: freebsd-net@freebsd.org Message-ID: <20040205134555.A28070@starfire.mn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Subject: IPFW and NAT - blocking RFC 1918 ("unregistered") network that matches my own 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, 05 Feb 2004 19:46:36 -0000 I am up and running with ipfw 2 and natd, but not all is quite well. I can't figure out how to block "spoofed" packets from the outside that use the same RFC 1918 network as the one I'm translating to. When I try to put that rule on the exterior interface, it ends up blocking the packets after they are translated. Specifically, the network I am using falls in the 192.168.0.0/16 range. (I won't publish exactly which one: you only have 254 to try...) If, however, I put in ${fwcmd} add deny ip from any to 192.168.0.0/16 via ${oif} then I cut off my interior network entirely, due, presumably, to the pass through the rules after translation. I suspect that I need some combination of "in" or "recv," but I would like to actually UNDERSTAND what I'm doing instead of just trying combinations 'til it works. On the other hand, there are sysctl kernel parameters that might affect this behavior, or maybe other natd parameters - so maybe that's not even the ticket. Another thing I would like to understand better is how to make a wise choice as to where the divert rule should be. Can someone point me to a resource? I spent an hour at Barnes & Nobel last night looking through various firewalling books that were long on theory, or even examples, but not examples for an ipfw / natd situation. Thanks! -- John Lind john@starfire.MN.ORG From owner-freebsd-net@FreeBSD.ORG Thu Feb 5 11:57:58 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B0C216A4CE for ; Thu, 5 Feb 2004 11:57:58 -0800 (PST) Received: from gabby.gsicomp.on.ca (CPE00062566c7bb-CM000039c69a66.cpe.net.cable.rogers.com [67.60.231.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id A979943D5F for ; Thu, 5 Feb 2004 11:57:52 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by gabby.gsicomp.on.ca (8.12.9p2/8.12.9) with ESMTP id i15K5Ojd074661; Thu, 5 Feb 2004 15:05:24 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <002601c3ec21$df9dea10$1200a8c0@gsicomp.on.ca> From: "Matt Emmerton" To: "John" , References: <20040205134555.A28070@starfire.mn.org> Date: Thu, 5 Feb 2004 14:54:32 -0500 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: Re: IPFW and NAT - blocking RFC 1918 ("unregistered") network thatmatches my own 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, 05 Feb 2004 19:57:58 -0000 ----- Original Message ----- From: "John" To: Sent: Thursday, February 05, 2004 2:45 PM Subject: IPFW and NAT - blocking RFC 1918 ("unregistered") network thatmatches my own > I am up and running with ipfw 2 and natd, but not all is quite well. > > I can't figure out how to block "spoofed" packets from the outside > that use the same RFC 1918 network as the one I'm translating to. > When I try to put that rule on the exterior interface, it ends up > blocking the packets after they are translated. > > Specifically, the network I am using falls in the 192.168.0.0/16 range. > (I won't publish exactly which one: you only have 254 to try...) > If, however, I put in > ${fwcmd} add deny ip from any to 192.168.0.0/16 via ${oif} > then I cut off my interior network entirely, due, presumably, to > the pass through the rules after translation. > > I suspect that I need some combination of "in" or "recv," but I > would like to actually UNDERSTAND what I'm doing instead of just > trying combinations 'til it works. On the other hand, there are > sysctl kernel parameters that might affect this behavior, or maybe > other natd parameters - so maybe that's not even the ticket. Your best resource is /etc/rc.firewall. Look at the "simple" configuration. It has rules for RFC1918 nets both before and after the divert rule, and explains why. -- Matt Emmerton From owner-freebsd-net@FreeBSD.ORG Thu Feb 5 11:59:46 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 678FA16A4CE for ; Thu, 5 Feb 2004 11:59:46 -0800 (PST) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 848D643D69 for ; Thu, 5 Feb 2004 11:59:26 -0800 (PST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost) by vjofn.tucs-beachin-obx-house.com (8.12.9/8.12.9) id i15Jx3ME013956; Thu, 5 Feb 2004 14:59:03 -0500 (EST) From: Tuc at the Beach House Message-Id: <200402051959.i15Jx3ME013956@vjofn.tucs-beachin-obx-house.com> To: will@unfoldings.net (Willie Viljoen) Date: Thu, 5 Feb 2004 14:59:03 -0500 (EST) In-Reply-To: <004a01c3ea1f$1a34cea0$0a00a8c0@arista> from "Willie Viljoen" at Feb 03, 2004 08:29:39 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org cc: Tuc at the Beach House cc: tuc@ttsg.com Subject: Re: Whats the best solution? 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, 05 Feb 2004 19:59:46 -0000 > > SSH :-) > Um, yea? > > Have a look at the ssh(1) manpage. > Ok, I have. > > The port forwarding should be able to do > what you are looking for. > But I want EVERY port forwarded. The -L/-R seems to be on a per port basis. > > Also, to get the authentication to be automatic, > set up your SSH to use public keys, and use a passphraseless public key on > your laptop. This will let it automatically log in and set up the tunnel. > You can then tunnel any TCP traffic through a secure channel to your server. > This is all described in the man page. > But on a per port basis, right? The -D, isn't that for SOCKS4? Wouldn't I have to make everything SOCKS4 aware? I don't want that... > > For DNS, use the IP address of the server you plan to use for the other end > of the tunnel. As long as you open only UDP port 53 and configure it > sensibly, there should be no security risk to running a DNS that accepts > from any IP, all proper DNS servers need to do this anyway. This way, you > can run your own DNS, and possibly even put in some private DNS tricks to > make working with the tunnel easier. > What about all the other ports? Is there something that is more "overall" and I can "default route" through? Thanks, Tuc/TTSG Internet Services, Inc. From owner-freebsd-net@FreeBSD.ORG Thu Feb 5 15:27:29 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4F1A16A4CE for ; Thu, 5 Feb 2004 15:27:29 -0800 (PST) Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41AF943D46 for ; Thu, 5 Feb 2004 15:27:09 -0800 (PST) (envelope-from sjaak@vsm-hosting.nl) Received: from citytower by smtp.hccnet.nl id i15NR5KH026333 (8.12.10/2.03); Fri, 6 Feb 2004 00:27:06 +0100 (MET) Message-ID: <010701c3ec3f$91633a80$3303a8c0@citytower> From: "Sjaak Nabuurs" To: Date: Fri, 6 Feb 2004 00:27:05 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0104_01C3EC47.F2E73E20" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 Subject: Routing 4 network cards for wirless network 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, 05 Feb 2004 23:27:29 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0104_01C3EC47.F2E73E20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit ------=_NextPart_000_0104_01C3EC47.F2E73E20 Content-Type: text/plain; name="wirless.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="wirless.txt" Wireless USERS Wireless USERS W W W W W W W W W W W = W |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| = |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| = |-| |-| 192.168.3.2-254 192.168.4.2-254 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ W 192.168.3.1 W = 192.168.4.1 |---------| |--------| 8Mbit |------| WIRELESS | | | | INTERNET =3D=3D| A |W~~~~~~~~~~~~W|FreeBSD1 |W~~~~~~~~~~~~W|FreeBSD2| = |------| 192.168.0.1 | |192.168.2.1 | | |192.168.0.138 |---------| 192.168.2.2|--------| | | | | |192.168.1.1 = |192.168.5.1 | | | | | | 192.168.0.150| | | |------| |------| |------| |HOME | |HOME 1| |HOME 2| =20 |------| |------| |------| A =3D Router Acatel DSL W =3D Antene |-|=20 |-| =3D Wireless User (20 Wireless users) I hoop the drawing is readable ! The Facts : OS FreeBSD 5.2 (is it stable for this problem or better to use 4.x) With 4 nic's inside RL0 =3D 192.168.0.1 =20 RL1 =3D 192.168.1.1 RL2 =3D 192.168.2.1 RL4 =3D 192.168.3.1 I like to connect RL1/2/3 to RL0 (internet) HOME1 and HOME2 are the system administrators and need to manage the = whole network include the users Everybody need access to the internet I like to have a start how to setup FreeBSD 1 I like to use dummynet(compiled and works very nice) to manage traffic = let's say=20 192.168.3.1/26 100Kb/s=20 192.168.3.64/26 200Kb/s=20 192.168.3.128/26 300Kb/s 192.168.3.192/26 400Kb/s Count every user with ipfw count --------------------------- #!/usr/local/bin/bash for ((a=3D2; a<=3D254; a++)) do IPCOUNT =3D "10"$a"0 add count tcp from 192.168.3.$a to any" ipfw $IPCOUNT=20 done ---------------------------- And now the question about FreeBSD 1 (forget FreeBSD2). Give me a good hint how to set this up with ipfw and NAT I googled many but ther's not that much about information about 3 or = more nic with freeBSD. I think I have to use NAT, but can i use it in combination with ipfw to = dummynet out/ingoing traffic over the nic RL1/2/3 And how can i "HOME1" go accross the whole network RL0/2/3=20 Sorry for my English and I hope I give anough explanation about my plan. Thanks anyway for looking at my problem. ------=_NextPart_000_0104_01C3EC47.F2E73E20-- From owner-freebsd-net@FreeBSD.ORG Thu Feb 5 16:14:11 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7112816A4CE; Thu, 5 Feb 2004 16:14:11 -0800 (PST) Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBF7C43D39; Thu, 5 Feb 2004 16:14:08 -0800 (PST) (envelope-from mi+mx@aldan.algebra.com) Received: from 250-217.customer.cloud9.net (195-11.customer.cloud9.net [168.100.195.11])i160E6aT072288 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 5 Feb 2004 19:14:07 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) Received: from localhost (mteterin@localhost [127.0.0.1]) i160Drw3093358; Thu, 5 Feb 2004 19:13:54 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) From: mi+mx@aldan.algebra.com Organization: Murex N.A. To: net@FreeBSD.org Date: Thu, 5 Feb 2004 19:13:53 -0500 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402051913.53266@misha-mx.virtual-estates.net> X-Scanned-By: MIMEDefang 2.39 cc: questions@FreeBSD.org Subject: switching to an internal DSL modem -- natd, ipfw 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, 06 Feb 2004 00:14:11 -0000 Hello! My current network setup consists of the ISP-provided DSL-modem plugged into the little switch together with the rest of the network. One of the machines on the runs natd and the others use it as the default router. To get better protection I should be using a separate Ethernet card, into which only the modem will be plugged in. This is not as convenient from the cabling prospective, however. But what about an internal modem? Like http://store.yahoo.com/softbuyweb/inpcidslmod3.html It seems, en(4) should be able to use it and it should be able to connect to the ISP -- their modem is the Efficient Network's SpeedStream, which uses the same chip, most likely: Hardware Interface Name - SpeedStream 5660-R:ENI Hardware Interface Desc - Motorola 850 SAR Alcatel/RT Adapter Hardware Serial Number - [...] Hardware Revision Number - 00010001 Hardware Instance Number - 0 Driver Name - enatm0 (notice the ``en'' in the driver name) But -- will natd(8), the ipfw (4) and (8) work properly with en0? Any other potential problems? Thanks! -mi From owner-freebsd-net@FreeBSD.ORG Thu Feb 5 16:42:52 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8C1816A4CE; Thu, 5 Feb 2004 16:42:52 -0800 (PST) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id C061243D46; Thu, 5 Feb 2004 16:42:50 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc13) with ESMTP id <2004020600424901500ke6nhe>; Fri, 6 Feb 2004 00:42:50 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA20634; Thu, 5 Feb 2004 16:42:49 -0800 (PST) Date: Thu, 5 Feb 2004 16:42:48 -0800 (PST) From: Julian Elischer To: mi+mx@aldan.algebra.com In-Reply-To: <200402051913.53266@misha-mx.virtual-estates.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: questions@FreeBSD.org cc: net@FreeBSD.org Subject: Re: switching to an internal DSL modem -- natd, ipfw 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, 06 Feb 2004 00:42:53 -0000 On Thu, 5 Feb 2004 mi+mx@aldan.algebra.com wrote: > Hello! > > My current network setup consists of the ISP-provided DSL-modem plugged > into the little switch together with the rest of the network. One of the > machines on the runs natd and the others use it as the default router. > > To get better protection I should be using a separate Ethernet card, into > which only the modem will be plugged in. This is not as convenient from > the cabling prospective, however. > > But what about an internal modem? Like > > http://store.yahoo.com/softbuyweb/inpcidslmod3.html What makes you think we have a driver for this? > > It seems, en(4) should be able to use it and it should be able to connect > to the ISP -- their modem is the Efficient Network's SpeedStream, which > uses the same chip, most likely: > > Hardware Interface Name - SpeedStream 5660-R:ENI > Hardware Interface Desc - Motorola 850 SAR Alcatel/RT Adapter > Hardware Serial Number - [...] > Hardware Revision Number - 00010001 > Hardware Instance Number - 0 > Driver Name - enatm0 > > (notice the ``en'' in the driver name) > > But -- will natd(8), the ipfw (4) and (8) work properly with en0? Any > other potential problems? Thanks! > > -mi > > > _______________________________________________ > 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 Thu Feb 5 16:45:52 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64E0616A4CE; Thu, 5 Feb 2004 16:45:52 -0800 (PST) Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02F7243D5D; Thu, 5 Feb 2004 16:45:46 -0800 (PST) (envelope-from mi+mx@aldan.algebra.com) Received: from 250-217.customer.cloud9.net (195-11.customer.cloud9.net [168.100.195.11])i160jhaT072487 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 5 Feb 2004 19:45:44 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) Received: from localhost (mteterin@localhost [127.0.0.1]) i160jbw3093605; Thu, 5 Feb 2004 19:45:37 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) From: mi+mx@aldan.algebra.com Organization: Murex N.A. To: Julian Elischer Date: Thu, 5 Feb 2004 19:45:36 -0500 User-Agent: KMail/1.5.4 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: <200402051945.36533@misha-mx.virtual-estates.net> X-Scanned-By: MIMEDefang 2.39 cc: questions@FreeBSD.org cc: net@FreeBSD.org Subject: Re: switching to an internal DSL modem -- natd, ipfw 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, 06 Feb 2004 00:45:52 -0000 =On Thu, 5 Feb 2004 mi+mx@aldan.algebra.com wrote: => But what about an internal modem? Like => => http://store.yahoo.com/softbuyweb/inpcidslmod3.html =What makes you think we have a driver for this? The en(4) manual page and the description of this product (on the page above) as one based on Efficient Network's chip. Can there be anything else? -mi From owner-freebsd-net@FreeBSD.ORG Thu Feb 5 16:56:01 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85BCC16A4CE; Thu, 5 Feb 2004 16:56:01 -0800 (PST) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9725843D1D; Thu, 5 Feb 2004 16:56:00 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc13) with ESMTP id <2004020600555901500k9ia7e>; Fri, 6 Feb 2004 00:55:59 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA20776; Thu, 5 Feb 2004 16:55:58 -0800 (PST) Date: Thu, 5 Feb 2004 16:55:57 -0800 (PST) From: Julian Elischer To: mi+mx@aldan.algebra.com In-Reply-To: <200402051945.36533@misha-mx.virtual-estates.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: questions@FreeBSD.org cc: net@FreeBSD.org Subject: Re: switching to an internal DSL modem -- natd, ipfw 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, 06 Feb 2004 00:56:01 -0000 On Thu, 5 Feb 2004 mi+mx@aldan.algebra.com wrote: > =On Thu, 5 Feb 2004 mi+mx@aldan.algebra.com wrote: > > => But what about an internal modem? Like > => > => http://store.yahoo.com/softbuyweb/inpcidslmod3.html > > > =What makes you think we have a driver for this? > > The en(4) manual page and the description of this product (on the page > above) as one based on Efficient Network's chip. Can there be anything > else? > I'd be dubious.. the en driver was for an old expensive ATM card from '95 or so.. even though the add says it supports PPPoE among other things, I'd be pretty surprised if we could talk to it.. (surprises do happen though) > -mi > > > _______________________________________________ > 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 Thu Feb 5 17:39:51 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF22516A4CE; Thu, 5 Feb 2004 17:39:51 -0800 (PST) Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3609243D1F; Thu, 5 Feb 2004 17:39:50 -0800 (PST) (envelope-from mi+mx@aldan.algebra.com) Received: from 250-217.customer.cloud9.net (195-11.customer.cloud9.net [168.100.195.11])i161dlaT072786 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 5 Feb 2004 20:39:48 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) Received: from localhost (mteterin@localhost [127.0.0.1]) i161dfw3093940; Thu, 5 Feb 2004 20:39:41 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) From: Mikhail Teterin Organization: Murex N.A. To: Julian Elischer Date: Thu, 5 Feb 2004 20:39:40 -0500 User-Agent: KMail/1.5.4 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: <200402052039.40634@misha-mx.virtual-estates.net> X-Scanned-By: MIMEDefang 2.39 cc: questions@FreeBSD.org cc: chuck@research.att.com cc: net@FreeBSD.org Subject: Re: switching to an internal DSL modem -- natd, ipfw 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, 06 Feb 2004 01:39:51 -0000 [Now CC-ing Chuck Cranor -- the en's author] => => http://store.yahoo.com/softbuyweb/inpcidslmod3.html => =What makes you think we have a driver for this? => The en(4) manual page and the description of this product (on the => page above) as one based on Efficient Network's chip. Can there be => anything else? =I'd be dubious.. the en driver was for an old expensive ATM card from ='95 or so.. even though the ad says it supports PPPoE among other =things, I'd be pretty surprised if we could talk to it.. =(surprises do happen though) So, back to the original question -- am I likely to have to any problems with natd and ipfw dealing with this non-Ethernet interface -- assuming en-driver attaches to this card at all? Any other ATM card I should consider as an internal DSL modem? Thanks! -mi From owner-freebsd-net@FreeBSD.ORG Thu Feb 5 18:12:25 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41A6216A4CE; Thu, 5 Feb 2004 18:12:25 -0800 (PST) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F33943D1D; Thu, 5 Feb 2004 18:12:24 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc11) with ESMTP id <20040206021223013006v877e>; Fri, 6 Feb 2004 02:12:23 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id SAA21451; Thu, 5 Feb 2004 18:12:21 -0800 (PST) Date: Thu, 5 Feb 2004 18:12:20 -0800 (PST) From: Julian Elischer To: Mikhail Teterin In-Reply-To: <200402052039.40634@misha-mx.virtual-estates.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: questions@FreeBSD.org cc: net@FreeBSD.org cc: chuck@research.att.com Subject: Re: switching to an internal DSL modem -- natd, ipfw 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, 06 Feb 2004 02:12:25 -0000 On Thu, 5 Feb 2004, Mikhail Teterin wrote: > [Now CC-ing Chuck Cranor -- the en's author] > > => => http://store.yahoo.com/softbuyweb/inpcidslmod3.html > > => =What makes you think we have a driver for this? > > => The en(4) manual page and the description of this product (on the > => page above) as one based on Efficient Network's chip. Can there be > => anything else? > > =I'd be dubious.. the en driver was for an old expensive ATM card from > ='95 or so.. even though the ad says it supports PPPoE among other > =things, I'd be pretty surprised if we could talk to it.. > > =(surprises do happen though) > > So, back to the original question -- am I likely to have to any problems > with natd and ipfw dealing with this non-Ethernet interface -- assuming > en-driver attaches to this card at all? > > Any other ATM card I should consider as an internal DSL modem? Thanks! natd and ipfw will work with any interface.. they are attached to teh ip stack.. I don't KNOW of any DSL cards that are supported but it's difficult to keep abreast of ALL developments :-) > > -mi > > > _______________________________________________ > 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 Thu Feb 5 20:34:03 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E2E716A4CE for ; Thu, 5 Feb 2004 20:34:03 -0800 (PST) Received: from ack.Berkeley.EDU (ack.Berkeley.EDU [128.32.206.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52C7D43D1D for ; Thu, 5 Feb 2004 20:34:02 -0800 (PST) (envelope-from mhunter@ack.Berkeley.EDU) Received: (from mhunter@localhost) by ack.Berkeley.EDU (8.11.3/8.11.3) id i164Y1A11238 for freebsd-net@freebsd.org; Thu, 5 Feb 2004 20:34:01 -0800 (PST) Date: Thu, 5 Feb 2004 20:34:01 -0800 From: Mike Hunter To: freebsd-net@freebsd.org Message-ID: <20040206043401.GA11217@ack.Berkeley.EDU> References: <20040130182434.GB18346@ack.Berkeley.EDU> <20040130213935.GB25194@ack.Berkeley.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040130213935.GB25194@ack.Berkeley.EDU> User-Agent: Mutt/1.4i Subject: Re: Assymetric results from iperf across gigabit link (long) 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, 06 Feb 2004 04:34:03 -0000 On Jan 30, "To freebsd-net@freebsd.org" wrote: > On Jan 30, "To freebsd-net@freebsd.org" wrote: > > > Hi, > > [snip] > > I switched the two pieces of hardware, and the photons still prefer going > uphill, so maybe there's a problem with the fiber after all. I'd still > appreciate any hints on what to ask freebsd to help me figure it out. > (Yes, we have real fiber test gear, this is more of an experiment.) Looks like it was a fiber problem. Go freebsd! Mike From owner-freebsd-net@FreeBSD.ORG Thu Feb 5 23:49:07 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9135416A4CE for ; Thu, 5 Feb 2004 23:49:07 -0800 (PST) Received: from natrium.plan-ix.de (natrium.plan-ix.de [212.37.39.36]) by mx1.FreeBSD.org (Postfix) with SMTP id DAA1E43D1F for ; Thu, 5 Feb 2004 23:49:03 -0800 (PST) (envelope-from braukmann@tse-online.de) Received: (qmail 72843 invoked from network); 6 Feb 2004 07:34:41 -0000 Received: from p508251a7.dip0.t-ipconnect.de (HELO ?192.168.225.100?) (ab%plan-ix.de@80.130.81.167) by natrium.plan-ix.de with SMTP; 6 Feb 2004 07:34:41 -0000 Date: Fri, 06 Feb 2004 08:34:40 +0100 From: Andreas Braukmann To: Julian Elischer , Mikhail Teterin Message-ID: <16150000.1076052880@cage.int.unixxinu.de> In-Reply-To: References: X-Mailer: Mulberry/3.1.0 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline cc: questions@FreeBSD.org cc: chuck@research.att.com cc: net@FreeBSD.org Subject: Re: switching to an internal DSL modem -- natd, ipfw 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, 06 Feb 2004 07:49:07 -0000 On 02/05/04 18:12:20 -0800 Julian Elischer wrote: > I don't KNOW of any DSL cards that are supported but it's difficult to > keep abreast of ALL developments :-) what about the Sangoma S518 card? The BSDMall has it: -Andreas From owner-freebsd-net@FreeBSD.ORG Fri Feb 6 00:14:55 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BBCE16A4CE for ; Fri, 6 Feb 2004 00:14:55 -0800 (PST) Received: from sushi.rural-networks.com (sushi.rural-networks.com [62.128.181.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C93E43D62 for ; Fri, 6 Feb 2004 00:14:51 -0800 (PST) (envelope-from c.prevotaux@hexanet.fr) Received: from sushi.rural-networks.com (localhost.rural-networks.com [127.0.0.1])i15GdVTT045512 for ; Thu, 5 Feb 2004 17:39:31 +0100 (CET) (envelope-from c.prevotaux@hexanet.fr) Date: Thu, 5 Feb 2004 17:39:31 +0100 From: Christophe Prevotaux To: freebsd-net@freebsd.org Message-Id: <20040205173931.4b30b9db.c.prevotaux@hexanet.fr> Organization: HEXANET Sarl X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: uolsrd (Unik olsr daemon) 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, 06 Feb 2004 08:14:55 -0000 Hi, I was wondering if anyone was planning a port of=20 unik olsrd for the FreeBSD port tree. http://www.olsr.org/ -- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Christophe Prevotaux Email : c.prevotaux@hexanet.fr HEXANET SARL URL : http://www.hexanet.fr/ Z.A.C Les Charmilles Tel : +33 (0)3 26 79 30 05=20 3 All=E9e Thierry Sabine Direct: +33 (0)3 26 61 77 72=20 BP202 Fax : +33 (0)3 26 79 30 06 51686 Reims Cedex 2 =20 FRANCE HEXANET Network Operation Center =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D From owner-freebsd-net@FreeBSD.ORG Fri Feb 6 00:14:59 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E05C216A4CE for ; Fri, 6 Feb 2004 00:14:59 -0800 (PST) Received: from sushi.rural-networks.com (sushi.rural-networks.com [62.128.181.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5896E43D4C for ; Fri, 6 Feb 2004 00:14:57 -0800 (PST) (envelope-from c.prevotaux@hexanet.fr) Received: from hexanet.fr (localhost.rural-networks.com [127.0.0.1]) i15GKQTT045408 for ; Thu, 5 Feb 2004 17:20:26 +0100 (CET) (envelope-from c.prevotaux@hexanet.fr) Date: Thu, 5 Feb 2004 17:20:26 +0100 From: Christophe Prevotaux To: freebsd-net@freebsd.org Message-Id: <20040205172026.2b4e6e77.c.prevotaux@hexanet.fr> Organization: HEXANET Sarl X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-portbld-freebsd4.8) X-NCC-RegID: fr.hexanet Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: uolsrd (Unik olsr daemon) 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, 06 Feb 2004 08:15:00 -0000 Hi, I was wondering if anyone was planning a port of=20 unik olsrd for the FreeBSD port tree. http://www.olsr.org/ -- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Christophe Prevotaux Email : c.prevotaux@hexanet.fr HEXANET SARL URL : http://www.hexanet.fr/ Z.A.C Les Charmilles Tel : +33 (0)3 26 79 30 05=20 3 All=E9e Thierry Sabine Direct: +33 (0)3 26 61 77 72=20 BP202 Fax : +33 (0)3 26 79 30 06 51686 Reims Cedex 2 =20 FRANCE HEXANET Network Operation Center =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D From owner-freebsd-net@FreeBSD.ORG Fri Feb 6 02:07:39 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2059D16A4CE for ; Fri, 6 Feb 2004 02:07:39 -0800 (PST) Received: from webmail.emre.de (webmail.emre.de [194.8.203.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A065B43D46 for ; Fri, 6 Feb 2004 02:07:37 -0800 (PST) (envelope-from info@emre.de) Received: by webmail.emre.de (Postfix, from userid 80) id 355DC3A23E; Fri, 6 Feb 2004 11:07:35 +0100 (CET) Received: from sys-125.netcologne.de (sys-125.netcologne.de [194.8.193.125]) by webmail.emre.de (Horde) with HTTP for ; Fri, 6 Feb 2004 11:07:34 +0100 Message-ID: <1076062054.264f21d02d79f@webmail.emre.de> Date: Fri, 6 Feb 2004 11:07:34 +0100 From: Emre Bastuz To: freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) 4.0-cvs Subject: Syskonnect SK0 not passing any data 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, 06 Feb 2004 10:07:39 -0000 Hi, trying to get my Syskonnect SK-9843 revision 2.0 to work I now have an inter= face that is UP ... sk0: flags=3D8943 mtu 1500 ether 00:00:5a:9c:38:fe media: Ethernet autoselect (1000baseSX ) status: active ... but otherwise dead, i.e. passes no traffic. I=B4m planning to use the interface for sniffing but tcpdump just does not r= eceive any data at all. A revision 1.0 of this card works fine for my 4.9 STABLE bo= x but this one simply does not operate at all. Do you have any suggestions what I might be missing? Thanks, Emre -- http://www.emre.de UIN: 561260 PGP Key ID: 0xAFAC77FD I don't see why some people even HAVE cars. -- Calvin ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From owner-freebsd-net@FreeBSD.ORG Fri Feb 6 03:34:49 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE56016A4CE for ; Fri, 6 Feb 2004 03:34:49 -0800 (PST) Received: from smtp01.uc3m.es (smtp01.uc3m.es [163.117.136.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 571F443D5D for ; Fri, 6 Feb 2004 03:34:42 -0800 (PST) (envelope-from jrh@it.uc3m.es) Received: from smtp01.uc3m.es (localhost [127.0.0.1]) by localhost.uc3m.es (Postfix) with ESMTP id DF3779331 for ; Fri, 6 Feb 2004 12:34:40 +0100 (CET) Received: from cimborrio (cimborrio.it.uc3m.es [163.117.139.95]) by smtp01.uc3m.es (Postfix) with ESMTP id C23A6930E for ; Fri, 6 Feb 2004 12:34:40 +0100 (CET) From: Juan Rodriguez Hervella Organization: UC3M To: freebsd-net@freebsd.org Date: Fri, 6 Feb 2004 12:34:37 +0100 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402061234.38070.jrh@it.uc3m.es> Subject: Question about "struct encaptab" and IPv6-in-IPv6 tunnels 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, 06 Feb 2004 11:34:50 -0000 Hello, I'm looking at the source code, trying to follow the steps that happen when an IPv6-in-IPv6 packet is received, but Im quite lost, I wonder if anybody could help me to understand it. When the host receives an IPv6-in-IPv6 packet, "encap6_input()" is call from "ip6_input()". I don't understand what "encap6_input()" does. It seems that it uses this structure: struct encaptab { LIST_ENTRY(encaptab) chain; int af; int proto; /* -1: don't care, I'll check myself */ struct sockaddr_storage src; /* my addr */ struct sockaddr_storage srcmask; struct sockaddr_storage dst; /* remote addr */ struct sockaddr_storage dstmask; int (*func)(const struct mbuf *, int, int, void *); const struct protosw *psw; /* only pr_input will be used */ void *arg; /* passed via m->m_pkthdr.aux */ }; Which is initialized with "encap_init()", though "encapt_init()" makes nothing interesting.... I'd like to know where all these fields are filled up.... Any explanation will be very useful, Im looking forward to hearing you! thanx! -- ****** JFRH ****** One advantage of talking to yourself is that you know at least somebody's listening. -- Franklin P. Jones From owner-freebsd-net@FreeBSD.ORG Fri Feb 6 04:56:12 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00BAF16A4CE for ; Fri, 6 Feb 2004 04:56:12 -0800 (PST) Received: from hotmail.com (law11-f8.law11.hotmail.com [64.4.17.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id D85C343D45 for ; Fri, 6 Feb 2004 04:56:08 -0800 (PST) (envelope-from weiwuzhang@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 6 Feb 2004 04:56:08 -0800 Received: from 218.85.103.32 by lw11fd.law11.hotmail.msn.com with HTTP; Fri, 06 Feb 2004 12:56:08 GMT X-Originating-IP: [218.85.103.32] X-Originating-Email: [weiwuzhang@hotmail.com] X-Sender: weiwuzhang@hotmail.com From: "Zhang Weiwu" To: freebsd-net@freebsd.org Date: Fri, 06 Feb 2004 20:56:08 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 06 Feb 2004 12:56:08.0763 (UTC) FILETIME=[96F650B0:01C3ECB0] Subject: need suggestions on making a wireless network using bluetooth. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: zhangweiwu@realss.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2004 12:56:12 -0000 Hello. I'll make a small wireless network in my office in the coming month. Now I'm considering bluetooth instead of 802.11. In the office I have a freebsd server, my own notebook runs freebsd. Other computers run MAC OS and Windows. * the office is not very big, just as big as the bluetooth signal can reach. There are confidential information in the office, I don't want anyone to get my data by just stopping a car in front of the office and listen network traffice with a notebook. * I don't see any network traffic problem. Usually we just transfer emails, text documents and pictures. * In China, the 802.11 device market is not clear yet, I don't know what standard to follow (you surely know about the new Chinese spec on 802.11 network). * We already have some bluetooth devices. * Most of us use notebook computers. Notebook 802.11 cards are more expensive than bluetooth cards. * Some people in the office are going to buy GPRS enabled cell phone. If they buy bluetooth enabled GPRS phones, they can go surf the Internet outside the office through GPRS cell phone. This is cheaper than having both 802.11 card and GPRS card. So I decide I'd better use bluetooth. Several questions: * Is it possible to make a wireless network by using bluetooth devices? Can I have a bluetooth installed on the FreeBSD server, let it act as a switch/hub? Would this network be stable? * I never see anyone setup a network in this way, would there be many unexpected problems? _________________________________________________________________ ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£ http://www.hotmail.com From owner-freebsd-net@FreeBSD.ORG Fri Feb 6 05:02:40 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D209B16A4CE for ; Fri, 6 Feb 2004 05:02:40 -0800 (PST) Received: from internal.mail.uk.tiscali.com (internal.mail.uk.tiscali.com [212.74.96.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2EEF43D41 for ; Fri, 6 Feb 2004 05:02:37 -0800 (PST) (envelope-from chris.scott@uk.tiscali.com) Received: from [10.44.16.134] (helo=viper) by internal.mail.uk.tiscali.com with smtp (Exim 4.12) id 1Ap5cq-0004oh-00; Fri, 06 Feb 2004 13:02:28 +0000 Message-ID: <02ac01c3ecb1$7945a600$86102c0a@viper> From: "chris scott" To: "Edwin Culp" , "Ryan Thompson" References: <20040205094541.U43880-100000@ren.sasknow.com> <20040205115651.wgw88sgcgwg4osg4@mail.viviendaatualcance.com.mx> Date: Fri, 6 Feb 2004 13:02:24 -0000 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: net@freebsd.org Subject: Re: 2 isp's, one LAN and need to divide traffic. 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, 06 Feb 2004 13:02:40 -0000 should be easy enough to do. You will probably need to have two instances of natd running, one for each interface. e.g. /sbin/natd -a x -p 8868 /sbin/natd -a y -p 8869 where x and y are the ips of the interfaces you are using, you could probably use the -n option and -dynamic options if you are on a static setup. Note it will be inportant which interface your default route will point to. I'm assuming its tun0.so am configuring ipfw to deal with outgoing traffic on that interface, something like this should do ipfw add 1 divert 8868 tcp from any to any 25 out via tun0 ipfw add 2 divert 8868 udp from any to any 53 out via tun0 ipfw add 3 divert 8869 all from any to any via tun0 these rules should redirect outgoing mail and dns requests to a different instance of natd than is used for all other traffic this will be bound to tun1 There is also another potential way of doing it as well. If you have a list of all the dns and email servers your clients use you could add some static routes for those hosts/subnets to force all traffic for them to use a specific interface. This would be cludgy though as all traffic for those hosts would be forced that way not just email and dns Chris ----- Original Message ----- From: "Edwin Culp" To: "Ryan Thompson" Cc: Sent: Thursday, February 05, 2004 5:56 PM Subject: Re: 2 isp's, one LAN and need to divide traffic. > Quoting Ryan Thompson : > > > Edwin Culp wrote to net@freebsd.org: > > > >> Is there a, hopefully simple, way to divide bidirectional traffic > >> (LAN/INTERNET)between 2 internet connections more or less as the > >> diagram below. I've just added a DSL connection with a lot more > >> bandwidth than my ds0. I want to use the ds0 exclusively for email and > >> DNS that I consider, in my case, to be lower priority and the DSL for > >> all other traffic? > > > > Sure. Unless I'm misunderstanding what you're asking for... just bind > > your email and DNS server to one or two of the ds0 IPs. Don't listen for > > those services on the Provider2 IP. Then bind your other services to the > > Provider2 IP. > > > > If you're directing this all to an RFC1918 internal network (i.e., the > > server(s) do not have public IPs), you're probably already using NAT, > > and can make use of static NAT and the -redirect_port feature. > > Ryan > > That is exactly what I want to do. I've seen that in the NAT docs but was > unsure how and if it would work in my case. I've never used NAT in anything > but the default firewall configuration. I'm going to do some reading and > testing. > > Thanks so much, > > ed > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > From owner-freebsd-net@FreeBSD.ORG Fri Feb 6 06:26:19 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 023B116A4CE for ; Fri, 6 Feb 2004 06:26:19 -0800 (PST) Received: from mail.butovo-online.ru (mail.b-o.ru [212.5.78.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73E5543D2F for ; Fri, 6 Feb 2004 06:26:16 -0800 (PST) (envelope-from resident@b-o.ru) Received: from [192.168.92.185] (helo=192.168.92.185) by mail.butovo-online.ru with esmtp (Exim 4.24) id 1Ap742-00026q-F0 for freebsd-net@freebsd.org; Fri, 06 Feb 2004 17:34:38 +0300 Date: Fri, 6 Feb 2004 17:27:48 +0300 From: Andrew Riabtsev X-Mailer: The Bat! (v1.62i) Business X-Priority: 3 (Normal) Message-ID: <9121917175.20040206172748@b-o.ru> To: freebsd-net@freebsd.org In-Reply-To: <20040205171946.13823.qmail@web60808.mail.yahoo.com> References: <20040205171946.13823.qmail@web60808.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Linux ethernet bonding like driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew Riabtsev List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2004 14:26:19 -0000 Hi Anshuman, Thursday, February 5, 2004, 8:19:46 PM, you wrote: AK> Hi all, AK> I have a situation where my servers (Freebsd Solaris AK> and Linux) are connected to two independent switches AK> via 2 seperate NIC cards. To enhance my redundancy I AK> want to group 2 adapters in a active-standby failover AK> mode, with a single IP flipping between the two. AK> Under Solaris I can do this with nafo or more recently AK> ipmp. Under Linux I can use the Ethernet bonding AK> driver in mode=1 to get this behavior. I did not find AK> any ready made solutions for FreeBSD so i coded my own AK> perl script to look at ifconfig and do a failover AK> based on "status" ... it can also ping a couple of AK> IPs and figure if the link is up but connectivity has AK> gone down. It fails over any aliases, fixes arp table, AK> takes care of vlans and moves the def route. I'd be AK> happy to share if anyone is interested. AK> So what is the issue ? AK> Well, I would like to achieve faster failover times AK> than my script currently gives (~5 seconds). The linux AK> driver does a failover in < 100 ms. It uses MII status AK> to detect link loss. AK> So in FreeBSD is there a way to implement a virtual AK> driver which can team 2 or more physical adapters in a AK> failover group ? I would appreciate some pointers on AK> where to get started. You could start from example in man ng_one2many. Then just edit source code of ng_one2many to check if link up on card, connected to hook in which packet should be send if not just send it to the next hook in destination hooks list. It is simple and you dont need to flip IP between interfaces, deal with arp-table, vlans and so on... -- Andrew mailto:resident@b-o.ru From owner-freebsd-net@FreeBSD.ORG Fri Feb 6 08:20:01 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3239B16A4CE for ; Fri, 6 Feb 2004 08:20:01 -0800 (PST) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCBBE43D5A for ; Fri, 6 Feb 2004 08:19:46 -0800 (PST) (envelope-from jkim@niksun.com) Received: from daemon.mj.niksun.com (daemon.mj.niksun.com [10.70.0.244]) i16GGNmh082674; Fri, 6 Feb 2004 11:16:56 -0500 (EST) (envelope-from jkim@niksun.com) X-RAV-AntiVirus: This e-mail has been scanned for viruses. From: Jung-uk Kim Organization: Niksun, Inc. To: Emre Bastuz , freebsd-net@FreeBSD.org Date: Fri, 6 Feb 2004 11:16:21 -0500 User-Agent: KMail/1.5.4 References: <1076062054.264f21d02d79f@webmail.emre.de> In-Reply-To: <1076062054.264f21d02d79f@webmail.emre.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200402061116.21434.jkim@niksun.com> Subject: Re: Syskonnect SK0 not passing any data 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, 06 Feb 2004 16:20:01 -0000 On Friday 06 February 2004 05:07 am, Emre Bastuz wrote: > Hi, > > trying to get my Syskonnect SK-9843 revision 2.0 to work I now have > an interface that is UP ... > > sk0: flags=8943 mtu > 1500 ether 00:00:5a:9c:38:fe > media: Ethernet autoselect (1000baseSX ) > status: active > > ... but otherwise dead, i.e. passes no traffic. SysKonnect SK-9843 V2.0 (1000baseSX) is not supported yet. > I´m planning to use the interface for sniffing but tcpdump just > does not receive any data at all. A revision 1.0 of this card works > fine for my 4.9 STABLE box but this one simply does not operate at > all. Old version used SysKonnect's Genesis and XaQti's XMAC II. Version 2.0 has Marvell's 88E8010. They are *very* different. > Do you have any suggestions what I might be missing? If you are willing to try FreeBSD 5.1, SysKonnect has a driver on their website: http://www.syskonnect.com/syskonnect/support/driver/htm/freebsd.htm I didn't try this at all. So, please don't ask me any questions about it. ;-) Thanks, JK > Thanks, > > Emre > > -- > http://www.emre.de UIN: 561260 > PGP Key ID: 0xAFAC77FD > > I don't see why some people even HAVE cars. -- Calvin > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. From owner-freebsd-net@FreeBSD.ORG Fri Feb 6 08:33:29 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 267B416A4CE for ; Fri, 6 Feb 2004 08:33:29 -0800 (PST) Received: from viviendaatualcance.com.mx (dsl-200-67-167-6.prod-infinitum.com.mx [200.67.167.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id E481C43D46 for ; Fri, 6 Feb 2004 08:33:22 -0800 (PST) (envelope-from eculp@viviendaatualcance.com.mx) Received: from localhost (localhost [127.0.0.1]) (uid 80) by viviendaatualcance.com.mx with local; Fri, 06 Feb 2004 10:33:22 -0600 Received: from local-62.local.net.mx (local-62.local.net.mx [192.168.5.62]) by mail.viviendaatualcance.com.mx (Horde) with HTTP for ; Fri, 6 Feb 2004 10:33:22 -0600 Message-ID: <20040206103322.0okcw8sg8k8s80gw@mail.viviendaatualcance.com.mx> Date: Fri, 6 Feb 2004 10:33:22 -0600 From: Edwin Culp To: chris scott References: <20040205094541.U43880-100000@ren.sasknow.com> <20040205115651.wgw88sgcgwg4osg4@mail.viviendaatualcance.com.mx> <02ac01c3ecb1$7945a600$86102c0a@viper> In-Reply-To: <02ac01c3ecb1$7945a600$86102c0a@viper> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs cc: Ryan Thompson cc: net@freebsd.org Subject: Re: 2 isp's, one LAN and need to divide traffic. 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, 06 Feb 2004 16:33:29 -0000 Quoting chris scott : > should be easy enough to do. You will probably need to have two instances of > natd running, one for each interface. e.g. > > /sbin/natd -a x -p 8868 > /sbin/natd -a y -p 8869 That is another option that I should try and probably why the rules diverts and forwards that I tried without two processes didn't work. A question on rule 3 below shouldn't tun0 be interface y from above? Thanks so much for your help. One thing for sure I've read more about natd and natd.conf than I ever expected and thanks to you folks, I'm starting to see the light at the end of the tunnel. Have a great weekend. ed > > where x and y are the ips of the interfaces you are using, you could > probably use the -n option and -dynamic options if you are on a static > setup. > > Note it will be inportant which interface your default route will point to. > I'm assuming its tun0.so am configuring ipfw to deal with outgoing traffic > on that interface, something like this should do > > ipfw add 1 divert 8868 tcp from any to any 25 out via tun0 > ipfw add 2 divert 8868 udp from any to any 53 out via tun0 > ipfw add 3 divert 8869 all from any to any via tun0 > > these rules should redirect outgoing mail and dns requests to a different > instance of natd than is used for all other traffic > this will be bound to tun1 > > There is also another potential way of doing it as well. If you have a list > of all the dns and email servers your clients use you could add some static > routes for those hosts/subnets to force all traffic for them to use a > specific interface. This would be cludgy though as all traffic for those > hosts would be forced that way not just email and dns > > > Chris > > > ----- Original Message ----- > From: "Edwin Culp" > To: "Ryan Thompson" > Cc: > Sent: Thursday, February 05, 2004 5:56 PM > Subject: Re: 2 isp's, one LAN and need to divide traffic. > > >> Quoting Ryan Thompson : >> >> > Edwin Culp wrote to net@freebsd.org: >> > >> >> Is there a, hopefully simple, way to divide bidirectional traffic >> >> (LAN/INTERNET)between 2 internet connections more or less as the >> >> diagram below. I've just added a DSL connection with a lot more >> >> bandwidth than my ds0. I want to use the ds0 exclusively for email and >> >> DNS that I consider, in my case, to be lower priority and the DSL for >> >> all other traffic? >> > >> > Sure. Unless I'm misunderstanding what you're asking for... just bind >> > your email and DNS server to one or two of the ds0 IPs. Don't listen for >> > those services on the Provider2 IP. Then bind your other services to the >> > Provider2 IP. >> > >> > If you're directing this all to an RFC1918 internal network (i.e., the >> > server(s) do not have public IPs), you're probably already using NAT, >> > and can make use of static NAT and the -redirect_port feature. >> >> Ryan >> >> That is exactly what I want to do. I've seen that in the NAT docs but was >> unsure how and if it would work in my case. I've never used NAT in > anything >> but the default firewall configuration. I'm going to do some reading and >> testing. >> >> Thanks so much, >> >> ed >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> >> > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Fri Feb 6 08:44:29 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E17316A4CE for ; Fri, 6 Feb 2004 08:44:29 -0800 (PST) Received: from mx.sat.corp.rackspace.com (mx.sat.corp.rackspace.com [64.39.1.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2362543D2F for ; Fri, 6 Feb 2004 08:44:23 -0800 (PST) (envelope-from amason@rackspace.com) Received: from mail.rackspace.com (mail.rackspace.com [64.39.2.181]) i16GgB4w001199 for ; Fri, 6 Feb 2004 10:42:11 -0600 Received: from [10.1.101.24] (office101-24.sat.rackspace.com [10.1.101.24]) by mail.rackspace.com (8.12.10/8.12.10) with ESMTP id i16GiJ32010789 for ; Fri, 6 Feb 2004 10:44:20 -0600 From: Art Mason To: freebsd-net@freebsd.org In-Reply-To: <004a01c3ea1f$1a34cea0$0a00a8c0@arista> References: <200402030225.i132Pfax071987@vjofn.tucs-beachin-obx-house.com> <004a01c3ea1f$1a34cea0$0a00a8c0@arista> Content-Type: text/plain Organization: Rackspace Managed Hosting Message-Id: <1076085904.87575.65.camel@mizar.rackspace.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 06 Feb 2004 10:45:05 -0600 Content-Transfer-Encoding: 7bit X-MailScanner: Dd6rvCg9: Found to be clean Subject: Re: Whats the best solution? 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, 06 Feb 2004 16:44:29 -0000 You might also want to take a look at OpenVPN (/usr/ports/security/openvpn). It's essentially a Layer 7 VPN using SSL that works well w/ dynamic IP addresses and even allows for one end-point to be NATed. Not sure if this is quite the solution you're looking for, but it might help. -- Art Mason Technical Support - Team F Rackspace Managed Hosting (800) 961-4454 ext. 1223 amason@rackspace.com On Tue, 2004-02-03 at 00:29, Willie Viljoen wrote: > SSH :-) > > Have a look at the ssh(1) manpage. The port forwarding should be able to do > what you are looking for. Also, to get the authentication to be automatic, > set up your SSH to use public keys, and use a passphraseless public key on > your laptop. This will let it automatically log in and set up the tunnel. > You can then tunnel any TCP traffic through a secure channel to your server. > This is all described in the man page. > > For DNS, use the IP address of the server you plan to use for the other end > of the tunnel. As long as you open only UDP port 53 and configure it > sensibly, there should be no security risk to running a DNS that accepts > from any IP, all proper DNS servers need to do this anyway. This way, you > can run your own DNS, and possibly even put in some private DNS tricks to > make working with the tunnel easier. > > Will > > ----- Original Message ----- > From: "Tuc at the Beach House" > To: > Cc: > Sent: Tuesday, February 03, 2004 4:25 AM > Subject: Whats the best solution? > > > > Hi, > > > > HELP! Whew, ok, felt good to get that out. > > > > Heres my problem, I'd like to know what people feel would be the > > best solution. > > > > I travel alot. When I do I bring a Wireless AP, and an Asante > > Firewall. Normally I plug the Asante into the ethernet connection at > > the hotel, and the WAP into the Asante. > > > > Some places I run into problem with their web proxy. Almost > > all places I have a hell of a time with DNS. When I have DNS issues, the > > machine just does not like it. > > > > I want to be able to set something up where I can tunnel to a > > dedicated private server I have on the global internet, and route all > > my traffic through it. I want it to be the default route, and once they > > hit my end server, they then can be forwarded over the rest of the global > > internet. > > > > I need to be able to have the client be on dynamic IPs. I need some > > sort of an authentication. And most of all, something easy to debug would > > help. > > > > Any ideas, thoughts, suggestions, etc? > > > > Thanks, Tuc/TTSG Internet Services, Inc. > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Fri Feb 6 09:33:08 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6833C16A4CE for ; Fri, 6 Feb 2004 09:33:08 -0800 (PST) Received: from a.mail.sonic.net (a.mail.sonic.net [64.142.16.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2B3843D53 for ; Fri, 6 Feb 2004 09:33:06 -0800 (PST) (envelope-from bmah@intruder.kitchenlab.org) Received: from intruder.kitchenlab.org (adsl-64-142-31-106.sonic.net [64.142.31.106]) by a.mail.sonic.net (8.12.10/8.12.7) with ESMTP id i16HX5ts004358 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 6 Feb 2004 09:33:05 -0800 Received: from intruder.kitchenlab.org (bmah@localhost [127.0.0.1]) i16HX5fk008597; Fri, 6 Feb 2004 09:33:05 -0800 (PST) (envelope-from bmah@intruder.kitchenlab.org) Message-Id: <200402061733.i16HX5fk008597@intruder.kitchenlab.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Mike Hunter In-Reply-To: <20040206043401.GA11217@ack.Berkeley.EDU> References: <20040130182434.GB18346@ack.Berkeley.EDU> <20040130213935.GB25194@ack.Berkeley.EDU> <20040206043401.GA11217@ack.Berkeley.EDU> Comments: In-reply-to Mike Hunter message dated "Thu, 05 Feb 2004 20:34:01 -0800." From: "Bruce A. Mah" X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_527683673P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 06 Feb 2004 09:33:05 -0800 Sender: bmah@intruder.kitchenlab.org cc: freebsd-net@freebsd.org Subject: Re: Assymetric results from iperf across gigabit link (long) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bmah@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2004 17:33:08 -0000 --==_Exmh_527683673P Content-Type: text/plain; charset=us-ascii If memory serves me right, Mike Hunter wrote: > > I switched the two pieces of hardware, and the photons still prefer going > > uphill, so maybe there's a problem with the fiber after all. I'd still > > appreciate any hints on what to ask freebsd to help me figure it out. > > (Yes, we have real fiber test gear, this is more of an experiment.) > > Looks like it was a fiber problem. Go freebsd! Excellent. (Well, assuming that fixing / replacing the fiber is an option.) Personally, I liked my "reluctance to go to Sproul Hall" theory. :-) Bruce. --==_Exmh_527683673P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) Comment: Exmh version 2.5+ 20020506 iD8DBQFAI8/R2MoxcVugUsMRAgHgAKD21mtPsVHTqy098mBL9eFRQ+sZ5ACgmeM0 6z/ynDv3OEYbG/zaePE+lLA= =CV+N -----END PGP SIGNATURE----- --==_Exmh_527683673P-- From owner-freebsd-net@FreeBSD.ORG Fri Feb 6 09:53:56 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A921916A4CE for ; Fri, 6 Feb 2004 09:53:56 -0800 (PST) Received: from web40302.mail.yahoo.com (web40302.mail.yahoo.com [66.218.78.81]) by mx1.FreeBSD.org (Postfix) with SMTP id DDEAD43D6A for ; Fri, 6 Feb 2004 09:53:19 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040206175251.47614.qmail@web40302.mail.yahoo.com> Received: from [66.35.239.94] by web40302.mail.yahoo.com via HTTP; Fri, 06 Feb 2004 09:52:51 PST Date: Fri, 6 Feb 2004 09:52:51 -0800 (PST) From: Maksim Yevmenkin To: Zhang Weiwu , freebsd-net@freebsd.org, freebsd-bluetooth@freebsd.org In-Reply-To: <4023CED7.8070603@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: need suggestions on making a wireless network using bluetooth 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, 06 Feb 2004 17:53:56 -0000 Hello, > Hello. I'll make a small wireless network in my office in the coming month. > Now I'm considering bluetooth instead of 802.11. In the office I have a > freebsd server, my own notebook runs freebsd. Other computers run MAC OS > and Windows. ok > * the office is not very big, just as big as the bluetooth signal can > reach. There are confidential information in the office, I don't want > anyone to get my data by just stopping a car in front of the office and > listen network traffice with a notebook. well, you can do many things to secure your 802.11 network :) also i'm not aware of any bluetooth snooping capabilities on of the shelf devices, but i've heard about bluetooth scanners. they used in bluetooth testing and qualification facilities and expensive, but they do exist :) > * I don't see any network traffic problem. Usually we just transfer emails, > text documents and pictures. ok. are you aware that a single bluetooth device can only support up to 8 clients at the same time? is that going to be a problem for you? > * In China, the 802.11 device market is not clear yet, I don't know what > standard to follow (you surely know about the new Chinese spec on 802.11 > network). > > * We already have some bluetooth devices. ok > * Most of us use notebook computers. Notebook 802.11 cards are more > expensive than bluetooth cards. i see > * Some people in the office are going to buy GPRS enabled cell phone. If > they buy bluetooth enabled GPRS phones, they can go surf the Internet > outside the office through GPRS cell phone. This is cheaper than having > both 802.11 card and GPRS card. FreeBSD supports DUN profile that allows you to use bluetooth enabled cell phone as a modem. you can make GRPS or CSD calls. > So I decide I'd better use bluetooth. Several questions: > > * Is it possible to make a wireless network by using bluetooth devices? Can > I have a bluetooth installed on the FreeBSD server, let it act as a > switch/hub? Would this network be stable? yes, FreeBSD supports LAN profile. in this scenario bluetooth clients connect to the server via PPP that runs over bluetooth connection. on a client side it is very similar to dialing out on regular phone line. again keep in mind that a single bluetooth device can only have up to 8 connections at a time. > * I never see anyone setup a network in this way, would there be many > unexpected problems? not likely, but you never know :) just stay away from serial based bluetooth devices. use usb bluetooth dongles. they work much better. thanks, max __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From owner-freebsd-net@FreeBSD.ORG Sat Feb 7 00:25:23 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C09716A4CF for ; Sat, 7 Feb 2004 00:25:23 -0800 (PST) Received: from portia (portia.cc.emory.edu [170.140.204.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id A146743D1F for ; Sat, 7 Feb 2004 00:25:22 -0800 (PST) (envelope-from jcchapp@emory.edu) Received: from emory.edu (localhost [127.0.0.1]) by portia (8.12.10/8.12.10) with ESMTP id i12Kl0I0019475; Mon, 2 Feb 2004 15:47:01 -0500 (EST) Message-ID: <401EB743.4030105@emory.edu> Date: Mon, 02 Feb 2004 15:46:59 -0500 From: Jonathan Chappelow User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040123 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bjorn Eikeland References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: defect onboard broadcom causing boot hang 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, 07 Feb 2004 08:25:23 -0000 Bjorn Eikeland wrote: > I've just changed to using freebsd on my desktop pc, my Asus A7V8X > motherboad has a onboard Broadcom chip - this just stopped working under > windows and turned into a unknown device. Asus or vendor's support never > replied so I just picked up a new fxp card. Depending on the options, this board either has BCM4401 or BCM5702. Note "(optional)" written on the box next to Gigabit LAN. My old Asus P4PE had the BCM4401 and I had a lot of trouble with buggy drivers (*bfe*). The gigabit chip (BCM5702) uses bge. Try adding both to the kernel with mii to see if either works. Also, their might be a more detailed part number on a sticker somewhere. > pciconf shows this device to be a: > none0@pci0:9:0: class=0x008000 card=0x80008000 chip=0x800014e4 > rev=0x01 hdr=0x00 > vendor = 'Broadcom Corporation' > class = old According to pciids.sourceforge.net and www.pcidatabase.com, chip=0x800014e4 is unidentified. vendor 14e4 is Broadcom, but device id 8000 is a mystery. Although, this is close: http://pciids.sourceforge.net/iii/?i=14e44401. Good luck with that. You may just need to edit the code and add a device id? Jon From owner-freebsd-net@FreeBSD.ORG Sat Feb 7 01:21:39 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A99F016A4CE for ; Sat, 7 Feb 2004 01:21:39 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 47B3C43D1D for ; Sat, 7 Feb 2004 01:21:39 -0800 (PST) (envelope-from silby@silby.com) Received: (qmail 53582 invoked from network); 7 Feb 2004 09:21:38 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 7 Feb 2004 09:21:38 -0000 X-pair-Authenticated: 209.68.2.70 Date: Sat, 7 Feb 2004 03:21:37 -0600 (CST) From: Mike Silbersack To: Brett Glass In-Reply-To: <200402051743.KAA25020@lariat.org> Message-ID: <20040207032053.K39637@odysseus.silby.com> References: <200402051743.KAA25020@lariat.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: net@freebsd.org Subject: Re: Support for USB Wi-Fi adapters? 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, 07 Feb 2004 09:21:39 -0000 On Thu, 5 Feb 2004, Brett Glass wrote: > What is the state of support for USB Wi-Fi adapters in FreeBSD? > Several clients have asked me if they can use these adapters on > their BSD servers, but so far I can't find one that FreeBSD > recognizes. I have one here that's based on the Atmel chipset; > it says that it's made by Askey Computers and that its device > ID is 0x123. There's a Prism-family Wi-Fi radio in there, so > it may be that it's just a matter of glue to get the existing > Prism driver to work with it. Any ideas? > > --Brett Glass Apparently OpenBSD has support for the USB Prism devices now, but it has not been ported over here yet. I'm not aware of anyone working on doing so either at this point in time. Mike "Silby" Silbersack From owner-freebsd-net@FreeBSD.ORG Sat Feb 7 02:54:19 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BF3116A4CE; Sat, 7 Feb 2004 02:54:19 -0800 (PST) Received: from nsuncom.rz.hu-berlin.de (nsuncom.rz.hu-berlin.de [141.20.1.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0E0843D1D; Sat, 7 Feb 2004 02:54:18 -0800 (PST) (envelope-from h0444lp6@student.hu-berlin.de) Received: from localhost (localhost [127.0.0.1])i17AsH0Q016448; Sat, 7 Feb 2004 11:54:17 +0100 (MET) Received: from nsuncom.rz.hu-berlin.de ([127.0.0.1]) by localhost (nsuncom [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16035-08; Sat, 7 Feb 2004 11:54:16 +0100 (MET) Received: from kojo (x82.rewi.hu-berlin.de [141.20.121.82]) i17AsAaR016206; Sat, 7 Feb 2004 11:54:15 +0100 (MET) From: "h0444lp6" To: , , Date: Sat, 7 Feb 2004 18:54:58 +0800 Message-ID: <000001c3ed68$e6675820$5279148d@kojo> 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.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at hu-berlin.de Subject: Atheros Super G 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, 07 Feb 2004 10:54:19 -0000 Dear list, I would like to know if the Atheros Super G chipset is supported by 5.2-Release. According to Atheros.com its's the AR5004 and AR5003 chiops. In ath(4) I can only find reference to AR5210, AR5211, and AR5212. TIA From owner-freebsd-net@FreeBSD.ORG Sat Feb 7 11:03:04 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B91916A4CE; Sat, 7 Feb 2004 11:03:04 -0800 (PST) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C0B043D1F; Sat, 7 Feb 2004 11:03:04 -0800 (PST) (envelope-from sam@errno.com) Received: from 66.127.85.91 ([66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.9) with ESMTP id i17J32HQ077575 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 7 Feb 2004 11:03:03 -0800 (PST) (envelope-from sam@errno.com) From: Sam Leffler Organization: Errno Consulting To: "h0444lp6" , , , Date: Sat, 7 Feb 2004 11:08:09 -0800 User-Agent: KMail/1.5.3 References: <000001c3ed68$e6675820$5279148d@kojo> In-Reply-To: <000001c3ed68$e6675820$5279148d@kojo> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402071108.09386.sam@errno.com> Subject: Re: Atheros Super G 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, 07 Feb 2004 19:03:04 -0000 On Saturday 07 February 2004 02:54 am, h0444lp6 wrote: > Dear list, > > I would like to know if the Atheros Super G chipset is supported by > 5.2-Release. > > According to Atheros.com its's the AR5004 and AR5003 chiops. > > In ath(4) I can only find reference to AR5210, AR5211, and AR5212. > No support for SuperG. Sam From owner-freebsd-net@FreeBSD.ORG Sat Feb 7 19:16:24 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26D1216A4CE; Sat, 7 Feb 2004 19:16:24 -0800 (PST) Received: from xxx.pdl.cmu.edu (XXX.PDL.CMU.EDU [128.2.134.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id D78A743D1D; Sat, 7 Feb 2004 19:16:23 -0800 (PST) (envelope-from chuck@xxx.pdl.cmu.edu) Received: from xxx.pdl.cmu.edu (localhost [127.0.0.1]) by xxx.pdl.cmu.edu (8.12.9p1/8.12.9) with ESMTP id i183F7ZX005996; Sat, 7 Feb 2004 22:15:07 -0500 (EST) Received: (from chuck@localhost) by xxx.pdl.cmu.edu (8.12.9p1/8.12.9) id i183F5Ld010330; Sat, 7 Feb 2004 22:15:05 -0500 (EST) Date: Sat, 7 Feb 2004 22:15:05 -0500 From: Chuck Cranor To: Mikhail Teterin Message-ID: <20040208031505.GC10365@ece.cmu.edu> References: <200402052039.40634@misha-mx.virtual-estates.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402052039.40634@misha-mx.virtual-estates.net> User-Agent: Mutt/1.4.1i Organization: Carnegie Mellon University cc: questions@FreeBSD.org cc: chuck@research.att.com cc: Julian Elischer cc: net@FreeBSD.org Subject: Re: switching to an internal DSL modem -- natd, ipfw 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 Feb 2004 03:16:24 -0000 On Thu, Feb 05, 2004 at 08:39:40PM -0500, Mikhail Teterin wrote: > [Now CC-ing Chuck Cranor -- the en's author] > => => http://store.yahoo.com/softbuyweb/inpcidslmod3.html > => The en(4) manual page and the description of this product (on the > => page above) as one based on Efficient Network's chip. Can there be > => anything else? > > =I'd be dubious.. the en driver was for an old expensive ATM card from > ='95 or so.. even though the ad says it supports PPPoE among other > =things, I'd be pretty surprised if we could talk to it.. Julian is right, the en driver is for the midway family of chips. this one could be for the lanai family of chips. you might try looking around for that. (e.g. i did a web search and found http://home.worldonline.dk/stok/lanai.html ). chuck From owner-freebsd-net@FreeBSD.ORG Sat Feb 7 19:49:58 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E31F16A6B5; Sat, 7 Feb 2004 19:49:57 -0800 (PST) Received: from mx1.rootauthority.us (adsl-66-123-229-170.dsl.sndg02.pacbell.net [66.123.229.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1610A43D2F; Sat, 7 Feb 2004 19:49:52 -0800 (PST) (envelope-from root@rootauthority.us) Received: by mx1.rootauthority.us (Postfix, from userid 0) id 1A77CB829; Sat, 7 Feb 2004 19:46:05 -0800 (PST) Received: from pop.cotse.com by localhost with POP3 (fetchmail-6.2.5) for __zma@localhost (single-drop); Sat, 07 Feb 2004 19:46:05 -0800 (PST) Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by mailhost.cotse.com (5.7.4/5.7.4) with ESMTP id i183GsuU055293 for ; Sat, 7 Feb 2004 22:16:54 -0500 (EST) (envelope-from owner-freebsd-questions@freebsd.org) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id B778856252; Sat, 7 Feb 2004 19:16:36 -0800 (PST) (envelope-from owner-freebsd-questions@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 5692D16A4D6; Sat, 7 Feb 2004 19:16:36 -0800 (PST) Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26D1216A4CE; Sat, 7 Feb 2004 19:16:24 -0800 (PST) Received: from xxx.pdl.cmu.edu (XXX.PDL.CMU.EDU [128.2.134.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id D78A743D1D; Sat, 7 Feb 2004 19:16:23 -0800 (PST) (envelope-from chuck@xxx.pdl.cmu.edu) Received: from xxx.pdl.cmu.edu (localhost [127.0.0.1]) by xxx.pdl.cmu.edu (8.12.9p1/8.12.9) with ESMTP id i183F7ZX005996; Sat, 7 Feb 2004 22:15:07 -0500 (EST) Received: (from chuck@localhost) by xxx.pdl.cmu.edu (8.12.9p1/8.12.9) id i183F5Ld010330; Sat, 7 Feb 2004 22:15:05 -0500 (EST) Date: Sat, 7 Feb 2004 22:15:05 -0500 From: Chuck Cranor To: Mikhail Teterin Message-ID: <20040208031505.GC10365@ece.cmu.edu> References: <200402052039.40634@misha-mx.virtual-estates.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402052039.40634@misha-mx.virtual-estates.net> User-Agent: Mutt/1.4.1i Organization: Carnegie Mellon University X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Sender: owner-freebsd-questions@freebsd.org Errors-To: owner-freebsd-questions@freebsd.org X-Cotse-Filters: Default delivery X-UIDL: p"X"!@LA"! cc: chuck@research.att.com Subject: Re: switching to an internal DSL modem -- natd, ipfw X-BeenThere: freebsd-net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2004 03:49:58 -0000 On Thu, Feb 05, 2004 at 08:39:40PM -0500, Mikhail Teterin wrote: > [Now CC-ing Chuck Cranor -- the en's author] > => => http://store.yahoo.com/softbuyweb/inpcidslmod3.html > => The en(4) manual page and the description of this product (on the > => page above) as one based on Efficient Network's chip. Can there be > => anything else? > > =I'd be dubious.. the en driver was for an old expensive ATM card from > ='95 or so.. even though the ad says it supports PPPoE among other > =things, I'd be pretty surprised if we could talk to it.. Julian is right, the en driver is for the midway family of chips. this one could be for the lanai family of chips. you might try looking around for that. (e.g. i did a web search and found http://home.worldonline.dk/stok/lanai.html ). chuck _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Sat Feb 7 22:46:13 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5F7616A4CE for ; Sat, 7 Feb 2004 22:46:13 -0800 (PST) Received: from lariat.org (lariat.org [63.229.157.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 353B943D1D for ; Sat, 7 Feb 2004 22:46:13 -0800 (PST) (envelope-from brett@lariat.org) Received: from runaround.lariat.org (IDENT:ppp1000.lariat.org@lariat.org [63.229.157.2]) by lariat.org (8.9.3/8.9.3) with ESMTP id XAA10326; Sat, 7 Feb 2004 23:46:06 -0700 (MST) X-message-flag: Warning! Use of Microsoft Outlook renders your system susceptible to Internet worms. Message-Id: <6.0.0.22.2.20040207234503.0527a228@localhost> X-Sender: brett@localhost (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sat, 07 Feb 2004 23:46:04 -0700 To: Mike Silbersack From: Brett Glass In-Reply-To: <20040207032053.K39637@odysseus.silby.com> References: <200402051743.KAA25020@lariat.org> <20040207032053.K39637@odysseus.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" cc: net@freebsd.org Subject: Re: Support for USB Wi-Fi adapters? 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 Feb 2004 06:46:13 -0000 At 02:21 AM 2/7/2004, Mike Silbersack wrote: >Apparently OpenBSD has support for the USB Prism devices now, but it has >not been ported over here yet. It's interesting that it's OpenBSD and not NetBSD. I'll take a look at their code and see how hard it would be to port it to the others. Thank you for pointing this out! --Brett