Logging ownership
Hi,
Sorry if this is the wrong list for this question, but...
How much work would be involved in sending the packet ownership details, as used by ipt_owner.c, from an extension target to an external program or socket?
I've had a look around in the module sources and ... well, I'm a bit lost to be honest. I've not got enough Linux C coding experience to try anything more than modifiying ipt_owner.c to add some kprint lines. Which I dont want, as it will generate far too much garbage in the logs etc.
Basically what I am after, and there might be an easier way... Is to trigger a userspace alert when an unknown program attempts to form a new connection. Personal firewall style for Desktops.
I'm assuming the packet -> program -> user relationship only exists within the kernel.
Signature · 9 lines
Paul Campbell Campbell Multimedia Web Design | PC Sales +=======================================+ [ WWW: http://campbell-multimedia.com ] [ Tel: 07970 510549 ] [ Email: [email protected] ] +=======================================+
Quoted 3 lines · Paul Campbell
Basically what I am after, and there might be an easier way... Is to trigger a userspace alert when an unknown program attempts to form a new connection. Personal firewall style for Desktops.
NuFW (http://www.nufw.org) may be a solution, is is an authenticated firewalling solution. I mean it is able to filter a whole network with acls of the type :
John has access to external imap server if he uses thunderbird on XP SP2 or even better
John has access to external imap server if he uses evolution on Linux ;-)
There's no alert in case of problem but NuFW is able to log dropped packet in a SQL database. Applications logging in case of failure has just been added at my TODO list.
Quoted 2 lines
I'm assuming the packet -> program -> user relationship only exists within the kernel.
There's socket-> program -> user relationship
BR,
Signature · 2 lines
Eric Leblond <[email protected]> INL