Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: iptables: User

realtime stats.

 

 

iptables user RSS feed   Index | Next | Previous | View Threaded


schu at schu

Jul 24, 2001, 10:14 AM

Post #1 of 2 (511 views)
Permalink
realtime stats.

Hello All,

I have a quick question about realtime stats. I am in the middle of a
firewall project that uses a LCD display with LCDproc. If possible I
would like to display firewall stats on the LCD display. I have already
looked into the LCDproc interface and feel confident that I can write
the client to pass the information to the display, however I don't
really know where to get the information. Is there a convenient place
where I can fetch the current packets dropped, or current packets
allowed? What about total incoming/outgoing bandwidth in packets or
bits per second.

Thanks for any help you can send on this....

schu


runtime at CAM

Jul 24, 2001, 10:44 AM

Post #2 of 2 (463 views)
Permalink
Re: realtime stats. [In reply to]

ipchains provides ip accounting information in /proc. iptables doesn't,
AFAIK.

Because of this, I personally used "libiptc", part of iptables, for my ip
accounting project. It enables your program to retreive all the
information an "iptables -L -n -v -x" returns.

--
Tommy Lacroix ( runtime [at] cam )


On Tue, 24 Jul 2001, Matthew Schumacher wrote:

> Hello All,
>
> I have a quick question about realtime stats. I am in the middle of a
> firewall project that uses a LCD display with LCDproc. If possible I
> would like to display firewall stats on the LCD display. I have already
> looked into the LCDproc interface and feel confident that I can write
> the client to pass the information to the display, however I don't
> really know where to get the information. Is there a convenient place
> where I can fetch the current packets dropped, or current packets
> allowed? What about total incoming/outgoing bandwidth in packets or
> bits per second.
>
> Thanks for any help you can send on this....
>
> schu
>

iptables user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.