From owner-freebsd-net Sun Mar 18 7:16:19 2001 Delivered-To: freebsd-net@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id BDAA837B718; Sun, 18 Mar 2001 07:16:09 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f2IFG4d69067; Sun, 18 Mar 2001 17:16:04 +0200 (EET) (envelope-from ru) Date: Sun, 18 Mar 2001 17:16:04 +0200 From: Ruslan Ermilov To: net@FreeBSD.org, Garrett Wollman Subject: [PATCH] Re: Reading Stevens, playing routing games Message-ID: <20010318171604.D66563@sunbay.com> Mail-Followup-To: net@FreeBSD.org, Garrett Wollman References: <20010316201916.A20185@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010316201916.A20185@sunbay.com>; from ru@FreeBSD.org on Fri, Mar 16, 2001 at 08:19:16PM +0200 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Mar 16, 2001 at 08:19:16PM +0200, Ruslan Ermilov wrote: > Hi! > > First of all, I would like to commit the attached patch; it removes > duplicate code. Please review. > This got already committed as part of another bugfix. See ip_input.c, revision 1.164. > Also, I found a nasty bug in IP routing. The new route added may not > take immediate effect for routing decisions, because ip_forward() may > use the cached route (rt_forwarding). > The attached patch fixes this. > DEMO (only relevant routes are shown). > > Step 1. On a router, add a route to the network (192.168.1). > > : # route add -net 192.168.1 gateway > : add net 192.168.1: gateway gateway > : > : # netstat -rn > : Routing tables > : > : Internet: > : Destination Gateway Flags Refs Use Netif Expire > : 192.168.1 gateway UGSc 0 0 rl0 > > Step 2. From some other host for which this machine is the default router, > run ``traceroute -m 2 -n 192.168.1.1''. Observe, on the router, > that the reference count grown on the 192.168.1 route. > > : # netstat -rn > : Routing tables > : > : Internet: > : Destination Gateway Flags Refs Use Netif Expire > : 192.168.1 gateway UGSc 1 3 rl0 > > Step 3. Add RTF_REJECT host route to the destination: > > : # route add 192.168.1.1 -iface lo0 -reject > : add host 192.168.1.1: gateway lo0 > : # netstat -rn > : Routing tables > : > : Internet: > : Destination Gateway Flags Refs Use Netif Expire > : 192.168.1 gateway UGSc 1 3 rl0 > : 192.168.1.1 lo0 UHRS 0 0 lo0 > > Step 4. The fun begins. What you would expect if you run traceroute to > 192.168.1.1 again? Obviously host route should take precedence > over network route, and I expected ICMP Destination Unreachable. > But... what's a hell? the new route did not take immediate effect, > traceroute succeeded (192.168.1.1 still has zero refcound and use): > > : # netstat -rn > : Routing tables > : > : Internet: > : Destination Gateway Flags Refs Use Netif Expire > : 192.168.1 gateway UGSc 1 6 rl0 > : 192.168.1.1 lo0 UHRS 0 0 lo0 > > Step 5. The fun continues. From another host, run traceroute to another > destination (to help router change rt_forward.ro_dst). > traceroute -m 2 -n 192.168.1.2: > > : # netstat -rn > : Routing tables > : > : Internet: > : Destination Gateway Flags Refs Use Netif Expire > : 192.168.1 gateway UGSc 1 9 rl0 > : 192.168.1.1 lo0 UHRS 0 0 lo0 > > Step 6. Run traceroute again to 192.168.1.1. The fun ends. > > > The solution I found so far is to unstaticize the ``rt_forward'', and > invalidate the rt_forward.ro_rt in in_addroute() (in_rmx.c). Any better > ideas? -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=p Index: in_rmx.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/in_rmx.c,v retrieving revision 1.38 diff -u -p -r1.38 in_rmx.c --- in_rmx.c 2001/03/15 14:52:12 1.38 +++ in_rmx.c 2001/03/18 15:08:25 @@ -54,6 +54,7 @@ #include #include #include +#include extern int in_inithead __P((void **head, int off)); @@ -137,6 +138,16 @@ in_addroute(void *v_arg, void *n_arg, st RTFREE(rt2); } } + + /* + * If the new route successfully added, and we are forwarding, + * and there is a cached route, free it. + */ + if (ret != NULL && ipforwarding && ipforward_rt.ro_rt) { + RTFREE(ipforward_rt.ro_rt); + ipforward_rt.ro_rt = 0; + } + return ret; } Index: ip_input.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/ip_input.c,v retrieving revision 1.164 diff -u -p -r1.164 ip_input.c --- ip_input.c 2001/03/18 13:04:07 1.164 +++ ip_input.c 2001/03/18 15:08:26 @@ -257,7 +257,7 @@ ip_init() } static struct sockaddr_in ipaddr = { sizeof(ipaddr), AF_INET }; -static struct route ipforward_rt; +struct route ipforward_rt; /* * Ip input routine. Checksum and byte swap header. If fragmented Index: ip_var.h =================================================================== RCS file: /home/ncvs/src/sys/netinet/ip_var.h,v retrieving revision 1.53 diff -u -p -r1.53 ip_var.h --- ip_var.h 2001/03/16 20:00:53 1.53 +++ ip_var.h 2001/03/18 15:08:26 @@ -141,6 +141,7 @@ extern struct ipstat ipstat; extern u_short ip_id; /* ip packet ctr, for ids */ extern int ip_defttl; /* default IP ttl */ extern int ipforwarding; /* ip forwarding */ +extern struct route ipforward_rt; /* ip forwarding cached route */ extern u_char ip_protox[]; extern struct socket *ip_rsvpd; /* reservation protocol daemon */ extern struct socket *ip_mrouter; /* multicast routing daemon */ --TB36FDmn/VVEgNH/-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 18 8:58:43 2001 Delivered-To: freebsd-net@freebsd.org Received: from homer.softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id BF4C437B718 for ; Sun, 18 Mar 2001 08:58:34 -0800 (PST) (envelope-from wes@softweyr.com) Received: from [127.0.0.1] (helo=softweyr.com ident=b752d65721b16f1667199e233e54025c) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 14egVY-00009r-00; Sun, 18 Mar 2001 09:58:20 -0700 Message-ID: <3AB4E92C.7F668DD9@softweyr.com> Date: Sun, 18 Mar 2001 09:58:20 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Nick Rogness Cc: freebsd-net@FreeBSD.ORG, Jeroen Ruigrok/Asmodai Subject: Re: same interface Route Cache References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nick Rogness wrote: > > On Sat, 17 Mar 2001, Wes Peters wrote: > > > > > > > > > > > > > Packet 1 comes in through ISP #2 network. It comes into your > > > > internal network to machine 1. Machine 1 replies to the > > > > packet...but where does it go? It will exit through interface > > > > to ISP #1 because of the default gateway. It came in ISP #2 and > > > > left out ISP #1. There is your problem. > > > > > > There is no way to tell your packet to go back out to ISP #2. That is the > > > point I'm trying to get across. Unless your running a routing > > > daemon. But is that really practical with cable modems, dsl, etc?...I > > > don't think so. > > > > Why would the physical media have anything to do with routing protocols? > > Just TRY to ask your cable or DSL provider to do BGP or any > routing...it aint going to happen. Watch them laugh in your face. Oh, just about any of the DSL providers that sell "small business" services will provide at least RIPv1 routing info. They charge more, but then again you're getting more from them, so that makes sense. Cable Modems are toys, because they rely on cable tv operators for networking expertise, and as far as I've seen, they don't have any. I'm willing to be proven wrong here. > The point here is getting way out of hand. Of course a routing > daemon would work. That has been said by myself throughout this > thread. That's not the point. Sure you can run a routing > daemon...it won't do any good if it is not recieving any routes > from your upstreams because they won't peer with you because you > only pay $40 a month for the service. Not everyone can afford a > damn T1 to an ISP, get IP space and setup BGP. Those same people > most often look for a UNIX box of some sort to do what they want. > > Yes, there is a time and place for policy routing. Any Network > engineer that has been actually supporting large networks can tell > you why you would use it, and there ARE very good reason to do it. See comments about "network engineer" below. Unless you have a CS degree and experience working with routing protocols or at least a CCIE, calling yourself a network engineer is exactly analagous to the garbage collector calling himself a sanitation engineer. > The fact is, many FreeBSD machines are running this type of > setup. Wouldn't it be nice to say "yeh we can do > that"? No, it would be nice to say "yeah we can do that WELL." We know we can't, so why implement some half-assed non-solution. Now you can see why Linux has this and we don't; Linux is the domain of the half-assed non-solution. > Unfortunetly, that does not appear to be the case because > adding flexibility seems to cause problems in the traditional ways > of the BSD folk...which is understandable...because you would be > breaking the rules. I understand. It's not just a matter of breaking the rules; nothing about the little Linux route-table manipulator is breaking any rules of IP routing, they're just basing routing decisions on very questionable data. If you wanted to port their little hack to FreeBSD and put it in ports, I don't think anyone would stop you, but nobody wants to waste their time on such a hack when they could be adding useful, working features. > PS: > This is not a hack for me, Wes, I suggested it after working with > several people having this same problem. There is a workaround > that is pretty ugly so I was looking for a cleaner > solution...that's all! There is a cleaner solution, it's called BGP4. This is simply a case of "you get what you pay for." IP routing is a complex nightmare, and CIDR didn't make it any easier. Trying to implement routing with anything less than support for routing to CIDR blocks and understanding the importance of intermediate routers is doomed to failure; your route table will grow to encompass all available kernel memory. I am *far* more familiar than you can imagine with this situation; questions like this and the ugly hacks (read this as "policy routing") put in place to answer the resulting customer demands are one of the reasons I avoid the "enterprise networking" marketplace. This is yet another proof of the old saw "a little knowlege is a dangerous thing", and 99% of "network engineers" (and all other IT staff) are possesors of "a little knowlege." Very little knowlege, unfortunately. It struck me last night that if you want to load-balance between two ISPs, you could simply pick a bit in the address and use it to select one or the other. If you pick your bit appropriately -- I'd go for something in the second byte -- you might luck out and get a nearly 50/50 spread. That would be no less hackish and a lot easier to maintain. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 18 9:21:27 2001 Delivered-To: freebsd-net@freebsd.org Received: from what.ifelse.org (what.ifelse.org [208.171.40.202]) by hub.freebsd.org (Postfix) with ESMTP id B99AD37B719 for ; Sun, 18 Mar 2001 09:21:23 -0800 (PST) (envelope-from billt@ifelse.org) Received: from zaius.poa (2416419hfc44.tampabay.rr.com [24.164.19.44]) by what.ifelse.org (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id MAA02582 for ; Sun, 18 Mar 2001 12:02:57 -0500 X-Authentication-Warning: what.ifelse.org: Host 2416419hfc44.tampabay.rr.com [24.164.19.44] claimed to be zaius.poa Date: Sun, 18 Mar 2001 12:26:11 -0500 (EST) From: bill X-X-Sender: To: Subject: GRE tunnels Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org good day, does any information exist on how set up a GRE tunnel in freebsd 4.3-BETA? i have read the netgraph, ngctl, ng_pptpgre man pages and unfortunately i am unable make heads or tails on how to set one up. i have the 'other' end set up using linux iproute2. it works (at least i see via tcpdump the ping packets arrive at the freebsd gateway). i have allowed gre packet thusly: ipfw add xxx pass gre from any to any but i am not sure what to do next. i would be very grateful for any assistance! bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 18 10:15: 8 2001 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 295BE37B719 for ; Sun, 18 Mar 2001 10:15:06 -0800 (PST) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id KAA65466; Sun, 18 Mar 2001 10:08:35 -0800 (PST) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.1/8.11.1) id f2II87I10536; Sun, 18 Mar 2001 10:08:07 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200103181808.f2II87I10536@arch20m.dellroad.org> Subject: Re: GRE tunnels In-Reply-To: "from bill at Mar 18, 2001 12:26:11 pm" To: bill Date: Sun, 18 Mar 2001 10:08:07 -0800 (PST) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org bill writes: > does any information exist on how set up a GRE tunnel in freebsd 4.3-BETA? > > i have read the netgraph, ngctl, ng_pptpgre man pages and unfortunately i > am unable make heads or tails on how to set one up. > > i have the 'other' end set up using linux iproute2. it works (at least i > see via tcpdump the ping packets arrive at the freebsd gateway). > > i have allowed gre packet thusly: ipfw add xxx pass gre from any to any > > but i am not sure what to do next. > > i would be very grateful for any assistance! FreeBSD doesn't have built-in support for that kind of GRE tunnel. You'd have to write your own program to open a raw socket and read and write packets to tun(4) or somesuch. The ng_pptpgre(4) node is (as the name implies) designed for PPTP's type of GRE. It could be used for 'generic' tunnelling between two FreeBSD machines but this is probably incompatbile with the Linux system. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 18 14:58:10 2001 Delivered-To: freebsd-net@freebsd.org Received: from garm.bart.nl (garm.bart.nl [194.158.170.13]) by hub.freebsd.org (Postfix) with ESMTP id 4112A37B718; Sun, 18 Mar 2001 14:58:02 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.chronias.ninth-circle.org (root@cable.ninth-circle.org [195.38.232.6]) by garm.bart.nl (8.10.1/8.10.1) with ESMTP id f2ILk3R38652; Sun, 18 Mar 2001 22:46:03 +0100 (CET) Received: (from asmodai@localhost) by daemon.chronias.ninth-circle.org (8.11.2/8.11.0) id f2ILjrS04690; Sun, 18 Mar 2001 22:45:53 +0100 (CET) (envelope-from asmodai) From: Jeroen Ruigrok van der Werven Date: Sun, 18 Mar 2001 22:45:53 +0100 To: petro Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Can't install FreeBSD 4.1 Message-ID: <20010318224553.A4420@daemon.ninth-circle.org> Reply-To: freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Fdrom: Jeroen Ruigrok/Asmodai In-Reply-To: ; from petro@She.wertep.com on Sat, Mar 17, 2001 at 06:21:00PM +0200 Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [follow-up set to freebsd-questions, net/hackers bcc:'d] [please don't only reply to me alone] -On [20010317 17:30], petro (petro@She.wertep.com) wrote: >I try to install FreeBSD 4.1 >when the proces of copying begin, (near 20% of /bin copied) >I receive such error > >panic: general protection fault >syncing disks ...... 99.. 99 99 99 >automatic reboot in 15 seconds, press any key to abort. Have you tried 4.2-RELEASE yet? It might be that this particular fault has already been correct since. Have you checked the errata? Have you monitored the interactive debug screen on vty2? -- Jeroen Ruigrok van der Werven/Asmodai .oUo. asmodai@[wxs.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867 The administration of justice is the firmest pillar of government... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 18 19:28: 5 2001 Delivered-To: freebsd-net@freebsd.org Received: from sleepy.itsco.com (sleepy.itsco.com [216.27.47.11]) by hub.freebsd.org (Postfix) with SMTP id 44BA237B718 for ; Sun, 18 Mar 2001 19:28:03 -0800 (PST) (envelope-from bvoltz@itsco.com) Received: by sleepy.itsco.com with Internet Mail Service (5.5.2653.19) id ; Sun, 18 Mar 2001 22:27:56 -0500 Message-ID: <41E533716110D511BF0300805FCC206001332B@happy.itsco.com> From: Brent Voltz To: "'freebsd-net@freebsd.org'" Subject: Kernel panic with MPD PPTP Date: Sun, 18 Mar 2001 22:28:37 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I have an ADSL line that uses PPPoE encapsulation. I've been trying to get a PPTP connection working with FreeBSD 4.2 release on the same box that connects to the ADSL. The process is as follows: 1) Bring up PPPoE connection, using either user-space PPP or MPD. This part works flawlessly using either method. 2) Bring up PPTP connection using MPD. The result is always the same: Kernel panic in the next 30 seconds. ============ Fatal trap 12: page fault while in kernel mode fault virtual address = 0x70 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01a7dd0 stack pointer = 0x10:0xc0388328 frame pointer = 0x10:0xc038834c code segment = base 0x0, limit 0xfffff, type 0x1b = dpl 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, iopl = 0 current process = idle interrupt mask = net tty bio cam trap number 12 panic: page fault ============ Can anyone help? I would be willing to help with debugging this, but I'm not a kernel hacker, and I really don't know where to start. I have log files, etc, but I didn't want to post that much stuff here. Brent Voltz Integrated Technical Services www.itsco.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 18 19:43: 3 2001 Delivered-To: freebsd-net@freebsd.org Received: from filk.iinet.net.au (syncopation-dns.iinet.net.au [203.59.24.29]) by hub.freebsd.org (Postfix) with SMTP id 0EEF337B718 for ; Sun, 18 Mar 2001 19:42:59 -0800 (PST) (envelope-from julian@elischer.org) Received: (qmail 2939 invoked by uid 666); 19 Mar 2001 03:44:19 -0000 Received: from i087-092.nv.iinet.net.au (HELO elischer.org) (203.59.87.92) by mail.m.iinet.net.au with SMTP; 19 Mar 2001 03:44:19 -0000 Message-ID: <3AB58012.2D7F6A05@elischer.org> Date: Sun, 18 Mar 2001 19:42:10 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Wes Peters Cc: Nick Rogness , freebsd-net@FreeBSD.ORG, Jeroen Ruigrok/Asmodai Subject: Re: same interface Route Cache References: <3AB4E92C.7F668DD9@softweyr.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Wes Peters wrote: > > > It struck me last night that if you want to load-balance between two ISPs, > you could simply pick a bit in the address and use it to select one or the > other. If you pick your bit appropriately -- I'd go for something in the > second byte -- you might luck out and get a nearly 50/50 spread. That would > be no less hackish and a lot easier to maintain. exactly what I suggested before, but the return packets will all come back on a single interface, unless you pass all teh packets that are going out one of the interfaces through natd first. That in turn breaks incoming sessions that come in through the 'plain' interface but get outbound routed through natd. You need to have stateful rules in teh incoming firewall that remember that a session was incoming and keep it from being shifted to the natd. This CAn be done using NATDs stateful rules I think but I haven't done it. > > -- > "Where am I, and what am I doing in this handbasket?" > > Wes Peters Softweyr LLC > wes@softweyr.com http://softweyr.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 18 20:42:39 2001 Delivered-To: freebsd-net@freebsd.org Received: from pcs113.sasi.com (samar.sasken.com [164.164.56.2]) by hub.freebsd.org (Postfix) with ESMTP id B3B2F37B71B for ; Sun, 18 Mar 2001 20:42:31 -0800 (PST) (envelope-from pmk@sasi.com) Received: from localhost (pmk@localhost) by pcs113.sasi.com (8.9.3/8.9.3) with ESMTP id KAA01066; Mon, 19 Mar 2001 10:12:11 +0530 X-Authentication-Warning: pcs113.sasi.com: pmk owned process doing -bs Date: Mon, 19 Mar 2001 10:12:11 +0530 (IST) From: Mohana Krishna Penumetcha To: Jeroen Ruigrok/Asmodai Cc: net@freebsd.org Subject: Re: strange arp packets!!! In-Reply-To: <20010316102159.B11527@daemon.ninth-circle.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 16 Mar 2001, Jeroen Ruigrok/Asmodai wrote: > -On [20010316 06:25], Mohana Krishna Penumetcha (pmk@sasi.com) wrote: > >16:41:25.623476 arp who-has 0.0.0.0 tell 10.0.36.130 > >16:41:30.639372 arp who-has 0.0.0.0 tell 10.0.36.130 > >16:41:40.649838 arp who-has 0.0.0.0 tell 10.0.36.130 > >16:41:45.631430 arp who-has 0.0.0.0 tell 10.0.36.130 > >16:41:50.640533 arp who-has 0.0.0.0 tell 10.0.36.130 > >16:42:00.651104 arp who-has 0.0.0.0 tell 10.0.36.130(--> pcs130) > > > >i am little confused what this means, since 0.0.0.0 means "this host"? > > Not necessarily, 0.0.0.0 can also mean default gateway, which is the > more common use nowadays. 0.0.0.0 for `this host' is an old use IIRC. > i should check the code to see under what conditions the 0.0.0.0 is used. > >or is it that, it is meant to update the arp entry corresponding to > >pcs130 on other hosts in the subnet? in this case, it can as well say > >"10.0.36.130" instead of "0.0.0.0". > > I am not sure right now, might be because my head's a little foggy. > > What does arp -a and netstat -rn look like on the FreeBSD box and on the > Linux box? i didn't capture all that data, but i think, it is not very difficult to reproduce the same dump, i will check out for what ip addr, these packets are generated. Thanks, mohan > > -- > Jeroen Ruigrok van der Werven/Asmodai .oUo. asmodai@[wxs.nl|freebsd.org] > Documentation nutter/C-rated Coder BSD: Technical excellence at its best > D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867 > All of us visionaires with a rope around our neck... > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 18 22:10:57 2001 Delivered-To: freebsd-net@freebsd.org Received: from femail1.sdc1.sfba.home.com (femail1.sdc1.sfba.home.com [24.0.95.81]) by hub.freebsd.org (Postfix) with ESMTP id C43C637B718 for ; Sun, 18 Mar 2001 22:10:54 -0800 (PST) (envelope-from justin@mac.com) Received: from lilith ([65.11.111.111]) by femail1.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010319061026.KBMK29860.femail1.sdc1.sfba.home.com@lilith> for ; Sun, 18 Mar 2001 22:10:26 -0800 Date: Sun, 18 Mar 2001 22:14:48 -0800 Content-Type: text/plain; format=flowed; charset=us-ascii X-Mailer: Apple Mail (2.379) From: Justin C.Walker To: net@freebsd.org Mime-Version: 1.0 (Apple Message framework v379) In-Reply-To: Subject: Re: strange arp packets!!! Content-Transfer-Encoding: 7bit Message-Id: <20010319061026.KBMK29860.femail1.sdc1.sfba.home.com@lilith> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sunday, March 18, 2001, at 08:42 PM, Mohana Krishna Penumetcha wrote: > > On Fri, 16 Mar 2001, Jeroen Ruigrok/Asmodai wrote: > >> -On [20010316 06:25], Mohana Krishna Penumetcha (pmk@sasi.com) wrote: >>> 16:41:25.623476 arp who-has 0.0.0.0 tell 10.0.36.130 >>> 16:41:30.639372 arp who-has 0.0.0.0 tell 10.0.36.130 >>> 16:41:40.649838 arp who-has 0.0.0.0 tell 10.0.36.130 >>> 16:41:45.631430 arp who-has 0.0.0.0 tell 10.0.36.130 >>> 16:41:50.640533 arp who-has 0.0.0.0 tell 10.0.36.130 >>> 16:42:00.651104 arp who-has 0.0.0.0 tell 10.0.36.130(--> pcs130) >>> >>> i am little confused what this means, since 0.0.0.0 means "this host"? >> >> Not necessarily, 0.0.0.0 can also mean default gateway, which is the >> more common use nowadays. 0.0.0.0 for `this host' is an old use IIRC. >> > > i should check the code to see under what conditions the 0.0.0.0 is > used. > >>> or is it that, it is meant to update the arp entry corresponding to >>> pcs130 on other hosts in the subnet? in this case, it can as well say >>> "10.0.36.130" instead of "0.0.0.0". >> >> I am not sure right now, might be because my head's a little foggy. >> >> What does arp -a and netstat -rn look like on the FreeBSD box and on >> the >> Linux box? > > i didn't capture all that data, but i think, it is not very difficult > to > reproduce the same dump, i will check out for what ip addr, these > packets > are generated. The "default route" usage is internal-only; I think the only time that this address can trigger anything in the arp code is - assigning that address to an interface (which may inadvertently occur on something like "ifconfig IF up"). - sending or receiving a packet with that address in the IP header, which should only occur for BOOTP/DHCP client startup. Regards, Justin Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | Director of Technology | If you're not confused, Nexsi Corp. | You're not paying attention 1959 Concourse Drive | San Jose, CA 95131 | *-------------------------------------*-------------------------------* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 18 23:31:35 2001 Delivered-To: freebsd-net@freebsd.org Received: from hq1.tyfon.net (hq1.tyfon.net [217.27.162.35]) by hub.freebsd.org (Postfix) with ESMTP id A3ED637B719 for ; Sun, 18 Mar 2001 23:31:33 -0800 (PST) (envelope-from dl@tyfon.net) Received: from localhost (localhost [127.0.0.1]) by hq1.tyfon.net (Postfix) with ESMTP id 1295E1C7C5 for ; Mon, 19 Mar 2001 08:31:27 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by hq1.tyfon.net (Postfix) with ESMTP id 81C9C1C7B6 for ; Mon, 19 Mar 2001 08:31:23 +0100 (CET) Date: Mon, 19 Mar 2001 08:31:23 +0100 (CET) From: Dan Larsson To: Subject: Beowulf ethernet channel bonding on FreeBSD Message-ID: Organization: Tyfon Svenska AB X-NCC-NIC: DL1999-RIPE X-NCC-RegID: se.tyfon MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by hq1.tyfon.net Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org A FreeBSD port of this would be nice: http://www.beowulf.org/software/bonding.html Anyone working on a similar solution? Regards +------ Dan Larsson | Tel: +46 8 550 120 21 Tyfon Svenska AB | Fax: +46 8 550 120 02 GPG and PGP keys | finger dl@hq1.tyfon.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 18 23:52:43 2001 Delivered-To: freebsd-net@freebsd.org Received: from filk.iinet.net.au (syncopation-dns.iinet.net.au [203.59.24.29]) by hub.freebsd.org (Postfix) with SMTP id 1D91A37B719 for ; Sun, 18 Mar 2001 23:52:38 -0800 (PST) (envelope-from julian@elischer.org) Received: (qmail 16384 invoked by uid 666); 19 Mar 2001 07:53:58 -0000 Received: from i074-216.nv.iinet.net.au (HELO elischer.org) (203.59.74.216) by mail.m.iinet.net.au with SMTP; 19 Mar 2001 07:53:58 -0000 Message-ID: <3AB5BA94.222B511C@elischer.org> Date: Sun, 18 Mar 2001 23:51:48 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Dan Larsson Cc: freebsd-net@freebsd.org Subject: Re: Beowulf ethernet channel bonding on FreeBSD References: Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dan Larsson wrote: > > A FreeBSD port of this would be nice: > > http://www.beowulf.org/software/bonding.html > > Anyone working on a similar solution? there are two methods of doing this already. Bill Paul recently asked for testers for a module he wrote that implements a cisco bonding protocol, and you can use the netgraph one-to-many node to achieve similar ends if you have a very simple configuration. see man 4 ng_one2many > > Regards > +------ > Dan Larsson | Tel: +46 8 550 120 21 > Tyfon Svenska AB | Fax: +46 8 550 120 02 > GPG and PGP keys | finger dl@hq1.tyfon.net > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 1:41:26 2001 Delivered-To: freebsd-net@freebsd.org Received: from server.soekris.com (dnai-216-15-61-44.cust.dnai.com [216.15.61.44]) by hub.freebsd.org (Postfix) with ESMTP id DB3E037B718 for ; Mon, 19 Mar 2001 01:41:22 -0800 (PST) (envelope-from soren@soekris.com) Received: from soekris.com ([192.168.1.4]) by server.soekris.com (8.9.2/8.9.2) with ESMTP id BAA07154 for ; Mon, 19 Mar 2001 01:41:34 -0800 (PST) (envelope-from soren@soekris.com) Message-ID: <3AB5D441.BA3C43B1@soekris.com> Date: Mon, 19 Mar 2001 01:41:21 -0800 From: Soren Kristensen Organization: Soekris Engineering X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Moving ethernet cable between cards, ARP problem ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi everybody, I'm doing some testing and want to move one ethernet cable between multiple interfaces in the same box. As soon as I move the cable I get: Mar 19 01:32:22 develop /kernel: arp: 192.168.1.1 is on sis0 but got reply from 00:80:ad:81:fc:d4 on sis1 I have tried to do " arp -d -a" and "route flush" and even tried to reboot, but somehow freebsd keep remembering where it saw the IP for the first time and refuse to change it's mind.... I'm running FreeBSD Release 4.1. It's probably very simple to get FreeBSD to accept the cable move, but could somebody please tell me how ? Thanks Soren Kristensen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 1:52:45 2001 Delivered-To: freebsd-net@freebsd.org Received: from mailhost.mlnet.net (ns5.mlnet.net [194.217.128.21]) by hub.freebsd.org (Postfix) with ESMTP id 1336037B718 for ; Mon, 19 Mar 2001 01:52:42 -0800 (PST) (envelope-from m@uk.com) Received: (from postie@localhost) by mailhost.mlnet.net (8.8.8/8.8.8) id JAA28487; Mon, 19 Mar 2001 09:51:05 GMT Received: from serf.orion.mlnet.net(192.168.191.7) by mailhost via smap (V2.1) id xma028476; Mon, 19 Mar 01 09:50:36 GMT Message-ID: <3AB5D66B.2D87B7D@uk.com> Date: Mon, 19 Mar 2001 09:50:35 +0000 From: Matthew Reply-To: m@uk.com X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Soren Kristensen Cc: freebsd-net@FreeBSD.ORG Subject: Re: Moving ethernet cable between cards, ARP problem ? References: <3AB5D441.BA3C43B1@soekris.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Maybe something to do with IP addresses on interfaces? -M Soren Kristensen wrote: > > Hi everybody, > > I'm doing some testing and want to move one ethernet cable between > multiple interfaces in the same box. > > As soon as I move the cable I get: > > Mar 19 01:32:22 develop /kernel: arp: 192.168.1.1 is on sis0 but > got reply from 00:80:ad:81:fc:d4 on sis1 > > I have tried to do " arp -d -a" and "route flush" and even tried > to reboot, but somehow freebsd keep remembering where it saw the > IP for the first time and refuse to change it's mind.... > > I'm running FreeBSD Release 4.1. > > It's probably very simple to get FreeBSD to accept the cable move, > but could somebody please tell me how ? > > Thanks > > Soren Kristensen > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 9:31:12 2001 Delivered-To: freebsd-net@freebsd.org Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.157]) by hub.freebsd.org (Postfix) with ESMTP id D1F3F37B719 for ; Mon, 19 Mar 2001 09:31:09 -0800 (PST) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.11.1/8.11.1) id f2JHV4V77341 for freebsd-net@FreeBSD.ORG; Mon, 19 Mar 2001 20:31:04 +0300 (MSK) (envelope-from yar) Date: Mon, 19 Mar 2001 20:31:04 +0300 From: Yar Tikhiy To: freebsd-net@FreeBSD.ORG Subject: A few nasty bugs in the networking code Message-ID: <20010319203104.L43447@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi there, Once upon a time I ran into several bugs in the FreeBSD networking code. Being a humble FreeBSD user, I started send-pr and wrote bug reports including detailed descriptions and fixes on all of them, but they still seem to remain unnoticed by the responsible. We are heading to a new release, but the bugs are still there. Could a commiter do me a favor and take a look at the following reports: kern/22176 kern/22177 kern/22178 kern/22179 kern/22181 SY, Yar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 9:32:56 2001 Delivered-To: freebsd-net@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id F266F37B719 for ; Mon, 19 Mar 2001 09:32:53 -0800 (PST) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id SAA85848; Mon, 19 Mar 2001 18:32:45 +0100 (CET) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200103191732.SAA85848@info.iet.unipi.it> Subject: Re: A few nasty bugs in the networking code In-Reply-To: <20010319203104.L43447@comp.chem.msu.su> from Yar Tikhiy at "Mar 19, 2001 08:31:04 pm" To: Yar Tikhiy Date: Mon, 19 Mar 2001 18:32:44 +0100 (CET) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi there, > > Once upon a time I ran into several bugs in the FreeBSD networking > code. Being a humble FreeBSD user, I started send-pr and wrote bug > reports including detailed descriptions and fixes on all of them, > but they still seem to remain unnoticed by the responsible. > We are heading to a new release, but the bugs are still there. > > Could a commiter do me a favor and take a look at the following reports: which are about ??? you know we are better at parsing text strings than numbers... cheers luigi > kern/22176 > kern/22177 > kern/22178 > kern/22179 > kern/22181 > > SY, Yar > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 10: 0:24 2001 Delivered-To: freebsd-net@freebsd.org Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.157]) by hub.freebsd.org (Postfix) with ESMTP id C311937B718 for ; Mon, 19 Mar 2001 10:00:21 -0800 (PST) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.11.1/8.11.1) id f2JHx2m79301; Mon, 19 Mar 2001 20:59:02 +0300 (MSK) (envelope-from yar) Date: Mon, 19 Mar 2001 20:59:02 +0300 From: Yar Tikhiy To: Luigi Rizzo Cc: freebsd-net@FreeBSD.ORG Subject: Re: A few nasty bugs in the networking code Message-ID: <20010319205902.M43447@comp.chem.msu.su> References: <20010319203104.L43447@comp.chem.msu.su> <200103191732.SAA85848@info.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103191732.SAA85848@info.iet.unipi.it>; from luigi@info.iet.unipi.it on Mon, Mar 19, 2001 at 06:32:44PM +0100 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Mar 19, 2001 at 06:32:44PM +0100, Luigi Rizzo wrote: > > > We are heading to a new release, but the bugs are still there. > > > > Could a commiter do me a favor and take a look at the following reports: > > which are about ??? you know we are better at parsing text strings than > numbers... Sorry, I'll explain what the bugs are. > > kern/22176 if_delmulti() (net/if.c) does not notify a corresponding interface driver when a _link-layer_ multicast group is being left. Hence hardware multicast filters won't get reloaded etc. Of course, one may rarely need link-layer mcast groups (but I did). Nevertheless, it's a bug and must be fixed. > > kern/22177 There is a mtod() without a prior m_pullup() in netinet/if_ether.c. The system might be likely to crash sometimes... > > kern/22178 The vlan driver don't update byte/packet counters that it should to. > > kern/22179 The vlan driver mishandles the interface flags. That may lead to Bad Things like crashes sometimes... > > kern/22181 The vlan driver's author got a wrong idea about the struct sockaddr_dl contents when writing the code. It's also a good idea to check the return value of malloc()... SY, Yar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 10: 9:19 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id DA0AF37B719 for ; Mon, 19 Mar 2001 10:09:16 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id NAA94850; Mon, 19 Mar 2001 13:08:32 -0500 (EST) (envelope-from wollman) Date: Mon, 19 Mar 2001 13:08:32 -0500 (EST) From: Garrett Wollman Message-Id: <200103191808.NAA94850@khavrinen.lcs.mit.edu> To: Yar Tikhiy Cc: freebsd-net@FreeBSD.ORG Subject: Re: A few nasty bugs in the networking code In-Reply-To: <20010319205902.M43447@comp.chem.msu.su> References: <20010319203104.L43447@comp.chem.msu.su> <200103191732.SAA85848@info.iet.unipi.it> <20010319205902.M43447@comp.chem.msu.su> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > if_delmulti() (net/if.c) does not notify a corresponding interface > driver when a _link-layer_ multicast group is being left. > There is a mtod() without a prior m_pullup() in netinet/if_ether.c. > The system might be likely to crash sometimes... > The vlan driver don't update byte/packet counters that it should to. > The vlan driver mishandles the interface flags. That may lead to Bad Things > like crashes sometimes... > The vlan driver's author got a wrong idea about the struct sockaddr_dl > contents when writing the code. It's also a good idea to check the return > value of malloc()... I have taken a look at all of these and your suggested fixes appear to be correct in concept. I have not tested any of them, however. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 11: 2:10 2001 Delivered-To: freebsd-net@freebsd.org Received: from server.soekris.com (dnai-216-15-61-44.cust.dnai.com [216.15.61.44]) by hub.freebsd.org (Postfix) with ESMTP id 8BB8437B71A for ; Mon, 19 Mar 2001 11:02:04 -0800 (PST) (envelope-from soren@soekris.com) Received: from soekris.com ([192.168.1.4]) by server.soekris.com (8.9.2/8.9.2) with ESMTP id LAA08114 for ; Mon, 19 Mar 2001 11:02:08 -0800 (PST) (envelope-from soren@soekris.com) Message-ID: <3AB657AA.345BE49C@soekris.com> Date: Mon, 19 Mar 2001 11:02:02 -0800 From: Soren Kristensen Organization: Soekris Engineering X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-net@FreeBSD.ORG Subject: Re: Moving ethernet cable between cards, ARP problem ? References: <3AB5D441.BA3C43B1@soekris.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Just a follow up with more information.... The status do change to active when I move the cable from one interface to another, so there is physical connection. Output from "ifconfig -a": sis0: flags=8843 mtu 1500 inet 192.168.1.20 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::200:24ff:fec0:0%sis0 prefixlen 64 scopeid 0x1 ether 00:00:24:c0:00:00 media: autoselect (100baseTX) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UT P 10baseT/UTP none sis1: flags=8843 mtu 1500 inet 192.168.1.21 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::200:24ff:fec0:1%sis1 prefixlen 64 scopeid 0x2 ether 00:00:24:c0:00:01 media: autoselect (none) status: no carrier supported media: autoselect 100baseTX 100baseTX 10baseT/UT P 10baseT/UTP none sis2: flags=8843 mtu 1500 inet 192.168.1.22 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::200:24ff:fec0:2%sis2 prefixlen 64 scopeid 0x3 ether 00:00:24:c0:00:02 media: autoselect (none) status: no carrier supported media: autoselect 100baseTX 100baseTX 10baseT/UT P 10baseT/UTP none ppp0: flags=8010 mtu 1500 faith0: flags=8000 mtu 1500 gif0: flags=8010 mtu 1280 gif1: flags=8010 mtu 1280 gif2: flags=8010 mtu 1280 gif3: flags=8010 mtu 1280 lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0xa inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 Thanks, Soren Kristensen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 11:21:29 2001 Delivered-To: freebsd-net@freebsd.org Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by hub.freebsd.org (Postfix) with ESMTP id F008237B718 for ; Mon, 19 Mar 2001 11:21:21 -0800 (PST) (envelope-from larse@ISI.EDU) Received: from isi.edu (hbo.isi.edu [128.9.160.75]) by boreas.isi.edu (8.11.2/8.11.2) with ESMTP id f2JJLI525824; Mon, 19 Mar 2001 11:21:18 -0800 (PST) Message-ID: <3AB65C2E.7AB06554@isi.edu> Date: Mon, 19 Mar 2001 11:21:18 -0800 From: Lars Eggert Organization: USC Information Sciences Institute X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en, de MIME-Version: 1.0 To: Soren Kristensen Cc: freebsd-net@freebsd.org Subject: Re: Moving ethernet cable between cards, ARP problem ? References: <3AB5D441.BA3C43B1@soekris.com> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms19E75F96A9639D7DE01ABBE1" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a cryptographically signed message in MIME format. --------------ms19E75F96A9639D7DE01ABBE1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Soren Kristensen wrote: > I have tried to do " arp -d -a" and "route flush" and even tried > to reboot, but somehow freebsd keep remembering where it saw the > IP for the first time and refuse to change it's mind.... Are you doing this on both ends? Flushing the local ARP cache doesn't help you if the remote end still sends to the original MAC address, and you get traffic on the "wrong" interface. -- Lars Eggert Information Sciences Institute http://www.isi.edu/larse/ University of Southern California --------------ms19E75F96A9639D7DE01ABBE1 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 MIIIIwYJKoZIhvcNAQcCoIIIFDCCCBACAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC BfQwggLYMIICQaADAgECAgMDIwUwDQYJKoZIhvcNAQEEBQAwgZQxCzAJBgNVBAYTAlpBMRUw EwYDVQQIEwxXZXN0ZXJuIENhcGUxFDASBgNVBAcTC0R1cmJhbnZpbGxlMQ8wDQYDVQQKEwZU aGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25h bCBGcmVlbWFpbCBSU0EgMTk5OS45LjE2MB4XDTAwMDgyNDIwMzAwOFoXDTAxMDgyNDIwMzAw OFowVDEPMA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYDVQQDEwtMYXJzIEVn Z2VydDEcMBoGCSqGSIb3DQEJARYNbGFyc2VAaXNpLmVkdTCBnzANBgkqhkiG9w0BAQEFAAOB jQAwgYkCgYEAz1yfcNs53rvhuw8gSDvr2+/snP8GduYY7x7WkJdyvcwb4oipNpWYIkMGP214 Zv1KrgvntGaG+jeugAGQt0n64VusgcIzQ6QDRtnMgdQDTAkVSQ2eLRSQka+nAPx6SFKJg79W EEHmgKQBMtZdMBYtYv/mTOcpm7jTJVg+7W6n04UCAwEAAaN3MHUwKgYFK2UBBAEEITAfAgEA MBowGAIBBAQTTDJ1TXlmZkJOVWJOSkpjZFoyczAYBgNVHREEETAPgQ1sYXJzZUBpc2kuZWR1 MAwGA1UdEwEB/wQCMAAwHwYDVR0jBBgwFoAUiKvxYINmVfTkWMdGHcBhvSPXw4wwDQYJKoZI hvcNAQEEBQADgYEAi65fM/jSCaPhRoA9JW5X2FktSFhE5zkIpFVPpv33GWPPNrncsK13HfZm s0B1rNy2vU7UhFI/vsJQgBJyffkLFgMCjp3uRZvBBjGD1q4yjDO5yfMMjquqBpZtRp5op3lT d01faA58ZCB5sxCb0ORSxvXR8tc9DJO0JIpQILa6vIAwggMUMIICfaADAgECAgELMA0GCSqG SIb3DQEBBAUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYD VQQHEwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9D ZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29u YWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0 ZS5jb20wHhcNOTkwOTE2MTQwMTQwWhcNMDEwOTE1MTQwMTQwWjCBlDELMAkGA1UEBhMCWkEx FTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTEUMBIGA1UEBxMLRHVyYmFudmlsbGUxDzANBgNVBAoT BlRoYXd0ZTEdMBsGA1UECxMUQ2VydGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNv bmFsIEZyZWVtYWlsIFJTQSAxOTk5LjkuMTYwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGB ALNpWpfU0BYLerXFXekhnCNyzRJMS/d+z8f7ynIk9EJSrFeV43theheE5/1yOTiUtOrtZaeS Bl694GX2GbuUeXZMPrlocHWEHPQRdAC8BSxPCQMXMcz0QdRyxqZd4ohEsIsuxE3x8NaFPmzz lZR4kX5A6ZzRjRVXjsJz5TDeRvVPAgMBAAGjNzA1MBIGA1UdEwEB/wQIMAYBAf8CAQAwHwYD VR0jBBgwFoAUcknCczTGVfQLdnKBfnf0h+fGsg4wDQYJKoZIhvcNAQEEBQADgYEAa8ZZ6TH6 6bbssQPY33Jy/pFgSOrGVd178GeOxmFw523CpTfYnbcXKFYFi91cdW/GkZDGbGZxE9AQfGuR b4bgITYtwdfqsgmtzy1txoNSm/u7/pyHnfy36XSS5FyXrvx+rMoNb3J6Zyxrc/WG+Z31AG70 HQfOnZ6CYynvkwl+Vd4xggH3MIIB8wIBATCBnDCBlDELMAkGA1UEBhMCWkExFTATBgNVBAgT DFdlc3Rlcm4gQ2FwZTEUMBIGA1UEBxMLRHVyYmFudmlsbGUxDzANBgNVBAoTBlRoYXd0ZTEd MBsGA1UECxMUQ2VydGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZyZWVt YWlsIFJTQSAxOTk5LjkuMTYCAwMjBTAJBgUrDgMCGgUAoIGxMBgGCSqGSIb3DQEJAzELBgkq hkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTAxMDMxOTE5MjExOFowIwYJKoZIhvcNAQkEMRYE FD2393LE8yyYfH+4qX6yRmXV9kTtMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYI KoZIhvcNAwICAgCAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgFAMA0GCCqGSIb3DQMCAgEoMA0G CSqGSIb3DQEBAQUABIGAoSDl8sGSotKkKDvqpmP5E3iOGfcHUIIWSZ7QPD8RWSArjeoLq7fO d1pFKlyzaEDtxSl7pfPowHGLXCCh945MphtXZHJ0r9MXfEeV+AwYpwmlFiuUzqVa9eT3FmIg 8ULR6VOJTsFNBaFgrJe6MGmbmQ0J4C9++THmvDU/84sE1Uk= --------------ms19E75F96A9639D7DE01ABBE1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 11:32:27 2001 Delivered-To: freebsd-net@freebsd.org Received: from server.soekris.com (dnai-216-15-61-44.cust.dnai.com [216.15.61.44]) by hub.freebsd.org (Postfix) with ESMTP id AD1A537B718 for ; Mon, 19 Mar 2001 11:32:24 -0800 (PST) (envelope-from soren@soekris.com) Received: from soekris.com ([192.168.1.4]) by server.soekris.com (8.9.2/8.9.2) with ESMTP id LAA08182; Mon, 19 Mar 2001 11:32:27 -0800 (PST) (envelope-from soren@soekris.com) Message-ID: <3AB65EC5.67F336C7@soekris.com> Date: Mon, 19 Mar 2001 11:32:21 -0800 From: Soren Kristensen Organization: Soekris Engineering X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Lars Eggert Cc: freebsd-net@freebsd.org Subject: Re: Moving ethernet cable between cards, ARP problem ? References: <3AB5D441.BA3C43B1@soekris.com> <3AB65C2E.7AB06554@isi.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Lars, I do flush the arp cache on the other end, a windows 98se box (192.168.1.4). And after pinging the FreeBSD box from the Windows box, the Windows box arp cache is updated to the correct interface. Also, I get the errors during the pings, so the FreeBSD box receives *something* on the sis1 interface.... For info, I start with the cable on the sis0 (192.168.1.20) interface, then move it to the sis1 (192.168.1.21) interface (And when I get it to work, to the sis2 interface....) Regards, Soren Lars Eggert wrote: > > Soren Kristensen wrote: > > I have tried to do " arp -d -a" and "route flush" and even tried > > to reboot, but somehow freebsd keep remembering where it saw the > > IP for the first time and refuse to change it's mind.... > > Are you doing this on both ends? Flushing the local ARP cache doesn't help > you if the remote end still sends to the original MAC address, and you get > traffic on the "wrong" interface. > -- > Lars Eggert Information Sciences Institute > http://www.isi.edu/larse/ University of Southern California To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 11:47:39 2001 Delivered-To: freebsd-net@freebsd.org Received: from altrade.nijmegen.inter.nl.net (altrade.nijmegen.inter.nl.net [193.67.237.6]) by hub.freebsd.org (Postfix) with ESMTP id C31A137B719; Mon, 19 Mar 2001 11:47:32 -0800 (PST) (envelope-from Peter.Blok@inter.NL.net) Received: from ntpc by altrade.nijmegen.inter.nl.net via 1Cust224.tnt6.rtm1.nl.uu.net [213.116.106.224] with SMTP id UAA25344 (8.8.8/1.3); Mon, 19 Mar 2001 20:47:29 +0100 (MET) Reply-To: From: "Peter Blok" To: "'Bill Paul'" , "'Archie Cobbs'" Cc: , Subject: RE: call for testers: port aggregation netgraph module Date: Mon, 19 Mar 2001 20:45:02 +0100 Message-ID: <000001c0b0ad$17b36f00$8a02a8c0@ntpc> 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 CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <20010212025610.F37C937B401@hub.freebsd.org> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Bill, I have tested the port aggregation module on a BayStack 450-12, although I'm not sure the BayStack trunking is compatible with Etherchannel. I'm using a four port Adaptec in my FreeBSD 4.3-BETA system. After some attempts (I have never configured trunking on a BayStack) I had two links up, but without doing anything they went up and down repeatedly. I will continue with it, unless it is clear trunking and EtherChannel are imcompatible. Peter -----Original Message----- From: owner-freebsd-net@FreeBSD.ORG [mailto:owner-freebsd-net@FreeBSD.ORG]On Behalf Of Bill Paul Sent: Monday, February 12, 2001 03:56 To: Archie Cobbs Cc: hackers@FreeBSD.ORG; net@FreeBSD.ORG Subject: Re: call for testers: port aggregation netgraph module > Bill Paul writes: > > http://www.freebsd.org/~wpaul/FEC/4.x/fec.tar.gz > > http://www.freebsd.org/~wpaul/FEC/5.x/fec.tar.gz > > > > This is a call for testers for a netgraph module that can be used to > > aggregate 2 or 4 ethernet interfaces into a single interface. Basically, > > it lets you do things like the following: You know, so far I've gotten close to a dozen replies to this e-mail, but none of contain the one thing I really wanted, namely test results. Look. I said this was a call for *testers*. Not kibitzers, not criticizers, not commenters, not lamers -- *testers*. I want you to try out the code and tell me if it works or not, and if not, describe the bugs so I can fix them. I don't want to hear anything else. If your e-mail concerns any other topic, it will be summarily ignored. Got it people? Good. -Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 12:26:42 2001 Delivered-To: freebsd-net@freebsd.org Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229]) by hub.freebsd.org (Postfix) with ESMTP id 428AC37B71B for ; Mon, 19 Mar 2001 12:26:37 -0800 (PST) (envelope-from jkh@osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.3/8.11.2) with ESMTP id f2JKPZ003884; Mon, 19 Mar 2001 12:25:35 -0800 (PST) (envelope-from jkh@osd.bsdi.com) To: luigi@info.iet.unipi.it Cc: yar@comp.chem.msu.su, freebsd-net@FreeBSD.ORG Subject: Re: A few nasty bugs in the networking code In-Reply-To: <200103191732.SAA85848@info.iet.unipi.it> References: <20010319203104.L43447@comp.chem.msu.su> <200103191732.SAA85848@info.iet.unipi.it> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010319122535V.jkh@osd.bsdi.com> Date: Mon, 19 Mar 2001 12:25:35 -0800 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 10 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Actually, I think quoting PR#s is a more than acceptable way of pointing things out. They're very easy to look up for anyone (and committers get the extra advantage of using query-pr on freefall) and it sure beats wearing one's fingers out by entering the same information over and over again. We're already drowning in information as a species - you should be happy for anything which helps to make things more concise! :-) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 13:41:19 2001 Delivered-To: freebsd-net@freebsd.org Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.157]) by hub.freebsd.org (Postfix) with ESMTP id 2F47337B736 for ; Mon, 19 Mar 2001 13:41:17 -0800 (PST) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.11.1/8.11.1) id f2JLep198681; Tue, 20 Mar 2001 00:40:51 +0300 (MSK) (envelope-from yar) Date: Tue, 20 Mar 2001 00:40:51 +0300 From: Yar Tikhiy To: Garrett Wollman Cc: freebsd-net@FreeBSD.ORG Subject: Re: A few nasty bugs in the networking code Message-ID: <20010320004051.N43447@comp.chem.msu.su> References: <20010319203104.L43447@comp.chem.msu.su> <200103191732.SAA85848@info.iet.unipi.it> <20010319205902.M43447@comp.chem.msu.su> <200103191808.NAA94850@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103191808.NAA94850@khavrinen.lcs.mit.edu>; from wollman@khavrinen.lcs.mit.edu on Mon, Mar 19, 2001 at 01:08:32PM -0500 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Garrett, On Mon, Mar 19, 2001 at 01:08:32PM -0500, Garrett Wollman wrote: > > I have taken a look at all of these and your suggested fixes appear to > be correct in concept. I have not tested any of them, however. As for me, I can see a fixed system work perfectly for months. It was an unofficial Cisco ISL implementation that triggered all the bugs, and after fixing them I got a router that has been up for a couple of months right now and relays 20 to 30 Mbit/sec in the peak hours each weekday. SY, Yar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 16:12:23 2001 Delivered-To: freebsd-net@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id DDB9B37B71E for ; Mon, 19 Mar 2001 16:12:19 -0800 (PST) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id BAA88712; Tue, 20 Mar 2001 01:04:48 +0100 (CET) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200103200004.BAA88712@info.iet.unipi.it> Subject: Re: A few nasty bugs in the networking code In-Reply-To: <20010319122535V.jkh@osd.bsdi.com> from Jordan Hubbard at "Mar 19, 2001 12:25:35 pm" To: Jordan Hubbard Date: Tue, 20 Mar 2001 01:04:48 +0100 (CET) Cc: yar@comp.chem.msu.su, freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Actually, I think quoting PR#s is a more than acceptable way of > pointing things out. They're very easy to look up for anyone (and > committers get the extra advantage of using query-pr on freefall) and IF you have connectivity while you are reading, which is my whole point. The one big advantage of mailing lists over news or web access is that you can download your emails and browse through it offline. > it sure beats wearing one's fingers out by entering the same > information over and over again. only once, actually. Whereas there are ~200 potential readers (committers). In my opinion, if I want some work done, i better try to stimulate/attract the interest of those who have to do the work -- not to mention the advantage of a bit of verbosity when searching through mailing list archives etc. cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone (510) 666 2927 . ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 17:22: 9 2001 Delivered-To: freebsd-net@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 430D837B723 for ; Mon, 19 Mar 2001 17:22:01 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id MAA23728; Tue, 20 Mar 2001 12:21:13 +1100 Date: Tue, 20 Mar 2001 12:20:54 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Luigi Rizzo Cc: Jordan Hubbard , yar@comp.chem.msu.su, freebsd-net@FreeBSD.ORG Subject: Re: A few nasty bugs in the networking code In-Reply-To: <200103200004.BAA88712@info.iet.unipi.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 20 Mar 2001, Luigi Rizzo wrote: > > Actually, I think quoting PR#s is a more than acceptable way of > > pointing things out. They're very easy to look up for anyone (and > > committers get the extra advantage of using query-pr on freefall) and > > IF you have connectivity while you are reading, which is my whole > point. The one big advantage of mailing lists over news or web > access is that you can download your emails and browse through it > offline. You should have saved the original mail about the PRs if you had any interest in them. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 17:39:28 2001 Delivered-To: freebsd-net@freebsd.org Received: from genesis.tao.org.uk (genesis.tao.org.uk [212.135.162.62]) by hub.freebsd.org (Postfix) with ESMTP id 6DD9D37B718 for ; Mon, 19 Mar 2001 17:39:24 -0800 (PST) (envelope-from joe@tao.org.uk) Received: from tao.org.uk (genius.tao.org.uk [212.135.162.50]) by genesis.tao.org.uk (Postfix) with ESMTP id 84FCB4A24; Tue, 20 Mar 2001 01:35:00 +0000 (GMT) Received: by tao.org.uk (Postfix, from userid 100) id 4BD64310F; Tue, 20 Mar 2001 01:35:13 +0000 (GMT) Date: Tue, 20 Mar 2001 01:35:13 +0000 From: Josef Karthauser To: Luigi Rizzo Cc: Jordan Hubbard , yar@comp.chem.msu.su, freebsd-net@FreeBSD.ORG Subject: Re: A few nasty bugs in the networking code Message-ID: <20010320013513.C4282@tao.org.uk> References: <20010319122535V.jkh@osd.bsdi.com> <200103200004.BAA88712@info.iet.unipi.it> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="JWEK1jqKZ6MHAcjA" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103200004.BAA88712@info.iet.unipi.it>; from luigi@info.iet.unipi.it on Tue, Mar 20, 2001 at 01:04:48AM +0100 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --JWEK1jqKZ6MHAcjA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 20, 2001 at 01:04:48AM +0100, Luigi Rizzo wrote: > > Actually, I think quoting PR#s is a more than acceptable way of > > pointing things out. They're very easy to look up for anyone (and > > committers get the extra advantage of using query-pr on freefall) and >=20 > IF you have connectivity while you are reading, which is my whole > point. The one big advantage of mailing lists over news or web > access is that you can download your emails and browse through it > offline. Why not cvsup the gnats distribution? It's only 178mb - you'll always have it local then :) genius% du -s /home/gnats=20 178456 /home/gnats I do it just in case I need access to a PR. It's come in handy having it lying around. Joe --JWEK1jqKZ6MHAcjA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjq2s9AACgkQXVIcjOaxUBYAigCg1SLPuKxf785rF5/Cs9VBzoRN G6YAnR1z8YWDtJFWTLnjfGC4wdicjFJX =zlAW -----END PGP SIGNATURE----- --JWEK1jqKZ6MHAcjA-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 19:47:51 2001 Delivered-To: freebsd-net@freebsd.org Received: from nw128.netaddress.usa.net (nw128.netaddress.usa.net [204.68.24.28]) by hub.freebsd.org (Postfix) with SMTP id 1527037B730 for ; Mon, 19 Mar 2001 19:47:49 -0800 (PST) (envelope-from raprasad@usa.net) Received: (qmail 23455 invoked by uid 60001); 20 Mar 2001 03:47:48 -0000 Message-ID: <20010320034748.23454.qmail@nw128.netaddress.usa.net> Received: from 204.68.24.28 by nw128 for [203.200.20.3] via web-mailer(34FM.0700.16A.01) on Tue Mar 20 03:47:48 GMT 2001 Date: 19 Mar 2001 20:47:48 MST From: ravi prasad To: freebsd-net@FreeBSD.org Subject: Ipv6_forward function. X-Mailer: USANET web-mailer (34FM.0700.16A.01) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear sir, While going thought the module ipv6_input.c i found that the code for ipv6_forward function is missing. It was commented that for now we will discard the packet. In the ipv6_forward function m_free() was callled & t= he m_buf is freed. Kindly mail me if this is implemented some where else or = the present implementation of free BSD kernel does not forward the ipv6 packe= ts. regards ravi prasad. ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=3D= 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 20:48:27 2001 Delivered-To: freebsd-net@freebsd.org Received: from venus.postmark.net (venus.postmark.net [207.244.122.71]) by hub.freebsd.org (Postfix) with SMTP id 11E8E37B723 for ; Mon, 19 Mar 2001 20:48:26 -0800 (PST) (envelope-from vishu_bp@postmark.net) Received: (qmail 20712 invoked by uid 501); 20 Mar 2001 05:50:52 -0000 Message-ID: <20010320055052.20711.qmail@venus.postmark.net> Received: from 203.200.20.3 by www.postmark.net with HTTP; 20 Mar 2001 05:50:52 -0000 Mime-Version: 1.0 From: Vishwanath P To: freebsd-net@freebsd.org Subject: TCP/IP stack Date: Tue, 20 Mar 2001 05:50:52 +0000 Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi , can any one help me with this. how is the tcp/ip stack running.is it a single process? or is it running as multiple processes. pls tell me if i do ps -aef which is the process concerned with the tcp/ip stack implementation. As far as i know inetd daemon has daemons for applications like telnet, ftp etc... But how abt the actual stack where is it ie which is the process? Thanx in advance. Vishwanath P vishu_bp@postmark.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 21:42:23 2001 Delivered-To: freebsd-net@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id E192137B73F for ; Mon, 19 Mar 2001 21:42:20 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2K5dan21832; Mon, 19 Mar 2001 21:39:36 -0800 (PST) Date: Mon, 19 Mar 2001 21:39:36 -0800 From: Alfred Perlstein To: Vishwanath P Cc: freebsd-net@FreeBSD.ORG Subject: Re: TCP/IP stack Message-ID: <20010319213936.F29888@fw.wintelcom.net> References: <20010320055052.20711.qmail@venus.postmark.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010320055052.20711.qmail@venus.postmark.net>; from vishu_bp@postmark.net on Tue, Mar 20, 2001 at 05:50:52AM +0000 X-all-your-base: are belong to us. Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Vishwanath P [010319 20:48] wrote: > Hi , > > can any one help me with this. > how is the tcp/ip stack running.is it a single process? or is it > running as multiple processes. > pls tell me if i do ps -aef which is the process concerned with the > tcp/ip stack implementation. > > As far as i know inetd daemon has daemons for applications like > telnet, ftp etc... But how abt the actual stack where is it ie which > is the process? The stack is run inside the kernel, there's really no seperate process for it. It either runs in user context or interrupt context (usually interrupt), but it only borrows context from the consumer of the stack. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 21:58:56 2001 Delivered-To: freebsd-net@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.prod.itd.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id C157D37B71B for ; Mon, 19 Mar 2001 21:58:50 -0800 (PST) (envelope-from gvirdi@gvirdi.com) Received: from dhgfhcpps5nhe1 (ip49.schiller-park8.il.pub-ip.psi.net [38.31.125.49]) by albatross.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with SMTP id VAA13648 for ; Mon, 19 Mar 2001 21:58:25 -0800 (PST) Message-ID: <001101c0b102$977d8310$050101c0@dhgfhcpps5nhe1> From: "Gurpratap Virdi" To: References: <20010320055052.20711.qmail@venus.postmark.net> <20010319213936.F29888@fw.wintelcom.net> Subject: Debuging kernel crashes Date: Mon, 19 Mar 2001 23:57:03 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I modified the FreeBSD 4.2 kernel and occasionally the kernel crashes. How can I determine the line of code that caused the crash? I tried addr2line with the fault address but that didn't work. Thanks in advance!! Regards, Virdi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 22: 4:40 2001 Delivered-To: freebsd-net@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id BC34837B719 for ; Mon, 19 Mar 2001 22:04:37 -0800 (PST) (envelope-from keichii@peorth.iteration.net) Received: by peorth.iteration.net (Postfix, from userid 1001) id 82B3159283; Tue, 20 Mar 2001 00:04:30 -0600 (CST) Date: Tue, 20 Mar 2001 00:04:30 -0600 From: "Michael C . Wu" To: Julian Elischer Cc: Wes Peters , Nick Rogness , freebsd-net@FreeBSD.ORG, Jeroen Ruigrok/Asmodai Subject: Re: same interface Route Cache Message-ID: <20010320000430.A45830@peorth.iteration.net> Reply-To: "Michael C . Wu" Mail-Followup-To: "Michael C . Wu" , Julian Elischer , Wes Peters , Nick Rogness , freebsd-net@FreeBSD.ORG, Jeroen Ruigrok/Asmodai References: <3AB4E92C.7F668DD9@softweyr.com> <3AB58012.2D7F6A05@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AB58012.2D7F6A05@elischer.org>; from julian@elischer.org on Sun, Mar 18, 2001 at 07:42:10PM -0800 X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Mar 18, 2001 at 07:42:10PM -0800, Julian Elischer scribbled: | Wes Peters wrote: | > It struck me last night that if you want to load-balance between two ISPs, | > you could simply pick a bit in the address and use it to select one or the Buy a Layer >4 switch for your home DSL+cable modem? /me ducks | > other. If you pick your bit appropriately -- I'd go for something in the | > second byte -- you might luck out and get a nearly 50/50 spread. That would | > be no less hackish and a lot easier to maintain. | | exactly what I suggested before, but the return packets will all come back | on a single interface, unless you pass all teh packets that are going out Just a stupid question, what about secure sessions of services that check for IP source and destinations to be the same? -- +-----------------------------------------------------------+ | keichii@iteration.net | keichii@freebsd.org | | http://iteration.net/~keichii | Yes, BSD is a conspiracy. | +-----------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 22: 5:52 2001 Delivered-To: freebsd-net@freebsd.org Received: from coconut.itojun.org (coconut.itojun.org [210.160.95.97]) by hub.freebsd.org (Postfix) with ESMTP id AD63137B71C for ; Mon, 19 Mar 2001 22:05:49 -0800 (PST) (envelope-from itojun@itojun.org) Received: from kiwi.itojun.org (localhost.itojun.org [127.0.0.1]) by coconut.itojun.org (8.9.3+3.2W/3.7W) with ESMTP id PAA15929; Tue, 20 Mar 2001 15:05:26 +0900 (JST) To: ravi prasad Cc: freebsd-net@FreeBSD.org In-reply-to: raprasad's message of 19 Mar 2001 20:47:48 MST. <20010320034748.23454.qmail@nw128.netaddress.usa.net> X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 Subject: Re: Ipv6_forward function. From: itojun@iijlab.net Date: Tue, 20 Mar 2001 15:05:26 +0900 Message-ID: <15927.985068326@coconut.itojun.org> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >While going thought the module ipv6_input.c i found that the code for >ipv6_forward function is missing. It was commented that for now we will >discard the packet. In the ipv6_forward function m_free() was callled & t= >he >m_buf is freed. Kindly mail me if this is implemented some where else or = >the >present implementation of free BSD kernel does not forward the ipv6 packe= >ts. >regards which IPv6 implementation are you looking at? if you look at the latest code (like freebsd 4.2-RELEASE or something), you will find ip6_forward is in sys/netinet6/ip6_forward.c. itojun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 22:17: 6 2001 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id CDFA137B71D for ; Mon, 19 Mar 2001 22:17:03 -0800 (PST) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id WAA77163; Mon, 19 Mar 2001 22:10:18 -0800 (PST) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.1/8.11.1) id f2K69i615676; Mon, 19 Mar 2001 22:09:44 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200103200609.f2K69i615676@arch20m.dellroad.org> Subject: Re: Kernel panic with MPD PPTP In-Reply-To: <41E533716110D511BF0300805FCC206001332B@happy.itsco.com> "from Brent Voltz at Mar 18, 2001 10:28:37 pm" To: Brent Voltz Date: Mon, 19 Mar 2001 22:09:44 -0800 (PST) Cc: "'freebsd-net@freebsd.org'" X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Brent Voltz writes: > I have an ADSL line that uses PPPoE encapsulation. I've been trying to get > a PPTP connection working with FreeBSD 4.2 release on the same box that > connects to the ADSL. > > The process is as follows: > > 1) Bring up PPPoE connection, using either user-space PPP or MPD. This part > works flawlessly using either method. > > 2) Bring up PPTP connection using MPD. > > The result is always the same: Kernel panic in the next 30 seconds. Make sure that you're not trying to route the PPTP packets over the PPTP link itself, which causes an infinite loop. That is, you don't want the peer's "external" IP address (from mpd.links) to be routed via the PPTP point-to-point connection. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 22:49:14 2001 Delivered-To: freebsd-net@freebsd.org Received: from nwcst286.netaddress.usa.net (nwcst286.netaddress.usa.net [204.68.23.31]) by hub.freebsd.org (Postfix) with SMTP id C8B4A37B739 for ; Mon, 19 Mar 2001 22:49:11 -0800 (PST) (envelope-from raprasad@usa.net) Received: (qmail 21558 invoked by uid 60001); 20 Mar 2001 06:49:11 -0000 Message-ID: <20010320064911.21557.qmail@nwcst286.netaddress.usa.net> Received: from 204.68.23.31 by nwcst286 for [203.200.20.3] via web-mailer(34FM.0700.16A.01) on Tue Mar 20 06:49:11 GMT 2001 Date: 19 Mar 2001 23:49:11 MST From: ravi prasad To: freebsd-net@freebsd.org Subject: IP processes X-Mailer: USANET web-mailer (34FM.0700.16A.01) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear Sir, I found that the packets to be sent are queued in a interface queue by th= e ipv6_output function if the interface is busy. My doubt is whether the pa= ckets are sent through the interfaces by separate processes. regards ravi prasad. ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=3D= 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 23:34:13 2001 Delivered-To: freebsd-net@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 7196837B718 for ; Mon, 19 Mar 2001 23:34:11 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2K7XgL24636; Mon, 19 Mar 2001 23:33:42 -0800 (PST) Date: Mon, 19 Mar 2001 23:33:42 -0800 From: Alfred Perlstein To: ravi prasad Cc: freebsd-net@FreeBSD.ORG Subject: Re: IP processes Message-ID: <20010319233342.J29888@fw.wintelcom.net> References: <20010320064911.21557.qmail@nwcst286.netaddress.usa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010320064911.21557.qmail@nwcst286.netaddress.usa.net>; from raprasad@usa.net on Mon, Mar 19, 2001 at 11:49:11PM -0700 X-all-your-base: are belong to us. Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * ravi prasad [010319 22:49] wrote: > Dear Sir, > I found that the packets to be sent are queued in a interface queue by the > ipv6_output function if the interface is busy. My doubt is whether the packets > are sent through the interfaces by separate processes. They are sent later by a timeout routine that drains the queue into the driver. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 19 23:42: 4 2001 Delivered-To: freebsd-net@freebsd.org Received: from altrade.nijmegen.inter.nl.net (altrade.nijmegen.inter.nl.net [193.67.237.6]) by hub.freebsd.org (Postfix) with ESMTP id 920C237B71A for ; Mon, 19 Mar 2001 23:41:56 -0800 (PST) (envelope-from Peter.Blok@inter.NL.net) Received: from ntpc by altrade.nijmegen.inter.nl.net via 1Cust124.tnt7.rtm1.nl.uu.net [213.116.108.124] with SMTP for id IAA20162 (8.8.8/1.3); Tue, 20 Mar 2001 08:41:29 +0100 (MET) Reply-To: From: "Peter Blok" To: Subject: strange problem with ipfilter and 4.3-BETA Date: Tue, 20 Mar 2001 08:39:03 +0100 Message-ID: <000001c0b110$d6c98ce0$8a02a8c0@ntpc> 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 CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, My system is having an internal interface, named sf0 and external sf3. I have cvsup'ed 4.3-BETA as of 16 march and have copied the /usr/src/etc/rc* files to /etc. In rc.network the invocation of ipfilter is now at the beginning to support IPFILTER_DEFAULT_BLOCK. When my system reboots it hangs during mountd. My ipfilter default is pass all. It is broadcasting over the whole portrange 13:16:27.827762 192.168.2.135.2755 > 192.168.2.255.111: udp 100 13:16:27.839821 192.168.2.135.2757 > 192.168.2.255.111: udp 100 13:16:27.856121 192.168.2.135.2759 > 192.168.2.255.111: udp 100 13:16:27.868111 192.168.2.135.2761 > 192.168.2.255.111: udp 100 13:16:27.884544 192.168.2.135.2763 > 192.168.2.255.111: udp 100 13:16:27.896617 192.168.2.135.2765 > 192.168.2.255.111: udp 100 13:16:27.911642 192.168.2.135.2767 > 192.168.2.255.111: udp 100 13:16:27.924667 192.168.2.135.2769 > 192.168.2.255.111: udp 100 13:16:27.943656 192.168.2.135.2771 > 192.168.2.255.111: udp 100 13:16:27.955934 192.168.2.135.2773 > 192.168.2.255.111: udp 100 13:16:27.972206 192.168.2.135.2775 > 192.168.2.255.111: udp 100 13:16:27.984050 192.168.2.135.2777 > 192.168.2.255.111: udp 100 13:16:27.999624 192.168.2.135.2779 > 192.168.2.255.111: udp 100 13:16:28.011726 192.168.2.135.2781 > 192.168.2.255.111: udp 100 13:16:28.028199 192.168.2.135.2783 > 192.168.2.255.111: udp 100 13:16:28.040143 192.168.2.135.2785 > 192.168.2.255.111: udp 100 13:16:28.056600 192.168.2.135.2787 > 192.168.2.255.111: udp 100 My ipf.rules contains pass in quick on lo0 pass out quick on lo0 pass in quick on sf0 pass out quick on sf0 # this part below hasn't been changed. Basically close the interface and open it up bit by bit block in on sf3 all block out on sf3 all pass out quick on sf3 ....... Any clue what is going on here? Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 20 0:28:38 2001 Delivered-To: freebsd-net@freebsd.org Received: from bart.esiee.fr (bart.esiee.fr [147.215.1.20]) by hub.freebsd.org (Postfix) with ESMTP id 8D5DA37B73B for ; Tue, 20 Mar 2001 00:28:35 -0800 (PST) (envelope-from bonnetf@bart.esiee.fr) Received: (from bonnetf@localhost) by bart.esiee.fr (8.11.1/8.11.1) id f2K8SXD26468 for freebsd-net@freebsd.org; Tue, 20 Mar 2001 09:28:33 +0100 (MET) From: Frank Bonnet Message-Id: <200103200828.f2K8SXD26468@bart.esiee.fr> Subject: net boot ? To: freebsd-net@freebsd.org Date: Tue, 20 Mar 2001 9:28:33 MET X-Mailer: Elm [revision: 212.5] Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Is there a way to net boot a brand new PC ( without O.S ) using the bootp/tftp scheme at FreeBSD 4.xx ? as long as the network board is able to boot on LAN TIA -- Frank Bonnet Systemes et Reseaux UNIX Groupe ESIEE Paris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 20 0:32:14 2001 Delivered-To: freebsd-net@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id B877337B743 for ; Tue, 20 Mar 2001 00:32:10 -0800 (PST) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id JAA95440; Tue, 20 Mar 2001 09:31:54 +0100 (CET) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200103200831.JAA95440@info.iet.unipi.it> Subject: Re: net boot ? In-Reply-To: <200103200828.f2K8SXD26468@bart.esiee.fr> from Frank Bonnet at "Mar 20, 2001 09:28:33 am" To: Frank Bonnet Date: Tue, 20 Mar 2001 09:31:54 +0100 (CET) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi > > Is there a way to net boot a brand new PC ( without O.S ) > using the bootp/tftp scheme at FreeBSD 4.xx ? > as long as the network board is able to boot on LAN try one of the latest snapshots of etherboot (should be in the ports) cheers luigi > TIA > -- > Frank Bonnet > Systemes et Reseaux UNIX > Groupe ESIEE Paris > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 20 0:49:31 2001 Delivered-To: freebsd-net@freebsd.org Received: from garm.bart.nl (garm.bart.nl [194.158.170.13]) by hub.freebsd.org (Postfix) with ESMTP id 12FA837B719; Tue, 20 Mar 2001 00:49:27 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.chronias.ninth-circle.org (root@cable.ninth-circle.org [195.38.232.6]) by garm.bart.nl (8.10.1/8.10.1) with ESMTP id f2K8llk51871; Tue, 20 Mar 2001 09:47:47 +0100 (CET) Received: (from asmodai@localhost) by daemon.chronias.ninth-circle.org (8.11.2/8.11.0) id f2K8lbE23892; Tue, 20 Mar 2001 09:47:37 +0100 (CET) (envelope-from asmodai) Date: Tue, 20 Mar 2001 09:47:37 +0100 From: Jeroen Ruigrok/Asmodai To: Gurpratap Virdi Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Debuging kernel crashes Message-ID: <20010320094737.A22505@daemon.ninth-circle.org> Reply-To: freebsd-hackers@FreeBSD.ORG References: <20010320055052.20711.qmail@venus.postmark.net> <20010319213936.F29888@fw.wintelcom.net> <001101c0b102$977d8310$050101c0@dhgfhcpps5nhe1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <001101c0b102$977d8310$050101c0@dhgfhcpps5nhe1>; from gvirdi@gvirdi.com on Mon, Mar 19, 2001 at 11:57:03PM -0600 Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [moved to hackers, since it is more appropriate there than in -net] [net bcc:'d] -On [20010320 07:00], Gurpratap Virdi (gvirdi@gvirdi.com) wrote: >I modified the FreeBSD 4.2 kernel and occasionally the kernel crashes. How >can I determine the line of code that caused the crash? I tried addr2line >with the fault address but that didn't work. Thanks in advance!! Please see http://www.freebsd.org/handbook/kerneldebug.html If you find any problems with that let us know in -doc and we'll fix the docs. -- Jeroen Ruigrok van der Werven/Asmodai .oUo. asmodai@[wxs.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867 Sweet taste of vindication, It turns to ashes in your mouth... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 20 0:50:32 2001 Delivered-To: freebsd-net@freebsd.org Received: from njord.bart.nl (njord.bart.nl [194.158.170.15]) by hub.freebsd.org (Postfix) with ESMTP id A7DAB37B71C for ; Tue, 20 Mar 2001 00:50:28 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.chronias.ninth-circle.org (root@cable.ninth-circle.org [195.38.232.6]) by njord.bart.nl (8.10.1/8.10.1) with ESMTP id f2K8nOs68775; Tue, 20 Mar 2001 09:49:25 +0100 (CET) Received: (from asmodai@localhost) by daemon.chronias.ninth-circle.org (8.11.2/8.11.0) id f2K8nMI23901; Tue, 20 Mar 2001 09:49:22 +0100 (CET) (envelope-from asmodai) Date: Tue, 20 Mar 2001 09:49:22 +0100 From: Jeroen Ruigrok/Asmodai To: Josef Karthauser Cc: Luigi Rizzo , Jordan Hubbard , yar@comp.chem.msu.su, freebsd-net@FreeBSD.ORG Subject: Re: A few nasty bugs in the networking code Message-ID: <20010320094922.B22505@daemon.ninth-circle.org> References: <20010319122535V.jkh@osd.bsdi.com> <200103200004.BAA88712@info.iet.unipi.it> <20010320013513.C4282@tao.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20010320013513.C4282@tao.org.uk>; from joe@tao.org.uk on Tue, Mar 20, 2001 at 01:35:13AM +0000 Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -On [20010320 04:00], Josef Karthauser (joe@tao.org.uk) wrote: [local gnats] >I do it just in case I need access to a PR. It's come in handy having >it lying around. Same here, and that coupled with X and tkgnats, lub it. -- Jeroen Ruigrok van der Werven/Asmodai .oUo. asmodai@[wxs.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867 The only source of knowledge is experience... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 20 0:56:58 2001 Delivered-To: freebsd-net@freebsd.org Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by hub.freebsd.org (Postfix) with ESMTP id 7790B37B718 for ; Tue, 20 Mar 2001 00:56:54 -0800 (PST) (envelope-from rik@cronyx.ru) Received: from cronyx.ru by hanoi.cronyx.ru with ESMTP id LAA01521; (8.9.3/vak/2.1) Tue, 20 Mar 2001 11:55:37 +0300 (MSK) Message-ID: <3AB71CC4.3070302@cronyx.ru> Date: Tue, 20 Mar 2001 12:03:00 +0300 From: Kurakin Roman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: ru, en MIME-Version: 1.0 To: Mike Nowlin Cc: net@FreeBSD.ORG Subject: Re: Multiport serial non PnP ISA card with 4.2 References: <3AB2487D.1020906@cronyx.ru> <20010317022637.A1776@argos.org> <3AB5D84B.4070508@cronyx.ru> <20010319145751.A12099@argos.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike Nowlin wrote: >>> I am using a pair of Digiboard 8-port dumb serial cards (don't remember the >>> actual model number) on a 4.2 machine with the standard shared interrupt >>> code... ISA, no P&P, everything configured by jumpers - works fine. >>> (Connects to the serial consoles on a bunch of machines.) This machine >>> uses no PnP drivers, unless you want to consider the PCI network card >>> PnP... (Netgear FA310-TX) >> >> Do you have message like "master device ... not configured" during boot? >> My cards are working, but I didn't like such messages. >> >> Kurakin Roman > > > If I remember correctly, those messages come up when you try running one of > these cards without specifying the layout of the card (in relation to > master/slave ports) in the kernel config file. My dmesg output looks like: > > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 16550A, console > sio1 at port 0x2f8-0x2ff irq 3 flags 0x80 on isa0 > sio1: type 16550A > sio4 at port 0x100-0x107 flags 0xb05 on isa0 > sio4: type 16450 (multiport) > .... > sio11 at port 0x138-0x13f irq 5 flags 0xb05 on isa0 > sio11: type 16450 (multiport master) > > > ...sio0 and sio1 are the "standard" serial ports, and sio4-11 are the > digiboard ports. The kernel config file section looks like: > > # Serial (COM) ports > # flags 0x10 makes this a serial console > device sio0 at isa? port IO_COM1 flags 0x10 irq 4 > # flags 0x80 makes this the remote debugger port > device sio1 at isa? port IO_COM2 flags 0x80 irq 3 > #device sio2 at isa? disable port IO_COM3 irq 5 > #device sio3 at isa? disable port IO_COM4 irq 9 > > # Digiboard ports > device sio4 at isa? port 0x100 flags 0xb05 > .... > device sio11 at isa? port 0x138 flags 0xb05 irq 5 > > man sio(4) describes how this works, but it's a little hard to decipher in > some places. I have almost same configuration (except I set sio4 as master) and almost the same output from dmesg, except "master device ... not configured" before any messages about each sio port of multiport card. Any way, thank you for information. I would dig deep. > > > mike > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 20 4:10:24 2001 Delivered-To: freebsd-net@freebsd.org Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by hub.freebsd.org (Postfix) with ESMTP id 4EFF237B718 for ; Tue, 20 Mar 2001 04:10:21 -0800 (PST) (envelope-from mike@sentex.net) Received: from chimp.simianscience.com (cage.simianscience.com [64.7.134.1]) by smtp1.sentex.ca (8.11.2/8.11.1) with SMTP id f2KC5wi98126; Tue, 20 Mar 2001 07:05:58 -0500 (EST) (envelope-from mike@sentex.net) From: Mike Tancsa To: yar@comp.chem.msu.su (Yar Tikhiy) Cc: freebsd-net@FreeBSD.ORG Subject: Re: A few nasty bugs in the networking code Date: Tue, 20 Mar 2001 07:05:58 -0500 Message-ID: References: <20010319203104.L43447@comp.chem.msu.su> <200103191732.SAA85848@info.iet.unipi.it> In-Reply-To: X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 19 Mar 2001 13:00:32 -0500, in sentex.lists.freebsd.net you wrote: >On Mon, Mar 19, 2001 at 06:32:44PM +0100, Luigi Rizzo wrote: >>=20 >> > We are heading to a new release, but the bugs are still there. >> >=20 >> > Could a commiter do me a favor and take a look at the following = reports: >>=20 >> which are about ??? you know we are better at parsing text strings = than >> numbers... >=20 >Sorry, I'll explain what the bugs are. Hi, Do any of the VLAN patches fix the arp -d bug with VLAN interfaces ? i.e. arp -d does not work=20 cbackup2# ifconfig vlan0 vlan0: flags=3D8843 mtu 1500 inet 192.168.112.1 netmask 0xffffff00 broadcast 192.168.112.255 ether 00:90:27:25:bf:8b=20 vlan: 3 parent interface: fxp1 cbackup2# arp -na | grep 192 ? (192.168.112.1) at 0:90:27:25:bf:8b permanent ? (192.168.112.2) at 0:50:fc:1e:3b:dc cbackup2# arp -d 192.168.112.2 delete: can't locate 192.168.112.2 cbackup2#=20 I dont have a test server to try them out just yet. ---Mike Mike Tancsa (mdtancsa@sentex.net) =09 Sentex Communications Corp, =09 Waterloo, Ontario, Canada "Given enough time, 100 monkeys on 100 routers=20 could setup a national IP network." (KDW2) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 20 8:25:36 2001 Delivered-To: freebsd-net@freebsd.org Received: from black.purplecat.net (ns1.purplecat.net [209.16.228.148]) by hub.freebsd.org (Postfix) with ESMTP id 2FDCA37B71A for ; Tue, 20 Mar 2001 08:25:28 -0800 (PST) (envelope-from peter@black.purplecat.net) Received: from localhost (peter@localhost) by black.purplecat.net (8.8.8/8.8.8) with ESMTP id LAA13788; Tue, 20 Mar 2001 11:27:47 -0500 (EST) (envelope-from peter@black.purplecat.net) Date: Tue, 20 Mar 2001 11:27:47 -0500 (EST) From: Peter Brezny To: freebsd-net@freebsd.org Cc: Peter Brezny Subject: An interesting static nat problem. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've recently run into an interesting problem. I've got an external machine x.x.x.y running static nat on it's external interface to translate x.x.x.x to 10.30.1.20 on the inside. The 10.30.1.20 machine runs a mail server. This external machine is also configured as a secondary mx for the internal machine. Now you may see my problem. When the internal machine is down, or in this case, i'm waiting for the dns to propigate, things don't do well. Currently when mail is sent to the internal machine, it first lands on the external x.x.x.y machine, which looks at it's dns information and figures out that it's not the best preference mx, and says, no problem, i'll just pass it on to x.x.x.x. However in this case, x.x.x.x is bound locally as a static nat address, and since the packet didn't originate from the outside, it never went through the natd interface and never got translated. The obvious answer is to _not_ use x.x.x.x as a secondary, but now that the whole world knows it is, i'm kind of in trouble. I attempted to forward all traffice heading to x.x.x.x _after_ the divert rule to 10.30.1.20 but it's not working. I used this rule Immediately after the divert rule _before_ any other allow rules, but the packet that originates locally still makes it to the mail server on the local machine. $fwcmd add fwd 10.30.1.20 ip from any to x.x.x.x Should this work? Either way, the fwd rule doesn't seem to be sending the packet on to 10.30.1.20. A ping on the external machine shows a time that's clearly local. Any clarification on this issue, and a solution if out there would be greatly appreciated. TIA pb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 20 9:30:56 2001 Delivered-To: freebsd-net@freebsd.org Received: from sj-msg-core-3.cisco.com (sj-msg-core-3.cisco.com [171.70.157.152]) by hub.freebsd.org (Postfix) with ESMTP id CE2C837B732; Tue, 20 Mar 2001 09:30:48 -0800 (PST) (envelope-from bmah@cisco.com) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-3.cisco.com (8.9.3/8.9.1) with ESMTP id JAA12575; Tue, 20 Mar 2001 09:29:34 -0800 (PST) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.3/8.11.1) id f2KHUlo11577; Tue, 20 Mar 2001 09:30:47 -0800 (PST) (envelope-from bmah) Message-Id: <200103201730.f2KHUlo11577@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.3.1 01/19/2001 with nmh-1.0.4 To: joe@freebsd.org Cc: bmah@freebsd.org, freebsd-net@freebsd.org Subject: netstat(1) bug in per-address packet counts? From: bmah@freebsd.org (Bruce A. Mah) Reply-To: bmah@freebsd.org 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_940605221P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Tue, 20 Mar 2001 09:30:47 -0800 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --==_Exmh_940605221P Content-Type: text/plain; charset=us-ascii Hi Joe-- I was playing around with netstat(1) on a recent RELENG_4 machine, and noticed something odd. Apparently, the input packet counter for the IPv6 loopback address never gets incremented (even after some pings, the input packet count on lo0 is still 0): bmah-freebsd-0:netstat% ping6 ::1 PING6(56=40+8+8 bytes) ::1 --> ::1 16 bytes from ::1, icmp_seq=0 hlim=64 time=0.276 ms 16 bytes from ::1, icmp_seq=1 hlim=64 time=0.242 ms 16 bytes from ::1, icmp_seq=2 hlim=64 time=0.239 ms 16 bytes from ::1, icmp_seq=3 hlim=64 time=0.207 ms 16 bytes from ::1, icmp_seq=4 hlim=64 time=0.216 ms ^C --- ::1 ping6 statistics --- 5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max = 0.207/0.236/0.276 ms bmah-freebsd-0:netstat% netstat -in Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll fxp0 1500 00:d0:b7:5a:f1:6f 153964 0 133432 0 0 fxp0 1500 171.70.84/23 171.70.84.42 312026 - 322155 - - fxp0 1500 fe80:1::2d0 fe80:1::2d0:b7ff: 0 - 0 - - gif0* 1280 0 0 0 0 0 lo0 16384 213161 0 213161 0 0 lo0 16384 fe80:3::1/6 fe80:3::1 0 - 0 - - lo0 16384 ::1/128 ::1 0 - 13119 - - lo0 16384 127 127.0.0.1 11295 - 11295 - - ppp0* 1500 0 0 0 0 0 stf0* 1280 0 0 0 0 0 bmah-freebsd-0:netstat% uname -a FreeBSD bmah-freebsd-0.cisco.com 4.3-BETA FreeBSD 4.3-BETA #2: Mon Mar 19 15:16:43 PST 2001 root@bmah-freebsd-0.cisco.com:/usr/obj/usr/src/sys/NIMITZ i386 Is it just me? :-) Thanks, Bruce. --==_Exmh_940605221P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE6t5PH2MoxcVugUsMRAj/5AKDuhlweGN6KWjRiWxoqndFxKB24SQCfdtiz p71A4nacB3dVEsk1UQ56kDU= =RzLg -----END PGP SIGNATURE----- --==_Exmh_940605221P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 20 10:46:53 2001 Delivered-To: freebsd-net@freebsd.org Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.157]) by hub.freebsd.org (Postfix) with ESMTP id 6D59537B71A for ; Tue, 20 Mar 2001 10:46:48 -0800 (PST) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.11.1/8.11.1) id f2KIONt12595; Tue, 20 Mar 2001 21:24:23 +0300 (MSK) (envelope-from yar) Date: Tue, 20 Mar 2001 21:24:23 +0300 From: Yar Tikhiy To: Mike Tancsa Cc: freebsd-net@FreeBSD.ORG Subject: Re: A few nasty bugs in the networking code Message-ID: <20010320212422.Q58464@comp.chem.msu.su> References: <20010319203104.L43447@comp.chem.msu.su> <200103191732.SAA85848@info.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mike@sentex.net on Tue, Mar 20, 2001 at 07:05:58AM -0500 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Mar 20, 2001 at 07:05:58AM -0500, Mike Tancsa wrote: > > Do any of the VLAN patches fix the arp -d bug with VLAN interfaces ? > > i.e. arp -d does not work > > cbackup2# ifconfig vlan0 > vlan0: flags=8843 mtu 1500 > inet 192.168.112.1 netmask 0xffffff00 broadcast 192.168.112.255 > ether 00:90:27:25:bf:8b > vlan: 3 parent interface: fxp1 > cbackup2# arp -na | grep 192 > ? (192.168.112.1) at 0:90:27:25:bf:8b permanent > ? (192.168.112.2) at 0:50:fc:1e:3b:dc > cbackup2# arp -d 192.168.112.2 > delete: can't locate 192.168.112.2 That bug has to do with /usr/sbin/arp skipping ARP table entries, which interfaces aren't of one of the following types: IFT_ETHER, IFT_FDDI, IFT_ISO88023, IFT_ISO88024, IFT_ISO88025. The type of the vlan interface is IFT_8021_VLAN (that is defined to be equivalent of IFT_PROPVIRTUAL now), so /usr/sbin/arp just doesn't ``see'' its entries. Isn't it better to assign the IFT_ETHER type to the vlan interface? There might be other places in the code where vlans would behave unexpectedly because of their type... SY, Yar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 20 12:10:17 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 8AA2C37B720 for ; Tue, 20 Mar 2001 12:10:14 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id PAA10260; Tue, 20 Mar 2001 15:09:59 -0500 (EST) (envelope-from wollman) Date: Tue, 20 Mar 2001 15:09:59 -0500 (EST) From: Garrett Wollman Message-Id: <200103202009.PAA10260@khavrinen.lcs.mit.edu> To: Yar Tikhiy Cc: freebsd-net@FreeBSD.ORG Subject: Re: A few nasty bugs in the networking code In-Reply-To: <20010320212422.Q58464@comp.chem.msu.su> References: <20010319203104.L43447@comp.chem.msu.su> <200103191732.SAA85848@info.iet.unipi.it> <20010320212422.Q58464@comp.chem.msu.su> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > Isn't it better to assign the IFT_ETHER type to the vlan interface? > There might be other places in the code where vlans would behave > unexpectedly because of their type... No, because SNMP and potentially other network management utilities need to know about it. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 20 14:22:41 2001 Delivered-To: freebsd-net@freebsd.org Received: from herbelot.dyndns.org (s014.dhcp212-24.cybercable.fr [212.198.24.14]) by hub.freebsd.org (Postfix) with ESMTP id 06DCE37B71D for ; Tue, 20 Mar 2001 14:22:36 -0800 (PST) (envelope-from thierry@herbelot.com) Received: from herbelot.com (multi.herbelot.nom [192.168.1.2]) by herbelot.dyndns.org (8.9.3/8.9.3) with ESMTP id XAA63345; Tue, 20 Mar 2001 23:22:32 +0100 (CET) (envelope-from thierry@herbelot.com) Message-ID: <3AB7D828.9FEE73C2@herbelot.com> Date: Tue, 20 Mar 2001 23:22:32 +0100 From: Thierry Herbelot X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Frank Bonnet Cc: freebsd-net@FreeBSD.ORG Subject: Re: net boot ? References: <200103200831.JAA95440@info.iet.unipi.it> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Luigi Rizzo wrote: > > > Hi > > > > Is there a way to net boot a brand new PC ( without O.S ) > > using the bootp/tftp scheme at FreeBSD 4.xx ? > > as long as the network board is able to boot on LAN > > try one of the latest snapshots of etherboot (should be > in the ports) > > cheers > luigi If the PC is really recent, it may also have a PXE extension to its BIOS, which can be used to boot the PC. there is not much documentation , but I gave a list : > you can read a note by Alfred Perlstein on > , the manpage for pxeboot, > the code in rc.diskless{1,2}, the configuration of the boot server with > dhcp and tftp/nfs (you may have to tweak /etc/fstab in order to mount a > root partition which was not used to load /kernel ?) -- Thierry Herbelot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 20 14:40: 5 2001 Delivered-To: freebsd-net@freebsd.org Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by hub.freebsd.org (Postfix) with ESMTP id 5BA6437B71D for ; Tue, 20 Mar 2001 14:40:00 -0800 (PST) (envelope-from mike@sentex.net) Received: from chimp.simianscience.com (cage.simianscience.com [64.7.134.1]) by smtp1.sentex.ca (8.11.2/8.11.1) with SMTP id f2KMdm318916; Tue, 20 Mar 2001 17:39:48 -0500 (EST) (envelope-from mike@sentex.net) From: Mike Tancsa To: wollman@khavrinen.lcs.mit.edu (Garrett Wollman) Cc: freebsd-net@freebsd.org Subject: Re: A few nasty bugs in the networking code Date: Tue, 20 Mar 2001 17:39:47 -0500 Message-ID: References: <20010319203104.L43447@comp.chem.msu.su> <200103191732.SAA85848@info.iet.unipi.it> <20010320212422.Q58464@comp.chem.msu.su> In-Reply-To: X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 20 Mar 2001 15:10:25 -0500, in sentex.lists.freebsd.net you wrote: >< = said: > >> Isn't it better to assign the IFT_ETHER type to the vlan interface? >> There might be other places in the code where vlans would behave >> unexpectedly because of their type... > >No, because SNMP and potentially other network management utilities >need to know about it. Is there a work around for the arp -d issue then ? ---Mike Mike Tancsa (mdtancsa@sentex.net) =09 Sentex Communications Corp, =09 Waterloo, Ontario, Canada "Given enough time, 100 monkeys on 100 routers=20 could setup a national IP network." (KDW2) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 20 19:59: 7 2001 Delivered-To: freebsd-net@freebsd.org Received: from homer.softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id 65AC937B724 for ; Tue, 20 Mar 2001 19:59:03 -0800 (PST) (envelope-from wes@softweyr.com) Received: from [127.0.0.1] (helo=softweyr.com ident=7d44529da244e70d0e23d799a5d28d1f) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 14fRvG-0000Aa-00; Tue, 20 Mar 2001 12:36:02 -0700 Message-ID: <3AB7B122.EA8E8690@softweyr.com> Date: Tue, 20 Mar 2001 12:36:02 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: ravi prasad Cc: freebsd-net@FreeBSD.org Subject: Re: Ipv6_forward function. References: <20010320034748.23454.qmail@nw128.netaddress.usa.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ravi prasad wrote: > > Dear sir, > While going thought the module ipv6_input.c i found that the code for > ipv6_forward function is missing. It was commented that for now we will > discard the packet. In the ipv6_forward function m_free() was callled & the > m_buf is freed. Kindly mail me if this is implemented some where else or the > present implementation of free BSD kernel does not forward the ipv6 packets. > regards What version of FreeBS are you looking at? On mine, which is a few days old 4.3-BETA, ip6_forward is defined in sys/netinet6/ip6_forward.c. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 20 19:59:15 2001 Delivered-To: freebsd-net@freebsd.org Received: from homer.softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id 9861D37B724 for ; Tue, 20 Mar 2001 19:59:12 -0800 (PST) (envelope-from wes@softweyr.com) Received: from [127.0.0.1] (helo=softweyr.com ident=4d67f0708740badf9128d705103fa9db) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 14fRr4-0000AM-00; Tue, 20 Mar 2001 12:31:42 -0700 Message-ID: <3AB7B01E.B601D8F5@softweyr.com> Date: Tue, 20 Mar 2001 12:31:42 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Vishwanath P Cc: freebsd-net@freebsd.org Subject: Re: TCP/IP stack References: <20010320055052.20711.qmail@venus.postmark.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Vishwanath P wrote: > > Hi , > > can any one help me with this. > how is the tcp/ip stack running.is it a single process? or is it > running as multiple processes. > pls tell me if i do ps -aef which is the process concerned with the > tcp/ip stack implementation. > > As far as i know inetd daemon has daemons for applications like > telnet, ftp etc... But how abt the actual stack where is it ie which > is the process? The answer is "all over the place." Some parts of TCP/IP run in interrupt context, some run in the general kernel context, and some run in kernel context serving on behalf of a process. There is no central network task or process, like in VxWorks. A more detailed discussion of the exact contexts at each point can be found in "TCP/IP Illustrated, Volume 2: Implementation" by W. Richard Stevens, or in "The Design and Implementation of the 4.4BSD Operating System" by McKusick et al. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 20 21:49:55 2001 Delivered-To: freebsd-net@freebsd.org Received: from cube.gelatinous.com (cube.gelatinous.com [207.82.194.150]) by hub.freebsd.org (Postfix) with SMTP id 369DB37B718 for ; Tue, 20 Mar 2001 21:49:54 -0800 (PST) (envelope-from danh@gelatinous.com) Received: (qmail 65539 invoked by uid 1005); 21 Mar 2001 05:49:53 -0000 Date: 21 Mar 2001 05:49:53 -0000 Message-ID: <20010321054953.65538.qmail@cube.gelatinous.com> From: danh@gelatinous.com To: freebsd-net@freebsd.org Subject: dhcpd question Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have dhcp-2.0.5 running on freebsd 4.2, I have read the documentation and numerous sample configurations, I am not sure if it is possible to do what I wish, I wish for a machine to automatically grab an ip address reserved for it, but only by providing its name. so for instance in my current configuration I say: host criadillas { hardware ethernet 00:a0:cc:3b:21:3d; fixed-address 10.10.32.236; } I would like to just be able to say "my host is criadillas" instead of having to provide a mac address. Is this possible? thanks for any help. -dan h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 3:38:58 2001 Delivered-To: freebsd-net@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id E40BA37B71B; Wed, 21 Mar 2001 03:38:37 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f2LBaBJ64832; Wed, 21 Mar 2001 13:36:11 +0200 (EET) (envelope-from ru) Date: Wed, 21 Mar 2001 13:36:11 +0200 From: Ruslan Ermilov To: Garrett Wollman Cc: net@FreeBSD.org Subject: Indirect routes with indirect gateways, bugfix Message-ID: <20010321133611.A62997@sunbay.com> Mail-Followup-To: Garrett Wollman , net@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi! The routing code (bogusly?) allows to add an indirect route with also indirect gateway. This results in some nasty bugs: : Script started on Wed Mar 21 13:17:47 2001 : : freebsd# netstat -rn : Routing tables : : Internet: : Destination Gateway Flags Refs Use Netif Expire : 127.0.0.1 127.0.0.1 UH 0 0 lo0 : 192.168.1 link#1 UC 0 0 rl0 => : : freebsd# route add -net 10 1.2.3.4 : route: writing to routing socket: Network is unreachable : add net 10: gateway 1.2.3.4: Network is unreachable : : freebsd# route add default 192.168.1.1 : add net default: gateway 192.168.1.1 : : freebsd# route add -net 10 1.2.3.4 : add net 10: gateway 1.2.3.4 : : freebsd# ping -c1 10.0.0.1 : PING 10.0.0.1 (10.0.0.1): 56 data bytes : : --- 10.0.0.1 ping statistics --- : 1 packets transmitted, 0 packets received, 100% packet loss : : freebsd# dmesg | tail -2 : arplookup 1.2.3.4 failed: host is not on local network : arpresolve: can't allocate llinfo for 1.2.3.4rt : freebsd# : : Script done on Wed Mar 21 13:19:00 2001 I have searched the CSRG SCCS logs, and found that the relevant code was added in route.c, version 7.22 (well, 7.22 is actually a part of 7.23 that went into Net/2 release). I have marked the relevant text from the commit log with circumflexes: CSRG> D 7.23 91/06/27 18:52:33 sklower 69 68 00059/00029/00452 CSRG> mostly changes to merge arp and routing tables; save space by CSRG> separately allocated dst and gateway sockaddrs from rest of rtentry; CSRG> also have routing layer look up route to gateway and cache it when ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ CSRG> installing RTF_GATEWAY type routes. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ CSRG> CSRG> D 7.22 91/06/27 18:48:09 sklower 68 66 00016/00002/00465 CSRG> fixes from following version for net2 release CSRG> CSRG> SCCS/s.route.c: 7.21 vs. 7.22 CSRG> --- /tmp/get.860.7.21 Mon Mar 19 18:46:00 2001 CSRG> +++ /tmp/get.860.7.22 Mon Mar 19 18:46:00 2001 CSRG> @@ -1,5 +1,5 @@ CSRG> /* CSRG> - * Copyright (c) 1980, 1986 Regents of the University of California. CSRG> + * Copyright (c) 1980, 1986, 1991 Regents of the University of California. CSRG> * All rights reserved. CSRG> * CSRG> * %sccs.include.redist.c% CSRG> @@ -275,7 +275,7 @@ CSRG> int flags; CSRG> struct sockaddr *dst, *gateway; CSRG> { CSRG> - struct ifaddr *ifa; CSRG> + register struct ifaddr *ifa; CSRG> if ((flags & RTF_GATEWAY) == 0) { CSRG> /* CSRG> * If we are adding a route to an interface, CSRG> @@ -299,6 +299,20 @@ CSRG> } CSRG> if (ifa == 0) CSRG> ifa = ifa_ifwithnet(gateway); CSRG> + if (ifa == 0) { CSRG> + struct rtentry *rt = rtalloc1(dst, 0); CSRG> + if (rt == 0) CSRG> + return (0); CSRG> + rt->rt_refcnt--; CSRG> + if ((ifa = rt->rt_ifa) == 0) CSRG> + return (0); CSRG> + } CSRG> + if (ifa->ifa_addr->sa_family != dst->sa_family) { CSRG> + struct ifaddr *oifa = ifa, *ifaof_ifpforaddr(); CSRG> + ifa = ifaof_ifpforaddr(dst, ifa->ifa_ifp); CSRG> + if (ifa == 0) CSRG> + ifa = oifa; CSRG> + } CSRG> return (ifa); CSRG> } Unless someone has a good motivation for not doing this, I am going to commit the attached patch that disallows indirect routes with indirect gateways. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=p Index: route.c =================================================================== RCS file: /home/ncvs/src/sys/net/route.c,v retrieving revision 1.61 diff -u -p -7 -r1.61 route.c --- route.c 2001/03/15 14:52:11 1.61 +++ route.c 2001/03/19 16:45:00 @@ -420,28 +420,30 @@ ifa_ifwithroute(flags, dst, gateway) * or host, the gateway may still be on the * other end of a pt to pt link. */ ifa = ifa_ifwithdstaddr(gateway); } if (ifa == 0) ifa = ifa_ifwithnet(gateway); +#if 0 if (ifa == 0) { struct rtentry *rt = rtalloc1(dst, 0, 0UL); if (rt == 0) return (0); rt->rt_refcnt--; if ((ifa = rt->rt_ifa) == 0) return (0); } if (ifa->ifa_addr->sa_family != dst->sa_family) { struct ifaddr *oifa = ifa; ifa = ifaof_ifpforaddr(dst, ifa->ifa_ifp); if (ifa == 0) ifa = oifa; } +#endif return (ifa); } #define ROUNDUP(a) (a>0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long)) static int rt_fixdelete __P((struct radix_node *, void *)); static int rt_fixchange __P((struct radix_node *, void *)); --GvXjxJ+pjyke8COw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 5:35:53 2001 Delivered-To: freebsd-net@freebsd.org Received: from hq1.tyfon.net (hq1.tyfon.net [217.27.162.35]) by hub.freebsd.org (Postfix) with ESMTP id C8B5437B719 for ; Wed, 21 Mar 2001 05:35:50 -0800 (PST) (envelope-from dl@tyfon.net) Received: from localhost (localhost [127.0.0.1]) by hq1.tyfon.net (Postfix) with ESMTP id 654601C7BF for ; Wed, 21 Mar 2001 14:31:54 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by hq1.tyfon.net (Postfix) with ESMTP id EDF9E1C7B6 for ; Wed, 21 Mar 2001 14:31:50 +0100 (CET) Date: Wed, 21 Mar 2001 14:31:50 +0100 (CET) From: Dan Larsson To: Subject: mpd-netgraph error: 'Too many bundles!' Message-ID: Organization: Tyfon Svenska AB X-NCC-NIC: DL1999-RIPE X-NCC-RegID: se.tyfon MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by hq1.tyfon.net Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Got this in my mpd logfile while trying to setup 32 pptp links: Mar 21 15:30:27 pptpbox mpd: [pptp11] too many bundles! (increase MAX_BUNDS) Mar 21 15:30:27 pptpbox mpd: [pptp12] too many bundles! (increase MAX_BUNDS) Mar 21 15:30:27 pptpbox mpd: [pptp13] too many bundles! (increase MAX_BUNDS) Mar 21 15:30:27 pptpbox mpd: [pptp14] too many bundles! (increase MAX_BUNDS) Mar 21 15:30:27 pptpbox mpd: [pptp15] too many bundles! (increase MAX_BUNDS) Mar 21 15:30:27 pptpbox mpd: [pptp16] too many bundles! (increase MAX_BUNDS) Mar 21 15:30:27 pptpbox mpd: [pptp17] too many bundles! (increase MAX_BUNDS) Mar 21 15:30:27 pptpbox mpd: [pptp18] too many bundles! (increase MAX_BUNDS) Mar 21 15:30:27 pptpbox mpd: [pptp19] too many bundles! (increase MAX_BUNDS) Mar 21 15:30:27 pptpbox mpd: [pptp20] too many bundles! (increase MAX_BUNDS) Mar 21 15:30:27 pptpbox mpd: [pptp21] too many bundles! (increase MAX_BUNDS) Mar 21 15:30:27 pptpbox mpd: [pptp22] too many bundles! (increase MAX_BUNDS) Is this a compile time setting? Regards +------ Dan Larsson | Tel: +46 8 550 120 21 Tyfon Svenska AB | Fax: +46 8 550 120 02 GPG and PGP keys | finger dl@hq1.tyfon.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 5:52: 6 2001 Delivered-To: freebsd-net@freebsd.org Received: from ady.warpnet.ro (ady.warpnet.ro [194.102.224.8]) by hub.freebsd.org (Postfix) with ESMTP id 8BAEB37B719; Wed, 21 Mar 2001 05:51:40 -0800 (PST) (envelope-from ady@warpnet.ro) Received: from localhost (ady@localhost) by ady.warpnet.ro (8.9.3/8.9.3) with ESMTP id PAA79098; Wed, 21 Mar 2001 15:57:59 +0200 (EET) (envelope-from ady@warpnet.ro) Date: Wed, 21 Mar 2001 15:57:59 +0200 (EET) From: Adrian Penisoara To: Bosko Milekic Cc: freebsd-stable@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: Kernel crush due to frag attack In-Reply-To: <00d001c09f8d$8ee4d360$becbca18@jehovah> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Coming back to you with a reply I should have given earlier. See below. In the mean time I have applied one of Ruslan Emirov's patches and had no panics ever since. Clearly not a hardware issue but faulty code :) ... I also see that there has been applied a patch (by jkh) in the CVS tree for this matter, I hope it solves the problem, I haven't checked yet. On Sun, 25 Feb 2001, Bosko Milekic wrote: > > Adrian Penisoara wrote: > > > Hi, > > > > As we are facing a heavy fragments attack (40-60byte packets in a > > ~ 1000 pkts/sec flow) I see some sporadic panics. Kernel/world is > > 4.2-STABLE as of 18 Jan 2001 -- it's a production machine and I > hadn't yet > > the chance for another update; if it's been fixed in the mean time I > would > > be glad to hear it... > > > > I have attached a gdb trace and a snip of a tcpdump log. When I > rebuilt > > the kernel with debug options it seemed to crush less often. I > remember > > that at the time of this panic I had an ipfw rule to deny IP > fragments. > > This is one of those "odd" faults I've seen in -STABLE sometimes. > Thanks to good debugging information you've provided, to be noted: > > #16 0xc014de98 in m_copym (m=0xc07e7c00, off0=0, len=40, wait=1) > at ../../kern/uipc_mbuf.c:621 > 621 n->m_pkthdr.len -= off0; > (kgdb) list > 616 if (n == 0) > 617 goto nospace; > 618 if (copyhdr) { > 619 M_COPY_PKTHDR(n, m); > 620 if (len == M_COPYALL) > 621 n->m_pkthdr.len -= off0; <-- fault happens here (XXX) > 622 else > 623 n->m_pkthdr.len = len; > 624 copyhdr = 0; > 625 } > (kgdb) print n > $1 = (struct mbuf *) 0x661c20 > (kgdb) print *n > cannot read proc at 0 > (kgdb) print m > $2 = (struct mbuf *) 0xc07e7c00 > > Where the fault happens (XXX), the possible problem is that the mbuf > pointer n is bad, and as printed from the debugger, it does appear to > be bad. However, there are two things to note: > > 1. the fault virtual address displayed in the trap message: > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x89c0c800 > [...] > > is different from the one printed in your analysis (even though > 0x89c0c800 seems bogus as well, although it is at a correct boundry). > > 2. Nothing bad happens in M_COPY_PKTHDR() which dereferences an > equivalent pointer. > > Something seriously evil is happening here and, unfortunately, I have > no idea what. > > Does this only happen on this one machine? Or is it reproducable on > several different machines? I used to stress test -STABLE for mbuf > starvation and never stumbled upon one of these `spontaneous pointer > deaths' myself. Although I have seen other weird problems reported by > other people, but only in RELENG_3. I see this exhibited so far only on our server (other machines don't get the fragments as they are dropped on entry in our gateway). > > If you cannot reproduce it on any other machines, I would start > looking at possibly bad hardware... unless someone else sees something > I'm not. As I said, ever since I applied Ruslan Emirov's patch the panics didn't exhibit anymore. RGDS, Ady (@warpnet.ro) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 5:54:54 2001 Delivered-To: freebsd-net@freebsd.org Received: from hq1.tyfon.net (hq1.tyfon.net [217.27.162.35]) by hub.freebsd.org (Postfix) with ESMTP id 1857037B71E for ; Wed, 21 Mar 2001 05:54:51 -0800 (PST) (envelope-from dl@tyfon.net) Received: from localhost (localhost [127.0.0.1]) by hq1.tyfon.net (Postfix) with ESMTP id 008831C7DB for ; Wed, 21 Mar 2001 14:34:16 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by hq1.tyfon.net (Postfix) with ESMTP id 6BA5C1C7B6 for ; Wed, 21 Mar 2001 14:34:12 +0100 (CET) Date: Wed, 21 Mar 2001 14:34:12 +0100 (CET) From: Dan Larsson To: Subject: mpd-netgraph: logfile parser? Message-ID: Organization: Tyfon Svenska AB X-NCC-NIC: DL1999-RIPE X-NCC-RegID: se.tyfon MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by hq1.tyfon.net Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Has anyone tried to create a logparser/statistics reporter from the mpd-netgraph (pptp) logfile output? Regards +------ Dan Larsson | Tel: +46 8 550 120 21 Tyfon Svenska AB | Fax: +46 8 550 120 02 GPG and PGP keys | finger dl@hq1.tyfon.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 8:19: 7 2001 Delivered-To: freebsd-net@freebsd.org Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.157]) by hub.freebsd.org (Postfix) with ESMTP id D6DEF37B73C for ; Wed, 21 Mar 2001 08:19:03 -0800 (PST) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.11.1/8.11.1) id f2LGI8g31190; Wed, 21 Mar 2001 19:18:08 +0300 (MSK) (envelope-from yar) Date: Wed, 21 Mar 2001 19:18:08 +0300 From: Yar Tikhiy To: Garrett Wollman Cc: freebsd-net@FreeBSD.ORG Subject: Re: A few nasty bugs in the networking code Message-ID: <20010321191808.A30699@comp.chem.msu.su> References: <20010319203104.L43447@comp.chem.msu.su> <200103191732.SAA85848@info.iet.unipi.it> <20010320212422.Q58464@comp.chem.msu.su> <200103202009.PAA10260@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103202009.PAA10260@khavrinen.lcs.mit.edu>; from wollman@khavrinen.lcs.mit.edu on Tue, Mar 20, 2001 at 03:09:59PM -0500 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Mar 20, 2001 at 03:09:59PM -0500, Garrett Wollman wrote: > < said: > > > Isn't it better to assign the IFT_ETHER type to the vlan interface? > > There might be other places in the code where vlans would behave > > unexpectedly because of their type... > > No, because SNMP and potentially other network management utilities > need to know about it. I see. Thus a separate type is needed for the vlan interface, and /usr/sbin/arp should be modified to comprehend the new arp-capable interface type, shouldn't it? SY, Yar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 9:44: 0 2001 Delivered-To: freebsd-net@freebsd.org Received: from homer.softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id 5FD1637B719; Wed, 21 Mar 2001 09:43:52 -0800 (PST) (envelope-from wes@softweyr.com) Received: from [127.0.0.1] (helo=softweyr.com ident=bc8ebe9722aec4a835b4a4aa3e68a996) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 14fmcM-0000fz-00; Wed, 21 Mar 2001 10:41:54 -0700 Message-ID: <3AB8E7E2.36F360AA@softweyr.com> Date: Wed, 21 Mar 2001 10:41:54 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Ruslan Ermilov Cc: Garrett Wollman , net@FreeBSD.org Subject: Re: Indirect routes with indirect gateways, bugfix References: <20010321133611.A62997@sunbay.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ruslan Ermilov wrote: > > Hi! > > The routing code (bogusly?) allows to add an indirect route with > also indirect gateway. This results in some nasty bugs: > > : Script started on Wed Mar 21 13:17:47 2001 > : > : freebsd# netstat -rn > : Routing tables > : > : Internet: > : Destination Gateway Flags Refs Use Netif Expire > : 127.0.0.1 127.0.0.1 UH 0 0 lo0 > : 192.168.1 link#1 UC 0 0 rl0 => > : > : freebsd# route add -net 10 1.2.3.4 > : route: writing to routing socket: Network is unreachable > : add net 10: gateway 1.2.3.4: Network is unreachable > : > : freebsd# route add default 192.168.1.1 > : add net default: gateway 192.168.1.1 > : > : freebsd# route add -net 10 1.2.3.4 > : add net 10: gateway 1.2.3.4 > : > : freebsd# ping -c1 10.0.0.1 > : PING 10.0.0.1 (10.0.0.1): 56 data bytes > : > : --- 10.0.0.1 ping statistics --- > : 1 packets transmitted, 0 packets received, 100% packet loss > : > : freebsd# dmesg | tail -2 > : arplookup 1.2.3.4 failed: host is not on local network > : arpresolve: can't allocate llinfo for 1.2.3.4rt > : freebsd# > : > : Script done on Wed Mar 21 13:19:00 2001 > > I have searched the CSRG SCCS logs, and found that the relevant code > was added in route.c, version 7.22 (well, 7.22 is actually a part of > 7.23 that went into Net/2 release). I have marked the relevant text > from the commit log with circumflexes: > > [...] > > Unless someone has a good motivation for not doing this, I am going > to commit the attached patch that disallows indirect routes with > indirect gateways. This allows a crude sort of "policy routing", if that is of any value. I don't see what it hurts, or any reason to remove it. A misconfigured routing table is a system administration problem, not a code problem. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 11:34:51 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id A510D37B71E for ; Wed, 21 Mar 2001 11:34:42 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id NAA20364; Wed, 21 Mar 2001 13:36:33 -0500 (EST) (envelope-from wollman) Date: Wed, 21 Mar 2001 13:36:33 -0500 (EST) From: Garrett Wollman Message-Id: <200103211836.NAA20364@khavrinen.lcs.mit.edu> To: Yar Tikhiy Cc: freebsd-net@FreeBSD.ORG Subject: Re: A few nasty bugs in the networking code In-Reply-To: <20010321191808.A30699@comp.chem.msu.su> References: <20010319203104.L43447@comp.chem.msu.su> <200103191732.SAA85848@info.iet.unipi.it> <20010320212422.Q58464@comp.chem.msu.su> <200103202009.PAA10260@khavrinen.lcs.mit.edu> <20010321191808.A30699@comp.chem.msu.su> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > I see. Thus a separate type is needed for the vlan interface, and > /usr/sbin/arp should be modified to comprehend the new arp-capable > interface type, shouldn't it? Aye. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 11:41:13 2001 Delivered-To: freebsd-net@freebsd.org Received: from relay2.wertep.com (relay2.wertep.com [194.44.90.130]) by hub.freebsd.org (Postfix) with ESMTP id 6D15937B724 for ; Wed, 21 Mar 2001 11:41:00 -0800 (PST) (envelope-from petro@She.wertep.com) Received: from She.wertep.com (she-tun-proxy [192.168.252.2]) by relay2.wertep.com (8.9.3/8.9.3) with ESMTP id VAA29572 for ; Wed, 21 Mar 2001 21:40:56 +0200 (EET) (envelope-from petro@She.wertep.com) Received: from localhost (petro@localhost) by She.wertep.com (8.9.3/8.9.3) with ESMTP id VAA54897 for ; Wed, 21 Mar 2001 21:41:40 +0200 (EET) (envelope-from petro@She.wertep.com) Date: Wed, 21 Mar 2001 21:41:33 +0200 (EET) From: petro To: freebsd-net@FreeBSD.org Subject: PPPD! Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Can anyone tell me smth how configure pppd with pppunit support. pppunit as I know is such parameter for pppd that has such properties that it can link com5 -with ppp5. for example: cuaa5 ppunit5 so this interface will only up on ppp5. Thank you very much for any help. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 11:49:16 2001 Delivered-To: freebsd-net@freebsd.org Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.43.88]) by hub.freebsd.org (Postfix) with ESMTP id 2818937B727 for ; Wed, 21 Mar 2001 11:49:13 -0800 (PST) (envelope-from rrs@cisco.com) Received: from mira-sjc5-2.cisco.com (mira-sjc5-2.cisco.com [171.71.163.16]) by sj-msg-core-2.cisco.com (8.9.3/8.9.1) with ESMTP id LAA25576 for ; Wed, 21 Mar 2001 11:49:34 -0800 (PST) Received: from cisco.com (ssh-sj1.cisco.com [171.68.225.134]) by mira-sjc5-2.cisco.com (Mirapoint) with ESMTP id ACN14990 (AUTH rrs); Wed, 21 Mar 2001 11:49:11 -0800 (PST) Message-ID: <3AB905B5.98C4CC11@cisco.com> Date: Wed, 21 Mar 2001 13:49:09 -0600 From: Randall Stewart X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: SCTP code for FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi: I have put together IPV6/IPV4 code for SCTP in FreeBSD. I am entering the final stages of testing and I would like to contribute this if I can... ------------------- I have changes for ------------------- in_proto.c (adds SCTP glue for IPv4) in6_proto.c (adds SCTP glue for IPv6) in.h (adds IPPROTO_SCTP :>) icmp6.c - (changes the rate limiting function to be non-static so I can access it from the sctp6 code). ---------- new files ---------- sctp6_usrreq.c sctp_usrreq.c sctp.h sctp_var.h sctp6_var.h Who should I contact too coordinate getting this in? These changes work hand in had with a library that I would also like to submit... but I am also thinking of putting together a socket shim layer to hide this library... but I think this must wait due to my cycle availablity :0 I also have some updates I would be willing to share to the an driver. I have re-written parts of it to conform to the specification for the 4800.... if someone is interested.... (Also, if someone has a .emacs setup so I can set a free-bsd style in I would appreciate a copy... I figured out how to get a style into the list of c styles but for some fun reason I can't get it to be my default and worse every time I open a new file it changes back to gnu style :<, being no lisp expert I have given up for now .. ) Thanks for your help and advice.... R -- Randall R. Stewart Systems & Solutions Engineering Cisco Systems Inc. rrs@cisco.com 815-342-5222 or 815-477-2127 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 12: 7:45 2001 Delivered-To: freebsd-net@freebsd.org Received: from samar.sasi.com (samar.sasken.com [164.164.56.2]) by hub.freebsd.org (Postfix) with ESMTP id 46DA837B744 for ; Wed, 21 Mar 2001 12:07:39 -0800 (PST) (envelope-from sseth@sasken.com) Received: from samar (samar.sasi.com [164.164.56.2]) by samar.sasi.com (8.9.3/8.9.3) with SMTP id XAA02406; Wed, 21 Mar 2001 23:04:07 +0530 (IST) Received: from suns3.sasi.com ([10.0.36.3]) by samar.sasi.com; Wed, 21 Mar 2001 23:04:05 +0000 (IST) Received: from localhost (sseth@localhost) by suns3.sasi.com (8.9.3/8.9.3) with ESMTP id XAA09154; Wed, 21 Mar 2001 23:04:03 +0530 (IST) Date: Wed, 21 Mar 2001 23:04:03 +0530 (IST) From: Satyajeet Seth To: Cc: Brahma Naidu Golla Subject: Routing Problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi I am having a machine with 3 interfaces, fxp0, nge0 and nge1. nge0 and nge1 are pseudo ethernet interfaces implemented using 'ng_eiface' netgraph nodes in freebsd-current. I wish that the response to a ping from host1(some machine on LAN) to fxp0/nge0/nge1 should come from the respective interface. But it comes from the interface given by "route get 'host1'" unless we manually do a "route change 'host1' -ifp 'interface'" host1 should be able to ping to fxp0, nge0 and nge1 simultaneously and the responses should come from the respective interfaces. Is it possible to do this dynamically using ipfw,natd stateful rules? Or, perhaps there is some other better way? This mail has also been posted to freebsd-ipfw. Thanks Satya To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 13:11:21 2001 Delivered-To: freebsd-net@freebsd.org Received: from prism.flugsvamp.com (cb58709-a.mdsn1.wi.home.com [24.17.241.9]) by hub.freebsd.org (Postfix) with ESMTP id B7ACA37B71E for ; Wed, 21 Mar 2001 13:11:17 -0800 (PST) (envelope-from jlemon@flugsvamp.com) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.11.0/8.11.0) id f2LL5nT81251; Wed, 21 Mar 2001 15:05:49 -0600 (CST) (envelope-from jlemon) Date: Wed, 21 Mar 2001 15:05:49 -0600 (CST) From: Jonathan Lemon Message-Id: <200103212105.f2LL5nT81251@prism.flugsvamp.com> To: rrs@cisco.com, net@freebsd.org Subject: Re: SCTP code for FreeBSD X-Newsgroups: local.mail.freebsd-net In-Reply-To: Organization: Cc: Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article you write: >I have put together IPV6/IPV4 code for SCTP in FreeBSD. I >am entering the final stages of testing and I would like >to contribute this if I can... Great! >Who should I contact too coordinate getting this in? I'm willing to review the code and take responsibility for getting the bits committed to the tree. >I also have some updates I would be willing to share to >the an driver. I have re-written parts of it to conform to >the specification for the 4800.... if someone is interested.... That would be Bill Paul . However, I suggest that you have plenty of documented information on hand to support your changes. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 13:15:49 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 9A7DE37B71E for ; Wed, 21 Mar 2001 13:15:44 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id QAA22073; Wed, 21 Mar 2001 16:15:34 -0500 (EST) (envelope-from wollman) Date: Wed, 21 Mar 2001 16:15:34 -0500 (EST) From: Garrett Wollman Message-Id: <200103212115.QAA22073@khavrinen.lcs.mit.edu> To: Jonathan Lemon Cc: net@FreeBSD.ORG Subject: Re: SCTP code for FreeBSD In-Reply-To: <200103212105.f2LL5nT81251@prism.flugsvamp.com> References: <200103212105.f2LL5nT81251@prism.flugsvamp.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: >> [quoting rrs@cisco.com] >> the an driver. I have re-written parts of it to conform to >> the specification for the 4800.... if someone is interested.... > that you have plenty of documented information on hand to support > your changes. One would assume that someone working for the manufacturer has access to documentation. (Of course, Cisco being the empire that it is, it's entirely possible for that not to be the case.) -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 13:16:30 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 0AE5037B736; Wed, 21 Mar 2001 13:16:25 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id QAA22097; Wed, 21 Mar 2001 16:16:21 -0500 (EST) (envelope-from wollman) Date: Wed, 21 Mar 2001 16:16:21 -0500 (EST) From: Garrett Wollman Message-Id: <200103212116.QAA22097@khavrinen.lcs.mit.edu> To: Ruslan Ermilov Cc: Garrett Wollman , net@FreeBSD.org Subject: Indirect routes with indirect gateways, bugfix In-Reply-To: <20010321133611.A62997@sunbay.com> References: <20010321133611.A62997@sunbay.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > The routing code (bogusly?) allows to add an indirect route with > also indirect gateway. This results in some nasty bugs: My sentiment is the same as Wes's. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 13:25: 5 2001 Delivered-To: freebsd-net@freebsd.org Received: from sj-msg-core-4.cisco.com (sj-msg-core-4.cisco.com [171.71.163.10]) by hub.freebsd.org (Postfix) with ESMTP id D509637B71C for ; Wed, 21 Mar 2001 13:24:59 -0800 (PST) (envelope-from rrs@cisco.com) Received: from mira-sjc5-2.cisco.com (mira-sjc5-2.cisco.com [171.71.163.16]) by sj-msg-core-4.cisco.com (8.9.3/8.9.1) with ESMTP id NAA19432; Wed, 21 Mar 2001 13:25:03 -0800 (PST) Received: from cisco.com (ssh-sj1.cisco.com [171.68.225.134]) by mira-sjc5-2.cisco.com (Mirapoint) with ESMTP id ACN18470 (AUTH rrs); Wed, 21 Mar 2001 13:24:58 -0800 (PST) Message-ID: <3AB91C29.E6B3B85F@cisco.com> Date: Wed, 21 Mar 2001 15:24:57 -0600 From: Randall Stewart X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Jonathan Lemon Cc: net@freebsd.org Subject: Re: SCTP code for FreeBSD References: <200103212105.f2LL5nT81251@prism.flugsvamp.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jonathan Lemon wrote: > > In article you write: > >I have put together IPV6/IPV4 code for SCTP in FreeBSD. I > >am entering the final stages of testing and I would like > >to contribute this if I can... > > Great! > > >Who should I contact too coordinate getting this in? > > I'm willing to review the code and take responsibility for > getting the bits committed to the tree. > I need to do just a bit more testing. I need to get a IPV4 ICMP route redirecdt... I will send the stuff to you offline next week... I am at the IETF this week ... > >I also have some updates I would be willing to share to > >the an driver. I have re-written parts of it to conform to > >the specification for the 4800.... if someone is interested.... > > That would be Bill Paul . However, I suggest > that you have plenty of documented information on hand to support > your changes. Well, I do have the internal Cisco spec's but I don't think I have the legal approval to release these... I am willing to offer Bill the code and even discuss with Bill the changes, or on the other hand... no big deal I can just use it internally only no big deal... I will talk to Bill off-line. R > -- > Jonathan -- Randall R. Stewart Systems & Solutions Engineering Cisco Systems Inc. rrs@cisco.com 815-342-5222 or 815-477-2127 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 13:25:56 2001 Delivered-To: freebsd-net@freebsd.org Received: from coconut.itojun.org (coconut.itojun.org [210.160.95.97]) by hub.freebsd.org (Postfix) with ESMTP id 92B8C37B71C for ; Wed, 21 Mar 2001 13:25:51 -0800 (PST) (envelope-from itojun@itojun.org) Received: from kiwi.itojun.org (localhost.itojun.org [127.0.0.1]) by coconut.itojun.org (8.9.3+3.2W/3.7W) with ESMTP id GAA13880; Thu, 22 Mar 2001 06:25:28 +0900 (JST) To: Jonathan Lemon Cc: rrs@cisco.com, net@freebsd.org In-reply-to: jlemon's message of Wed, 21 Mar 2001 15:05:49 CST. <200103212105.f2LL5nT81251@prism.flugsvamp.com> X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 Subject: Re: SCTP code for FreeBSD From: itojun@iijlab.net Date: Thu, 22 Mar 2001 06:25:28 +0900 Message-ID: <13878.985209928@coconut.itojun.org> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>I have put together IPV6/IPV4 code for SCTP in FreeBSD. I >>am entering the final stages of testing and I would like >>to contribute this if I can... >Great! >>Who should I contact too coordinate getting this in? >I'm willing to review the code and take responsibility for >getting the bits committed to the tree. as far as I heard 10 minutes ago, the code is part-kernel, part- userland (udp-like socket grabs packets as is, daemon parses the packet) and socket API shim is required for applications to use sctp. it would be better we can see all-kernel implementation sooner, that uses normal socket system calls. otherwise it will be hard for normal programmers to use it... itojun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 14:42:26 2001 Delivered-To: freebsd-net@freebsd.org Received: from sj-msg-core-3.cisco.com (sj-msg-core-3.cisco.com [171.70.157.152]) by hub.freebsd.org (Postfix) with ESMTP id 1EA0F37B720 for ; Wed, 21 Mar 2001 14:42:12 -0800 (PST) (envelope-from rrs@cisco.com) Received: from mira-sjc5-2.cisco.com (mira-sjc5-2.cisco.com [171.71.163.16]) by sj-msg-core-3.cisco.com (8.9.3/8.9.1) with ESMTP id OAA04440; Wed, 21 Mar 2001 14:40:57 -0800 (PST) Received: from cisco.com (ssh-sj1.cisco.com [171.68.225.134]) by mira-sjc5-2.cisco.com (Mirapoint) with ESMTP id ACN21460 (AUTH rrs); Wed, 21 Mar 2001 14:42:07 -0800 (PST) Message-ID: <3AB92E3E.7E1E6AF8@cisco.com> Date: Wed, 21 Mar 2001 16:42:07 -0600 From: Randall Stewart X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: itojun@iijlab.net Cc: Jonathan Lemon , net@freebsd.org Subject: Re: SCTP code for FreeBSD References: <13878.985209928@coconut.itojun.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org itojun@iijlab.net wrote: > > >>I have put together IPV6/IPV4 code for SCTP in FreeBSD. I > >>am entering the final stages of testing and I would like > >>to contribute this if I can... > >Great! > >>Who should I contact too coordinate getting this in? > >I'm willing to review the code and take responsibility for > >getting the bits committed to the tree. > > as far as I heard 10 minutes ago, the code is part-kernel, part- > userland (udp-like socket grabs packets as is, daemon parses the > packet) and socket API shim is required for applications to use sctp. > it would be better we can see all-kernel implementation sooner, > that uses normal socket system calls. otherwise it will be hard > for normal programmers to use it... > > itojun Yes, So far I have NOT put all of SCTP into the kernel. This will take considerably more time and more work. By putting just the former deamon into the kernel it is possible to get a full implementation including the DNS name feature... In the next few weeks I will do a socket shim that can be put over the top of this that matches draft-stewart-sctpsocket-sigtran-02.txt And have the shim spin of a thread transparent to the user code. This will provide a pure socket interface and yet allow the library to still function. Down the road I will get the 3-4 months to put it all in the kernel.. but it is quite a large job ... and I just don't have the cycles... The only dis-advantage to my current scheme is the lack of the sockets shim. Once this is in place there should really be no performance difference between a kernel bound version and the current hy-bred... R -- Randall R. Stewart Systems & Solutions Engineering Cisco Systems Inc. rrs@cisco.com 815-342-5222 or 815-477-2127 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 16:43:59 2001 Delivered-To: freebsd-net@freebsd.org Received: from gecko.eric.net.au (gecko.eric.net.au [203.102.228.3]) by hub.freebsd.org (Postfix) with ESMTP id 287F037B71A for ; Wed, 21 Mar 2001 16:43:57 -0800 (PST) (envelope-from ghcrompton@gecko.eric.net.au) Received: (from ghcrompton@localhost) by gecko.eric.net.au (8.9.3/8.8.7) id LAA28724; Thu, 22 Mar 2001 11:53:54 +1100 Date: Thu, 22 Mar 2001 11:53:54 +1100 From: "Geoffrey Crompton (RMIT Guest)" To: FreeBSD-Net Cc: Jenni Bushby Subject: how dies rtallocing with XResolve happen Message-ID: <20010322115354.A28374@gecko.eric.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org What is the goal of the XRESOLVE mechanism. Is it to allow code in the kernel to inform a userland daemon that a routing lookup was performed and it failed, or is it to allow code in the kernel to have a userland daemon resolve a route for it? If it is the second, how does the userland daemon get an answer back to the kernel, considering that the userland daemon may need to do some network communication to get an answer? Thanks Geoff Crompton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 18:19: 0 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 423C937B71A for ; Wed, 21 Mar 2001 18:18:57 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id VAA24617; Wed, 21 Mar 2001 21:18:28 -0500 (EST) (envelope-from wollman) Date: Wed, 21 Mar 2001 21:18:28 -0500 (EST) From: Garrett Wollman Message-Id: <200103220218.VAA24617@khavrinen.lcs.mit.edu> To: "Geoffrey Crompton (RMIT Guest)" Cc: FreeBSD-Net Subject: how dies rtallocing with XResolve happen In-Reply-To: <20010322115354.A28374@gecko.eric.net.au> References: <20010322115354.A28374@gecko.eric.net.au> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > What is the goal of the XRESOLVE mechanism. Is it to allow code in the > kernel to inform a userland daemon that a routing lookup was performed > and it failed, or is it to allow code in the kernel to have a userland > daemon resolve a route for it? Yes. > If it is the second, how does the userland daemon get an answer back > to the kernel, considering that the userland daemon may need to do some > network communication to get an answer? Well, obviously, it can't communicate with anything that would need the route that it's trying to resolve. That doesn't stop it from communicating with other (perhaps statically-configured) end systems. I believe it was actually intended for things like the X.25 code, where conceivably one might have to look up the X.121 (IIRC) address for the system you are trying to reach in a text file somewhere, or by sending a request to some well-known server. Often that sort of code is so klugey that you don't want it in the kernel. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 23: 0:18 2001 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 205EF37B725 for ; Wed, 21 Mar 2001 23:00:03 -0800 (PST) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id WAA94238; Wed, 21 Mar 2001 22:46:49 -0800 (PST) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.1/8.11.1) id f2M6kII22692; Wed, 21 Mar 2001 22:46:18 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200103220646.f2M6kII22692@arch20m.dellroad.org> Subject: Re: mpd-netgraph error: 'Too many bundles!' In-Reply-To: "from Dan Larsson at Mar 21, 2001 02:31:50 pm" To: Dan Larsson Date: Wed, 21 Mar 2001 22:46:17 -0800 (PST) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dan Larsson writes: > Got this in my mpd logfile while trying to setup 32 pptp links: > Mar 21 15:30:27 pptpbox mpd: [pptp11] too many bundles! (increase MAX_BUNDS) > Mar 21 15:30:27 pptpbox mpd: [pptp12] too many bundles! (increase MAX_BUNDS) > Mar 21 15:30:27 pptpbox mpd: [pptp13] too many bundles! (increase MAX_BUNDS) > Mar 21 15:30:27 pptpbox mpd: [pptp14] too many bundles! (increase MAX_BUNDS) > Mar 21 15:30:27 pptpbox mpd: [pptp15] too many bundles! (increase MAX_BUNDS) > Mar 21 15:30:27 pptpbox mpd: [pptp16] too many bundles! (increase MAX_BUNDS) > Mar 21 15:30:27 pptpbox mpd: [pptp17] too many bundles! (increase MAX_BUNDS) > Mar 21 15:30:27 pptpbox mpd: [pptp18] too many bundles! (increase MAX_BUNDS) > Mar 21 15:30:27 pptpbox mpd: [pptp19] too many bundles! (increase MAX_BUNDS) > Mar 21 15:30:27 pptpbox mpd: [pptp20] too many bundles! (increase MAX_BUNDS) > Mar 21 15:30:27 pptpbox mpd: [pptp21] too many bundles! (increase MAX_BUNDS) > Mar 21 15:30:27 pptpbox mpd: [pptp22] too many bundles! (increase MAX_BUNDS) > > Is this a compile time setting? Yes, grep for MAX_BUNDS in the sources, increase it, and recompile.. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 21 23:46:32 2001 Delivered-To: freebsd-net@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 16B4137B71D for ; Wed, 21 Mar 2001 23:46:25 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f2M7iUP54656; Thu, 22 Mar 2001 09:44:30 +0200 (EET) (envelope-from ru) Date: Thu, 22 Mar 2001 09:44:29 +0200 From: Ruslan Ermilov To: Wes Peters , Garrett Wollman Cc: net@FreeBSD.ORG Subject: Re: Indirect routes with indirect gateways, bugfix Message-ID: <20010322094429.B53063@sunbay.com> Mail-Followup-To: Wes Peters , Garrett Wollman , net@FreeBSD.ORG References: <20010321133611.A62997@sunbay.com> <200103212116.QAA22097@khavrinen.lcs.mit.edu> <20010321133611.A62997@sunbay.com> <3AB8E7E2.36F360AA@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AB8E7E2.36F360AA@softweyr.com>; from wes@softweyr.com on Wed, Mar 21, 2001 at 10:41:54AM -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I wrote: > > Unless someone has a good motivation for not doing this, I am going > to commit the attached patch that disallows indirect routes with > indirect gateways. > Okay, I will rephrase this. Can you give me at least one example when adding an indirect route with indirect gateway will work? If not, I strongly insist on excluding this code. On Wed, Mar 21, 2001 at 10:41:54AM -0700, Wes Peters wrote: > This allows a crude sort of "policy routing", if that is of any value. > I don't see what it hurts, or any reason to remove it. A misconfigured > routing table is a system administration problem, not a code problem. On Wed, Mar 21, 2001 at 04:16:21PM -0500, Garrett Wollman wrote: > < said: > > > The routing code (bogusly?) allows to add an indirect route with > > also indirect gateway. This results in some nasty bugs: > > My sentiment is the same as Wes's. Thanks, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 1:37:41 2001 Delivered-To: freebsd-net@freebsd.org Received: from germes.levi.spb.ru (ip65.levi.spb.ru [212.119.175.65]) by hub.freebsd.org (Postfix) with ESMTP id 2A39337B71F for ; Thu, 22 Mar 2001 01:37:37 -0800 (PST) (envelope-from dms@wplus.net) Received: from wplus.net (IDENT:dms@pike.levi.spb.ru [10.246.8.43]) by germes.levi.spb.ru (8.11.1/8.11.1) with ESMTP id f2M9bO716303 for ; Thu, 22 Mar 2001 12:37:25 +0300 Message-ID: <3AB9C7D4.1E445975@wplus.net> Date: Thu, 22 Mar 2001 12:37:24 +0300 From: Dmitry Samersoff Organization: LeviSoft X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.18 i686) X-Accept-Language: ru, en MIME-Version: 1.0 To: freebsd-net@FreeBSD.ORG Subject: Help please (Server crash) References: <20010319203104.L43447@comp.chem.msu.su> <200103191732.SAA85848@info.iet.unipi.it> <20010320212422.Q58464@comp.chem.msu.su> <200103202009.PAA10260@khavrinen.lcs.mit.edu> <20010321191808.A30699@comp.chem.msu.su> <200103211836.NAA20364@khavrinen.lcs.mit.edu> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have server under FreeBSD 4.2 with apache fired simple C++ CGI for each connection. Aproximately every 12H uptime server stop responding. Kernel answers to ping, establish TCP connection but no process forking. This is statisitics (netstat -nm & top ) immediately before crash. Any ideas? Thank you! # Thu Mar 22 00:50:00 MSK 2001 # 4945/6928/40960 mbufs in use (current/peak/max): # 2604 mbufs allocated to data # 2341 mbufs allocated to packet headers # 2530/3804/10240 mbuf clusters in use (current/peak/max) # 9340 Kbytes allocated to network (30% of mb_map in use) # 0 requests for memory denied # 0 requests for memory delayed # 0 calls to protocol drain routines # last pid: 44768; load averages: 0.47, 0.38, 0.35 up 0+10:24:07 00:50:00 # 175 processes: 1 running, 163 sleeping, 11 zombie # Mem: 22M Active, 35M Inact, 42M Wired, 6516K Cache, 35M Buf, 144M Free # Swap: 500M Total, 6220K Used, 494M Free, 1% Inuse -- Dmitry Samersoff, dms@wplus.net, ICQ:3161705 http://devnull.wplus.net * There will come soft rains ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 2:18:12 2001 Delivered-To: freebsd-net@freebsd.org Received: from njord.bart.nl (njord.bart.nl [194.158.170.15]) by hub.freebsd.org (Postfix) with ESMTP id 1268037B719; Thu, 22 Mar 2001 02:18:08 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.chronias.ninth-circle.org (root@cable.ninth-circle.org [195.38.232.6]) by njord.bart.nl (8.10.1/8.10.1) with ESMTP id f2MAI5i87231; Thu, 22 Mar 2001 11:18:05 +0100 (CET) Received: (from asmodai@localhost) by daemon.chronias.ninth-circle.org (8.11.2/8.11.0) id f2MAHxX07751; Thu, 22 Mar 2001 11:17:59 +0100 (CET) (envelope-from asmodai) Date: Thu, 22 Mar 2001 11:17:58 +0100 From: Jeroen Ruigrok/Asmodai To: "David E. Cross" Cc: net@freebsd.org Subject: Re: gif(4) question Message-ID: <20010322111758.A7147@daemon.ninth-circle.org> References: <200103220152.UAA88304@cs.rpi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200103220152.UAA88304@cs.rpi.edu>; from crossd@cs.rpi.edu on Wed, Mar 21, 2001 at 08:52:45PM -0500 Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [This question is more appropriate for -net IMHO] -On [20010322 03:00], David E. Cross (crossd@cs.rpi.edu) wrote: >I recently tried (for the first time) to get gif running under FreeBSD >4.3-BETA (cvsup-ed yesterday). I noticed the following: > >gifconfig gif0 inet 10.1.1.1 10.1.2.1 >ifconfig gif0 192.168.1.1 192.168.1.2 netmask 0xffffff00 > >and then I 'ping 192.168.1.1' it will try to route the packet instead of >reply directly. I need to 'route add 192.168.1.1 127.0.0.1' to have it >reply to the packet directly. I don't need to do this for other types >of interfaces... did I mess something up, is this how it is supposed to >be (doesn't seem to be documented as such). I think that's how it is supposed to be given that gif's main function is to tunnel things and it works on a point-to-point basis. I might be wrong, in which case I am sure UMEMOTO-san or ITOJUN-san will correct me. -- Jeroen Ruigrok van der Werven/Asmodai .oUo. asmodai@[wxs.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867 What is to be, will be. And what isn't to be sometimes happens... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 2:47:46 2001 Delivered-To: freebsd-net@freebsd.org Received: from mail.teliafi.net (mail.teliafi.net [195.10.132.73]) by hub.freebsd.org (Postfix) with ESMTP id 177F137B71D for ; Thu, 22 Mar 2001 02:47:43 -0800 (PST) (envelope-from harkonen@mail.teliafi.net) Received: (from harkonen@localhost) by mail.teliafi.net (8.9.3/8.9.3/Debian 8.9.3-21) id MAA10667 for freebsd-net@FreeBSD.ORG; Thu, 22 Mar 2001 12:47:42 +0200 From: Tommi Harkonen Date: Thu, 22 Mar 2001 12:47:42 +0200 To: freebsd-net@FreeBSD.ORG Subject: RTM_LOSING: Kernel Suspects Partitioning: Message-ID: <20010322124742.A9984@teliafi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Security: Restricted Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm gettin these error messages on `route monitor` when trying to ftp/cvsup/eg. to other hosts from my box got message of size 124 on Thu Mar 22 10:24:12 2001 RTM_LOSING: Kernel Suspects Partitioning: len 124, pid: 0, seq 0, errno 0, flags: locks: inits: sockaddrs: ftp.de.cw.net 62.236.255.201 FreeBSD telija.net 4.3-BETA FreeBSD 4.3-BETA #0: Wed Mar 21 20:44:16 EET 2001 root@telija:/usr/src/sys/compile/K7 i386 the cvsupped sources are from a week ago (roughly) and everything to the box seems to work but everything from the box seems to fail. plz tell if you need details (ip configurations, routes, hardware, environment etc). -- th To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 6:20:59 2001 Delivered-To: freebsd-net@freebsd.org Received: from brunel.uk1.vbc.net (brunel.uk1.vbc.net [194.207.2.8]) by hub.freebsd.org (Postfix) with ESMTP id 2DBBB37B71E for ; Thu, 22 Mar 2001 06:20:56 -0800 (PST) (envelope-from jcv@vbc.net) Received: from localhost (jcv@localhost) by brunel.uk1.vbc.net (8.11.0/8.11.0) with ESMTP id f2MEKnn94017 for ; Thu, 22 Mar 2001 14:20:49 GMT X-Authentication-Warning: brunel.uk1.vbc.net: jcv owned process doing -bs Date: Thu, 22 Mar 2001 14:20:48 +0000 (GMT) From: Jean-Christophe Varaillon X-Sender: jcv@brunel.uk1.vbc.net To: freebsd-net@FreeBSD.ORG Subject: Netstat Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, The netstat command is not working any more on my machine: --- % ls -l /bin/netstat -rwxr-xr-x 1 root wheel 0 Mar 16 14:08 /bin/netstat % --- How can I make it working ? Thanks, Jean-Christophe. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 6:21: 2 2001 Delivered-To: freebsd-net@freebsd.org Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by hub.freebsd.org (Postfix) with ESMTP id E03B337B71B for ; Thu, 22 Mar 2001 06:20:57 -0800 (PST) (envelope-from crossd@cs.rpi.edu) Received: from cs.rpi.edu (monica.cs.rpi.edu [128.213.7.2]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id JAA07774; Thu, 22 Mar 2001 09:20:56 -0500 (EST) Message-Id: <200103221420.JAA07774@cs.rpi.edu> To: freebsd-net@freebsd.org Cc: crossd@cs.rpi.edu Subject: gif(4) question Date: Thu, 22 Mar 2001 09:20:55 -0500 From: "David E. Cross" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I recently tried (for the first time) to get gif running under FreeBSD 4.3-BETA (cvsup-ed yesterday). I noticed the following: gifconfig gif0 inet 10.1.1.1 10.1.2.1 ifconfig gif0 192.168.1.1 192.168.1.2 netmask 0xffffff00 and then I 'ping 192.168.1.1' it will try to route the packet instead of reply directly. I need to 'route add 192.168.1.1 127.0.0.1' to have it reply to the packet directly. I don't need to do this for other types of interfaces... did I mess something up, is this how it is supposed to be (doesn't seem to be documented as such). -- David Cross | email: crossd@cs.rpi.edu Lab Director | Rm: 308 Lally Hall Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science | Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 7: 6: 8 2001 Delivered-To: freebsd-net@freebsd.org Received: from germes.levi.spb.ru (ip65.levi.spb.ru [212.119.175.65]) by hub.freebsd.org (Postfix) with ESMTP id F1B6C37B720 for ; Thu, 22 Mar 2001 07:06:04 -0800 (PST) (envelope-from dms@wplus.net) Received: from wplus.net (IDENT:dms@pike.levi.spb.ru [10.246.8.43]) by germes.levi.spb.ru (8.11.1/8.11.1) with ESMTP id f2MF5f727353; Thu, 22 Mar 2001 18:05:42 +0300 Message-ID: <3ABA14C5.91105BB3@wplus.net> Date: Thu, 22 Mar 2001 18:05:41 +0300 From: Dmitry Samersoff Organization: LeviSoft X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.18 i686) X-Accept-Language: ru, en MIME-Version: 1.0 To: Jean-Christophe Varaillon Cc: freebsd-net@FreeBSD.ORG Subject: Re: Netstat References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jean-Christophe Varaillon wrote: > > Hi, > > The netstat command is not working any more on my machine: > > --- > % ls -l /bin/netstat > -rwxr-xr-x 1 root wheel 0 Mar 16 14:08 /bin/netstat Try to use /usr/bin/netstat (or any other one having not zero size ;-)) ) # ls -l /usr/bin/netstat -r-xr-sr-x 1 root kmem 85104 Nov 20 15:02 /usr/bin/netstat* -- Dmitry Samersoff, dms@wplus.net, ICQ:3161705 http://devnull.wplus.net * There will come soft rains ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 7:16:12 2001 Delivered-To: freebsd-net@freebsd.org Received: from brunel.uk1.vbc.net (brunel.uk1.vbc.net [194.207.2.8]) by hub.freebsd.org (Postfix) with ESMTP id 54BB437B71A for ; Thu, 22 Mar 2001 07:16:09 -0800 (PST) (envelope-from jcv@vbc.net) Received: from localhost (jcv@localhost) by brunel.uk1.vbc.net (8.11.0/8.11.0) with ESMTP id f2MFG5i94684; Thu, 22 Mar 2001 15:16:05 GMT X-Authentication-Warning: brunel.uk1.vbc.net: jcv owned process doing -bs Date: Thu, 22 Mar 2001 15:16:05 +0000 (GMT) From: Jean-Christophe Varaillon X-Sender: jcv@brunel.uk1.vbc.net To: Dmitry Samersoff Cc: freebsd-net@FreeBSD.ORG Subject: Re: Netstat In-Reply-To: <3ABA14C5.91105BB3@wplus.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 22 Mar 2001, Dmitry Samersoff wrote: > Jean-Christophe Varaillon wrote: > > > > Hi, > > > > The netstat command is not working any more on my machine: > > > > --- > > % ls -l /bin/netstat > > -rwxr-xr-x 1 root wheel 0 Mar 16 14:08 /bin/netstat > > Try to use /usr/bin/netstat > (or any other one having not zero size ;-)) ) > > > # ls -l /usr/bin/netstat > -r-xr-sr-x 1 root kmem 85104 Nov 20 15:02 /usr/bin/netstat* well, I have this one, but it is also empty: % ls -l /usr/bin/netstat -r-xr-Sr-x 1 root wheel 0 Mar 16 14:09 /usr/bin/netstat % To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 7:27:40 2001 Delivered-To: freebsd-net@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id B438E37B71C; Thu, 22 Mar 2001 07:27:37 -0800 (PST) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id f2MFX3W40482; Thu, 22 Mar 2001 09:33:03 -0600 (CST) (envelope-from nick@rogness.net) Date: Thu, 22 Mar 2001 09:33:03 -0600 (CST) From: Nick Rogness X-Sender: nick@cody.jharris.com To: Ruslan Ermilov Cc: Wes Peters , Garrett Wollman , net@FreeBSD.ORG Subject: Re: Indirect routes with indirect gateways, bugfix In-Reply-To: <20010322094429.B53063@sunbay.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 22 Mar 2001, Ruslan Ermilov wrote: > I wrote: > > > > Unless someone has a good motivation for not doing this, I am going > > to commit the attached patch that disallows indirect routes with > > indirect gateways. > > > Okay, I will rephrase this. Can you give me at least one example when > adding an indirect route with indirect gateway will work? If not, I > strongly insist on excluding this code. I agree that this is an administration error. However, you could add a static route like given in the example, and for some unkown reason, *expect* a routing daemon to learn a direct route to this network or indirect gateway (not a good idea). That's the only reason I can think of off the top of my head...I'm sure there's other reasons. Nick Rogness - Sanitation Engineer, or might as well be. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 8: 3:24 2001 Delivered-To: freebsd-net@freebsd.org Received: from germes.levi.spb.ru (ip65.levi.spb.ru [212.119.175.65]) by hub.freebsd.org (Postfix) with ESMTP id D1B2B37B71C for ; Thu, 22 Mar 2001 08:03:19 -0800 (PST) (envelope-from dms@wplus.net) Received: from wplus.net (IDENT:dms@pike.levi.spb.ru [10.246.8.43]) by germes.levi.spb.ru (8.11.1/8.11.1) with ESMTP id f2MG3B728647; Thu, 22 Mar 2001 19:03:11 +0300 Message-ID: <3ABA223F.9E184002@wplus.net> Date: Thu, 22 Mar 2001 19:03:11 +0300 From: Dmitry Samersoff Organization: LeviSoft X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.18 i686) X-Accept-Language: ru, en MIME-Version: 1.0 To: Jean-Christophe Varaillon Cc: freebsd-net@FreeBSD.ORG Subject: Re: Netstat References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jean-Christophe Varaillon wrote: You have to get non empty netstat. Try to compile it from /usr/src or get from ftp.freebsd.org > > On Thu, 22 Mar 2001, Dmitry Samersoff wrote: > > > Jean-Christophe Varaillon wrote: > > > > > > Hi, > > > > > > The netstat command is not working any more on my machine: > > > > > > --- > > > % ls -l /bin/netstat > > > -rwxr-xr-x 1 root wheel 0 Mar 16 14:08 /bin/netstat > > > > Try to use /usr/bin/netstat > > (or any other one having not zero size ;-)) ) > > > > > > # ls -l /usr/bin/netstat > > -r-xr-sr-x 1 root kmem 85104 Nov 20 15:02 /usr/bin/netstat* > > well, I have this one, but it is also empty: > > % ls -l /usr/bin/netstat > -r-xr-Sr-x 1 root wheel 0 Mar 16 14:09 /usr/bin/netstat > % > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message -- Dmitry Samersoff, dms@wplus.net, ICQ:3161705 http://devnull.wplus.net * There will come soft rains ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 8:43:57 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 3B3B537B71B for ; Thu, 22 Mar 2001 08:43:52 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id LAA30673; Thu, 22 Mar 2001 11:43:33 -0500 (EST) (envelope-from wollman) Date: Thu, 22 Mar 2001 11:43:33 -0500 (EST) From: Garrett Wollman Message-Id: <200103221643.LAA30673@khavrinen.lcs.mit.edu> To: Tommi Harkonen Cc: freebsd-net@FreeBSD.ORG Subject: RTM_LOSING: Kernel Suspects Partitioning: In-Reply-To: <20010322124742.A9984@teliafi.net> References: <20010322124742.A9984@teliafi.net> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > RTM_LOSING: Kernel Suspects Partitioning: len 124, pid: 0, seq 0, errno 0, flags: > locks: inits: > sockaddrs: > ftp.de.cw.net 62.236.255.201 This is perfectly natural. TCP will generate these messages whenever its retransmission timer goes off; they should correlate with packet losses. (The `routed' program, for one, uses these messages as an indication that the gateway for a particular route may be down, in which case if there is another equal-cost route it will try that one instead.) -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 11:13:10 2001 Delivered-To: freebsd-net@freebsd.org Received: from molly.straylight.com (molly.straylight.com [209.68.199.242]) by hub.freebsd.org (Postfix) with ESMTP id DAC1E37B71D for ; Thu, 22 Mar 2001 11:13:07 -0800 (PST) (envelope-from jonathan@graehl.org) Received: from dickie (case.straylight.com [209.68.199.244]) by molly.straylight.com (8.11.0/8.10.0) with SMTP id f2MJD3E20348 for ; Thu, 22 Mar 2001 11:13:03 -0800 From: "Jonathan Graehl" To: "Freebsd-Net" Subject: Linux Vs. FreeBSD Networking Performance Date: Thu, 22 Mar 2001 11:12:19 -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) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Interesting topic in the linux kernel mailing list (Linux is "a lot" faster than FreeBSD): http://kt.zork.net/kernel-traffic/latest.html#2 I came to use FreeBSD from Linux for servers because of kqueue. I stayed because I liked the entire system. I'm sure that Linux does TCP processing as fast as possible, and that in-kernel servers (NFS and the TUX webserver) are blazingly fast. I do have Linux 2.4 running on an old machine, but I have no intention of taking down my FreeBSD box to dual boot Linux just to compare penis size. Has anyone recently done so? -- Jonathan Graehl http://jonathan.graehl.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 11:19:57 2001 Delivered-To: freebsd-net@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 689A637B71C for ; Thu, 22 Mar 2001 11:19:53 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2MJJqB08930; Thu, 22 Mar 2001 11:19:52 -0800 (PST) Date: Thu, 22 Mar 2001 11:19:52 -0800 From: Alfred Perlstein To: Jonathan Graehl Cc: Freebsd-Net Subject: Re: Linux Vs. FreeBSD Networking Performance Message-ID: <20010322111951.W9431@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jonathan@graehl.org on Thu, Mar 22, 2001 at 11:12:19AM -0800 X-all-your-base: are belong to us. Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Jonathan Graehl [010322 11:13] wrote: > Interesting topic in the linux kernel mailing list (Linux is "a lot" faster than > FreeBSD): > http://kt.zork.net/kernel-traffic/latest.html#2 > > I came to use FreeBSD from Linux for servers because of kqueue. I stayed > because I liked the entire system. I'm sure that Linux does TCP processing as > fast as possible, and that in-kernel servers (NFS and the TUX webserver) are > blazingly fast. > > I do have Linux 2.4 running on an old machine, but I have no intention of taking > down my FreeBSD box to dual boot Linux just to compare penis size. Has anyone > recently done so? I can tell you that Linux kernel NFS is only about 3 years old, when introduced it was terrbily buggy and didn't do NFSv3 or tcp mounts. We just found an annoying interoperability (sp?) bug in it less than a month ago. However, Linux is also a lot faster than FreeBSD, it also scales better than Solaris, renders faster than IRIX, and makes your hair fall out faster than HPUX. It slices and dices and leaps tall IPOs in a single bound. It's kept simple so that "over-engineered" things like kqueue aren't brought in, but a full fledged webserver in kernel space is... because... uh because... Scuse me, I need to go post on slashdot or something... -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Represent yourself, show up at BABUG http://www.babug.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 11:25:52 2001 Delivered-To: freebsd-net@freebsd.org Received: from prism.flugsvamp.com (cb58709-a.mdsn1.wi.home.com [24.17.241.9]) by hub.freebsd.org (Postfix) with ESMTP id B17CE37B71D for ; Thu, 22 Mar 2001 11:25:49 -0800 (PST) (envelope-from jlemon@flugsvamp.com) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.11.0/8.11.0) id f2MJLiv24251; Thu, 22 Mar 2001 13:21:44 -0600 (CST) (envelope-from jlemon) Date: Thu, 22 Mar 2001 13:21:44 -0600 (CST) From: Jonathan Lemon Message-Id: <200103221921.f2MJLiv24251@prism.flugsvamp.com> To: jonathan@graehl.org, net@freebsd.org Subject: Re: Linux Vs. FreeBSD Networking Performance X-Newsgroups: local.mail.freebsd-net In-Reply-To: Organization: Cc: Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article you write: >Interesting topic in the linux kernel mailing list (Linux is "a lot" >faster than >FreeBSD): >http://kt.zork.net/kernel-traffic/latest.html#2 Yeah, I read this; it basically ended with the author of the GigE card making unsubstantiated claims that Linux is "much" faster than FreeBSD. Without more solid information, this is basically FUD. I'm sure that by picking the appropriate benchmark, you can end up showing whatever results you want. Note that iMimic claims to run on a standard FreeBSD platform, which would also imply they use kqueue; this alone can probably provide the 2x performance boost you see on polygraph. >I came to use FreeBSD from Linux for servers because of kqueue. I stayed >because I liked the entire system. I'm sure that Linux does TCP processing as >fast as possible, and that in-kernel servers (NFS and the TUX webserver) are >blazingly fast. > >I do have Linux 2.4 running on an old machine, but I have no intention >of taking >down my FreeBSD box to dual boot Linux just to compare penis size. Has anyone >recently done so? Not recently. I suppose I should try 2.4 sometime and see exactly what has improved. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 11:34:10 2001 Delivered-To: freebsd-net@freebsd.org Received: from peace.mahoroba.org (peace.calm.imasy.or.jp [202.227.26.34]) by hub.freebsd.org (Postfix) with ESMTP id 3CCD737B71A for ; Thu, 22 Mar 2001 11:34:06 -0800 (PST) (envelope-from ume@FreeBSD.org) Received: from localhost (IDENT:nZHQSZJ51ZZ/2sUVwJW3PrLCNMTrlcdxEH/lFi5vZdt+v1sHbtTiYmGDtedMV8mO@localhost [::1]) (authenticated as ume with CRAM-MD5) by peace.mahoroba.org (8.11.3/8.11.3/peace) with ESMTP/inet6 id f2MJTmX93104; Fri, 23 Mar 2001 04:29:49 +0900 (JST) (envelope-from ume@FreeBSD.org) Date: Fri, 23 Mar 2001 04:29:43 +0900 (JST) Message-Id: <20010323.042943.59501050.ume@FreeBSD.org> To: asmodai@wxs.nl Cc: crossd@cs.rpi.edu, net@freebsd.org Subject: Re: gif(4) question From: Hajimu UMEMOTO In-Reply-To: <20010322111758.A7147@daemon.ninth-circle.org> References: <200103220152.UAA88304@cs.rpi.edu> <20010322111758.A7147@daemon.ninth-circle.org> X-Mailer: xcite1.38> Mew version 1.95b115 on Emacs 20.7 / Mule 4.0 =?iso-2022-jp?B?KBskQjJWMWMbKEIp?= X-PGP-Public-Key: http://www.imasy.org/~ume/publickey.asc X-PGP-Fingerprint: 6B 0C 53 FC 5D D0 37 91 05 D0 B3 EF 36 9B 6A BC X-URL: http://www.imasy.org/~ume/ X-OS: FreeBSD 5.0-CURRENT Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> On Thu, 22 Mar 2001 11:17:58 +0100 >>>>> Jeroen Ruigrok/Asmodai said: asmodai> [This question is more appropriate for -net IMHO] asmodai> -On [20010322 03:00], David E. Cross (crossd@cs.rpi.edu) wrote: >I recently tried (for the first time) to get gif running under FreeBSD >4.3-BETA (cvsup-ed yesterday). I noticed the following: > >gifconfig gif0 inet 10.1.1.1 10.1.2.1 >ifconfig gif0 192.168.1.1 192.168.1.2 netmask 0xffffff00 > >and then I 'ping 192.168.1.1' it will try to route the packet instead of >reply directly. I need to 'route add 192.168.1.1 127.0.0.1' to have it >reply to the packet directly. I don't need to do this for other types >of interfaces... did I mess something up, is this how it is supposed to >be (doesn't seem to be documented as such). asmodai> I think that's how it is supposed to be given that gif's main function asmodai> is to tunnel things and it works on a point-to-point basis. asmodai> I might be wrong, in which case I am sure UMEMOTO-san or ITOJUN-san will asmodai> correct me. Since routing info to ::1 is allocated in IPv6 case, I think it should be alloacated to 127.0.0.1 also in IPv4 case. -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 12:44:29 2001 Delivered-To: freebsd-net@freebsd.org Received: from garm.bart.nl (garm.bart.nl [194.158.170.13]) by hub.freebsd.org (Postfix) with ESMTP id BE61737B719; Thu, 22 Mar 2001 12:44:25 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.chronias.ninth-circle.org (root@cable.ninth-circle.org [195.38.232.6]) by garm.bart.nl (8.10.1/8.10.1) with ESMTP id f2MKiKB06770; Thu, 22 Mar 2001 21:44:20 +0100 (CET) Received: (from asmodai@localhost) by daemon.chronias.ninth-circle.org (8.11.2/8.11.0) id f2MKiEa05171; Thu, 22 Mar 2001 21:44:14 +0100 (CET) (envelope-from asmodai) Date: Thu, 22 Mar 2001 21:44:14 +0100 From: Jeroen Ruigrok/Asmodai To: Hajimu UMEMOTO Cc: crossd@cs.rpi.edu, net@freebsd.org Subject: Re: gif(4) question Message-ID: <20010322214413.A5116@daemon.ninth-circle.org> References: <200103220152.UAA88304@cs.rpi.edu> <20010322111758.A7147@daemon.ninth-circle.org> <20010323.042943.59501050.ume@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20010323.042943.59501050.ume@FreeBSD.org>; from ume@FreeBSD.org on Fri, Mar 23, 2001 at 04:29:43AM +0900 Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -On [20010322 21:08], Hajimu UMEMOTO (ume@FreeBSD.org) wrote: >Since routing info to ::1 is allocated in IPv6 case, I think it should >be alloacated to 127.0.0.1 also in IPv4 case. Seems to make sense, since a lot of the tunnels will be IPv4 ones as well. -- Jeroen Ruigrok van der Werven/Asmodai .oUo. asmodai@[wxs.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867 Grant me the serenity to accept the things I cannot change, courage to change the things I can, and wisdom to know the difference... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 12:47:37 2001 Delivered-To: freebsd-net@freebsd.org Received: from altrade.nijmegen.inter.nl.net (altrade.nijmegen.inter.nl.net [193.67.237.6]) by hub.freebsd.org (Postfix) with ESMTP id 15F5237B71A for ; Thu, 22 Mar 2001 12:47:34 -0800 (PST) (envelope-from Peter.Blok@inter.NL.net) Received: from ntpc by altrade.nijmegen.inter.nl.net via 1Cust79.tnt16.rtm1.nl.uu.net [213.116.126.79] with SMTP for id VAA15711 (8.8.8/1.3); Thu, 22 Mar 2001 21:47:32 +0100 (MET) Reply-To: From: "Peter Blok" To: Subject: 4.3-BETA netmask problem Date: Thu, 22 Mar 2001 21:45:12 +0100 Message-ID: <000201c0b310$fe9a5630$8a02a8c0@ntpc> 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 CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I'm having a strange problem. I have a block public ip addresses at X.Y.Z.128/28. My FreeBSD 4.3-BETA system has assigned IP address X.Y.Z.140 netmask 255.255.255.240, broadcast X.Y.Z.143. I don't use routed. I have one static host route to a particular host. Here's the problem when somebody tries to access me from the outside with IP A.B.C.D I'm getting messages: /kernel: arplookup A.B.C.D failed: host is not on local network /kernel: arpresolve: can't allocate llinfo A.B.C.Drt I arplookup is right! The IP address is not on the local network. Why is arplookup displaying this? What is wrong? I am also not able to slogin to this public address. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 13: 2:16 2001 Delivered-To: freebsd-net@freebsd.org Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by hub.freebsd.org (Postfix) with ESMTP id E831437B71B; Thu, 22 Mar 2001 13:02:13 -0800 (PST) (envelope-from crossd@cs.rpi.edu) Received: from cs.rpi.edu (bill.cs.rpi.edu [128.213.2.2]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id QAA25135; Thu, 22 Mar 2001 16:02:11 -0500 (EST) Message-Id: <200103222102.QAA25135@cs.rpi.edu> To: Jeroen Ruigrok/Asmodai Cc: Hajimu UMEMOTO , crossd@cs.rpi.edu, net@freebsd.org, crossd@cs.rpi.edu Subject: Re: gif(4) question In-Reply-To: Message from Jeroen Ruigrok/Asmodai of "Thu, 22 Mar 2001 21:44:14 +0100." <20010322214413.A5116@daemon.ninth-circle.org> Date: Thu, 22 Mar 2001 16:02:10 -0500 From: "David E. Cross" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Why is routing done via the ::1 and 127.0.0.1 network addresses? I notice for "normal" interfaces it is bound directly to "link#2" and such. I realize I don't really know what I am talking about here, but, it seems that binding it to the link is more efficient than having it go through the loopback interface. Also, it will work in cases where the loopback is not defined (don't ask... just don't ask) -- David Cross | email: crossd@cs.rpi.edu Lab Director | Rm: 308 Lally Hall Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science | Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 13:24: 3 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id D3A9237B719 for ; Thu, 22 Mar 2001 13:23:58 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id QAA34631; Thu, 22 Mar 2001 16:23:48 -0500 (EST) (envelope-from wollman) Date: Thu, 22 Mar 2001 16:23:48 -0500 (EST) From: Garrett Wollman Message-Id: <200103222123.QAA34631@khavrinen.lcs.mit.edu> To: Cc: Subject: 4.3-BETA netmask problem In-Reply-To: <000201c0b310$fe9a5630$8a02a8c0@ntpc> References: <000201c0b310$fe9a5630$8a02a8c0@ntpc> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > /kernel: arplookup A.B.C.D failed: host is not on local network > /kernel: arpresolve: can't allocate llinfo A.B.C.Drt Show us the output of `route -nv get A.B.C.D'. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 15:54:16 2001 Delivered-To: freebsd-net@freebsd.org Received: from mobile.hub.org (mobile.acadiau.ca [131.162.137.70]) by hub.freebsd.org (Postfix) with ESMTP id 9011A37B71B; Thu, 22 Mar 2001 15:54:04 -0800 (PST) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by mobile.hub.org (8.11.1/8.11.1) with ESMTP id f2MLUx384282; Thu, 22 Mar 2001 17:30:59 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: mobile.hub.org: scrappy owned process doing -bs Date: Thu, 22 Mar 2001 17:30:59 -0400 (AST) From: The Hermit Hacker To: Cc: Subject: dhclient not setting IP ... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Morning ... I'm connected through cable to the 'Net, and the provider I go through, it appears, somehow has it setup that if I change nics, I hvae a bugger of a time re-acquiring a lease ... a tcpdump of the interface, shows: Script started on Thu Mar 22 15:21:54 2001 You have mail. thelab# tcpdump -i fxp0 tcpdump: listening on fxp0 15:22:03.582689 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xe2ad260f [|bootp] [tos 0x10] 15:22:03.763082 24.138.39.1.bootps > 24.138.39.29.bootpc: hops:2 xid:0xe2ad260f Y:24.138.39.29 S:24.138.9.2 G:24.138.27.97 [|bootp] (DF) [tos 0x1] 15:22:05.803622 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xe2ad260f [|bootp] [tos 0x10] 15:22:09.806925 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xe2ad260f [|bootp] [tos 0x10] 15:22:19.817147 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x68837178 [|bootp] [tos 0x10] 15:22:19.931180 24.138.39.1.bootps > 24.138.39.29.bootpc: hops:2 xid:0x68837178 Y:24.138.39.29 S:24.138.9.2 G:24.138.27.97 [|bootp] (DF) [tos 0x1] 15:22:21.973210 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x68837178 [|bootp] [tos 0x10] 15:22:29.977252 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x68837178 [|bootp] [tos 0x10] 15:22:43.987515 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xd037bb22 [|bootp] [tos 0x10] 15:22:44.103212 24.138.39.1.bootps > 24.138.39.29.bootpc: hops:2 xid:0xd037bb22 Y:24.138.39.29 S:24.138.9.2 G:24.138.27.97 [|bootp] (DF) [tos 0x1] 15:22:46.143680 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xd037bb22 [|bootp] [tos 0x10] 15:22:54.147605 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xd037bb22 [|bootp] [tos 0x10] 15:23:02.157773 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x3951b113 [|bootp] [tos 0x10] 15:23:02.241726 24.138.39.1.bootps > 24.138.39.29.bootpc: hops:2 xid:0x3951b113 Y:24.138.39.29 S:24.138.9.2 G:24.138.27.97 [|bootp] (DF) [tos 0x1] 15:23:04.284140 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x3951b113 [|bootp] [tos 0x10] 15:23:07.287819 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x3951b113 [|bootp] [tos 0x10] 15:23:10.297787 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x3951b113 [|bootp] [tos 0x10] 15:23:11.918563 193.40.47.15.2157 > 24.138.39.29.smtp: S 1144224781:1144224781(0) win 32120 (DF) 15:23:15.307987 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xe5cc167c [|bootp] [tos 0x10] 15:23:15.405797 24.138.39.1.bootps > 24.138.39.29.bootpc: hops:2 xid:0xe5cc167c Y:24.138.39.29 S:24.138.9.2 G:24.138.27.97 [|bootp] (DF) [tos 0x1] 15:23:17.443945 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xe5cc167c [|bootp] [tos 0x10] 15:23:23.448055 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xe5cc167c [|bootp] [tos 0x10] 15:23:45.458438 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x7f25f41e [|bootp] [tos 0x10] 15:23:45.568511 24.138.39.1.bootps > 24.138.39.29.bootpc: hops:2 xid:0x7f25f41e Y:24.138.39.29 S:24.138.9.2 G:24.138.27.97 [|bootp] (DF) [tos 0x1] 15:23:47.605157 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x7f25f41e [|bootp] [tos 0x10] 15:23:55.608565 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x7f25f41e [|bootp] [tos 0x10] 15:24:07.618771 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x2fdaaa5d [|bootp] [tos 0x10] 15:24:07.728475 24.138.39.1.bootps > 24.138.39.29.bootpc: hops:2 xid:0x2fdaaa5d Y:24.138.39.29 S:24.138.9.2 G:24.138.27.97 [|bootp] (DF) [tos 0x1] 15:24:09.765163 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x2fdaaa5d [|bootp] [tos 0x10] 15:24:14.768827 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x2fdaaa5d [|bootp] [tos 0x10] 15:24:27.779080 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x4b8da35 [|bootp] [tos 0x10] 15:24:27.871584 24.138.39.1.bootps > 24.138.39.29.bootpc: hops:2 xid:0x4b8da35 Y:24.138.39.29 S:24.138.9.2 G:24.138.27.97 [|bootp] (DF) [tos 0x1] 15:24:29.915360 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x4b8da35 [|bootp] [tos 0x10] 15:24:36.919137 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x4b8da35 [|bootp] [tos 0x10] 15:24:47.929383 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x9095f366 [|bootp] [tos 0x10] 15:24:48.033793 24.138.39.1.bootps > 24.138.39.29.bootpc: hops:2 xid:0x9095f366 Y:24.138.39.29 S:24.138.9.2 G:24.138.27.97 [|bootp] (DF) [tos 0x1] 15:24:50.075817 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x9095f366 [|bootp] [tos 0x10] 15:24:57.079477 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x9095f366 [|bootp] [tos 0x10] 15:25:08.089724 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x41efe314 [|bootp] [tos 0x10] 15:25:08.192135 24.138.39.1.bootps > 24.138.39.29.bootpc: hops:2 xid:0x41efe314 Y:24.138.39.29 S:24.138.9.2 G:24.138.27.97 [|bootp] (DF) [tos 0x1] 15:25:10.235727 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x41efe314 [|bootp] [tos 0x10] 15:25:11.916426 193.40.47.15.2157 > 24.138.39.29.smtp: S 1144224781:1144224781(0) win 32120 (DF) 15:25:17.239751 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x41efe314 [|bootp] [tos 0x10] 15:25:31.250037 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xa1a4c56f [|bootp] [tos 0x10] 15:25:31.353005 24.138.39.1.bootps > 24.138.39.29.bootpc: hops:2 xid:0xa1a4c56f Y:24.138.39.29 S:24.138.9.2 G:24.138.27.97 [|bootp] (DF) [tos 0x1] 15:25:33.396366 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xa1a4c56f [|bootp] [tos 0x10] 15:25:36.400034 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xa1a4c56f [|bootp] [tos 0x10] ^C 47 packets received by filter 0 packets dropped by kernel thelab# exit exit Does anything in here point to where the problem may be? According to them, my NIC isn't accepting what they are sending me, yet when I use my laptop, which connects to two other DHCP networks just fine, it gives the same problem ... Thoughts? Script done on Thu Mar 22 15:25:43 2001 Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 16:46:45 2001 Delivered-To: freebsd-net@freebsd.org Received: from mail.viasoft.com.cn (unknown [61.153.1.177]) by hub.freebsd.org (Postfix) with ESMTP id 5792337B71D for ; Thu, 22 Mar 2001 16:46:39 -0800 (PST) (envelope-from bsddiy@21cn.com) Received: from William ([192.168.1.98]) by mail.viasoft.com.cn (8.9.3/8.9.3) with ESMTP id IAA22146; Fri, 23 Mar 2001 08:43:29 +0800 Date: Fri, 23 Mar 2001 08:55:41 +0800 From: David Xu X-Mailer: The Bat! (v1.48f) Personal Reply-To: David Xu Organization: Viasoft X-Priority: 3 (Normal) Message-ID: <01295542.20010323085541@21cn.com> To: "Jonathan Graehl" Cc: "Freebsd-Net" Subject: Re: Linux Vs. FreeBSD Networking Performance In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Jonathan, Friday, March 23, 2001, 3:12:19 AM, you wrote: JG> Interesting topic in the linux kernel mailing list (Linux is "a lot" faster than JG> FreeBSD): JG> http://kt.zork.net/kernel-traffic/latest.html#2 JG> I came to use FreeBSD from Linux for servers because of kqueue. I stayed JG> because I liked the entire system. I'm sure that Linux does TCP processing as JG> fast as possible, and that in-kernel servers (NFS and the TUX webserver) are JG> blazingly fast. JG> I do have Linux 2.4 running on an old machine, but I have no intention of taking JG> down my FreeBSD box to dual boot Linux just to compare penis size. Has anyone JG> recently done so? JG> -- JG> Jonathan Graehl JG> http://jonathan.graehl.org/ I can confirm Linux 2.4 TCP/IP is faster than FreeBSD, they have dynamic tuned TCP window, unlike we have a fixed max TCP window set in SYSCTL. they have SACK and FACK, it is better in high speed line than FreeBSD, it is also multi-threaded, better on SMP, someone despise Linux should wakeup now, Linux is not so bad. -- David Xu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 18: 2:46 2001 Delivered-To: freebsd-net@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id 55AF037B71D; Thu, 22 Mar 2001 18:02:39 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.11.3) with SMTP id f2N20p596927; Thu, 22 Mar 2001 21:00:51 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <001801c0b33c$f06ae1c0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "The Hermit Hacker" , Cc: References: Subject: Re: dhclient not setting IP ... Date: Thu, 22 Mar 2001 20:59:46 -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 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I'm connected through cable to the 'Net, and the provider I go > through, it appears, somehow has it setup that if I change nics, I hvae a > bugger of a time re-acquiring a lease ... I presume dhclient is what you use to get your IP address. I've seen ISPs that record the MAC address of the interface, and won't give out addresses to any other MAC address but the original one. They'll expire that MAC eventually, but perhaps not for 24 hours or a week. I've also seen ISPs that require the 'host-name' parameter to be set in dhclient.conf, and if not, won't return any DHCP queries at all. I doubt that this is your problem since you're seeing the problem on more than one machine. What does dhclient log into /var/log/syslog? If you see a lot of DHCPDISCOVER / DHCPREQUEST lines but no DHCPACKs, then your ISP's DHCP server isn't a) getting your requests or b) responding to them. In the case of b), it may be because your MAC address or host-name. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 19:45: 6 2001 Delivered-To: freebsd-net@freebsd.org Received: from postfix.conectiva.com.br (perninha.conectiva.com.br [200.250.58.156]) by hub.freebsd.org (Postfix) with ESMTP id 25C7237B71A for ; Thu, 22 Mar 2001 19:45:02 -0800 (PST) (envelope-from riel@conectiva.com.br) Received: from burns.conectiva (burns.conectiva [10.0.0.4]) by postfix.conectiva.com.br (Postfix) with SMTP id 3753918532 for ; Thu, 22 Mar 2001 23:28:41 -0300 (EST) Received: (qmail 17048 invoked by uid 0); 23 Mar 2001 02:28:02 -0000 Received: from dial11.ras.conectiva (HELO imladris.rielhome.conectiva) (root@10.0.8.11) by burns.conectiva with SMTP; 23 Mar 2001 02:28:02 -0000 Received: from localhost (IDENT:riel@localhost [127.0.0.1]) by imladris.rielhome.conectiva (8.11.2/8.11.2) with ESMTP id f2N2Gfh31278; Thu, 22 Mar 2001 23:16:41 -0300 Date: Thu, 22 Mar 2001 23:16:41 -0300 (BRST) From: Rik van Riel X-Sender: riel@imladris.rielhome.conectiva To: Jonathan Lemon Cc: jonathan@graehl.org, net@FreeBSD.ORG Subject: Re: Linux Vs. FreeBSD Networking Performance In-Reply-To: <200103221921.f2MJLiv24251@prism.flugsvamp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 22 Mar 2001, Jonathan Lemon wrote: > Yeah, I read this; it basically ended with the author of the GigE card > making unsubstantiated claims that Linux is "much" faster than FreeBSD. > > Without more solid information, this is basically FUD. I'm sure that > by picking the appropriate benchmark, you can end up showing whatever > results you want. Indeed. I suspect that at the moment the Linux stack will be slightly faster for fast transfers while the FreeBSD stack will be better able to handle 6000 dialup users downloading files at the same time. Then again, this is just a hunch based on what I've seen the developers talk about and I haven't actually touched much of the networking code. Until these things are measured, assuming that performance of either of these systems will be better is just that, assumption. regards, Rik -- Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose... http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com.br/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 21:38:20 2001 Delivered-To: freebsd-net@freebsd.org Received: from filk.iinet.net.au (syncopation-dns.iinet.net.au [203.59.24.29]) by hub.freebsd.org (Postfix) with SMTP id 48A8837B71B for ; Thu, 22 Mar 2001 21:38:14 -0800 (PST) (envelope-from julian@elischer.org) Received: (qmail 16500 invoked by uid 666); 23 Mar 2001 05:39:46 -0000 Received: from i079-100.nv.iinet.net.au (HELO elischer.org) (203.59.79.100) by mail.m.iinet.net.au with SMTP; 23 Mar 2001 05:39:46 -0000 Message-ID: <3ABAE10C.691E0177@elischer.org> Date: Thu, 22 Mar 2001 21:37:16 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Jonathan Graehl Cc: Freebsd-Net Subject: Re: Linux Vs. FreeBSD Networking Performance References: Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jonathan Graehl wrote: > > Interesting topic in the linux kernel mailing list (Linux is "a lot" faster than > FreeBSD): > http://kt.zork.net/kernel-traffic/latest.html#2 > > I came to use FreeBSD from Linux for servers because of kqueue. I stayed > because I liked the entire system. I'm sure that Linux does TCP processing as > fast as possible, and that in-kernel servers (NFS and the TUX webserver) are > blazingly fast. > > I do have Linux 2.4 running on an old machine, but I have no intention of taking > down my FreeBSD box to dual boot Linux just to compare penis size. Has anyone > recently done so? which BSD did they try? what Network cards? etc. etc. > > -- > Jonathan Graehl > http://jonathan.graehl.org/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 22:24:25 2001 Delivered-To: freebsd-net@freebsd.org Received: from lysimachus.hosting.swbell.net (lysimachus.hosting.swbell.net [216.100.98.6]) by hub.freebsd.org (Postfix) with ESMTP id 1E75337B719 for ; Thu, 22 Mar 2001 22:24:23 -0800 (PST) (envelope-from alc@imimic.com) Received: from imimic.com (adsl-216-63-78-19.dsl.hstntx.swbell.net [216.63.78.19]) by lysimachus.hosting.swbell.net id BAA10606; Fri, 23 Mar 2001 01:24:10 -0500 (EST) [ConcentricHost SMTP Relay 1.7] Message-ID: <3ABAEC0A.994C6D2C@imimic.com> Date: Fri, 23 Mar 2001 00:24:10 -0600 From: "Alan L. Cox" Organization: iMimic Networking, Inc. X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: jlemon@flugsvamp.com, net@freebsd.org Subject: Re: Linux Vs. FreeBSD Networking Performance Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Note that iMimic claims to run on a standard FreeBSD platform, which > would also imply they use kqueue; this alone can probably provide the > 2x performance boost you see on polygraph. Yes, we do. In fact, the difference between FreeBSD and Linux is greater than 2x. On equivalent processors, we demonstrated 1900 polygraph req/sec on FreeBSD 4.2 and 720 polygraph req/sec on a 2.2.14 Linux kernel. It's also worth mentioning that the response time for FreeBSD at 1900 req/sec was faster than Linux at 720 req/sec. There are other advantages to FreeBSD, but kqueue is definitely at the top of the list. Alan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 23: 1: 0 2001 Delivered-To: freebsd-net@freebsd.org Received: from mail.teliafi.net (mail.teliafi.net [195.10.132.73]) by hub.freebsd.org (Postfix) with ESMTP id 520FA37B71D for ; Thu, 22 Mar 2001 23:00:57 -0800 (PST) (envelope-from harkonen@mail.teliafi.net) Received: (from harkonen@localhost) by mail.teliafi.net (8.9.3/8.9.3/Debian 8.9.3-21) id JAA01629; Fri, 23 Mar 2001 09:01:02 +0200 From: Tommi Harkonen Date: Fri, 23 Mar 2001 09:01:02 +0200 To: Garrett Wollman Cc: Tommi Harkonen , freebsd-net@FreeBSD.ORG Subject: Re: RTM_LOSING: Kernel Suspects Partitioning: Message-ID: <20010323090102.B9984@teliafi.net> References: <20010322124742.A9984@teliafi.net> <200103221643.LAA30673@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103221643.LAA30673@khavrinen.lcs.mit.edu>; from wollman@khavrinen.lcs.mit.edu on Thu, Mar 22, 2001 at 11:43:33AM -0500 X-Security: Restricted Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Mar 22, 2001 at 11:43:33AM -0500, Garrett Wollman wrote: > < said: > > RTM_LOSING: Kernel Suspects Partitioning: len 124, pid: 0, seq 0, errno 0, flags: > > locks: inits: > > sockaddrs: > > ftp.de.cw.net 62.236.255.201 > > This is perfectly natural. TCP will generate these messages whenever > its retransmission timer goes off; they should correlate with packet > losses. Is it also natural that I cannot ftp from the box to anywhere (eg. ftp.cdrom.com)? There are no firewalls, ACLs or anything like that and I'm not running routed nor any other similiar program. I just have one static route to my default gw. > (The `routed' program, for one, uses these messages as an indication > that the gateway for a particular route may be down, in which case if > there is another equal-cost route it will try that one instead.) The def. gw is not down since I can ssh to the box and it'll reply to all requests made to the box but not from the box. -- th To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 23: 2:59 2001 Delivered-To: freebsd-net@freebsd.org Received: from mail.viasoft.com.cn (unknown [61.153.1.177]) by hub.freebsd.org (Postfix) with ESMTP id 4248737B71B for ; Thu, 22 Mar 2001 23:02:56 -0800 (PST) (envelope-from bsddiy@21cn.com) Received: from William ([192.168.1.98]) by mail.viasoft.com.cn (8.9.3/8.9.3) with ESMTP id OAA25087; Fri, 23 Mar 2001 14:59:19 +0800 Date: Fri, 23 Mar 2001 15:03:28 +0800 From: David Xu X-Mailer: The Bat! (v1.48f) Personal Reply-To: David Xu Organization: Viasoft X-Priority: 3 (Normal) Message-ID: <10923847280.20010323150328@21cn.com> To: "Alan L. Cox" Cc: jlemon@flugsvamp.com, net@freebsd.org Subject: Re[2]: Linux Vs. FreeBSD Networking Performance In-reply-To: <3ABAEC0A.994C6D2C@imimic.com> References: <3ABAEC0A.994C6D2C@imimic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ALC> Yes, we do. In fact, the difference between FreeBSD and Linux is ALC> greater ALC> than 2x. On equivalent processors, we demonstrated 1900 polygraph ALC> req/sec ALC> on FreeBSD 4.2 and 720 polygraph req/sec on a 2.2.14 Linux kernel. It's ALC> also worth mentioning that the response time for FreeBSD at 1900 req/sec ALC> was faster than Linux at 720 req/sec. Linux 2.2 is known slow at TCP/IP throughput, but did you test Linux 2.4? it is very different. while Linux and FreeBSD are being improved, some guys here are still comparing FreeBSD with Linux 2.2, it's unfair, useless and waste time. please stop doing such a stupid thing! -- David Xu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 23:18:33 2001 Delivered-To: freebsd-net@freebsd.org Received: from lysimachus.hosting.swbell.net (lysimachus.hosting.swbell.net [216.100.98.6]) by hub.freebsd.org (Postfix) with ESMTP id 8367B37B71B for ; Thu, 22 Mar 2001 23:18:31 -0800 (PST) (envelope-from alc@imimic.com) Received: from imimic.com (adsl-216-63-78-19.dsl.hstntx.swbell.net [216.63.78.19]) by lysimachus.hosting.swbell.net id CAA11090; Fri, 23 Mar 2001 02:18:26 -0500 (EST) [ConcentricHost SMTP Relay 1.7] Message-ID: <3ABAF8C2.84EE0B96@imimic.com> Date: Fri, 23 Mar 2001 01:18:26 -0600 From: "Alan L. Cox" Organization: iMimic Networking, Inc. X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: David Xu Cc: jlemon@flugsvamp.com, net@freebsd.org Subject: Re: Linux Vs. FreeBSD Networking Performance References: <3ABAEC0A.994C6D2C@imimic.com> <10923847280.20010323150328@21cn.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org David Xu wrote: > > Linux 2.2 is known slow at TCP/IP throughput, > but did you test Linux 2.4? it is very different. > while Linux and FreeBSD are being improved, some guys here > are still comparing FreeBSD with Linux 2.2, it's unfair, useless > and waste time. please stop doing such a stupid thing! > You should look into the tests at www.measurement-factory.com that Jonathon refers to before calling them "stupid." At the time of these tests, Linux 2.4 was not released. Alan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 22 23:32:16 2001 Delivered-To: freebsd-net@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 1163737B718 for ; Thu, 22 Mar 2001 23:32:10 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f2N7VYJ34377; Fri, 23 Mar 2001 09:31:34 +0200 (EET) (envelope-from ru) Date: Fri, 23 Mar 2001 09:31:34 +0200 From: Ruslan Ermilov To: Peter Blok , Garrett Wollman Cc: freebsd-net@FreeBSD.org Subject: Re: 4.3-BETA netmask problem Message-ID: <20010323093134.B34042@sunbay.com> Mail-Followup-To: Peter Blok , Garrett Wollman , freebsd-net@FreeBSD.org References: <000201c0b310$fe9a5630$8a02a8c0@ntpc> <200103222123.QAA34631@khavrinen.lcs.mit.edu> <000201c0b310$fe9a5630$8a02a8c0@ntpc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000201c0b310$fe9a5630$8a02a8c0@ntpc>; from Peter.Blok@inter.NL.net on Thu, Mar 22, 2001 at 09:45:12PM +0100 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Mar 22, 2001 at 09:45:12PM +0100, Peter Blok wrote: > Hi, > > I'm having a strange problem. I have a block public ip addresses at > X.Y.Z.128/28. My FreeBSD 4.3-BETA system has assigned IP address X.Y.Z.140 > netmask 255.255.255.240, broadcast X.Y.Z.143. > > I don't use routed. I have one static host route to a particular host. > > Here's the problem when somebody tries to access me from the outside with IP > A.B.C.D I'm getting messages: > > /kernel: arplookup A.B.C.D failed: host is not on local network > /kernel: arpresolve: can't allocate llinfo A.B.C.Drt > > I arplookup is right! The IP address is not on the local network. Why is > arplookup displaying this? What is wrong? I am also not able to slogin to > this public address. > On Thu, Mar 22, 2001 at 04:23:48PM -0500, Garrett Wollman wrote: > < said: > > > /kernel: arplookup A.B.C.D failed: host is not on local network > > /kernel: arpresolve: can't allocate llinfo A.B.C.Drt > > Show us the output of `route -nv get A.B.C.D'. And we will see that this route has an indirect gateway! Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 0:17:17 2001 Delivered-To: freebsd-net@freebsd.org Received: from elvis.mu.org (elvis.mu.org [207.154.226.10]) by hub.freebsd.org (Postfix) with ESMTP id A317437B71D for ; Fri, 23 Mar 2001 00:17:09 -0800 (PST) (envelope-from billf@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1098) id E4E9081D03; Fri, 23 Mar 2001 02:16:58 -0600 (CST) Date: Fri, 23 Mar 2001 02:16:58 -0600 From: Bill Fumerola To: David Xu Cc: "Alan L. Cox" , jlemon@flugsvamp.com, net@freebsd.org Subject: Re: Linux Vs. FreeBSD Networking Performance Message-ID: <20010323021658.R2567@elvis.mu.org> References: <3ABAEC0A.994C6D2C@imimic.com> <10923847280.20010323150328@21cn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <10923847280.20010323150328@21cn.com>; from bsddiy@21cn.com on Fri, Mar 23, 2001 at 03:03:28PM +0800 X-Operating-System: FreeBSD 4.2-FEARSOME-20010209 i386 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Mar 23, 2001 at 03:03:28PM +0800, David Xu wrote: > Linux 2.2 is known slow at TCP/IP throughput, > but did you test Linux 2.4? it is very different. > while Linux and FreeBSD are being improved, some guys here > are still comparing FreeBSD with Linux 2.2, it's unfair, useless > and waste time. please stop doing such a stupid thing! Reading your posts is also a "waste of time" and a "stupid thing". Please stop trolling. -- Bill Fumerola - security yahoo / Yahoo! inc. - fumerola@yahoo-inc.com / billf@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 0:44:31 2001 Delivered-To: freebsd-net@freebsd.org Received: from tango.SoftHome.net (tango.SoftHome.net [204.144.231.49]) by hub.freebsd.org (Postfix) with SMTP id 71C6D37B71B for ; Fri, 23 Mar 2001 00:44:27 -0800 (PST) (envelope-from asr@softhome.net) Received: (qmail 640 invoked by uid 417); 23 Mar 2001 08:56:31 -0000 Received: from unknown (HELO softhome.net) (203.129.230.100) by r-softhome-smtpa-231 with SMTP; 23 Mar 2001 08:56:31 -0000 Date: Fri, 23 Mar 2001 14:21:24 +0530 (IST) From: "Ashutosh S. Rajekar" X-Sender: asr@vangogh.org To: freebsd-net@freebsd.org Subject: Re: Linux Vs. FreeBSD Networking Performance In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Recently there was a culomn in byte.com by Moshe Bar, and his tests seemed to show that FreeBSD-4.1.1 could still beat the Linux 2.4.0 kernel. The test machine was a 2-way SMP machine, running the a giant locked FreeBSD-4.1.1 kernel and also a fine-locked 2.4.0 Linux kernel. Here's the link: http://www.byte.com/column/BYT20010130S0010 On Thu, 22 Mar 2001, Jonathan Graehl wrote: > Interesting topic in the linux kernel mailing list (Linux is "a lot" faster than > FreeBSD): > http://kt.zork.net/kernel-traffic/latest.html#2 > > I came to use FreeBSD from Linux for servers because of kqueue. I stayed > because I liked the entire system. I'm sure that Linux does TCP processing as > fast as possible, and that in-kernel servers (NFS and the TUX webserver) are > blazingly fast. > > I do have Linux 2.4 running on an old machine, but I have no intention of taking > down my FreeBSD box to dual boot Linux just to compare penis size. Has anyone > recently done so? > > -- > Jonathan Graehl > http://jonathan.graehl.org/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > --------------------------------------------------------------------- ("`-''-/").___..--''"`-._ (\ Ashutosh S. Rajekar `6_ 6 ) `-. ( ).`-.__.`) Indra Networks Pvt. Ltd. (_Y_.)' ._ ) `._ `. ``-..-' Pune, INDIA. _..`--'_..-_/ /--'_.' ,' mailto: asr@softhome.net (il),-'' (li),' ((!.-' http://www.rajekar.org --------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 0:53:43 2001 Delivered-To: freebsd-net@freebsd.org Received: from bom2.vsnl.net.in (bom2.vsnl.net.in [202.54.1.1]) by hub.freebsd.org (Postfix) with ESMTP id AEA5737B720; Fri, 23 Mar 2001 00:52:40 -0800 (PST) (envelope-from toner1@asianwired.net) Received: from 202.54.1.1 (rsvp-208-187-151-175.ac05.dlls.eli.net [208.187.151.175]) by bom2.vsnl.net.in (Postfix) with SMTP id 9B0C32B28B; Fri, 23 Mar 2001 14:20:28 +0530 (GMT+5:30) To: customer@republic.com Date: Thu, 22 Mar 01 03:22:20 EST From: toner1@asianwired.net Subject: toner supplies Message-Id: <20010323085039.9B0C32B28B@bom2.vsnl.net.in> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org PLEASE FORWARD TO THE PERSON RESPONSIBLE FOR PURCHASING YOUR LASER PRINTER SUPPLIES **** VORTEX SUPPLIES **** -SPECIALS OF THE DAY ON LASER TONER SUPPLIES AT DISCOUNT PRICES-- LASER PRINTER TONER CARTRIDGES COPIER AND FAX CARTRIDGES WE ARE -->THE<-- PLACE TO BUY YOUR TONER CARTRIDGES BECAUSE YOU SAVE UP TO 30% FROM OFFICE DEPOT'S, QUILL'S OR OFFICE MAX'S EVERY DAY LOW PRICES ORDER BY PHONE:1-888-288-9043 ORDER BY FAX: 1-888-977-1577 CUSTOMER SERVICE: 1-888-248-2015 E-MAIL REMOVAL LINE: 1-888-248-4930 UNIVERSITY AND/OR SCHOOL PURCHASE ORDERS WELCOME. (NO CREDIT APPROVAL REQUIRED) ALL OTHER PURCHASE ORDER REQUESTS REQUIRE CREDIT APPROVAL. PAY BY CHECK (C.O.D), CREDIT CARD OR PURCHASE ORDER (NET 30 DAYS). IF YOUR ORDER IS BY CREDIT CARD PLEASE LEAVE YOUR CREDIT CARD # PLUS EXPIRATION DATE. IF YOUR ORDER IS BY PURCHASE ORDER LEAVE YOUR SHIPPING/BILLING ADDRESSES AND YOUR P.O. NUMBER NO SHIPPING CHARGES FOR ORDERS $49 OR OVER ADD $4.75 FOR ORDERS UNDER $49. C.O.D. ORDERS ADD $4.5 TO SHIPPING CHARGES. FOR THOSE OF YOU WHO REQUIRE MORE INFORMATION ABOUT OUR COMPANY INCUDING FEDERAL TAX ID NUMBER, CLOSEST SHIPPING OR CORPORATE ADDRESS IN THE CONTINENTAL U.S. OR FOR CATALOG REQUESTS PLEASE CALL OUR CUSTOMER SERVICE LINE 1-888-248-2015 OUR NEW , LASER PRINTER TONER CARTRIDGE, PRICES ARE AS FOLLOWS: (PLEASE ORDER BY PAGE NUMBER AND/OR ITEM NUMBER) HEWLETT PACKARD: (ON PAGE 2) ITEM #1 LASERJET SERIES 4L,4P (74A)------------------------$44 ITEM #2 LASERJET SERIES 1100 (92A)-------------------------$44 ITEM #3 LASERJET SERIES 2 (95A)-------------------------------$39 ITEM #4 LASERJET SERIES 2P (75A)-----------------------------$54 ITEM #5 LASERJET SERIES 5P,6P,5MP, 6MP (3903A)--$44 ITEM #6 LASERJET SERIES 5SI, 5000 (29A)------------------$95 ITEM #7 LASERJET SERIES 2100 (96A)-------------------------$74 ITEM #8 LASERJET SERIES 8100 (82X)-----------------------$145 ITEM #9 LASERJET SERIES 5L/6L (3906A0------------------$35 ITEM #10 LASERJET SERIES 4V-------------------------------------$95 ITEM #11 LASERJET SERIES 4000 (27X)-------------------------$72 ITEM #12 LASERJET SERIES 3SI/4SI (91A)--------------------$54 ITEM #13 LASERJET SERIES 4, 4M, 5,5M-----------------------$49 HEWLETT PACKARD FAX (ON PAGE 2) ITEM #14 LASERFAX 500, 700 (FX1)----------$49 ITEM #15 LASERFAX 5000,7000 (FX2)------$54 ITEM #16 LASERFAX (FX3)------------------------$59 ITEM #17 LASERFAX (FX4)------------------------$54 LEXMARK/IBM (ON PAGE 3) OPTRA 4019, 4029 HIGH YIELD---------------$89 OPTRA R, 4039, 4049 HIGH YIELD---------$105 OPTRA E----------------------------------------------------$59 OPTRA N--------------------------------------------------$115 OPTRA S--------------------------------------------------$165 - EPSON (ON PAGE 4) ACTION LASER 7000,7500,8000,9000-------$105 ACTION LASER 1000,1500-------------------------$105 CANON PRINTERS (ON PAGE 5) PLEASE CALL FOR MODELS AND UPDATED PRICES FOR CANON PRINTER CARTRIDGES PANASONIC (0N PAGE 7) NEC SERIES 2 MODELS 90 AND 95----------$105 APPLE (0N PAGE 8) LASER WRITER PRO 600 or 16/600------------$49 LASER WRITER SELECT 300,320,360---------$74 LASER WRITER 300 AND 320----------------------$54 LASER WRITER NT, 2NT------------------------------$54 LASER WRITER 12/640--------------------------------$79 CANON FAX (ON PAGE 9) LASERCLASS 4000 (FX3)---------------------------$59 LASERCLASS 5000,6000,7000 (FX2)---------$54 LASERFAX 5000,7000 (FX2)----------------------$54 LASERFAX 8500,9000 (FX4)----------------------$54 CANON COPIERS (PAGE 10) PC 3, 6RE, 7 AND 11 (A30)---------------------$69 PC 300,320,700,720 and 760 (E-40)--------$89 IF YOUR CARTRIDGE IS NOT LISTED CALL CUSTOMER SERVICE AT 1-888-248-2015 90 DAY UNLIMITED WARRANTY INCLUDED ON ALL PRODUCTS. ALL TRADEMARKS AND BRAND NAMES LISTED ABOVE ARE PROPERTY OF THE RESPECTIVE HOLDERS AND USED FOR DESCRIPTIVE PURPOSES ONLY. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 5:13:43 2001 Delivered-To: freebsd-net@freebsd.org Received: from mobile.hub.org (mobile.acadiau.ca [131.162.137.70]) by hub.freebsd.org (Postfix) with ESMTP id F3C2137B71A; Fri, 23 Mar 2001 05:13:37 -0800 (PST) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by mobile.hub.org (8.11.1/8.11.1) with ESMTP id f2NCtEs89408; Fri, 23 Mar 2001 08:55:14 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: mobile.hub.org: scrappy owned process doing -bs Date: Fri, 23 Mar 2001 08:55:14 -0400 (AST) From: The Hermit Hacker To: Matthew Emmerton Cc: , Subject: Re: dhclient not setting IP ... In-Reply-To: <001801c0b33c$f06ae1c0$1200a8c0@gsicomp.on.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 22 Mar 2001, Matthew Emmerton wrote: > > I'm connected through cable to the 'Net, and the provider I go > > through, it appears, somehow has it setup that if I change nics, I hvae a > > bugger of a time re-acquiring a lease ... > > I presume dhclient is what you use to get your IP address. > > I've seen ISPs that record the MAC address of the interface, and won't give > out addresses to any other MAC address but the original one. They'll expire > that MAC eventually, but perhaps not for 24 hours or a week. this is what it appears it was ... called up their tech support last night, the girl there said "we dont' support Unix", I asked her to release the IP and low-n-behold, I got a new one ... Thanks ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 7: 4:54 2001 Delivered-To: freebsd-net@freebsd.org Received: from prism.flugsvamp.com (cb58709-a.mdsn1.wi.home.com [24.17.241.9]) by hub.freebsd.org (Postfix) with ESMTP id C149537B71D for ; Fri, 23 Mar 2001 07:04:52 -0800 (PST) (envelope-from jlemon@flugsvamp.com) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.11.0/8.11.0) id f2NF0gh61993; Fri, 23 Mar 2001 09:00:42 -0600 (CST) (envelope-from jlemon) Date: Fri, 23 Mar 2001 09:00:42 -0600 (CST) From: Jonathan Lemon Message-Id: <200103231500.f2NF0gh61993@prism.flugsvamp.com> To: bsddiy@21cn.com, net@freebsd.org Subject: Re: Linux Vs. FreeBSD Networking Performance X-Newsgroups: local.mail.freebsd-net In-Reply-To: <01295542.20010323085541@21cn.com> References: Organization: Cc: Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <01295542.20010323085541@21cn.com> you write: >I can confirm Linux 2.4 TCP/IP is faster than FreeBSD, they have >dynamic tuned TCP window, unlike we have a fixed max TCP window >set in SYSCTL. they have SACK and FACK, it is better in high speed line >than FreeBSD, it is also multi-threaded, better on SMP, someone >despise Linux should wakeup now, Linux is not so bad. Unfortunately, you haven't confirmed anything here, other than Linux has a different feature set than FreeBSD, which we already are aware of. Just having more features does not automatically make things faster. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 7: 8:25 2001 Delivered-To: freebsd-net@freebsd.org Received: from Interfaker.ccsis.msk.ru (ccsis-kiae.dialup.relcom.ru [193.125.222.57]) by hub.freebsd.org (Postfix) with ESMTP id 8EA9237B718; Fri, 23 Mar 2001 07:08:20 -0800 (PST) (envelope-from nms@ccsis.msk.ru) Received: by Interfaker.ccsis.msk.ru (Postfix, from userid 1002) id 44A1E66; Fri, 23 Mar 2001 18:10:22 +0300 (MSK) From: Nikolai Saoukh To: freebsd-tokenring@freebsd.org To: freebsd-net@freebsd.org Subject: ttr: Shared-RAM (a.k.a. TROPIC) token ring adapter driver (beta) available Message-Id: <20010323151022.44A1E66@Interfaker.ccsis.msk.ru> Date: Fri, 23 Mar 2001 18:10:22 +0300 (MSK) Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The driver available at http://www.otdel-1.org/nms/tr/ttr.tar.gz One also need orm driver submitted as kern/22078. It available also at http://www.otdel-1.org/nms/tr/orm.tar.gz Installation for both drivers: Drivers where developed under 4.2-STABLE, but should run under -CURRENT too (at least I hope so). Unpack archives in any directory and do (for both drivers) make make install Add the following to /boot/loader.conf verboseboot="YES" orm_load="YES" if_ttr_load="YES" I am interested in succcess/failure cases, so PLEASE do not hesitate to send me dmesg output. Some debug output still present in ttr driver. English is not my native language so feel free to extend/edit manual pages, where appropriate (do not forget submit your changes to me). Plans: Netgraph only driver and any additional modules required. Additional buses (PCMCIA, MCA, EISA, PCI, CardBus) if I see interest. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 8:22:10 2001 Delivered-To: freebsd-net@freebsd.org Received: from mail.clickarray.com (clickwall.clickarray.com [216.132.92.2]) by hub.freebsd.org (Postfix) with ESMTP id CDE7737B719 for ; Fri, 23 Mar 2001 08:22:08 -0800 (PST) (envelope-from sshah@clickarray.com) Received: by mail.clickarray.com (Postfix, from userid 2000) id 5D0535EF03; Fri, 23 Mar 2001 08:28:45 -0800 (PST) Date: Fri, 23 Mar 2001 08:28:45 -0800 From: Steve Shah To: "Ashutosh S. Rajekar" Cc: freebsd-net@freebsd.org Subject: Re: Linux Vs. FreeBSD Networking Performance Message-ID: <20010323082845.A12797@clickarray.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from asr@softhome.net on Fri, Mar 23, 2001 at 02:21:24PM +0530 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Mar 23, 2001 at 02:21:24PM +0530, Ashutosh S. Rajekar wrote: > [FreeBSD TCP/IP is faster than Linux TCP/IP in Benchmark X] > > [Linux TCP/IP is faster than FreeBSD TCP/IP in Benchmark Y] There are lies, statistics, and benchmarks. And then there are the conclusions based on them. The conclusions are often the shakiest part. -- ______________________________________________________________________________ Steve Shah (sshah@clickarray.com) | Voice: 408.284.4226 Pager: 408.989.4247 http://www.clickarray.com | Pager E-Mail: pagesshah@clickarray.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Beating code into submission, one OS at a time... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 9:11:23 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 3FD6437B71B for ; Fri, 23 Mar 2001 09:11:21 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id MAA42834; Fri, 23 Mar 2001 12:11:06 -0500 (EST) (envelope-from wollman) Date: Fri, 23 Mar 2001 12:11:06 -0500 (EST) From: Garrett Wollman Message-Id: <200103231711.MAA42834@khavrinen.lcs.mit.edu> To: Tommi Harkonen Cc: freebsd-net@FreeBSD.ORG Subject: Re: RTM_LOSING: Kernel Suspects Partitioning: In-Reply-To: <20010323090102.B9984@teliafi.net> References: <20010322124742.A9984@teliafi.net> <200103221643.LAA30673@khavrinen.lcs.mit.edu> <20010323090102.B9984@teliafi.net> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: >> This is perfectly natural. TCP will generate these messages whenever >> its retransmission timer goes off; they should correlate with packet >> losses. > Is it also natural that I cannot ftp from the box to anywhere > (eg. ftp.cdrom.com)? One goes in hand with the other. Your TCP connections are timing out, which causes the RTM_LOSING messages. Clearly, your packets are not getting anywhere. Perhaps you should carefully check your configuration. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 10:20: 3 2001 Delivered-To: freebsd-net@freebsd.org Received: from relay2.wertep.com (relay2.wertep.com [194.44.90.130]) by hub.freebsd.org (Postfix) with ESMTP id F27D537B718; Fri, 23 Mar 2001 10:19:53 -0800 (PST) (envelope-from petro@She.wertep.com) Received: from She.wertep.com (she-tun-proxy [192.168.252.2]) by relay2.wertep.com (8.9.3/8.9.3) with ESMTP id UAA53092; Fri, 23 Mar 2001 20:19:50 +0200 (EET) (envelope-from petro@She.wertep.com) Received: from localhost (petro@localhost) by She.wertep.com (8.9.3/8.9.3) with ESMTP id UAA68386; Fri, 23 Mar 2001 20:20:44 +0200 (EET) (envelope-from petro@She.wertep.com) Date: Fri, 23 Mar 2001 20:20:39 +0200 (EET) From: petro To: freebsd-hackers@FreeBSD.ORG Cc: freebsd-net@FreeBSD.ORG Subject: PPPD! Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! Does anybody know about support pppunit in the ppp conf files, or may be can advice me where I can read about pppunit. Thank you very much. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 10:30: 0 2001 Delivered-To: freebsd-net@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id 38F1437B718; Fri, 23 Mar 2001 10:29:54 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.2/8.11.2) with ESMTP id f2NIU4D17798; Fri, 23 Mar 2001 18:30:04 GMT (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f2NIWgS13759; Fri, 23 Mar 2001 18:32:42 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200103231832.f2NIWgS13759@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: petro Cc: freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: PPPD! In-Reply-To: Message from petro of "Fri, 23 Mar 2001 20:20:39 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Mar 2001 18:32:42 +0000 From: Brian Somers Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi! > Does anybody know about support pppunit in the ppp conf files, or may be > can advice me where I can read about pppunit. > Thank you very much. I'm afraid I can't really help, but I believe ppp(8) can do the same thing with the -unit command line switch. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 11:49:17 2001 Delivered-To: freebsd-net@freebsd.org Received: from mx.databus.com (p101-44.acedsl.com [160.79.101.44]) by hub.freebsd.org (Postfix) with ESMTP id 7351637B719; Fri, 23 Mar 2001 11:49:11 -0800 (PST) (envelope-from barney@mx.databus.com) Received: (from barney@localhost) by mx.databus.com (8.11.1/8.11.1) id f2NJn0i50238; Fri, 23 Mar 2001 14:49:00 -0500 (EST) (envelope-from barney) Date: Fri, 23 Mar 2001 14:49:00 -0500 From: Barney Wolff To: The Hermit Hacker Cc: Matthew Emmerton , freebsd-net@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: dhclient not setting IP ... Message-ID: <20010323144859.A50150@mx.databus.com> References: <001801c0b33c$f06ae1c0$1200a8c0@gsicomp.on.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from scrappy@hub.org on Fri, Mar 23, 2001 at 08:55:14AM -0400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've heard folklore that power-cycling the cable-modem works - apparently it's the thing that remembers the MAC. Barney Wolff On Fri, Mar 23, 2001 at 08:55:14AM -0400, The Hermit Hacker wrote: > On Thu, 22 Mar 2001, Matthew Emmerton wrote: > > > > I'm connected through cable to the 'Net, and the provider I go > > > through, it appears, somehow has it setup that if I change nics, I hvae a > > > bugger of a time re-acquiring a lease ... > > > > I presume dhclient is what you use to get your IP address. > > > > I've seen ISPs that record the MAC address of the interface, and won't give > > out addresses to any other MAC address but the original one. They'll expire > > that MAC eventually, but perhaps not for 24 hours or a week. > > this is what it appears it was ... called up their tech support last > night, the girl there said "we dont' support Unix", I asked her to release > the IP and low-n-behold, I got a new one ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 12:39: 3 2001 Delivered-To: freebsd-net@freebsd.org Received: from blizzard.sabbo.net (ns.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id EA09337B71A; Fri, 23 Mar 2001 12:38:48 -0800 (PST) (envelope-from max@vic.sabbo.net) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.112]) by blizzard.sabbo.net (8.10.1/8.10.1) with ESMTP id f2NKcjX12431; Fri, 23 Mar 2001 22:38:45 +0200 Received: (from max@localhost) by vic.sabbo.net (8.11.3/8.11.2) id f2NKcjr00532; Fri, 23 Mar 2001 22:38:45 +0200 (EET) (envelope-from sobomax@FreeBSD.org) From: Maxim Sobolev Message-Id: <200103232038.f2NKcjr00532@vic.sabbo.net> Subject: ppp(8) + ip forwarding doesn't work anymore To: brian@freebsd.org Date: Fri, 23 Mar 2001 22:38:45 +0200 (EET) Cc: stable@freebsd.org, net@freebsd.org X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I noticed that after upgrading to 4-BETA something goes wrong with ip forwarding via ppp(8). I have a FreeBSD box (A) connected to Internet via network interface and this system also has a modem for dial-in and backup dial-up connection. Sometimes I need to route through this modem traffic to/from only one specific host (B) on my internal network, so I used the following command to do it and it worked like a charm (50 is the first rule): ppp.linkup: !bg /sbin/ipfw add 50 fwd HISADDR ip from B to not 192.168.0.1/24 ppp.linkdown: !bg delete 50 After upgrading to 4-BETA and consequently to 4-RC this doesn't work anymore :(((. After a link is up I see this rule in my ipfw configuration, see route to HISADDR in routing table, can ping HISADDR from A, but all packets from B are silently discarded (I see count increase in `ipfw show', but ppp doesn't show any IP packets going through). At the same time, I can get all packets from B and other hosts routed through ppp by doing `route add default HISADDR' after link is up, so obviously my configuration is OK. I suspect that this has something to do with recent forwarding changes, but can't tell more precisely. It looks to me like a serious bug, that ought to be resolved before 4.3-RELEASE. -Maxim P.S. Yes, I have gateway_enable="YES" and "options IPFIREWALL_FORWARD" on A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 12:39:17 2001 Delivered-To: freebsd-net@freebsd.org Received: from molly.straylight.com (molly.straylight.com [209.68.199.242]) by hub.freebsd.org (Postfix) with ESMTP id 01D1937B71D for ; Fri, 23 Mar 2001 12:39:13 -0800 (PST) (envelope-from jonathan@graehl.org) Received: from dickie (case.straylight.com [209.68.199.244]) by molly.straylight.com (8.11.0/8.10.0) with SMTP id f2NKd5E29595; Fri, 23 Mar 2001 12:39:05 -0800 From: "Jonathan Graehl" To: "Alan L. Cox" Cc: "Freebsd-Net" Subject: RE: Linux Vs. FreeBSD Networking Performance Date: Fri, 23 Mar 2001 12:38:32 -0800 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 IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3ABAEC0A.994C6D2C@imimic.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Yes, we do. In fact, the difference between FreeBSD and Linux is > greater > than 2x. On equivalent processors, we demonstrated 1900 polygraph > req/sec > on FreeBSD 4.2 and 720 polygraph req/sec on a 2.2.14 Linux kernel. It's > also worth mentioning that the response time for FreeBSD at 1900 req/sec > was faster than Linux at 720 req/sec. > > There are other advantages to FreeBSD, but kqueue is definitely > at the top of the list. > > Alan What would it take to get Linus to give the nod to an implementation conforming to the kqueue API? I remember him saying that he only wanted it to work for file descriptors, and to only allow one kqueue per process - neither of which I agree with. The abstraction penalty for the capability of multiple filter types and kqueue-as-selectable-fd is as minimal as a table lookup and a pointer indirection. If the kqueue API is overengineered, well, then, so is the Berkeley Sockets API. -- Jonathan Graehl http://jonathan.graehl.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 13:52:42 2001 Delivered-To: freebsd-net@freebsd.org Received: from altrade.nijmegen.inter.nl.net (altrade.nijmegen.inter.nl.net [193.67.237.6]) by hub.freebsd.org (Postfix) with ESMTP id C694237B719; Fri, 23 Mar 2001 13:52:36 -0800 (PST) (envelope-from Peter.Blok@inter.NL.net) Received: from ntpc by altrade.nijmegen.inter.nl.net via 1Cust224.tnt6.rtm1.nl.uu.net [213.116.106.224] with SMTP id WAA17287 (8.8.8/1.3); Fri, 23 Mar 2001 22:52:34 +0100 (MET) Reply-To: From: "Peter Blok" To: "'Ruslan Ermilov'" , "'Peter Blok'" , "'Garrett Wollman'" Cc: Subject: RE: 4.3-BETA netmask problem Date: Fri, 23 Mar 2001 22:50:14 +0100 Message-ID: <001001c0b3e3$3e8beec0$8a02a8c0@ntpc> 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 CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20010323093134.B34042@sunbay.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Right! A stupid dial-up connection I wasn't thinking of -----Original Message----- From: Ruslan Ermilov [mailto:ru@FreeBSD.org] Sent: Friday, March 23, 2001 08:32 To: Peter Blok; Garrett Wollman Cc: freebsd-net@FreeBSD.org Subject: Re: 4.3-BETA netmask problem On Thu, Mar 22, 2001 at 09:45:12PM +0100, Peter Blok wrote: > Hi, > > I'm having a strange problem. I have a block public ip addresses at > X.Y.Z.128/28. My FreeBSD 4.3-BETA system has assigned IP address X.Y.Z.140 > netmask 255.255.255.240, broadcast X.Y.Z.143. > > I don't use routed. I have one static host route to a particular host. > > Here's the problem when somebody tries to access me from the outside with IP > A.B.C.D I'm getting messages: > > /kernel: arplookup A.B.C.D failed: host is not on local network > /kernel: arpresolve: can't allocate llinfo A.B.C.Drt > > I arplookup is right! The IP address is not on the local network. Why is > arplookup displaying this? What is wrong? I am also not able to slogin to > this public address. > On Thu, Mar 22, 2001 at 04:23:48PM -0500, Garrett Wollman wrote: > < said: > > > /kernel: arplookup A.B.C.D failed: host is not on local network > > /kernel: arpresolve: can't allocate llinfo A.B.C.Drt > > Show us the output of `route -nv get A.B.C.D'. And we will see that this route has an indirect gateway! Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 14:34:14 2001 Delivered-To: freebsd-net@freebsd.org Received: from antigonus.hosting.swbell.net (antigonus.hosting.swbell.net [216.100.98.4]) by hub.freebsd.org (Postfix) with ESMTP id 4C23537B71E for ; Fri, 23 Mar 2001 14:34:08 -0800 (PST) (envelope-from alc@imimic.com) Received: from imimic.com ([63.141.155.195]) by antigonus.hosting.swbell.net id RAA00817; Fri, 23 Mar 2001 17:33:59 -0500 (EST) [ConcentricHost SMTP Relay 1.7] Message-ID: <3ABBCF55.E4B99274@imimic.com> Date: Fri, 23 Mar 2001 16:33:57 -0600 From: "Alan L. Cox" Organization: iMimic Networking, Inc. X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Jonathan Graehl Cc: Freebsd-Net Subject: Re: Linux Vs. FreeBSD Networking Performance References: Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jonathan Graehl wrote: > > What would it take to get Linus to give the nod to an implementation conforming > to the kqueue API? I remember him saying that he only wanted it to work for > file descriptors, and to only allow one kqueue per process - neither of which I > agree with. The abstraction penalty for the capability of multiple filter types > and kqueue-as-selectable-fd is as minimal as a table lookup and a pointer > indirection. If the kqueue API is overengineered, well, then, so is the > Berkeley Sockets API. > You should ask the "other" Alan Cox. I'm the one with the FreeBSD commit bit as opposed to the Linux commit bit. :-) In general, I agree with your statements in regards to kqueue(). It's not overengineered. The capabilities beyond simple poll/select functionality are quite useful in practice. In fact, I contributed the current API by which AIO can signal I/O completion through kevent(). Alan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 19:55:23 2001 Delivered-To: freebsd-net@freebsd.org Received: from acmey.gatech.edu (acmey.gatech.edu [130.207.165.23]) by hub.freebsd.org (Postfix) with ESMTP id 502A337B71B for ; Fri, 23 Mar 2001 19:55:20 -0800 (PST) (envelope-from gte345e@prism.gatech.edu) Received: from satish (r35h66.res.gatech.edu [128.61.35.66]) by acmey.gatech.edu (8.9.2/8.9.2) with SMTP id WAA00464 for ; Fri, 23 Mar 2001 22:55:19 -0500 (EST) Message-ID: <000701c0b416$ea14dd50$0100a8c0@satish> From: "Satish Sambandham" To: Subject: 3com pcmcia install Date: Fri, 23 Mar 2001 23:00:07 -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 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I have a 3com 3CXFE575CT pcmcia network card and need some help having it recongnized on FreeBSD 4.2 on a Toshiba Tecra 8100. During the install, I picked the default address for the card, and irq 11. At which time the link light appeared for the card ( but did not make the usual "beep" that occurs when activated when I was running linux before ). Anyhow, after installation the link light still shows up, but when i do an ifconfig, the card is not shown. So basically, I was wondering how would I enable this card? Thanks for any help, Satish To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 22:20: 5 2001 Delivered-To: freebsd-net@freebsd.org Received: from mx.databus.com (p101-44.acedsl.com [160.79.101.44]) by hub.freebsd.org (Postfix) with ESMTP id 832D637B719 for ; Fri, 23 Mar 2001 22:19:58 -0800 (PST) (envelope-from barney@mx.databus.com) Received: (from barney@localhost) by mx.databus.com (8.11.1/8.11.1) id f2O6JrS52166; Sat, 24 Mar 2001 01:19:53 -0500 (EST) (envelope-from barney) Date: Sat, 24 Mar 2001 01:19:52 -0500 From: Barney Wolff To: Satish Sambandham Cc: freebsd-net@FreeBSD.ORG Subject: Re: 3com pcmcia install Message-ID: <20010324011952.A52147@mx.databus.com> References: <000701c0b416$ea14dd50$0100a8c0@satish> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <000701c0b416$ea14dd50$0100a8c0@satish>; from gte345e@prism.gatech.edu on Fri, Mar 23, 2001 at 11:00:07PM -0500 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org IIRC, this is a cardbus card. Those are only supported in current, not 4.x. Get a cheap 16-bit pcmcia, for now. Barney Wolff On Fri, Mar 23, 2001 at 11:00:07PM -0500, Satish Sambandham wrote: > Hi, > > I have a 3com 3CXFE575CT pcmcia network card and need some help having > it recongnized on FreeBSD 4.2 on a Toshiba Tecra 8100. During the install, I > picked the default address for the card, and irq 11. At which time the link > light appeared for the card ( but did not make the usual "beep" that occurs > when activated when I was running linux before ). Anyhow, after > installation the link light still shows up, but when i do an ifconfig, the > card is not shown. So basically, I was wondering how would I enable this > card? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Mar 23 23:29:26 2001 Delivered-To: freebsd-net@freebsd.org Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by hub.freebsd.org (Postfix) with ESMTP id 4D59D37B719; Fri, 23 Mar 2001 23:29:21 -0800 (PST) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from localhost (shuttle.wide.toshiba.co.jp [202.249.10.124]) by shuttle.wide.toshiba.co.jp (8.9.1+3.1W/8.9.1) with ESMTP id QAA10323; Sat, 24 Mar 2001 16:30:05 +0900 (JST) Date: Sat, 24 Mar 2001 02:18:36 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: "David E. Cross" Cc: Jeroen Ruigrok/Asmodai , Hajimu UMEMOTO , net@FreeBSD.ORG Subject: Re: gif(4) question In-Reply-To: <200103222102.QAA25135@cs.rpi.edu> References: <20010322214413.A5116@daemon.ninth-circle.org> <200103222102.QAA25135@cs.rpi.edu> User-Agent: Wanderlust/2.5.8 (Smooth) Emacs/21.0 Mule/5.0 (SAKAKI) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII X-Dispatcher: imput version 980905(IM100) Lines: 31 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> On Thu, 22 Mar 2001 16:02:10 -0500, >>>>> "David E. Cross" said: > Why is routing done via the ::1 and 127.0.0.1 network addresses? I notice > for "normal" interfaces it is bound directly to "link#2" and such. It's just a characteristic (or ristriction if you want to say that) of BSD's IPv4 routing on point-to-point interfaces. I don't know the deep rationale. > I realize I don't really know what I am talking about here, but, it > seems that binding it to the link is more efficient than having it go > through the loopback interface. I'm not sure what you mean "efficient" here. But using addresses to install a route to the loopback interface does not decrease the output performance. > Also, it will work in cases where the > loopback is not defined (don't ask... just don't ask) That's not true. In the BSD's routing architecture, if you want to install a route of a particular address family to an interface, you need at least one interface address of the address family on the interface. The address need not to be the well-defined "loopback address", though. JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Mar 24 0:46:57 2001 Delivered-To: freebsd-net@freebsd.org Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [206.29.169.15]) by hub.freebsd.org (Postfix) with ESMTP id C643A37B724; Sat, 24 Mar 2001 00:46:46 -0800 (PST) (envelope-from tedm@toybox.placo.com) Received: from tedm.placo.com (nat-rtr.freebsd-corp-net-guide.com [206.29.168.154]) by mail.freebsd-corp-net-guide.com (8.11.1/8.11.1) with SMTP id f2O8kbk34668; Sat, 24 Mar 2001 00:46:38 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "The Hermit Hacker" , "Matthew Emmerton" Cc: , Subject: RE: dhclient not setting IP ... Date: Sat, 24 Mar 2001 00:46:37 -0800 Message-ID: <001101c0b43e$effa3c60$1401a8c0@tedm.placo.com> 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 8.5, Build 4.71.2173.0 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Importance: Normal Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >-----Original Message----- >From: owner-freebsd-questions@FreeBSD.ORG >[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of The Hermit >Hacker > >this is what it appears it was ... called up their tech support last >night, the girl there said "we dont' support Unix", I asked her to release >the IP whereupon she went to her administration console running on UNIX and.. and low-n-behold, I got a new one ... > Ted Mittelstaedt tedm@toybox.placo.com Author of: The FreeBSD Corporate Networker's Guide Book website: http://www.freebsd-corp-net-guide.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Mar 24 1:27:32 2001 Delivered-To: freebsd-net@freebsd.org Received: from jason.argos.org (jason.argos.org [216.233.245.106]) by hub.freebsd.org (Postfix) with ESMTP id B196E37B71D for ; Sat, 24 Mar 2001 01:27:23 -0800 (PST) (envelope-from mike@jason.argos.org) Received: (from mike@localhost) by jason.argos.org (8.10.1/8.10.1) id f2O9CuR28828 for freebsd-net@freebsd.org; Sat, 24 Mar 2001 04:12:56 -0500 Date: Fri, 23 Mar 2001 01:26:34 -0500 From: Mike Nowlin To: Matthew Emmerton Subject: Re: dhclient not setting IP ... Message-ID: <20010323012634.A17921@argos.org> References: <001801c0b33c$f06ae1c0$1200a8c0@gsicomp.on.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <001801c0b33c$f06ae1c0$1200a8c0@gsicomp.on.ca>; from matt@gsicomp.on.ca on Thu, Mar 22, 2001 at 08:59:46PM -0500 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 0, Matthew Emmerton wrote: > > I'm connected through cable to the 'Net, and the provider I go > > through, it appears, somehow has it setup that if I change nics, I hvae= a > > bugger of a time re-acquiring a lease ... >=20 > What does dhclient log into /var/log/syslog? If you see a lot of > DHCPDISCOVER / DHCPREQUEST lines but no DHCPACKs, then your ISP's DHCP > server isn't a) getting your requests or b) responding to them. In the c= ase > of b), it may be because your MAC address or host-name. Easy way to verify this is throw the -e flag into tcpdump - it'll print the MAC addresses of the tx/rx ethernet interfaces... If the "to" addr isn't the one of your ethernet card (or more to the point, it IS the one of the ethernet card that you originally obtained a working lease from), that pretty much proves that's the problem. Now if I could just figure out why one of my DSL providers keeps getting the MAC address for the >inside< ethernet card of my firewall for some (not all) IPs... =20 mike --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjq67JoACgkQJol4I8h9Gd+3sQCeIRbfKTHTZabrfPPRXxe4jhtY 2d8AoLc9aMlXbKJwiymC7wtgLHYYRdU7 =fnXz -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Mar 24 4:52:10 2001 Delivered-To: freebsd-net@freebsd.org Received: from mail.teliafi.net (mail.teliafi.net [195.10.132.73]) by hub.freebsd.org (Postfix) with ESMTP id 08CD837B71A for ; Sat, 24 Mar 2001 04:52:02 -0800 (PST) (envelope-from harkonen@mail.teliafi.net) Received: (from harkonen@localhost) by mail.teliafi.net (8.9.3/8.9.3/Debian 8.9.3-21) id OAA27754; Sat, 24 Mar 2001 14:51:54 +0200 From: Tommi Harkonen Date: Sat, 24 Mar 2001 14:51:54 +0200 To: Garrett Wollman Cc: freebsd-net@FreeBSD.ORG Subject: Re: RTM_LOSING: Kernel Suspects Partitioning: Message-ID: <20010324145154.A27634@teliafi.net> References: <20010322124742.A9984@teliafi.net> <200103221643.LAA30673@khavrinen.lcs.mit.edu> <20010323090102.B9984@teliafi.net> <200103231711.MAA42834@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103231711.MAA42834@khavrinen.lcs.mit.edu>; from wollman@khavrinen.lcs.mit.edu on Fri, Mar 23, 2001 at 12:11:06PM -0500 X-Security: Restricted Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Mar 23, 2001 at 12:11:06PM -0500, Garrett Wollman wrote: > < said: > > >> This is perfectly natural. TCP will generate these messages whenever > >> its retransmission timer goes off; they should correlate with packet > >> losses. > > > Is it also natural that I cannot ftp from the box to anywhere > > (eg. ftp.cdrom.com)? > > One goes in hand with the other. Your TCP connections are timing out, > which causes the RTM_LOSING messages. Clearly, your packets are not > getting anywhere. Perhaps you should carefully check your > configuration. Traceroute & ping works fine from the box and everything to the box (still) works and I have checked, double checked and triple checked all settings and I've discussed about this in EFnet's #FreeBSDhelp (without success) and on #FreeBSD (and got a bit more help) and every setting/configuration seems to be correct. I've even changed the hardware once to disable the probability of broken hw and I've even tried another OS on the box (which worked just fine). Here's some settings/configurations so you can see everything is like they're supposed to be. $ ifconfig -a vr0: flags=8843 mtu 1500 inet 62.236.255.202 netmask 0xfffffff8 broadcast 62.236.255.207 inet 62.236.255.203 netmask 0xffffffff broadcast 62.236.255.203 inet 62.236.255.204 netmask 0xffffffff broadcast 62.236.255.204 inet 62.236.255.205 netmask 0xffffffff broadcast 62.236.255.205 ether 00:50:ba:0a:69:6e media: autoselect (10baseT/UTP) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP none lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 $ netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 62.236.255.201 UGSc 12 106117 vr0 62.236.255.200/29 link#1 UC 0 0 vr0 => 62.236.255.201 0:0:c:41:b9:40 UHLW 13 0 vr0 277 62.236.255.202 0:50:ba:a:69:6e UHLW 0 6 lo0 62.236.255.203 0:50:ba:a:69:6e UHLW 0 4 lo0 => 62.236.255.203/32 link#1 UC 0 0 vr0 => 62.236.255.204 0:50:ba:a:69:6e UHLW 0 4 lo0 => 62.236.255.204/32 link#1 UC 0 0 vr0 => 62.236.255.205 0:50:ba:a:69:6e UHLW 0 4 lo0 => 62.236.255.205/32 link#1 UC 0 0 vr0 => 127.0.0.1 127.0.0.1 UH 0 22 lo0 $ ipfstat -io empty list for ipfilter(out) empty list for ipfilter(in) $ ipfw show ipfw: getsockopt(IP_FW_GET): Protocol not available No errors nor complaints in dmesg and so on. Please ask if you need more information. -- th To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Mar 24 10:18:23 2001 Delivered-To: freebsd-net@freebsd.org Received: from hotmail.com (f174.law12.hotmail.com [64.4.19.174]) by hub.freebsd.org (Postfix) with ESMTP id CBA3937B71A for ; Sat, 24 Mar 2001 10:18:14 -0800 (PST) (envelope-from edwynn42@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 24 Mar 2001 10:18:13 -0800 Received: from 24.65.68.114 by lw12fd.law12.hotmail.msn.com with HTTP; Sat, 24 Mar 2001 18:18:13 GMT X-Originating-IP: [24.65.68.114] From: "Ed Wynn" To: freebsd-net@freebsd.org Subject: D-Link problem Date: Sat, 24 Mar 2001 13:18:13 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 24 Mar 2001 18:18:13.0738 (UTC) FILETIME=[CA37BCA0:01C0B48E] Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm setting up a system (200MHz) with 4.2-RELEASE, and the network card that I have to go in it is a D-Link DFE-538TX/R PCI card, based on the RealTek 8139 chipset. I've been having all kinds of trouble getting it to work. The card works fine in a Win98 system, and the provided diagnostic tools report no problems. Sorry for the long message, but I'm trying to make sure that I have all the common questions answered. Here's what I've tried so far. I have if_rl_load="YES" in /boot/loader.conf Both enabled and disabled PnP OS support in the BIOS Both enabled and disabled WakeOnLan support in the card Moved the network card to different slots, including swapping order with the video card (these are the only boards in the system) Rebuilt the kernel to make sure rl support was enabled None of these provide any real change during the boot, which is that the device is not recognized, so when I try to ifconfig rl0 (or rl1), the interface does not exist. All possibly relevant output from boot -v: pcibios: PCI BIOS entry at 0x4b0 pnpbios: Found PnP BIOS data at 0xc00fca80 pnpbios: Entry = f0000:cab0 Rev = 1.0 pnpbios: OEM ID cd041 ... Preloaded elf module "if_rl.ko" at 0xc04600f8. Preloaded elf module "miibus.ko" at 0xc0460198. ... pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=70308086) ... pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=70308086) pcib0: on motherboard found-> vendor=0x8086, dev=0x7030, revid=0x02 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x7000, revid=0x01 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x7010, revid=0x00 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 0000e800, size 4 found-> vendor=0x1002, dev=0x4754, revid=0x48 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base e6000000, size 24 map[14]: type 1, range 32, base 0000e000, size 8 found-> vendor=0x1186, dev=0x1300, revid=0x10 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 0000d800, size 8 map[14]: type 1, range 32, base e5800000, size 8 pci0: on pcib0 PCI Concurrency: enabled Cache: 512K pipelined-burst secondary; L1 enabled DRAM: no memory hole, 66 MHz refresh Read burst timing: x-3-3-3/x-4-4-4 Write burst timing: x-3-3-3 RAS-CAS delay: 3 clocks isab0: at device 7.0 on pci0 I/O Recovery Timing: 8-bit 3.5 clocks, 16-bit 3.5 clocks Extended BIOS: disabled Lower BIOS: disabled Coprocessor IRQ13: enabled Mouse IRQ12: disabled Interrupt Routing: A: disabled, B: IRQ11, C: disabled, D: IRQ10 MB0: IRQ15, MB1: isa0: on isab0 atapci0: port 0xe800-0xe80f at device 7.1 on pci0 ... pci0: (vendor=0x1002, dev=0x4754) at 9.0 irq 10 pci0: (vendor=0x1186, dev=0x1300) at 11.0 irq 11 I know the unknown card here is the network card, since the vendor ID matches the one shown by the BIOS as "network controller" during system boot. There are no other devices conflicting with IRQ 10 or 11. Here's what pciconf -l has to say: chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x70308086 rev=0x02 hdr=0x00 isab0@pci0:7:0: class=0x060100 card=0x00000000 chip=0x70008086 rev=0x01 hdr=0x00 atapci0@pci0:7:1: class=0x010180 card=0x00000000 chip=0x70108086 rev=0x00 hdr=0x00 none0@pci0:9:0: class=0x030000 card=0x47541002 chip=0x47541002 rev=0x48 hdr=0x00 none1@pci0:11:0: class=0x020000 card=0x13001186 chip=0x13001186 rev=0x10 hdr=0x00 Poring through the mailing list archives, I came across someone who posted a patch for a bug in /sys/pci/if_rl.c. It didn't help me, but while I was in there I noticed that there were other cards specified, but not mine. I checked on freebsd.org in the STABLE sources tree, but the last modification to the two files I was looking at was in 1999, so clearly nobody has done any official work in there in quite some time. I added the appropriate defines and extended the array of cards defined in if_rlreg.h, updated if_rl.c to match, and rebuilt the kernel. This now recognizes the card during the boot sequence, but then crashes like so: Doing initial network setup: hostname. Fatal trap 12: page fault in kernel mode fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0458007 stack pointer = 0x10:0xc4110d1c frame pointer = 0x10:0xc4110d28 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 53 (ifconfig) interrupt mask = net tty trap number = 12 panic: page fault I'm hoping that someone has an idea, something for me to try, whatever. I'm a programmer, and I've worked with FreeBSD for several years, so I don't mind getting down and dirty, but I haven't talked directly to hardware in quite a while, and I've never written a device driver or done kernel work, so I'm pretty much at a loss as to how to proceed right now. Any help most appreciated. Greg Schmidt (writing from edwynn42@hotmail.com until this is working) _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Mar 24 11:11: 5 2001 Delivered-To: freebsd-net@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id DA0A337B719 for ; Sat, 24 Mar 2001 11:11:01 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.11.3) with SMTP id f2OJ9E504400; Sat, 24 Mar 2001 14:09:14 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <00fa01c0b495$d6ddf0d0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Ed Wynn" , References: Subject: Re: D-Link problem Date: Sat, 24 Mar 2001 14:08:38 -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 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I'm setting up a system (200MHz) with 4.2-RELEASE, and the network card that > I have to go in it is a D-Link DFE-538TX/R PCI card, based on the RealTek > 8139 chipset. [ snip ] > pci0: (vendor=0x1186, dev=0x1300) at 11.0 irq 11 > > I know the unknown card here is the network card, since the vendor ID > matches the one shown by the BIOS as "network controller" during system > boot. There are no other devices conflicting with IRQ 10 or 11. [ snip ] > I added the appropriate > defines and extended the array of cards defined in if_rlreg.h, updated > if_rl.c to match, and rebuilt the kernel. This now recognizes the card > during the boot sequence, but then crashes like so: [ snip ] Well, you're on the right track. More than likely the D-Link card has some flags that aren't being properly set during the driver init. In the meantime, it would be best if you built a debug kernel and enabled crashdumps. This would give you (and us) more details on where (and why) this thing is crashing. Section 23 of the FreeBSD Handbook (http://www.freebsd.org/handbook/kerneldebug.html) has details of how to do this. (Be sure to set dumpdev to your swap slice, and make sure that sizeof(swap) > sizeof(RAM)). -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Mar 24 14:14:38 2001 Delivered-To: freebsd-net@freebsd.org Received: from acmey.gatech.edu (acmey.gatech.edu [130.207.165.23]) by hub.freebsd.org (Postfix) with ESMTP id DFB3937B71A for ; Sat, 24 Mar 2001 14:14:31 -0800 (PST) (envelope-from gte345e@prism.gatech.edu) Received: from satish (r35h66.res.gatech.edu [128.61.35.66]) by acmey.gatech.edu (8.9.2/8.9.2) with SMTP id RAA10635 for ; Sat, 24 Mar 2001 17:14:31 -0500 (EST) Message-ID: <001f01c0b4b0$79dd3d80$0100a8c0@satish> From: "Satish Sambandham" To: Subject: orinoco silver card Date: Sat, 24 Mar 2001 17:19:21 -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 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ok, I found out that I cannot use a cardbus card for now, so trying to figure out if I can use my orinoco siver 802.11b pcmcia card. This card initiallizes fine, I see a power led, and makes a startup beep. Now I am trying to figure out how to specify the encryption and other settings so it can connect to the residential gateway access point (RG-1000). I read somewhere to create the file listed below, change the approprite settings, and then place it in /etc folder. Now my question is, how does this file get called or run? I tried running it manually by ./setup-wi0, but it would return an error message saying " sed: option requires an argument -- e" and the name of my access point not found. I know my access point works since i can see if fine under win2k. If anyone can point me to good directions or know any solution, it would be greatly appreciated! Thanks. #! /bin/sh set -e ############################################################################ ### # # Configuration variables: # IFC is the wavelan interface to use (e.g., "wi0"); this must be # specified: IFC=wi0 # STATION_NAME is, well, the "station name", which is really only used # by the WaveLan diagostic tools. When using the tools (in a remote # PC -- not this one), the tools will display this name when # identifying the WaveLan card in this system. Because it`s only used # by remote diagnostic tools, it`s not essential to set SYSTEM_NAME. # However, it is recommended that, if it is set, it be set to be the # same as the hostname (otherwise, you`ll have to remember which # station name goes with which hostname). # # Note, however, that the following uses `hostname` as the default. # This may not work if this script is called at bootup (especially # when called from pccard.conf), because the hostname may not yet have # been set. In this case, you should hardcode a value here. STATION_NAME=`hostname | sed -e `s/..*$//`` # NETWORK_NAME is the name of the network that you wish to join (be a # part of). NETWORK_NAME must be set if you wish this system to talk # to a WaveLan access point. The NETWORK_NAME can be "ANY" # (upper-case is required), in which case the card will talk to any # access point; otherwise, NETWORK_NAME must be set to the same name # used by the access point. If you are using "ad-hoc mode" (not using # an access point), which generally is the case with an home LAN, you # do not need to set NETWORK_NAME (because ad-hoc mode ignores the # NETWORK_NAME). NETWORK_NAME=`ANY` # MODE determines how the WaveLan card talks to other cards. If you # are using a WaveLan access point, you must set this to "1" (BSS # mode), and you must also set a valid NETWORK_NAME (above), as the # NETWORK_NAME must correspond to the name used by the access point. # For LANs without an access point (the usual case for home LANs), # MODE should be "3" (ad-hoc mode). MODE=3 # 1 --> BSS, 3 --> ad-hoc mode # CHANNEL is the frequency channel to use. The default for cards sold # in the USA and Europe (except France) is channel 3, 11 in France, # and 14 in Japan. Valid channels are: # # USA: 1-11 # Europe (except France): 1-13 # France: 10-13 # Japan: 14 (only -- unchangeable) # # See wicontrol(8) for more information. CHANNEL=3 # Card default is channel 3 # KEY is the encryption key to use. If KEY is blank/empty or not set, # the encryption key is not set, and encryption will not be enabled. # If a key is specified here, encryption will be enabled (this script # does not support enabling/disabling encryption independently of key # values). Note that, although the wavelan supports up to four # different keys (but only one can be used at any one time), only one # key (key 1) is used here. # # Remember that all systems that talk to each other must use the same # key. # # See wicontrol(8) for valid key values. KEY= # # End of configuration variables. Nothing should have to be changed # past this point. # ############################################################################ ### PATH="/usr/sbin:/usr/bin:/sbin:/bin:$PATH" if [ "X$STATION_NAME" != "X" ] then wicontrol -i $IFC -s "$STATION_NAME" fi wicontrol -i $IFC -p $MODE if [ "X$NETWORK_NAME" != "X" ] then wicontrol -i $IFC -n "$NETWORK_NAME" fi if [ "X$CHANNEL" != "X" ] then wicontrol -i $IFC -f $CHANNEL fi if [ ( "X$KEY" != "X" ) -a ( "X$KEY" != "XNO" ) -a ( "X$KEY" != "Xno" ) -a ( "X$KEY" != "XNo" ) ] then wicontrol -i $IFC -k $KEY wicontrol -i $IFC -e 1 fi exit 0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Mar 24 14:29:53 2001 Delivered-To: freebsd-net@freebsd.org Received: from mail.chartermi.net (060upc075.chartermi.net [24.213.60.75]) by hub.freebsd.org (Postfix) with ESMTP id 0875937B71B for ; Sat, 24 Mar 2001 14:29:45 -0800 (PST) (envelope-from wrath@shianet.org) Received: from danrc ([24.213.24.167]) by mail.chartermi.net (Post.Office MTA v3.5.3 release 223 ID# 0-71004U47242L33562S0V35) with SMTP id net for ; Sat, 24 Mar 2001 17:29:33 -0500 Message-ID: <00df01c0b4b1$e6d82570$0201a8c0@fear.wrath.net> From: "Brian" To: References: <20010323082845.A12797@clickarray.com> Subject: Re: Linux Vs. FreeBSD Networking Performance Date: Sat, 24 Mar 2001 17:29:33 -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 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org great goobers of gahness. it's like comparing windows to any other operating system. I have never understood running Linux as a server based platform when FreeBSD and OpenBSD do it so much better. I'm pretty sure the only reason people even bothered with Linux to begin with was because it was new. Now they're doing it because it's "cool". I like FreeBSD. I despise Linux, the only flavor I can stand is Slackware. I won't use Linux because I don't believe in it as a server platform. If I wanted another desktop, I'd be running Windows. However, I have seen Linux do some amazing things (that FreeBSD can do a lot better). David Friedman runs a 38,000 client IRC server (twisted.ma.us.dal.net) on a 900MHz Thunderbird with 512MB of RAM. It also happens to be running Debian. The network is predominatly FreeBSD (in fact, the server application says FreeBSD only). When the network was in shambles, his machine took full load. Now he runs around 20,000 clients regularly. He's also got tsunami.ma.us.dal.net that's running a 600 coppermine on Debian. I know that twisted.* regularly swamps a T3. If you want to speak to him, you can find him on the network as "driz", I'm sure he'd like to shoot the shit with you. -Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Mar 24 14:44: 7 2001 Delivered-To: freebsd-net@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 046D637B718 for ; Sat, 24 Mar 2001 14:44:04 -0800 (PST) (envelope-from oberman@ptavv.es.net) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id f2OMhwc08553; Sat, 24 Mar 2001 14:43:58 -0800 (PST) Message-Id: <200103242243.f2OMhwc08553@ptavv.es.net> To: "Satish Sambandham" Cc: freebsd-net@FreeBSD.ORG Subject: Re: orinoco silver card In-reply-to: Your message of "Sat, 24 Mar 2001 17:19:21 EST." <001f01c0b4b0$79dd3d80$0100a8c0@satish> Date: Sat, 24 Mar 2001 14:43:58 -0800 From: "Kevin Oberman" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is probably more appropriate to mobile than net, but I'll take a flyer. First, are you what version of FreeBSD are you using? Anything in this message is relevant to V4.x where x != 0. Try wicontrol. This should print out the configuration of the card. Make sure it's in BSS (not IBSS) mode. This is the most common problem. The file you included is not used automatically by FreeBSD. The author wrote the hooks into system startup. I just put the wicontrol commands into /etc/pccard.conf. card "Lucent Technologies" "WaveLAN/IEEE" config 0x1 "wi" ? insert /usr/sbin/wicontrol -i $device -p 1 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop wicontrol must be run before running pccard_ether. Here is my wicontrol output for a working card talking to an RG-1000 (labeled as an Apple Airport). Note that port type must be 1 to talk to an access point. NIC serial number: [ 99UT11422042 ] Station name: [ FreeBSD WaveLAN/IEEE node ] SSID for IBSS creation: [ FreeBSD IBSS ] Current netname (SSID): [ XXXXXXXXXXXXXXXXX ] Desired netname (SSID): [ ] Current BSSID: [ 00:02:2d:0f:c9:35 ] Channel list: [ 2047 ] IBSS channel: [ 3 ] Current channel: [ 1 ] Comms quality/signal/noise: [ 34 87 53 ] Promiscuous mode: [ Off ] Port type (1=BSS, 3=ad-hoc): [ 1 ] MAC address: [ 00:60:1d:f0:37:3f ] TX rate (selection): [ 3 ] TX rate (actual speed): [ 11 ] RTS/CTS handshake threshold: [ 2347 ] Create IBSS: [ Off ] Access point density: [ 1 ] Power Mgmt (1=on, 0=off): [ 0 ] Max sleep time: [ 100 ] WEP encryption: [ Off ] TX encryption key: [ 1 ] Encryption keys: [ ][ ][ ][ ] R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 > From: "Satish Sambandham" > Date: Sat, 24 Mar 2001 17:19:21 -0500 > Sender: owner-freebsd-net@FreeBSD.ORG > > Ok, I found out that I cannot use a cardbus card for now, so trying to > figure out if I can use my orinoco siver 802.11b pcmcia card. This card > initiallizes fine, I see a power led, and makes a startup beep. Now I am > trying to figure out how to specify the encryption and other settings so it > can connect to the residential gateway access point (RG-1000). I read > somewhere to create the file listed below, change the approprite settings, > and then place it in /etc folder. Now my question is, how does this file > get called or run? I tried running it manually by ./setup-wi0, but it would > return an error message saying " sed: option requires an argument -- e" and > the name of my access point not found. I know my access point works since i > can see if fine under win2k. If anyone can point me to good directions or > know any solution, it would be greatly appreciated! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Mar 24 17:17:23 2001 Delivered-To: freebsd-net@freebsd.org Received: from stewart.chicago.il.us (dsl-64-128-23-213.telocity.com [64.128.23.213]) by hub.freebsd.org (Postfix) with ESMTP id 7118337B719 for ; Sat, 24 Mar 2001 17:17:21 -0800 (PST) (envelope-from randall@stewart.chicago.il.us) Received: from stewart.chicago.il.us (IDENT:randall@stewart.chicago.il.us [10.1.1.1]) by stewart.chicago.il.us (8.11.0/8.11.0) with ESMTP id f2P1HfO10495; Sat, 24 Mar 2001 19:17:44 -0600 Message-ID: <3ABD4734.5D73E6E1@stewart.chicago.il.us> Date: Sat, 24 Mar 2001 19:17:40 -0600 From: "Randall R. Stewart" X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.17-14 i686) X-Accept-Language: en MIME-Version: 1.0 To: Garrett Wollman Cc: Jonathan Lemon , net@FreeBSD.ORG Subject: Re: SCTP code for FreeBSD References: <200103212105.f2LL5nT81251@prism.flugsvamp.com> <200103212115.QAA22073@khavrinen.lcs.mit.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Garrett: > > One would assume that someone working for the manufacturer has access > to documentation. (Of course, Cisco being the empire that it is, it's > entirely possible for that not to be the case.) > Yes, I have plenty of documentation on hand to support all my changes... I have the internal PC4800 specification (the 4800 is the software base for the 340 and 350 series cards). The problem is I am not at liberty to give a copy of this to anyone, unless of course they have a cisco badge :/ ... if I did so I would be violating internal policy... So no, I can not supply the documentation as to why I changed things... I don't really care if my changes are adopted or not... it is FreeBSD that looses by not picking them up not I.. since my internal machines will always be using the driver that conforms to the hardware specifications... R -- Randall R. Stewart randall@stewart.chicago.il.us or rrs@cisco.com 815-342-5222 (cell) 815-477-2127 (work) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Mar 24 23:51:30 2001 Delivered-To: freebsd-net@freebsd.org Received: from hotmail.com (f116.law12.hotmail.com [64.4.19.116]) by hub.freebsd.org (Postfix) with ESMTP id 7DDED37B71B for ; Sat, 24 Mar 2001 23:51:22 -0800 (PST) (envelope-from edwynn42@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 24 Mar 2001 23:51:21 -0800 Received: from 24.65.68.114 by lw12fd.law12.hotmail.msn.com with HTTP; Sun, 25 Mar 2001 07:51:21 GMT X-Originating-IP: [24.65.68.114] From: "Ed Wynn" To: freebsd-net@freebsd.org Subject: Re: D-Link problem Date: Sun, 25 Mar 2001 02:51:21 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 25 Mar 2001 07:51:21.0651 (UTC) FILETIME=[62147830:01C0B500] Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Well, you're on the right track. More than likely the D-Link card has some >flags that aren't being properly set during the driver init. > >In the meantime, it would be best if you built a debug kernel and enabled >crashdumps. This would give you (and us) more details on where (and why) >this thing is crashing. Okay, I've managed to get the debug kernel built and save the core file. I'll include the output of some basic debugging below. If there's anything else that would be helpful, let me know. The D-Link driver disk includes C source for a Linux driver, so when the problem gets narrowed down, I or someone more familiar with the code might be able to use this to determine the correct settings. First, though, I should have included this before, but I didn't notice it until much later. Here's an excerpt from the boot messages that gets shown before the crash. During a GENERIC boot: pci0: (vendor=0x1186, dev=0x1300) at 11.0 irq 11 During my customized boot (I think this is right, but had to write it down and type it in, so there may be minor errors) this turns into: rl0: port 0xd800-0xd8ff mem 0xe5800000-0xe58000ff irq 11 at device 11.0 on pci0 rl0: Ethernet address xx:xx:xx:xx:xx:xx miibus0: on rl0 rlphy0: on miibus0 rlphy0: no media present It then proceeds through the normal boot sequence to the crash. Here's the gdb log I threatened above. Warning: it's long. GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd". (kgdb) symbol-file /sys/compile/MARSA/kernel.debug Reading symbols from /sys/compile/MARSA/kernel.debug...done. (kgdb) exec-file /var/crash/kernel.2 (kgdb) core-file /var/crash/vmcore.2 IdlePTD 4661248 initial pcb at 3b56c0 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x8 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0458007 stack pointer = 0x10:0xc4110d1c frame pointer = 0x10:0xc4110d28 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 56 (ifconfig) interrupt mask = net tty trap number = 12 panic: page fault syncing disks... 11 11 4 done Uptime: 3s dumping to dev #ad/0x20001, offset 196608 dump ata0: resetting devices .. done 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 --- #0 dumpsys () at ../../kern/kern_shutdown.c:469 469 if (dumping++) { (kgdb) bt #0 dumpsys () at ../../kern/kern_shutdown.c:469 #1 0xc01a5aeb in boot (howto=256) at ../../kern/kern_shutdown.c:309 #2 0xc01a5e68 in poweroff_wait (junk=0xc037910f, howto=-1007868864) at ../../kern/kern_shutdown.c:556 #3 0xc0314fb9 in trap_fatal (frame=0xc4110cdc, eva=8) at ../../i386/i386/trap.c:951 #4 0xc0314c91 in trap_pfault (frame=0xc4110cdc, usermode=0, eva=8) at ../../i386/i386/trap.c:844 #5 0xc031484b in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = -1061251648, tf_esi = 0, tf_ebp = -1005515480, tf_isp = -1005515512, tf_ebx = -1061251712, tf_edx = -1061251648, tf_ecx = 0, tf_eax = -1069187080, tf_trapno = 12, tf_err = 0, tf_eip = -1069187065, tf_cs = 8, tf_eflags = 66178, tf_esp = -1061251712, tf_ss = -1061251648}) at ../../i386/i386/trap.c:443 #6 0xc0458007 in ?? () #7 0xc01739b1 in mii_mediachg (mii=0xc0be95c0) at ../../dev/mii/mii.c:293 #8 0xc045061d in ?? () #9 0xc01e6fda in ether_ioctl (ifp=0xc0becc00, command=-2145359604, data=0xc0c2cb80 "ÈËÂÀØËÂÀèËÂÀ") at ../../net/if_ethersubr.c:711 #10 0xc045073f in ?? () #11 0xc01f4afa in in_ifinit (ifp=0xc0becc00, ia=0xc0c2cb80, sin=0xc4110ebc, scrub=0) at ../../netinet/in.c:660 #12 0xc01f4675 in in_control (so=0xc3ce6f00, cmd=2151704858, data=0xc4110eac "rl0", ifp=0xc0becc00, p=0xc3ed2440) at ../../netinet/in.c:412 #13 0xc01e6113 in ifioctl (so=0xc3ce6f00, cmd=2151704858, data=0xc4110eac "rl0", p=0xc3ed2440) at ../../net/if.c:972 #14 0xc01b6bde in soo_ioctl (fp=0xc0c3fdc0, cmd=2151704858, data=0xc4110eac "rl0", p=0xc3ed2440) at ../../kern/sys_socket.c:141 #15 0xc01b3c16 in ioctl (p=0xc3ed2440, uap=0xc4110f80) at ../../sys/file.h:174 #16 0xc0315265 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = -1077936720, tf_ebp = -1077936956, tf_isp = -1005514796, tf_ebx = 134668824, tf_edx = 3, tf_ecx = 134748144, tf_eax = 54, tf_trapno = 12, tf_err = 2, tf_eip = 134529396, tf_cs = 31, tf_eflags = 663, tf_esp = -1077937096, tf_ss = 47}) at ../../i386/i386/trap.c:1150 #17 0xc0306da5 in Xint0x80_syscall () #18 0x80486e1 in ?? () #19 0x8048135 in ?? () (kgdb) up 5 #5 0xc031484b in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = -1061251648, tf_esi = 0, tf_ebp = -1005515480, tf_isp = -1005515512, tf_ebx = -1061251712, tf_edx = -1061251648, tf_ecx = 0, tf_eax = -1069187080, tf_trapno = 12, tf_err = 0, tf_eip = -1069187065, tf_cs = 8, tf_eflags = 66178, tf_esp = -1061251712, tf_ss = -1061251648}) at ../../i386/i386/trap.c:443 443 (void) trap_pfault(&frame, FALSE, eva); (kgdb) info frame Stack level 5, frame at 0xc4110cd4: eip = 0xc031484b in trap (../../i386/i386/trap.c:443); saved eip 0xc0458007 called by frame at 0xc4110d28, caller of frame at 0xc4110c90 source language c. Arglist at 0xc4110cd4, args: frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = -1061251648, tf_esi = 0, tf_ebp = -1005515480, tf_isp = -1005515512, tf_ebx = -1061251712, tf_edx = -1061251648, tf_ecx = 0, tf_eax = -1069187080, tf_trapno = 12, tf_err = 0, tf_eip = -1069187065, tf_cs = 8, tf_eflags = 66178, tf_esp = -1061251712, tf_ss = -1061251648} Locals at 0xc4110cd4, Previous frame's sp is 0x0 Saved registers: ebx at 0xc4110ca4, ebp at 0xc4110cd4, esi at 0xc4110ca8, edi at 0xc4110cac, eip at 0xc4110cd8 (kgdb) list 438 kernel_trap: 439 /* kernel trap */ 440 441 switch (type) { 442 case T_PAGEFLT: /* page fault */ 443 (void) trap_pfault(&frame, FALSE, eva); 444 return; 445 446 case T_DNA: 447 #if NNPX > 0 (kgdb) up #6 0xc0458007 in ?? () (kgdb) info frame Stack level 6, frame at 0xc4110d28: eip = 0xc0458007; saved eip 0xc01739b1 called by frame at 0xc4110d44, caller of frame at 0xc4110cd4 Arglist at 0xc4110d28, args: Locals at 0xc4110d28, Previous frame's sp is 0x0 Saved registers: ebp at 0xc4110d28, eip at 0xc4110d2c (kgdb) up #7 0xc01739b1 in mii_mediachg (mii=0xc0be95c0) at ../../dev/mii/mii.c:293 293 rv = (*child->mii_service)(child, mii, MII_MEDIACHG); (kgdb) info frame Stack level 7, frame at 0xc4110d44: eip = 0xc01739b1 in mii_mediachg (../../dev/mii/mii.c:293); saved eip 0xc045061d called by frame at 0xc4110d68, caller of frame at 0xc4110d28 source language c. Arglist at 0xc4110d44, args: mii=0xc0be95c0 Locals at 0xc4110d44, Previous frame's sp is 0x0 Saved registers: ebx at 0xc4110d3c, ebp at 0xc4110d44, esi at 0xc4110d40, eip at 0xc4110d48 (kgdb) list 288 mii->mii_media_status = 0; 289 mii->mii_media_active = IFM_NONE; 290 291 for (child = LIST_FIRST(&mii->mii_phys); child != NULL; 292 child = LIST_NEXT(child, mii_list)) { 293 rv = (*child->mii_service)(child, mii, MII_MEDIACHG); 294 if (rv) 295 return (rv); 296 } 297 return (0); (kgdb) print child $1 = (struct mii_softc *) 0x67089a (kgdb) print *child->mii_service Cannot access memory at address 0x6708ae. (kgdb) print mii $2 = (struct mii_data *) 0x0 (kgdb) up #8 0xc045061d in ?? () (kgdb) info frame Stack level 8, frame at 0xc4110d68: eip = 0xc045061d; saved eip 0xc01e6fda called by frame at 0xc4110d80, caller of frame at 0xc4110d44 Arglist at 0xc4110d68, args: Locals at 0xc4110d68, Previous frame's sp is 0x0 Saved registers: ebp at 0xc4110d68, eip at 0xc4110d6c (kgdb) up #9 0xc01e6fda in ether_ioctl (ifp=0xc0becc00, command=-2145359604, data=0xc0c2cb80 "ÈËÂÀØËÂÀèËÂÀ") at ../../net/if_ethersubr.c:711 711 ifp->if_init(ifp->if_softc); /* before arpwhohas */ (kgdb) info frame Stack level 9, frame at 0xc4110d80: eip = 0xc01e6fda in ether_ioctl (../../net/if_ethersubr.c:711); saved eip 0xc045073f called by frame at 0xc4110da8, caller of frame at 0xc4110d68 source language c. Arglist at 0xc4110d80, args: ifp=0xc0becc00, command=-2145359604, data=0xc0c2cb80 "ÈËÂÀØËÂÀèËÂÀ" Locals at 0xc4110d80, Previous frame's sp is 0x0 Saved registers: ebx at 0xc4110d74, ebp at 0xc4110d80, esi at 0xc4110d78, edi at 0xc4110d7c, eip at 0xc4110d84 (kgdb) list 706 ifp->if_flags |= IFF_UP; 707 708 switch (ifa->ifa_addr->sa_family) { 709 #ifdef INET 710 case AF_INET: 711 ifp->if_init(ifp->if_softc); /* before arpwhohas */ 712 arp_ifinit(IFP2AC(ifp), ifa); 713 break; 714 #endif 715 #ifdef IPX Greg Schmidt (writing from edwynn42@hotmail.com until this is working) _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message