* iptables traffic accounting...
@ 2004-12-04 13:53 Vladimir S. Petukhov
2004-12-07 14:02 ` Jason Opperisano
2004-12-09 21:17 ` Jose Maria Lopez
0 siblings, 2 replies; 3+ messages in thread
From: Vladimir S. Petukhov @ 2004-12-04 13:53 UTC (permalink / raw)
To: netfilter
sorry for my english...
How can I calculate total traffic from/to single process?
It's easy to calculate outgoing traffic using --owner rule, but what's about
ingoing?
process may be identify by PID & uid/euid/gid...
--
Fanaticism consists of redoubling your effort when you have forgotten your
aim.
-- George Santayana
Now playing: 01 Sleeper - Severe Clear.mp3
AutoGenerated by fortune & xmms...
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: iptables traffic accounting...
2004-12-04 13:53 iptables traffic accounting Vladimir S. Petukhov
@ 2004-12-07 14:02 ` Jason Opperisano
2004-12-09 21:17 ` Jose Maria Lopez
1 sibling, 0 replies; 3+ messages in thread
From: Jason Opperisano @ 2004-12-07 14:02 UTC (permalink / raw)
To: netfilter
On Sat, 2004-12-04 at 08:53, Vladimir S. Petukhov wrote:
> sorry for my english...
> How can I calculate total traffic from/to single process?
> It's easy to calculate outgoing traffic using --owner rule, but what's about
> ingoing?
> process may be identify by PID & uid/euid/gid...
i *think* the "owner-socketlookup" patch from POM allows you to use "-m
owner" in INPUT.
-j
--
"Ah, good ol' trustworthy beer. My love for you will never die."
--The Simpsons
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: iptables traffic accounting...
2004-12-04 13:53 iptables traffic accounting Vladimir S. Petukhov
2004-12-07 14:02 ` Jason Opperisano
@ 2004-12-09 21:17 ` Jose Maria Lopez
1 sibling, 0 replies; 3+ messages in thread
From: Jose Maria Lopez @ 2004-12-09 21:17 UTC (permalink / raw)
To: netfilter@lists.netfilter.org
El sáb, 04 de 12 de 2004 a las 14:53, Vladimir S. Petukhov escribió:
> sorry for my english...
> How can I calculate total traffic from/to single process?
> It's easy to calculate outgoing traffic using --owner rule, but what's about
> ingoing?
> process may be identify by PID & uid/euid/gid...
I use a -m owner rule to jump to a chain that only has a RETURN rule
and then read the counters for this chain to obtain the traffic
for that user/process.
--
Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
jkerouac@bgsec.com
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÑA
The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
-- Jack Kerouac, "On the Road"
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-09 21:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-04 13:53 iptables traffic accounting Vladimir S. Petukhov
2004-12-07 14:02 ` Jason Opperisano
2004-12-09 21:17 ` Jose Maria Lopez
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.