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 09-18-2012, 11:25 AM   #1
bweddell
LQ Newbie
 
Registered: Jul 2011
Posts: 11

Rep: Reputation: Disabled
IPtables and process tracking


I am using CentOS 5.8.

In addition to input filtering rules, I'm using output filtering rules also along with logging activity before a drop.

I see in my logs what appear to be attempts at getting to particular IP addresses. I don't know if this is normal for the web sites I'm hosting, or if this is something more sinister.

Does IPtables provide the ability to show what process, or even better what command (in context of ps ef for example) is being executed before a packet is logged/dropped?

I've looked at --log-uid but I was hoping for more information, not the UID that triggered the log entry. Again, I am looking for the command that is executed.
 
Old 09-18-2012, 12:32 PM   #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
See if this gets your audit trail going?
 
  


Reply

Tags
iptables, process


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
Need Suggestion regarding Process Tracking? your_shadow03 Linux - Newbie 2 11-19-2009 10:57 PM
Monitoring tool on tracking user activity and process cye Linux - General 5 05-13-2008 10:15 PM
Tracking Background PRocess ajeetraina Linux - Newbie 1 02-01-2008 07:28 AM
Iptables Connection Tracking karimasif Linux - Networking 1 09-05-2007 12:50 PM
iptables tracking machine eranb2 Linux - Security 4 01-07-2005 11:12 AM

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

All times are GMT -5. The time now is 11:26 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