LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   iptables with mark and counter support? (https://www.linuxquestions.org/questions/linux-security-4/iptables-with-mark-and-counter-support-494567/)

mraray 10-22-2006 05:35 AM

iptables with mark and counter support?
 
Hi Everyone,

I am trying to mark packets (eg mark all packets operating on a certain port) - this is no problem... What I would like to do is have some sort of counter attached to each mark type, so that I can poll on a regular interval (to create a graph)...

So in the end I could have graphs of data on port 80, and on port 25, etc :)

Any advice greatly appreciated.


Thanks,
Andrew

jayjwa 10-24-2006 09:00 PM

Check out the Netfilter extensions in Patch-O-Matic-Ng. I think there's a match and a target called "account" that will do that. ftp://ftp.netfilter.org/

I didn't use it because I have no purpose for it at the moment, but I remember reading about it.

mraray 10-25-2006 07:14 PM

Quote:

Originally Posted by jayjwa
Check out the Netfilter extensions in Patch-O-Matic-Ng. I think there's a match and a target called "account" that will do that. ftp://ftp.netfilter.org/

I didn't use it because I have no purpose for it at the moment, but I remember reading about it.


Hi!

Thanks for the info :) - I'm going to try it this afternoon when I have a moment.

Cheers,
Andrew


All times are GMT -5. The time now is 08:51 AM.