All of lore.kernel.org
 help / color / mirror / Atom feed
* How/where does the kernel map packets to an application ...
@ 2004-01-14 20:10 Andrej Ricnik
  2004-01-14 23:48 ` Pablo Neira
  2004-01-15  7:10 ` Henrik Nordstrom
  0 siblings, 2 replies; 4+ messages in thread
From: Andrej Ricnik @ 2004-01-14 20:10 UTC (permalink / raw)
  To: netfilter-devel

Hi Guys,

and sorry for asking this here, I'm aware of the fact that
this isn't quite the right list to do so, in fact, I don't even
know how to word my question properly, so please bear
with me.

Since you're pretty close to what I suspect to be the right
layer to be looking at I hope someone might understand
what I'm on about :)

My idea is to write an addition to netfilter that will check 
the originating application of an IP request against a list
of allowed files, and if I handle that well enough, integrate
a roster of user/application to check whether a request is
legal or not.

My question is:
At which point does the kernel determine which application
a incoming packet is meant for? Imagine one user having
mozilla and opera open, using both for browsing. Another
user having a links session in a console. How does the
kernel determine which application is meant to receive
a incoming packet on port 80? I hope that once I under-
stand how this works I could for instance use lsof or a
tool the like to intercept illegal requests by matching 
against application name/path ...

If this is a FAQ, or just plain stupid, please throw me a
link to appropriate documentation.

Thanks in advance, and thanks for your patience,
Cheers,
Tink

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-01-15 19:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-14 20:10 How/where does the kernel map packets to an application Andrej Ricnik
2004-01-14 23:48 ` Pablo Neira
2004-01-15  7:10 ` Henrik Nordstrom
2004-01-15 19:34   ` Martin Josefsson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.