Re: My planned work on networking stack

2004-03-02 Thread Bruce M Simpson
On Tue, Mar 02, 2004 at 07:09:02PM +0300, Gleb Smirnoff wrote: > I do not insist that AS pathes in kernel are good idea. If you show me an > other way to get AS information when constructing netflow exports in kernel, > I'd be thankful. I'd be also thankful if you describe how policy routing can

Re: My planned work on networking stack

2004-03-02 Thread Bruce M Simpson
[in response to off-list mail] On Tue, Mar 02, 2004 at 03:58:44PM +, Bruce M Simpson wrote: > On Tue, Mar 02, 2004 at 01:07:58PM +0100, Brad Knowles wrote: > > If anything, I'd be inclined to look towards his work for OpenBSD > > and see if that could be imported int

Re: My planned work on networking stack

2004-03-02 Thread Bruce M Simpson
On Tue, Mar 02, 2004 at 01:07:58PM +0100, Brad Knowles wrote: [..] > His only issue with using exclusively PC equipment for handling > routing is all those strange WAN protocols and cards for which > hardware cards are rarely available beyond vendors like cisco or > Juniper. That's why he

Re: My planned work on networking stack

2004-03-02 Thread Bruce M Simpson
On Tue, Mar 02, 2004 at 11:55:56AM +0300, Gleb Smirnoff wrote: > Read on my previous mail pls. I'm speaking of some changes that require > altering both FreeBSD and routing daemon. Currently I'm thinking of AS path > only, but in future some other issues can appear. Routing daemon should be close >

Re: My planned work on networking stack

2004-03-01 Thread Bruce M Simpson
On Mon, Mar 01, 2004 at 10:16:25PM -0500, James wrote: > > > [] move IPv4 routing to its own optimized routing table structure and > > finally it's about time :) I've been fielding suggestions from individuals who feel using a multi-bit trie might be more suitable for achieving higher PP

Re: Question on IEEE802_11_RADIO

2004-02-27 Thread Bruce M Simpson
On Fri, Feb 27, 2004 at 02:27:57PM -0800, Richard Bejtlich wrote: > >From what I've read elsewhere on the lists, I'm not > seeing what I should using the new IEEE802_11_RADIO > link type. Tcpdump is compiled --WITH_RADIOTAP: Don't use monitor mode; it's a misnomer. Try without using monitor mode

Re: Fwd: [is this mbuf problem real?]

2004-02-26 Thread Bruce M Simpson
On Thu, Feb 26, 2004 at 08:43:24AM +0100, Helge Oldach wrote: > maybe someone can comment on the status of this alert? There have been > some comments about fixing it on freebsd-net@ but I haven't seen a CVS > log - or I just missed it. Dealt with in andre@'s recent commit to make the TCP reassemb

HEADS UP: routed(8) source update

2004-02-25 Thread Bruce M Simpson
Hi, I've just merged version 2.27 of rhyolite.com's routed into the tree. If you track -CURRENT and use the MD5 authentication feature, note that it is no longer compatible with previous versions of FreeBSD; however it is now compatible with the Sun Solaris and Cisco implementations. I have adde

Re: Netgraph Module for multihop ad hoc networks

2004-02-16 Thread Bruce M Simpson
On Sun, Feb 15, 2004 at 08:52:27PM +0200, Gerasimos Dimitriadis wrote: > I have just finished a netgraph node which enables the formation of multihop ad > hoc networks. It routes data packets according to their hardware addresses > using a link state algorithm, namely GSR. I'm thinking it might

Re: an(4) net80211-ification ?

2004-02-15 Thread Bruce M Simpson
On Sun, Feb 15, 2004 at 09:22:10PM +0900, Atsushi Onoe wrote: > > Is anybody hiding any patches for this somewhere? If so speak now... :-) > > I have on NetBSD tree, though it doesn't support MPI350 yet. Excellent. I'll have a look. Using ieee802_11* seems to make using radiotap easier... BMS __

an(4) net80211-ification ?

2004-02-15 Thread Bruce M Simpson
Is anybody hiding any patches for this somewhere? If so speak now... :-) BMS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Support for USB Wi-Fi adapters?

2004-02-09 Thread Bruce M Simpson
On Sat, Feb 07, 2004 at 11:46:04PM -0700, Brett Glass wrote: > At 02:21 AM 2/7/2004, Mike Silbersack wrote: > >Apparently OpenBSD has support for the USB Prism devices now, but it has > >not been ported over here yet. > > It's interesting that it's OpenBSD and not NetBSD. I'll take a look > at t

Re: switching to an internal DSL modem -- natd, ipfw

2004-02-09 Thread Bruce M Simpson
On Thu, Feb 05, 2004 at 08:39:40PM -0500, Mikhail Teterin wrote: > Any other ATM card I should consider as an internal DSL modem? Thanks! You're likely to have better luck with an ATM25 card and an externally attached ATM25 DSL modem. I backported the idt(4) driver to 4.x for this reason but the

Re: Obtaining Syslog message from a Cisco Router

2004-02-03 Thread Bruce M Simpson
On Tue, Feb 03, 2004 at 03:38:19PM -, Edward Butler wrote: > I am looking to dump the log files from various Cisco routers on to one > of various FreeBSD boxes we are running ( mainly FreeBSD 4.4 ) once the > logs have been dumped to then rotate these in a similar way that other > system logs f

Re: Will rfc2734 be supported?

2004-02-03 Thread Bruce M Simpson
On Sat, Jan 31, 2004 at 03:27:03PM +0100, Dario Freni wrote: > I was wondering if the standard implementation of IPoFW is planning to > be implemented. I'm not expert on device writing, I was also looking for I've already asked Jordan about a code drop from Apple; he's trying to get an answer from

Re: PIM IPv4 user-level process

2004-02-01 Thread Bruce M Simpson
On Fri, Jan 30, 2004 at 05:20:19PM -0600, Bob Van Valzah wrote: > A port of the whole xorp world might be a better target than just the > pim part. That wouldn't take much since it compiled easily. But it is > a whopper--nearly 1 GB required to build. XORP would be good as a separate port, but f

Re: PIM IPv4 user-level process

2004-01-30 Thread Bruce M Simpson
On Fri, Jan 30, 2004 at 09:43:12AM -0600, Bob Van Valzah wrote: > I'm interested in doing IPv4 multicast routing but want to avoid DVMRP. > I see kernel support for PIM both IPv4 and IPv6. But I can't find any > user-level process to run PIM IPv4. It seems odd that kernel support > would be pres

Re: European USB DSL modems?

2004-01-30 Thread Bruce M Simpson
On Thu, Jan 29, 2004 at 04:02:07PM +0100, Lars Eggert wrote: > does -current support any European USB DSL modems, and if so, which > ones? I could get this one free with my DSL order: > http://www.avm.de/de/Produkte/FRITZCard_DSL/FRITZ_Card_DSL_SL_USB/index.js.html > (Sorry, page is in German.)

Re: wi0 wireless compatibility issue?

2004-01-28 Thread Bruce M Simpson
On Fri, Dec 26, 2003 at 04:34:57PM -0600, Mike Silbersack wrote: > If someone can tell me how to dump 802.11 packets for the purpose of > debugging this issue, I'd be happy to do so. I recently committed a port of the current beta version of tcpdump. There's a switch in the makefile, WITH_RADIOTAP

Re: Paper on device polling and packet capture performance

2004-01-11 Thread Bruce M Simpson
On Fri, Jan 09, 2004 at 03:51:43PM -0600, Guy Helmer wrote: > I want to look at memory-mapped access to the BPF device. > This would preserve the existing network device drivers > while reducing mbuf copies, context switches/user-kernel > transitions, and latency. Performance ought to be > compara

Re: Driver for D-Link DWL-G520+ ??

2004-01-07 Thread Bruce M Simpson
On Wed, Jan 07, 2004 at 03:39:48PM +0100, jeremie le-hen wrote: > Since I'm not a lucky guy, I didn't get the one working with the ath(4) > driver (Atheros), but instead I got the one which seems to have a > Texas Intrument chipset which is not officially supported by FreeBSD > yet. I tried the dr

Re: wireless monitoring of APs???

2004-01-05 Thread Bruce M Simpson
On Tue, Jan 06, 2004 at 03:35:40PM +1100, paul van den bergen wrote: > OK ok, if one could just see what other devices were out there it would be a > good start I suppose. I suggest you have a look at the WirelessLeiden and IEEE 802.11 MIBs. Some weeks ago I reviewed these for applicability to Fre

Re: wireless monitoring of APs???

2004-01-05 Thread Bruce M Simpson
On Tue, Jan 06, 2004 at 12:16:47PM +1100, paul van den bergen wrote: > How about snmp information display programs for FreeBSD? I'm working on something like this. What exactly do you want to measure or monitor? BMS ___ [EMAIL PROTECTED] mailing list ht

Re: Source Routing

2003-12-29 Thread Bruce M Simpson
On Sun, Dec 28, 2003 at 02:15:11PM -0800, afshin wrote: > Is any source routing facility available in FreeBSD ? I think you mean policy routing. It is on the wishlist for 5.3. BMS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listi

Re: USB WLAN device and 54MBit or 108MBit device

2003-12-20 Thread Bruce M Simpson
On Fri, Dec 19, 2003 at 01:07:46PM -0600, Mike Silbersack wrote: > On Fri, 19 Dec 2003, freebsd_daemon wrote: > > Are there any suggestions for > > 1) a USB WLAN device which is supported by 4.9 and 5.x > See the wi manpage. I have both a Netgear MA311 and MA401, and they work > pretty well.

Re: gre tunnel & ipsec transport mode

2003-12-17 Thread Bruce M Simpson
On Wed, Dec 17, 2003 at 03:01:53PM +0100, Eric Masson wrote: > Helge> I think the problem is that you need multicasts to exchange > Helge> routing updates through the tunnel. If I am not mistaken that is > Helge> supported with gif interfaces as well. Maybe you could do away > Helge> with gif?

Re: wireless monitoring of APs???

2003-12-15 Thread Bruce M Simpson
On Mon, Dec 15, 2003 at 04:56:44PM +1100, paul van den bergen wrote: > What tools are there in BSD-land that are usefull for monitoring activity on > an AP? i.e. like dstumbler but from the LAN side? well, alright, not like > dstumbler as it has 1) and installed piece of hardware to use and 2) di

Under wraps -- FreeBSD signal quality monitoring

2003-12-12 Thread Bruce M Simpson
I'm working on a hack right now. Today I added SNMP agent support to a very slim tool called trafd, which can be used to keep statistics on host-host traffic. With the Radiotap stuff I've committed to the new tcpdump port this week, it isn't too much of a stretch to extend support to trafd. The i

ANNOUNCE: net/tcpdump Radiotap-aware port committed.

2003-12-11 Thread Bruce M Simpson
All, I've just committed a new port of tcpdump 3.8.1 with David Young's radiotap patches. On FreeBSD 5.2 I was able to get the radiotap headers from the wi(4) driver with this. This is fairly bleeding edge so there may be rough edges around it, play with it and let me know how you get on. The mai

Re: Driver for D-Link DWL-G520+ ??

2003-12-03 Thread Bruce M Simpson
On Wed, Dec 03, 2003 at 08:23:36PM +0200, Jukka A. Ukkonen wrote: > Is there anyone writing a driver for a D-Link DWL-G520+ card > (apparently prism54)? I know a chap (local to me) working on such a thing:- http://wlan.kewl.org/ BMS ___ [EMA

Re: kern/54383: NFS root configurations without dynamic protocols: dhcp, bootp, etc...

2003-11-25 Thread Bruce M Simpson
Synopsis: NFS root configurations without dynamic protocols: dhcp, bootp, etc... Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: bms Responsible-Changed-When: Tue 25 Nov 2003 09:18:29 PST Responsible-Changed-Why: See if we can get productive discussion from -net on

Re: bin/22846: Routed does not reflect preference of Internet Router Discovery Protocol.

2003-11-25 Thread Bruce M Simpson
Synopsis: Routed does not reflect preference of Internet Router Discovery Protocol. Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: bms Responsible-Changed-When: Tue 25 Nov 2003 09:09:27 PST Responsible-Changed-Why: This probably wants wider discussion on -net http

Re: conf/35726: Won't let me use ifconfig on the interfaces after upgrade to latest OS

2003-11-25 Thread Bruce M Simpson
Synopsis: Won't let me use ifconfig on the interfaces after upgrade to latest OS Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: bms Responsible-Changed-When: Tue 25 Nov 2003 08:59:20 PST Responsible-Changed-Why: Air this out on -net for discussion/bikeshedding. ht

Re: 5.1-R plip0 issue (BSD --> Linux)

2003-11-22 Thread Bruce M Simpson
On Sat, Nov 22, 2003 at 07:08:15AM +, falacy wrote: > Anyone who is hooking up a slackware linux box to a freeBSD 5.1 system over > the parallel port, skip the hand book all together and add the following > lines to your /etc/rc.conf file, The answer has been in the plip(4) man page all alo

Re: Fail OVer routing

2003-11-21 Thread Bruce M Simpson
On Fri, Nov 21, 2003 at 05:15:56PM +0700, hilman firmansyah wrote: > Is there any method for fail over routing ( not dymanic routing protocols ) > . > 1 Corporate office connetcted via wireless fast link and adsl low speed. > IF the wireless down , the routing move to low speed adsl. > And when th

Re: Multicast stats and bridging

2003-11-19 Thread Bruce M Simpson
On Wed, Nov 19, 2003 at 04:03:12PM -0500, Alex Hoff wrote: > What is the desired behavior of a multicast(and broadcast) pkt traveling > through a bridge? Change it to count it going in *and* out? Or is there some > reason, that I dont know about, for the current stat counting heuristics? The bridg

Re: Straw poll - All-interface broadcast/multicast

2003-11-18 Thread Bruce M Simpson
On Tue, Nov 18, 2003 at 12:19:00PM -0500, Barney Wolff wrote: > Some questions, because I'd like to be an educated voter. > > 1. How does multicast routing work now? Presumably something takes a > mcast packet and sends it out to every interface behind which some host > has indicated group membe

Straw poll - All-interface broadcast/multicast

2003-11-18 Thread Bruce M Simpson
On the subject of hacking the network stack to output broadcast/multicast datagrams on all appropriate interfaces:- Who would like a switch to do this in the kernel? Who would be happier with a userland convenience function to do it? Who would rather roll their own? I have a diff in the work

Re: Knowing a route multiply.

2003-11-18 Thread Bruce M Simpson
On Mon, Nov 17, 2003 at 10:58:47AM -0500, David Gilbert wrote: > This works on Linux ... and fails miserably on FreeBSD. I would like > to change this behaviour to either a) replace the route with the > interface route or b) know two routes for a destination and choose > one. Have you tried filte

Re: IPSec VPN & NATD (problem with alias_address vs redirect_addr ess)

2003-11-15 Thread Bruce M Simpson
On Sat, Nov 15, 2003 at 07:54:40AM +0100, Oldach, Helge wrote: > I do well understand that there is no general solution. However, FreeBSD > is definitely behind what is available on the commercial market today. Call > it "cheating" - but it's out there and it works. I would rather prefer to > see >

Re: Viewing multicast group membership?

2003-11-14 Thread Bruce M Simpson
On Tue, Nov 11, 2003 at 09:29:49AM +0100, Harti Brandt wrote: > Here you are. This was even once (about a year ago) reviewed by someone, > but did make it into the tree, because I did not insist. Committed with userland API and some fixups. Thanks! BMS

ng_nat vs natd vs ipnat?

2003-11-14 Thread Bruce M Simpson
Has anyone implemented NAT as a Netgraph node? If so, how does performance compare to natd and ipnat? Regards, BMS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED

Re: Viewing multicast group membership?

2003-11-13 Thread Bruce M Simpson
On Tue, Nov 11, 2003 at 09:29:49AM +0100, Harti Brandt wrote: > Here you are. This was even once (about a year ago) reviewed by someone, > but did make it into the tree, because I did not insist. Ok. The NET_RT_IFMALIST sysctl is not completely identical to the existing NET_RT_IFLIST interface. I'

Re: Viewing multicast group membership?

2003-11-13 Thread Bruce M Simpson
On Tue, Nov 11, 2003 at 09:29:49AM +0100, Harti Brandt wrote: > Here you are. This was even once (about a year ago) reviewed by someone, > but did make it into the tree, because I did not insist. I've put the userland code (and a cleaned up version of this diff) up at http://people.freebsd.org/~bm

subnets_are_local unused?

2003-11-13 Thread Bruce M Simpson
Hi, The sysctl net.inet.ip.subnets_are_local doesn't appear to be referenced anywhere anymore (in RELENG_4 or HEAD). Can it go in the bin? Or is it there for a specific reason? BMS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/list

Re: Viewing multicast group membership?

2003-11-10 Thread Bruce M Simpson
On Tue, Nov 11, 2003 at 12:36:44AM +0100, Hitoshi Asaeda wrote: > ifmcstat delievered by KAME is not sufficient? > http://www.kame.net/dev/cvsweb2.cgi/kame/kame/kame/ifmcstat/ ifmcstat only appears to report IPv6 group memberships. However, reading its manpage prompted me to try netstat -ina -- th

Re: Viewing multicast group membership?

2003-11-10 Thread Bruce M Simpson
On Mon, Nov 10, 2003 at 08:49:40PM +0100, Harti Brandt wrote: > I have a patch that creates a sysctl that returns the per-interface > multicast address lists that mimics the sysctl that returns the interface > address lists. If you can wait until tomorrow I'll send you the patch. > This is running

Re: Viewing multicast group membership?

2003-11-10 Thread Bruce M Simpson
On Mon, Nov 10, 2003 at 01:14:59PM -0500, Robert Watson wrote: > I can't speak to existing code for this, but I can say I have a preference > for having a sysctl version of the code available in the vague hopes that > someday we can drop the setgid kmem bit from netstat... During operation, the ke

Viewing multicast group membership?

2003-11-10 Thread Bruce M Simpson
Hi, Pardon me if this is an FAQ or answered somewhere else. I've had a quick skim through the man pages and the source, and can't seem to find a means of listing which IPv4 multicast groups a host is currently a member of. The net.igmp.stats sysctl only seems to maintain general protocol level s

Re: Changes to PCBPORTHASH wrt TCP, review needed

2003-10-28 Thread Bruce M Simpson
On Mon, Oct 27, 2003 at 02:16:13AM -0600, Mike Silbersack wrote: > One easy way to test this patch is to install http_load, set your > ephemeral port range to something in the range of 30, and have it start > testing a host. It will quickly create TIME_WAIT sockets filling all > ephemeral ports.

Re: Help Broadcasting a UDP packet on the LAN:URGENT

2003-10-21 Thread Bruce M Simpson
On Mon, Oct 20, 2003 at 08:42:50PM -0400, Barney Wolff wrote: > And of course any application that actually needs to send such a packet > on every interface can loop through the interfaces, using the technique > on each one, getting the reply, removing the 255.0.0.0/8 alias, and > moving on to the

Re: Help Broadcasting a UDP packet on the LAN:URGENT

2003-10-20 Thread Bruce M Simpson
On Mon, Oct 20, 2003 at 10:47:51AM -0700, sarat chandra Annadata wrote: > I am need of some urgent techinical help to pull me out of a little problem. I have > been > trying to broadcast a UDP packet(actually it is a DHCP offer packet) but > havent' successfully done it sofar. The following is t

Re: multiple loopback interfaces in 5-current?

2003-10-19 Thread Bruce M Simpson
On Sun, Oct 19, 2003 at 11:41:19AM -0400, Justin Ma wrote: > Is it possible to raise multiple loopback interfaces in 5-current? ifconfig loN create. BMS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscr

Re: VLANs and bridging

2003-10-16 Thread Bruce M Simpson
On Thu, Oct 16, 2003 at 01:10:56PM +0200, Mark Daniel Reidel wrote: > Mark Daniel Reidel wrote: > > >ifconfig fxp0 up > > Just if someone is interested: The problem was this line. After changing > it to: > > ifconfig fxp0 link0 up > > everything worked fine. Bizarre. Why would uploading the i

Re: Recovery from mbuf cluster exhaustion

2003-10-08 Thread Bruce M Simpson
On Wed, Oct 08, 2003 at 01:22:34PM +0200, Peter Bozarov wrote: > I'm using 4.7. I have three interfaces, rl0, xl0, and xl1. Support for 4.7 is very limited as we transition to 4.9, please be prepared to upgrade the box. Bear in mind we commit fixes for problems to HEAD first except in those cases

Re: Recovery from mbuf cluster exhaustion

2003-10-08 Thread Bruce M Simpson
On Wed, Oct 08, 2003 at 12:10:47PM +0200, Peter Bozarov wrote: > (First off, I hope I'm posting to the right list.) -net would be more appropriate. [Redirected from -hackers] > I have the following question regarding mbuf cluster exhaustion. > If I've managed to exhaust the pool, I start getting

Re: Support for RFC2991/RFC2992 in freeBSD

2003-10-06 Thread Bruce M Simpson
On Mon, Oct 06, 2003 at 03:45:10PM +0200, Ivan Boule wrote: > I would like to know which freeBSD release includes support > for RFC2991/RFC2992 (multipath routing). None of them do, yet. I'd like this, but there are too many other things we have to fix first; Sam's work has to be finished, for one

Re: ADSL PPoA or RFC1483, any solutions ?

2003-10-03 Thread Bruce M Simpson
On Thu, Oct 02, 2003 at 09:53:08AM +0200, Harti Brandt wrote: > Does PPPoA really need signalling? I tried to find any pointers to PPPoA > specification, but this seems to be not easy to find. I was probably half asleep when I wrote that answer :) it's been a stressful week. I should correct mysel

Re: rtsock.c: eliminate masking of gotos, don't abuse M_RTABLE

2003-10-03 Thread Bruce M Simpson
On Fri, Oct 03, 2003 at 11:00:10AM +0300, Ruslan Ermilov wrote: > I think these uncommitted patches will mostly affect route.c, while this > patch is for rtsock.c, the route(4) interface with the kernel, which is > unlikely to change a lot. Much-improved patch to cleanup rtsock.c at bde's prodding

rtsock.c: eliminate masking of gotos, don't abuse M_RTABLE

2003-10-03 Thread Bruce M Simpson
Hi, Here's a diff to eliminate the senderr() macro from rtsock.c. This macro is masking goto statements, which is incredibly bad style, and makes it difficult to follow the flow of control in the file. This diff also stops rtsock.c from abusing the M_RTABLE malloc define for routing socket messag

Re: I would like to tcpdump and get all the packets...

2003-10-01 Thread Bruce M Simpson
On Wed, Oct 01, 2003 at 09:45:57PM +0300, Petri Helenius wrote: > How often is "so often"? The vendor branch is over a year old and the > bug that seems to annoy > most real users of bpf has been known for quite a while longer and took > a while to get into > the origin and now it only would nee

Re: ADSL PPoA or RFC1483, any solutions ?

2003-10-01 Thread Bruce M Simpson
On Wed, Oct 01, 2003 at 02:17:59PM -0400, Barney Wolff wrote: > Are you talking about running the phone line directly to the fbsd box > with no dsl modem? Yes. Also, PPPoA in FreeBSD is currently only implemented if you use ngatm, because of the signalling involved. RFC 1483 framing is a simple bo

Re: I would like to tcpdump and get all the packets...

2003-10-01 Thread Bruce M Simpson
On Fri, Sep 19, 2003 at 12:43:44AM +0300, Petri Helenius wrote: > >Shurely you mean tcpdump 3.7.2, which is already imported (by fenner, with > >additional hacks)? > I mean libpcap, which also tcpdump uses, if I´m not mistaken. Look in > contrib/libpcap This is coming up more often. Perhaps we sh

Re: ADSL PPoA or RFC1483, any solutions ?

2003-10-01 Thread Bruce M Simpson
On Sun, Jun 15, 2003 at 06:55:28AM +0200, Gianmarco Giovannelli wrote: > 1) Any viable solution with FreeBSD for doing that kinds (PPPoA or RFC > 1483) of encapsulation. Using xDSL will be difficult. There is a driver I have picked up for the Lanai chip (Efficient Networks SpeedStream 30x0 series

Review requested: revised patch for bin/41647

2003-10-01 Thread Bruce M Simpson
Hi, It should be possible to set the link layer address of an interface whilst also setting the IP address. Here's a revised patch for ifconfig(8) to add this functionality (against HEAD) based on the one in the PR. There is a problem in that applying this patch modifies syntax such that statemen

Alternative fix for FreeBSD-SA-03:14.arp

2003-09-26 Thread Bruce M Simpson
Hi, Based on discussion between ru@ and I, there's a patch attached which tries to fix the problem without deleting GENMASK routes, and is stricter about not touching STATIC routes. Comments and reviews solicited, appreciated... Thanks! BMS --- if_ether.c.orig Mon Sep 22 21:11:59 2003 +++ if

Re: ipintrq

2003-09-18 Thread Bruce M Simpson
[Cc'd to -net instead as poss. OT for -current] On Thu, Sep 18, 2003 at 07:29:48PM -0600, Vector wrote: > What happened to ipintrq? I know it is now defined in ip_input.c...problem [snip] Try using netisr_dispatch() to hand-off an mbuf to the network stack instead. Look at the differences betwee

Re: I would like to tcpdump and get all the packets...

2003-09-18 Thread Bruce M Simpson
On Thu, Sep 18, 2003 at 11:59:21PM +0300, Petri Helenius wrote: > I just noticed that Bill committed fix to this bug back in February. Now > it only needs that somebody refreshes the import from 0.7 to 0.7.2. Er, if you check this URL: http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/tcpdump/CHA

Re: I would like to tcpdump and get all the packets...

2003-09-18 Thread Bruce M Simpson
On Thu, Sep 18, 2003 at 09:14:46AM +0300, Petri Helenius wrote: > Sure, but because the bug in pcap-bpf.c there is no way to set the > buffer above 32768 > without recompiling the library after applying the patch. > > This bug should be fixed in the FreeBSD copy of libpcap because tcpdump > folk

Re: New snapshot: network stack cloning / virtualization patches

2003-09-12 Thread Bruce M Simpson
Hi Marko, On Fri, Sep 12, 2003 at 03:05:15PM +0200, Marko Zec wrote: > Network stack cloning patches allow for multiple fully independent network > stacks to simultaneously coexistst in a single FreeBSD kernel. Combined with [snip] Your work is most interesting. I look forward to using it as a

Re: Packet loss problem

2003-09-06 Thread Bruce M Simpson
On Sat, Sep 06, 2003 at 11:18:41PM +0100, Colin Watson wrote: > I don't believe so. We pay for a leased connection - so it's not supposed to > be filtered. I'll have a dig around tho. One other question, is their any > way to statically map an IP to a MAC (user who keeps chainging their IP when > t

Re: network blocking per system (local) user

2003-09-06 Thread Bruce M Simpson
On Sat, Sep 06, 2003 at 10:03:27AM +0200, jakae wrote: > I have a freebsd box which is connected to two different networks > (public and private). I would like to give to somebody a shell account > on this box, but allow him just to see, trace,.. the public network. The > best would be if he co

Re: Packet loss problem

2003-09-06 Thread Bruce M Simpson
On Sat, Sep 06, 2003 at 06:39:12PM +0100, Colin Watson wrote: > / 33104 broadcast/multicast datagrams dropped due to no socket " which seems an > inordinatly high amount. There are no drops due to full socket buffers, although I > have recompiled the kernel with nmbclusters=8192 and Maxusers=10

Re: ifconfig(8) does not display tunnel endpoints for gre(4)

2003-09-06 Thread Bruce M Simpson
On Thu, Sep 04, 2003 at 10:54:12AM +0200, Juan Rodriguez Hervella wrote: > [snipped] > gre0: flags=b051 mtu 1476 > inet 192.168.1.1 --> 192.168.2.1 netmask 0xff00 > inet6 fe80::2c0:26ff:fea3:5df6%gre0 prefixlen 64 scopeid 0x5 > > > Besides, I think that every interface already

ifconfig(8) does not display tunnel endpoints for gre(4)

2003-09-03 Thread Bruce M Simpson
Hi all, Could someone review my PR and let me know if they have also observed the problem? I will produce a fix shortly. http://www.freebsd.org/cgi/query-pr.cgi?pr=56341 Thanks BMS ___ [EMAIL PROTECTED] mailing list http

Re: if_gre, ip_gre and the like (pseudo-interfaces)

2003-09-02 Thread Bruce M Simpson
[Redirected to -net as more appropriate] On Tue, Sep 02, 2003 at 03:06:16PM -0700, Jerry Toung wrote: > BMS, > please be patient. I guess I am still a little bit confuse as to how a > packet goes from a real NIC (i.e xl0) to the gre pseudo-device. No problem. :-) > in if_gre.c, you define a new

Re: UDP Socket Options

2003-09-02 Thread Bruce M Simpson
On Tue, Sep 02, 2003 at 03:43:33PM -0700, [EMAIL PROTECTED] wrote: > FreeBSD ought to add per-socket socket options to > allow a programmer to turn on and off the don't > fragment bit for UDP and the UDP checksum, on a per > socket basis. Why? Sure, it would be easy enough to do, but why exactly

Re: Problems with if_gre

2003-09-02 Thread Bruce M Simpson
Further searching turned up a post on the Quagga-users list which suggested TTL might be the culprit. I bounce the interface using ifconfig to recreate the interface route in the routing table, then throw tcpdump extra options to monitor MTU, as well as running route -nv monitor in the background:

Problems with if_gre

2003-09-02 Thread Bruce M Simpson
Hi all, First of all apologies for the length of this mail - it is quite voluminous as I'm trying to pack in all required information. I don't seem to be able to achieve an end-to-end path between my Cisco 2520 and my laptop running FreeBSD 5.1-RELEASE using the GRE tunneling protocol. Before I d

Re: Reversed MAC lookup inside FreeBSD kernel?

2003-08-29 Thread Bruce M Simpson
On Fri, Aug 29, 2003 at 11:17:16AM -0500, Khoa A. To wrote: > I need to get a translation of MAC addresses to IP addresses in the kernel. > I saw some postings about how to translate MAC to IP in the user level, but > they seem to require the host to send a packet to that MAC address and some > oth

Re: Receiving INADDR_BROADCAST packets

2003-08-24 Thread Bruce M Simpson
On Fri, Aug 22, 2003 at 07:30:18PM +0100, Bruce M Simpson wrote: > I probably wouldn't need to bind sockets to each interface if I were doing > purely broadcast traffic. I'm happy with what works for the time being, > however; I may revisit this if I ever implement IPv6 sup

Re: Receiving INADDR_BROADCAST packets

2003-08-22 Thread Bruce M Simpson
On Fri, Aug 22, 2003 at 06:18:57AM -0700, Bill Fenner wrote: > I think c) (perhaps combined with IP_RECVDSTADDR so that you know > whether you got a unicast or broadcast) is the correct answer. > I think binding UDP sockets to tell what interface/address was > the destination is a historical artifa

Receiving INADDR_BROADCAST packets

2003-08-22 Thread Bruce M Simpson
Hi all, Ok, the broadcast sending problem is solved, as far as I'm concerned. However, the reception problem isn't: 14766 broadcast/multicast datagrams dropped due to no socket This despite: wi0: flags=8843 mtu 1500 inet 1.234.56.78 netmask 0xff00 broadcast 1.255.255.255 udp4

Re: IP_ONESBCAST and upcoming RELENG_4_9 freeze

2003-08-22 Thread Bruce M Simpson
On Thu, Aug 21, 2003 at 10:35:03PM -0700, Wes Peters wrote: > Your change makes it so that broadcasts sent to 255.255.255.255 will > be transmitted on all interfaces marked with a ONES_BCAST flag, right? It really is a very simple addition. It's a protocol-level socket option, so doesn't interfe

IP_ONESBCAST and upcoming RELENG_4_9 freeze

2003-08-21 Thread Bruce M Simpson
Hi all, Does anyone have any major objections to an MFC'ing of IP_ONESBCAST which I committed yesterday before the upcoming 4.9 code freeze next Monday? If you could let me know before, say, Saturday PM BST, that would be great. Regards BMS ___ [EMAIL

[no subject]

2003-08-20 Thread Bruce M Simpson
On Tue, Aug 19, 2003 at 03:59:27PM -0700, Sam Leffler wrote: > this note is to insure "everyone" is aware. If your are actively working > on stuff related to the network code and I haven't already corresponded > with you; please let me know so we can coordinate our work--I have no > interest in

Re: Netmasks and PF_ROUTE rockets

2003-08-16 Thread Bruce M Simpson
Oops. Resend. --- Begin Message --- On Fri, Aug 15, 2003 at 04:52:38PM +0300, Ruslan Ermilov wrote: > > I have actually managed to panic the 5.1 kernel by passing a wrongly > > formatted routing message in. > I'd be interested in the code that panics the kernel. (To fix > the latter.) Attached. D

Re: recommended bluetooth adapters

2003-08-14 Thread Bruce M Simpson
On Mon, Aug 11, 2003 at 02:51:18PM -0400, Michael W. Oliver wrote: > I am looking for a USB Bluetooth adapter for my -CURRENT machine and would > like to know what works and doesn't work for you. Please reply directly to > me if you feel this is OT. The little MSI ones appear to work A-OK. BMS

Netmasks and PF_ROUTE rockets

2003-08-14 Thread Bruce M Simpson
Bill, Thanks for your help the other week. It seems, though, that in order to fix my code, I had to replicate exactly what route(8) did. Specifically, it fills out the netmask sockaddr_in in this way: it counts the number of bytes of netmask set within the sockaddr and sets sin_len accordingly.

IP over DVB

2003-08-06 Thread Bruce M Simpson
Good news, I have acquired IP-over-DVB hardware, dish and LNB. Bad news, the Adaptec (pre-Broadlogic) ABA-1040 is ancient, and would appear to have *nothing* in the way of available documentation, or drivers; unless anyone can help... ? Regards BMS ___

Re: T/TCP useless on FreeBSD 4.7?

2003-08-01 Thread Bruce M Simpson
On Fri, Aug 01, 2003 at 11:14:12AM -0400, michael rabinovich wrote: > Does anyone know the status of T/TCP support on FreeBSD 4.7? ... > Am I missing something (after all, FreeBSD is supposed to be a ref > implementation of T/TCP!) and if not is there is a simple way around > this problem, short

On demand routing redux (RFC 3561 AODV preparatory)

2003-07-31 Thread Bruce M Simpson
emand using a routing protocol * such as AODV. * This code will probably be vastly cleaned up and tested more thoroughly * before being used as the basis for a user-space BSD AODV implementation. */ /* * Copyright (c) 2003 Bruce M. Simpson <[EMAIL PROTECTED]> * All rights reserved. * *

[PATCH] AODV (RFC 3561) support for tcpdump

2003-07-31 Thread Bruce M Simpson
Hi all, I send you this patch in order that I may have your advice. I've added a module to tcpdump to decode AODV packets as per RFC 3561. The only extension currently understood is HELLO. I've submitted this to [EMAIL PROTECTED], but I've been working with a number of you on wi(4) related things

Re: RTF_CLONING vs RTF_PRCLONING

2003-07-28 Thread Bruce M Simpson
On Mon, Jul 28, 2003 at 05:51:28PM -0400, Garrett Wollman wrote: > RTF_XRESOLVE is set when the target of the newly cloned route is not > known by the kernel and must be set up by a user process. I'm not > sure if anything ever used this, although I guess it could be used to > implement ISIS. I h

Re: RTF_CLONING vs RTF_PRCLONING

2003-07-28 Thread Bruce M Simpson
On Mon, Jul 28, 2003 at 11:45:28PM +0200, Vincent Jardin wrote: > I do not understand the purpose of the flag PRCLONING. What is it for ? Compare the output of netstat -rn with netstat -rna, to see the difference between a cloned and a protocol-cloned route. BMS __

ether_resolvemulti() doesn't expire routes

2003-07-13 Thread Bruce M Simpson
I noticed that if I do this:- # route add -net 224.0.0.0/4 -iface xl0 -expire 3000 The resultant cloned routes don't get given a lifetime, i.e. they're totally static and remain in the route table for the lifetime of the kernel. Either multicast designated receivers or IGMP aware routers are the

AODV RFC is now ratified

2003-07-08 Thread Bruce M Simpson
On Tue, Jul 08, 2003 at 08:13:03AM -0600, M. Warner Losh wrote: > Cool! Hopefully this work will include fixing lucent cards too :-) Hail Eris. All hail Discordia. By the way, have you seen RFC 3561? It's just out. http://www.faqs.org/rfcs/rfc3561.html Ad hoc On-Demand Distance Vector (AODV) Ro

Re: ipprecedence

2003-07-07 Thread Bruce M Simpson
On Sat, Jul 05, 2003 at 12:33:32PM -0700, Luigi Rizzo wrote: > permit. Certain hardware even has multiple, prioritized > transmit rings, but there is no support for them in our > drivers (basically we don't have an API for that). One example which immediately springs to mind is the RTL8139C+ which

Re: Request for Review: bin/54151

2003-07-07 Thread Bruce M Simpson
On Sun, Jul 06, 2003 at 09:33:11PM +0400, Dmitry Morozovsky wrote: > Dear colleagues, > > would you please spend a bit of your time to review > http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/54151 > [patch to add -i option to arp(8)]? I think this sort of thing is badly needed, especially for the

Re: IP over DVB

2003-06-24 Thread Bruce M Simpson
On Tue, Jun 24, 2003 at 05:42:00AM -0700, Julian Elischer wrote: > what is DVB? > Digital Video Bus? DVB stands for Digital Video Broadcasting. It is a standard for broadcasting multiplexed data/audio/video content, typically over a satellite, cable or terrestrial transmission medium. More informa

<    1   2   3   4   5   6   7   >