LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-04-2007, 11:12 PM   #1
spoonpower
LQ Newbie
 
Registered: Sep 2006
Posts: 16

Rep: Reputation: 0
Create user-defined chains of accounting rules


Hello,

I need to create a set of user-defined chains that will implementing accounting rules to keep track of www,ssh traffic, versus the rest of the traffic on your system. I am sure how to do that, does anyone have some sample scripts on how to do that? I have been researching on google, couldnt' found any examples.
 
Old 02-05-2007, 08:19 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If you list rules with "-L -v -n" you'll get shown counter info. Add rules that only matches specs like src or dst and don't do nothing else. Record values and reset the rules regularly since the counters get reset. Some other apps to maybe look into: BW Acct, Ipac, Ntop, Ipaudit. Else maybe check Freshmeat / Sourceforge for say "bandwidth accounting".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
user defined service Tonatiuh Linux - General 2 03-22-2006 01:44 PM
xorgconf: can't create rules structure JZL240I-U Linux - Software 2 01-06-2006 02:17 AM
User and Process Accounting Log Files lafinhyena Linux - Newbie 0 05-19-2004 03:57 AM
user defined variables linuxdev Linux - Newbie 4 02-09-2004 12:43 PM
iptables accounting rules petrax Linux - Networking 1 11-10-2003 09:09 PM

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

All times are GMT -5. The time now is 02:19 PM.

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