On 2002.07.22 18:42 Ajay Sharma wrote:
> 
> Hello,
> 
> I have a simple firewall setup that is doing NAT for 4 computers.
> It's
> a very basic setup.
> 
> I want to be able to generate some MRTG graphs for how much traffic
> passes through the firewall for each client computer.  Then be able to
> 
> see how much traffic is passed through the firewall for each IP/port
> combination so I can see how much FTP traffic one computer is using
> vs.
> their HTTP traffic.  I've been searching around freshmeat and google
> but
> I can't find the answer.
> 
> Is this even possible?

It is possible. I would setup my iptables rules to catch the different 
types of traffic you want to graph and then write some scripts which 
will get the appropiate data from the output of iptables -L -n (or 
/proc if you know where to look) and write in MRTG compliant format. 
Maybe there is some easier way.

The ideal scenario would be a ucd-snmp/net-snmp extension to 
manage/monitor iptables. Then just poll the firewall in the appropiate 
MIB. Wishful thinking?

Cheers,
-- 
Javier Gostling
Ingeniero de Sistemas
Virtualia S.A.
[EMAIL PROTECTED]
Fono: +56 (2) 202-6264 x 130
Fax: +56 (2) 342-8763

Av. Kennedy 5757, of 1502
Las Condes
Santiago
Chile



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to