Traffic summary using iptables: Difference between revisions

From Skytech
Jump to navigation Jump to search
(comment1, http://lietinglonsi.tk/kakie-bolezni-vyzyvaet-kurenie.html �������� ����, 8D, http://lietinglonsi.tk/vred-kureniya-torrent.html ���� ������� �������, 73873, http://lietinglonsi.t)
(comment3, http://bestcial.2itb.com/prostate-cancer-erectile-dysfunction.html Order prostate cancer erectile dysfunction, piwuut, http://bestcial.2itb.com/side-effects-tadalafil.html Buy side effects)
Line 10: Line 10:
comment1, http://lietinglonsi.tk/kakie-bolezni-vyzyvaet-kurenie.html �������� ����, 8D, http://lietinglonsi.tk/vred-kureniya-torrent.html ���� ������� �������, 73873, http://lietinglonsi.tk/elektronnaya-sigareta-joye-ego.html ����������� �������� joye ego, ddy, http://lietinglonsi.tk/sigarety-kiss.html ������ ����������� �������� � ���������, ftkhlu,
comment1, http://lietinglonsi.tk/kakie-bolezni-vyzyvaet-kurenie.html �������� ����, 8D, http://lietinglonsi.tk/vred-kureniya-torrent.html ���� ������� �������, 73873, http://lietinglonsi.tk/elektronnaya-sigareta-joye-ego.html ����������� �������� joye ego, ddy, http://lietinglonsi.tk/sigarety-kiss.html ������ ����������� �������� � ���������, ftkhlu,


comment3, http://bestcial.2itb.com/prostate-cancer-erectile-dysfunction.html Order prostate cancer erectile dysfunction, piwuut, http://bestcial.2itb.com/side-effects-tadalafil.html Buy side effects tadalafil, jhq, http://bestcial.2itb.com/chemotherapy-dysfunction-erectile-long-lymphoma-term.html Cheap chemotherapy dysfunction erectile long lymphoma term, 392, http://bestcial.2itb.com/cialis-before-and-after.html Buy cialis before and after, :-[[[, http://bestcial.2itb.com/Buy -cialis-Cheap er-online.html Buy Buy cialis Cheap er online, 8-O,
= Example iptables output to test if it's working =
For ingoing traffic, issue:
<pre>
root@gateway:~# iptables -L TRAFFIC_ACCT_IN -n -v -x
Chain TRAFFIC_ACCT_IN (1 references)
pkts bytes target prot opt in out source destination
968985 56959759 all -- * * 0.0.0.0/0 192.168.0.210
78 4328 all -- * * 0.0.0.0/0 192.168.0.220
55144 80428099 all -- * * 0.0.0.0/0 192.168.0.240
</pre>

For outgoing, do:
<pre>
root@gateway:~# iptables -L TRAFFIC_ACCT_OUT -n -v -x
Chain TRAFFIC_ACCT_OUT (1 references)
pkts bytes target prot opt in out source destination
12713 4252586 all -- * * 192.168.0.210 0.0.0.0/0
26 1440 all -- * * 192.168.0.220 0.0.0.0/0
928 53851 all -- * * 192.168.0.240 0.0.0.0/0
</pre>

If you need to flush the counter for any of those, just use the -Z option followed by the chain-name:
<pre>
iptables -Z TRAFFIC_ACCT_OUT
</pre>

Revision as of 11:31, 5 May 2011

JWIp6F <a href="http://cbsntsboodmg.com/">cbsntsboodmg</a>, [url=http://anghctaosyqj.com/]anghctaosyqj[/url], [link=http://rzszcorsmwfy.com/]rzszcorsmwfy[/link], http://chnkfulmbhvi.com/

comment6, http://respelesstan.re.funpic.de/picture-of-dooney-and-bourke-purse.html picture of dooney and bourke purse, ihv, http://respelesstan.re.funpic.de/rossetti-bags-vegan.html small black leather coach handbag, bkgw, http://respelesstan.re.funpic.de/a-store-to-make-handbags.html a store to make handbags, 8-D,

comment2, http://suppsatsimppi.tk/kak-privorozhit-parnya-na-sigarete.html ����������� �������� ������, >:), http://suppsatsimppi.tk/kak-kurenie-vredit-legkim.html ������� �� ��������,  :-(((, http://suppsatsimppi.tk/vliyanie-kureniya-na-serdce-referat.html �������� ������, sebcmq,

comment6, http://taresibis.tk/klassnyy-chas-tabakokurenie.html ����������� �������� ������ � ����������, yni, http://taresibis.tk/elektronnye-podarki-gadzhety.html ����������� ������� �������, 788788,

comment1, http://lietinglonsi.tk/kakie-bolezni-vyzyvaet-kurenie.html �������� ����, 8D, http://lietinglonsi.tk/vred-kureniya-torrent.html ���� ������� �������, 73873, http://lietinglonsi.tk/elektronnaya-sigareta-joye-ego.html ����������� �������� joye ego, ddy, http://lietinglonsi.tk/sigarety-kiss.html ������ ����������� �������� � ���������, ftkhlu,

comment3, http://bestcial.2itb.com/prostate-cancer-erectile-dysfunction.html Order prostate cancer erectile dysfunction, piwuut, http://bestcial.2itb.com/side-effects-tadalafil.html Buy side effects tadalafil, jhq, http://bestcial.2itb.com/chemotherapy-dysfunction-erectile-long-lymphoma-term.html Cheap chemotherapy dysfunction erectile long lymphoma term, 392, http://bestcial.2itb.com/cialis-before-and-after.html Buy cialis before and after,  :-[[[, http://bestcial.2itb.com/Buy -cialis-Cheap er-online.html Buy Buy cialis Cheap er online, 8-O,