Re: unicast octets statistics

2003-07-09 Thread Eugene Grosbein
Eugene Grosbein wrote: > > 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 xm

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: > 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 ipfw2 divert rule

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 traff

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" :)

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 Michael Sierchio
Julian Elischer wrote: I have a netgraph node that does load balancing, but it's not completed to my satisfaction.. you can play with it if you want :-) That would be excellent, I might even be in danger of learning something. I have a buncha Soekris net4501 boxes to play with. __

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 th

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 n

Re: Question about bridging code

2003-07-09 Thread Julian Elischer
On Wed, 9 Jul 2003, Brooks Davis wrote: > 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

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 try

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

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 tha

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 unsubscr

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: 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 s

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