Re: ipfw and tablearg formatting

2013-06-04 Thread Michael Sierchio
00100 allow ip from any to any via lo0 00500 allow ip from 204.15.2.33 to me in recv em1 00600 deny ip from 204.15.2.32/27 to any in recv em1 00610 deny udp from any 67,68 to any dst-port 67,68 00700 allow ip from me to any out xmit em1 01000 allow ip from any to me in recv em0 02000 allow ip from

Re: ipfw and tablearg formatting

2013-06-04 Thread Andreas Nilsson
On Tue, Jun 4, 2013 at 4:06 PM, Julian Elischer wrote: > On 6/3/13 11:40 PM, Michael Sierchio wrote: > >> On Mon, Jun 3, 2013 at 4:43 AM, Andreas Nilsson >> wrote: >> >>> Hello, >>> >>> Still trying out the tablearg functionality of ipfw and found the >>> following: >>> >>> 1) >>> # ipfw table 1

Re: ipfw and tablearg formatting

2013-06-04 Thread Andreas Nilsson
On Tue, Jun 4, 2013 at 5:55 PM, Eugene Grosbein wrote: > On 03.06.2013 18:43, Andreas Nilsson wrote: > > Hello, > > > > Still trying out the tablearg functionality of ipfw and found the > following: > > > > 1) > > # ipfw table 100 add 192.168.0.0/24 10.0.0.1 > > # ipfw table 100 list > > 192.168.

Re: ipfw and tablearg formatting

2013-06-04 Thread Eugene Grosbein
On 03.06.2013 18:43, Andreas Nilsson wrote: > Hello, > > Still trying out the tablearg functionality of ipfw and found the following: > > 1) > # ipfw table 100 add 192.168.0.0/24 10.0.0.1 > # ipfw table 100 list > 192.168.0.0/24 167772161 > > I guess it is correct, but not user friendly. Can't t

Re: ipfw and tablearg formatting

2013-06-04 Thread Andreas Nilsson
On Mon, Jun 3, 2013 at 5:40 PM, Michael Sierchio wrote: > On Mon, Jun 3, 2013 at 4:43 AM, Andreas Nilsson > wrote: > > Hello, > > > > Still trying out the tablearg functionality of ipfw and found the > following: > > > > 1) > > # ipfw table 100 add 192.168.0.0/24 10.0.0.1 > > # ipfw table 100 li

Re: ipfw and tablearg formatting

2013-06-04 Thread Julian Elischer
On 6/3/13 11:40 PM, Michael Sierchio wrote: On Mon, Jun 3, 2013 at 4:43 AM, Andreas Nilsson wrote: Hello, Still trying out the tablearg functionality of ipfw and found the following: 1) # ipfw table 100 add 192.168.0.0/24 10.0.0.1 # ipfw table 100 list 192.168.0.0/24 167772161 I guess it is

Re: ipfw and tablearg formatting

2013-06-03 Thread Michael Sierchio
On Mon, Jun 3, 2013 at 4:43 AM, Andreas Nilsson wrote: > Hello, > > Still trying out the tablearg functionality of ipfw and found the following: > > 1) > # ipfw table 100 add 192.168.0.0/24 10.0.0.1 > # ipfw table 100 list > 192.168.0.0/24 167772161 > > I guess it is correct, but not user friendly

ipfw and tablearg formatting

2013-06-03 Thread Andreas Nilsson
Hello, Still trying out the tablearg functionality of ipfw and found the following: 1) # ipfw table 100 add 192.168.0.0/24 10.0.0.1 # ipfw table 100 list 192.168.0.0/24 167772161 I guess it is correct, but not user friendly. Can't the tablearg part be printed as normal dotted decimal? 2) # ip