Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "John E. Leon Guerrero" <jguerrero@live365.com>
To: Eric Leblond <eric@regit.org>
Cc: netfilter@lists.netfilter.org
Subject: Re: Logging packet owner
Date: Mon, 15 Dec 2003 11:34:37 -0800	[thread overview]
Message-ID: <3FDE0CCD.80708@live365.com> (raw)
In-Reply-To: <1071180480.10512.8.camel@porky>

hi eric, thanks for pointing out that project.  it's a little much for 
my immediate needs, but i do see it's usefulness in a larger context :)

for those would be interested in what i did in the meantime, here's my 
workaround for finding the process that was issuing rogue dns queries:
1. log and allow outgoing DNS packet
2. deny incoming DNS packets
  -hopefully the process waits around long enough for a response
3. issue lsof -n -i UDP:53 as soon as the outgoing log message hits
  -the -n is important or it can hang waiting for DNS as well :)
4. ps fax is a good idea if it's not obvious what the parent process is

good luck out there,
jlg

Eric Leblond wrote:

>Le jeu 11/12/2003 à 22:34, John E. Leon Guerrero a écrit :
>  
>
>>Hi folks, I browsed the last 7 months of archives and didn't see this 
>>question addressed.
>>
>>Are there plans to allow logging the packet owner?  For example, I get 
>>rogue DNS requests eminating from my workstation and I'd like to know 
>>which process is doing this.
>>    
>>
>
>you can do full user filtering and activity logging with the nufw
>project which is based on netfilter :
>	http://www.nufw.org/
>Complete logging of dropped packets will be available on the next
>release (0.6.1), which is planned to be available on monday (code is in
>cleaning and testing phase).
>
>BR,
>  
>



  parent reply	other threads:[~2003-12-15 19:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-11 21:34 Logging packet owner John E. Leon Guerrero
2003-12-11 22:08 ` Eric Leblond
2003-12-12 16:01   ` Odp: " Maciej Soltysiak
2003-12-15 19:34   ` John E. Leon Guerrero [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-12-12  5:13 Babar Kazmi
2003-12-10 10:47 John Guerrero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FDE0CCD.80708@live365.com \
    --to=jguerrero@live365.com \
    --cc=eric@regit.org \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox