🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux.sieci
Article #244048

Re: ipt_account, layer-7

#244048
From: bdronka
Date: Mon, 30 Dec 2013 13:03
21 lines
1550 bytes
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
Technical Details
Message-ID: <l9rqun$arr$1@news.task.gda.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.task.gda.pl!not-for-mail
References: <l9rmrn$4rp$1@news.task.gda.pl> <l9ro32$68g$1@node1.news.atman.pl>

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!news.task.gda.pl!not-for-mail
From: bdronka <radek@torama.usunto.pl>
Newsgroups: pl.comp.os.linux.sieci
Subject: Re: ipt_account, layer-7
Date: Mon, 30 Dec 2013 14:03:20 +0100
Organization: CI TASK http://www.task.gda.pl/
Lines: 21
Message-ID: <l9rqun$arr$1@news.task.gda.pl>
References: <l9rmrn$4rp$1@news.task.gda.pl> <l9ro32$68g$1@node1.news.atman.pl>
NNTP-Posting-Host: 94-40-96-164.tktelekom.pl
Mime-Version: 1.0
X-Trace: news.task.gda.pl 1388408599 11131 94.40.96.164 (30 Dec 2013 13:03:19 GMT)
X-Complaints-To: abuse@news.task.gda.pl
NNTP-Posting-Date: Mon, 30 Dec 2013 13:03:19 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
In-Reply-To: <l9ro32$68g$1@node1.news.atman.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit