Anyone ?
Hello,
I'm trying to setup ipfw to count traffic to each ip on the server (one
interface with multiple aliased ip's)
now it seems that the count rules are about the same for each ip while
this isn't the truth..
7 7715117 6712750640 count ip from any to any via fxp0
8 2953770
Anyone ?
Hello,
I'm trying to setup ipfw to count traffic to each ip on the server (one
interface with multiple aliased ip's)
now it seems that the count rules are about the same for each ip while
this isn't the truth..
Are these the exact rules, or does # ipfw show mix them up a bit?
For
Well :
This won't work:
ipfw add 00010 count tcp from any to any via 1.1.1.1
ipfw add 00011 count tcp from any to any in recv 1.1.1.1
ipfw add 00012 count tcp from any to any out xmit 1.1.1.1
ipfw add 00016 count tcp from any to any via 2.2.2.2
ipfw add 00017 count tcp from any to any in recv
Well :
This won't work:
ipfw add 00010 count tcp from any to any via 1.1.1.1
ipfw add 00011 count tcp from any to any in recv 1.1.1.1
ipfw add 00012 count tcp from any to any out xmit 1.1.1.1
ipfw add 00016 count tcp from any to any via 2.2.2.2
ipfw add 00017 count tcp from any to any in
Ok then I get it..
I thought ipfw was also able to have a ip address there instead of only
a interface.
Thanks
Steve Bertrand wrote:
Well :
This won't work:
ipfw add 00010 count tcp from any to any via 1.1.1.1
ipfw add 00011 count tcp from any to any in recv 1.1.1.1
ipfw add 00012 count tcp
Ok then I get it..
I thought ipfw was also able to have a ip address there instead of only
a interface.
Thanks
Nope, I was wrong...
# man ipfw [snipped]
recv | xmit | via {ifX | if* | ipno | any}
Matches packets received, transmitted or going through, respec-
Yea thats the part I read from the manual and tried but got these out
put from..
with the rule count tcp from 1.1.1.1 to any it also works so no big
deal there I was just wondering if i did something wrong or not..
If anyone has got a answer please let us know.
Thanks.
Steve Bertrand wrote:
Ok
Hello,
I'm trying to setup ipfw to count traffic to each ip on the server (one
interface with multiple aliased ip's)
now it seems that the count rules are about the same for each ip while
this isn't the truth..
7 7715117 6712750640 count ip from any to any via fxp0
8 2953770 167284959