Uctovani prenesenych dat (ipchains)

Jan Derfinak ja na demax.sk
Čtvrtek Listopad 19 16:26:59 CET 1998


On Wed, 18 Nov 1998, Jan BERGER wrote:

> Zdravim, pouzivam misto ipfwadm ipchains, po patchnuti kernelu se samozrejme
> ipfwadm neda zapnout. A nenasel jsem zpusob jak ipchains donutit pocitat
> preneseny pakety.
> 
> poradite nekdo?


Precitat si manualovu stranku!

       Accounting rules are now simply integrated into the  input
       and output chains; you can simulate the old behaviour like
       so:
        ipchains -N acctin
        ipchains -N acctout
        ipchains -N acctio
        ipchains -I input 0 -j acctio
        ipchains -I input 0 -j acctin
        ipchains -I output 0 -j acctio
        ipchains -I output 0 -j acctout
       This creates three user-defined  chains,  acctin,  acctout
       and  acctio,  which  are  to  contain any accounting rules
       (these rules should be specified without  a  -j  flag,  so
       that the packets simply pass through them unscathed).

				jano




Další informace o konferenci Linux