LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-22-2006, 05:35 AM   #1
mraray
Member
 
Registered: Sep 2005
Posts: 49

Rep: Reputation: 15
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
 
Old 10-24-2006, 09:00 PM   #2
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 786

Rep: Reputation: 250Reputation: 250Reputation: 250
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.
 
Old 10-25-2006, 07:14 PM   #3
mraray
Member
 
Registered: Sep 2005
Posts: 49

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables MARK ImpactDNI Linux - Software 1 09-02-2006 01:40 PM
LXer: Mark Shuttleworth on Ubuntu Long Term Support LXer Syndicated Linux News 0 06-03-2006 03:54 PM
counter strike and iptables reallove Linux - Networking 2 01-25-2006 02:48 PM
iptables mark combine with tc Kendo1979 Linux - Networking 2 11-14-2005 11:59 PM
iptables mark question paulos Linux - Networking 0 01-21-2004 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration