* libnetfilter_queue and pid of process owning packet.
@ 2009-04-17 14:59 Gérald Colangelo
2009-04-17 15:54 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Gérald Colangelo @ 2009-04-17 14:59 UTC (permalink / raw)
To: netfilter-devel
Hi,
Is there a simple way to get the pid of the process owning the packet throught
libnetfilter_queue ?
I know that this parameters would only be revelant in case of OUPUTed packet,
but i would be really useful for me ... :)
I have searched the web, browsed snort_inline, honeytrap and moblock source code,
but didn't find anything concerning my needs.
Regards,
--
Gérald Colangelo
binarym@psycho-hazard.net - http://www.yanluo.net
Being a sysadmin means hours of hard labor every day.
Being an abusive sysadmin means hours of fun.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: libnetfilter_queue and pid of process owning packet.
2009-04-17 14:59 libnetfilter_queue and pid of process owning packet Gérald Colangelo
@ 2009-04-17 15:54 ` Patrick McHardy
0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2009-04-17 15:54 UTC (permalink / raw)
To: Gérald Colangelo; +Cc: netfilter-devel
Gérald Colangelo wrote:
> Is there a simple way to get the pid of the process owning the packet throught
> libnetfilter_queue ?
> I know that this parameters would only be revelant in case of OUPUTed packet,
> but i would be really useful for me ... :)
Currently not, but I'd take a patch to add fsuid/fsgid support.
Check out the nfnetlink_log code for reference if needed.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-17 15:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-17 14:59 libnetfilter_queue and pid of process owning packet Gérald Colangelo
2009-04-17 15:54 ` Patrick McHardy
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).