Re: Ipfw accept rule

2004-09-24 Thread Jon Simola
On Fri, 24 Sep 2004, Bikrant Neupane wrote: > > > Well, I have no problem with the MAC filtering rules. > > > Only problem that I am having is that the pkts hit the matching rule > > > twice as a result I get only half of the b/w than that specified in ipfw > > > pipe command. Yes, the packets wi

Re: Ipfw accept rule

2004-09-24 Thread Bikrant Neupane
On Friday 24 September 2004 15:26, dima wrote: > В пт, 24.09.2004, в 10:20, Bikrant Neupane пишет: > > On Thursday 23 September 2004 22:29, Jon Simola wrote: > > > On Thu, 23 Sep 2004, Bikrant Neupane wrote: > > > > Here is my rule set: > > > > > > > > #skip dependind the pkt layer > > > > 01000

Re: Ipfw accept rule

2004-09-24 Thread dima
В пт, 24.09.2004, в 10:20, Bikrant Neupane пишет: > On Thursday 23 September 2004 22:29, Jon Simola wrote: > > On Thu, 23 Sep 2004, Bikrant Neupane wrote: > > > Here is my rule set: > > > > > > #skip dependind the pkt layer > > > 01000 32214780 skipto 1 ip from any to any layer2 in via xl

Re: Ipfw accept rule

2004-09-23 Thread Bikrant Neupane
On Thursday 23 September 2004 22:29, Jon Simola wrote: > On Thu, 23 Sep 2004, Bikrant Neupane wrote: > > Here is my rule set: > > > > #skip dependind the pkt layer > > 01000 32214780 skipto 1 ip from any to any layer2 in via xl0 > > 01100 20093204 skipto 2 ip from any to any not

Re: Ipfw accept rule

2004-09-23 Thread Alex de Kruijff
On Thu, Sep 23, 2004 at 09:10:49AM -0600, Nathan Kinkade wrote: > On Thu, Sep 23, 2004 at 01:36:57PM +0545, Bikrant Neupane wrote: > > Thanks for the reply. > > Well I am not looking for the count rule. > > > > Actually I have some other situation. I am trying to implement b/w shaping > > using i

Re: Ipfw accept rule

2004-09-23 Thread NetAdmin
Here are my dummy net rules. Not sure if they are exactly work or not but they keep my kids from using all the upstream bandwidth. If anyone has a better way, please by all means let me know. The only thing I'm not sure of, is where it goes in the rule set. Here is where I have mine and how it i

Re: Ipfw accept rule

2004-09-23 Thread Nathan Kinkade
On Thu, Sep 23, 2004 at 01:36:57PM +0545, Bikrant Neupane wrote: > Thanks for the reply. > Well I am not looking for the count rule. > > Actually I have some other situation. I am trying to implement b/w shaping > using ipfw. And i am trying to include mac address based filtering in it as > well

Re: Ipfw accept rule

2004-09-23 Thread Bikrant Neupane
Thanks for the reply. Well I am not looking for the count rule. Actually I have some other situation. I am trying to implement b/w shaping using ipfw. And i am trying to include mac address based filtering in it as well. As long as I don't implement ipfw in ether (net.link.ether.ipfw=0/1) pkts

Ipfw accept rule

2004-09-22 Thread Bikrant Neupane
Hi, When a packet hits "allow | accept | pass | permit" rule the packet is accepted and the search is retiminated at that point. I need to accept the packet but still want the packet to continue travers rules further below. However, once it hits "deny | drop" rule it should be dropped and the