/proc/<pid>/ipaddr support
Posted: Sun May 04, 2003 9:16 pm
I've just added /proc/<pid>/ipaddr support to grsecurity 2.0.
www:~# cat /proc/self/ipaddr
192.168.1.1
www:~# ls -al /proc/self/ipaddr
-r-------- 1 root proc 0 May 4 21:18 /proc/self/ipaddr
This information can be useful for IDS/IPSes to perform remote response to local attacks. I think it may serve informational purposes for administrators as well.
What else do you forsee this being useful for?
(the code isn't a big deal, it took 2 minutes to write...I'm just curious how the feature could be used)
-Brad
www:~# cat /proc/self/ipaddr
192.168.1.1
www:~# ls -al /proc/self/ipaddr
-r-------- 1 root proc 0 May 4 21:18 /proc/self/ipaddr
This information can be useful for IDS/IPSes to perform remote response to local attacks. I think it may serve informational purposes for administrators as well.
What else do you forsee this being useful for?
(the code isn't a big deal, it took 2 minutes to write...I'm just curious how the feature could be used)
-Brad