How to get pid of packet sender from NFQUEUE?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So, I've got my code in userland (using netfilter_queue) that tries to
handle packets according to different attributes (sort of a firewall).
Is it possible to get the pid of sender program?
I'm aware that it is possible to apply pid-based rules with iptables
directly, but how could I access that property in the NFQUEUE?

Thanks,
-- Mehran
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux