Re: unicast octets statistics

2003-07-09 Thread Gleb Smirnoff
On Wed, Jul 09, 2003 at 01:18:06PM +0800, Eugene Grosbein wrote: E Does FreeBSD 4.8-STABLE keep per-interface summary for received E unicast octets? More precisely, I need to know number of unicast E octets received by my router via ep0 from uplink. Its ethernet interface E carries lots of

Re: unicast octets statistics

2003-07-09 Thread Charlie
On Wednesday 09 July 2003 08:09, Gleb Smirnoff wrote: On Wed, Jul 09, 2003 at 01:18:06PM +0800, Eugene Grosbein wrote: E Does FreeBSD 4.8-STABLE keep per-interface summary for received E unicast octets? More precisely, I need to know number of unicast E octets received by my router via ep0

Request for review: kern/47920

2003-07-09 Thread Gleb Smirnoff
Dear sirs, could you take a look at http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/47920 This problem is really annoying: large PPPoE network can be DoSed with one non-standard packet. Moreover, if there is 1 FreeBSD machine in network, it is really difficult to return network to normal

Re: unicast octets statistics

2003-07-09 Thread Gleb Smirnoff
On Wed, Jul 09, 2003 at 08:53:31AM +0200, Charlie wrote: C On Wednesday 09 July 2003 08:09, Gleb Smirnoff wrote: C On Wed, Jul 09, 2003 at 01:18:06PM +0800, Eugene Grosbein wrote: C E Does FreeBSD 4.8-STABLE keep per-interface summary for received C E unicast octets? More precisely, I need to

Re: AODV RFC is now ratified

2003-07-09 Thread Morton Lin
Hi, Sir : I am very interesting in your post. Would you please give me some web pages or information about your brief FreeBSD Howto ? I had built a ad-hoc testbed by using CMU's Monarch DSR implementation. But it's buggy. In 802.11 environment our platform didn't work very well. And I had done

Re: unicast octets statistics

2003-07-09 Thread Petri Helenius
Charlie wrote: On Wednesday 09 July 2003 08:09, Gleb Smirnoff wrote: On Wed, Jul 09, 2003 at 01:18:06PM +0800, Eugene Grosbein wrote: E Does FreeBSD 4.8-STABLE keep per-interface summary for received E unicast octets? More precisely, I need to know number of unicast E octets received by my

Re: unicast octets statistics

2003-07-09 Thread Eugene Grosbein
Petri Helenius wrote: Or maybe you should consider using ifInOctets... ifInOctets counts broadcasts too. I finished with ipfw2, thank you all. Eugene ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To

Question about bridging code

2003-07-09 Thread kw3wong
Hi guys, My first attempts at hacking FreeBSD kernel code has not been very fruitful, so I'm hoping someone with more experience and knowhow might be able to point out the mistakes that I'm making. Firstly, let me explain what I'm trying to do. I'm currently working on a University project

Re: Question about bridging code

2003-07-09 Thread Brooks Davis
On Wed, Jul 09, 2003 at 03:23:52PM -0400, [EMAIL PROTECTED] wrote: Hi guys, My first attempts at hacking FreeBSD kernel code has not been very fruitful, so I'm hoping someone with more experience and knowhow might be able to point out the mistakes that I'm making. Firstly, let me

Re: Question about bridging code

2003-07-09 Thread Julian Elischer
On Wed, 9 Jul 2003 [EMAIL PROTECTED] wrote: Hi guys, My first attempts at hacking FreeBSD kernel code has not been very fruitful, so I'm hoping someone with more experience and knowhow might be able to point out the mistakes that I'm making. Firstly, let me explain what I'm trying to

Re: Question about bridging code

2003-07-09 Thread Michael Sierchio
Julian Elischer wrote: how come no-one knows about netgraph.. the framework designed to do exactly this? :-) It's only been in use for 6 years.. Because we're missing a Nutshell book on the topic? Because only initiates into the Dark Art of Whistling know how to use it? ;-) (NB: smiley. You're

Re: Question about bridging code

2003-07-09 Thread Julian Elischer
On Wed, 9 Jul 2003, Michael Sierchio wrote: Julian Elischer wrote: how come no-one knows about netgraph.. the framework designed to do exactly this? :-) It's only been in use for 6 years.. Because we're missing a Nutshell book on the topic? Because only initiates into the Dark Art

Re: Question about bridging code

2003-07-09 Thread Chuck Swiger
Michael Sierchio wrote: [ ... ] (NB: smiley. You're not a humorless, literal-minded prat, but some of us are.) Nice. The last one-liner I heard that had such a good pacing to it was the remark about some politician being off his meds and out of therapy. -- -Chuck

Re: Question about bridging code

2003-07-09 Thread Petri Helenius
how come no-one knows about netgraph.. the framework designed to do exactly this? :-) It's only been in use for 6 years.. We do this and a lot more with netgraph and love the architechture, thanks goes for the people who did the architechture. So this qualifies as somebody knows :) Pete

Re: unicast octets statistics

2003-07-09 Thread Eugene Grosbein
Milan Obuch wrote: ifInOctets counts broadcasts too. I finished with ipfw2, thank you all. Maybe you could 'advertise' your solution :) I use ipfw2 to count packets: from any to any in recv ep0 mac $mymac any and from any to any out xmit ep0. I know my router sends only unicast traffic

Re: Question about bridging code

2003-07-09 Thread Luigi Rizzo
Hi, On Wed, Jul 09, 2003 at 03:23:52PM -0400, [EMAIL PROTECTED] wrote: description skipped So here is what my code changes involved so far. BTW, I'm using FreeBSD 4.8 1) Removed the check in ipfw_chk (ip_fw2.c) for whether it is layer2 or not. This allows briged packets to still match the