netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jose Maria Lopez <jkerouac@eresmas.com>
To: "netfilter@lists.netfilter.org" <netfilter@lists.netfilter.org>
Subject: Re: filtering packets based on the pathname of the sending/receiving application
Date: 30 Aug 2004 20:54:42 +0200	[thread overview]
Message-ID: <1093887772.23659.51.camel@nostromo.bgsecm.com> (raw)
In-Reply-To: <013a01c48b8e$77ff1840$7e306980@calli>

El jue, 26 de 08 de 2004 a las 19:02, Sonny (Sechang) Son escribió:
> Hi,
> 
> sorry if this has been answered already.
> 
> Is there any way to block/allow traffic generated by or toward a spcific
> application. I want to block/allow traffics based on the full pathname of
> the application.
> 
> thank you.

Wouldn't it be easier to study the ports this application use and use
them to generate your rules. I think what you want it's not possible,
you can't discriminate traffic using the path or name of the executable,
but I think you can do it with the user that runs the program, using a
patch from patch-o-matic, I don't know if this can suit you.

-- 
Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
jkerouac@bgsec.com
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÑA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
                -- Jack Kerouac, "On the Road"



  reply	other threads:[~2004-08-30 18:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-26 17:02 filtering packets based on the pathname of the sending/receiving application Sonny (Sechang) Son
2004-08-30 18:54 ` Jose Maria Lopez [this message]
2004-08-30 22:05   ` Alexander Samad
2004-08-31 19:52     ` Jose Maria Lopez

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=1093887772.23659.51.camel@nostromo.bgsecm.com \
    --to=jkerouac@eresmas.com \
    --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;
as well as URLs for NNTP newsgroup(s).