Article View: pl.comp.os.linux.sieci
Article #244053Re: ipt_account, layer-7
From: horhe
Date: Thu, 30 Jan 2014 15:47
Date: Thu, 30 Jan 2014 15:47
28 lines
1859 bytes
1859 bytes
W dniu 30.12.2013 19:40, Kajetan Staszkiewicz pisze: > Dnia poniedziałek, 30 grudnia 2013 14:03, bdronka napisał(a): > >> W dniu 30.12.2013 13:14, WOJO pisze: >>>> - jak zliczyć ruch generowany przez dany komputer (kiedyś był moduł >>>> account) >>> iptables -N rc.mrtg 2>/dev/null >>> iptables -A FORWARD -m comment --comment "FORWARD MRTG RULES" -j rc.mrtg >>> >>> for i in lista_hostow >>> do >>> iptables -A rc.mrtg -d $i -j RETURN >>> iptables -A rc.mrtg -s $i -j RETURN >>> done >>> >>>> - jak zmarkować p2p i go całkowicie wyciąć (kiedyś był l-7 filter) >>> To proste: >>> iptables -I FORWARD -j DROP >>> :) >>> Pozdrawiam. >>> WOJO >> >> ok, a jak następnie wydobyć dane o transferze? >> iptables -L ? strasznie wolno wypluwa dane...linijka po linijce > > -n Ale wtedy także wypluwa linijkę po linijce;P MSPANC
Technical Details
Message-ID:
<lcds68$m7i$1@portraits.wsisiz.edu.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!wsisiz.edu.pl!.POSTED!not-for-mailReferences:
<l9rmrn$4rp$1@news.task.gda.pl> <l9ro32$68g$1@node1.news.atman.pl> <l9rqun$arr$1@news.task.gda.pl> <l9sem9$rdd$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!wsisiz.edu.pl!.POSTED!not-for-mail From: horhe <niedzialajacy@kolekcja.mejor.pl> Newsgroups: pl.comp.os.linux.sieci Subject: Re: ipt_account, layer-7 Date: Thu, 30 Jan 2014 16:47:20 +0100 Organization: http://www.wit.edu.pl Lines: 30 Message-ID: <lcds68$m7i$1@portraits.wsisiz.edu.pl> References: <l9rmrn$4rp$1@news.task.gda.pl> <l9ro32$68g$1@node1.news.atman.pl> <l9rqun$arr$1@news.task.gda.pl> <l9sem9$rdd$1@dont-email.me> NNTP-Posting-Host: 83-144-115-210.static.chello.pl Mime-Version: 1.0 X-Trace: portraits.wsisiz.edu.pl 1391096840 22770 83.144.115.210 (30 Jan 2014 15:47:20 GMT) X-Complaints-To: abuse@wsisiz.edu.pl NNTP-Posting-Date: Thu, 30 Jan 2014 15:47:20 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <l9sem9$rdd$1@dont-email.me> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit