[plug] IP Accounting
Brad Campbell
brad at seme.com.au
Thu Mar 30 15:10:49 WST 2000
Matt Kemner wrote:
>
> On Thu, 30 Mar 2000, Brad Campbell wrote:
>
> > Wrong Wrong Wrong Wrong Wrong!!!
> > The soultion below only accounts outgoing traffic!
>
> OK so in your while loop, below the masq rule add the line:
>
> $IPCHAINS -A output -s $REMOTENET -d 192.168.1.$counter -j RETURN
>
> so as well as adding the masq rules for each host, it adds a counter for
> each host for incoming (which is added to your outgoing chain because
> you're counting it as it leaves eth0)
>
> - Matt
Yep, I just figured that one out :p)
Neat, now all I have to do is account for the traffic passing
thru squid and I'm done :p)
So much to learn... (Sigh)
Cheers all..
--
Brad....
"The ultimate result is that some innovations that would
truly benefit consumers never occur for the sole reason
that they do not conincide with Microsoft's self-interest"
- Judge Thomas Penfield Jackson
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
More information about the plug
mailing list