Skip to contentSkip to conversation

/proc/net/ip_conntrack permissions

DISCUSSION Patrick McHardy 2 participants 2 messages Jun 2, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

I've added a patch to change /proc/net/ip_conntrack permissions to 0440. It contains privileged information and shouldn't be world readable. I was just wondering why this hasn't been done before, does anyone know a good reason not to change it ?

Regards
Patrick

#1 lore raw

Hi Patrick,

Quoted 4 lines · Patrick McHardy

I've added a patch to change /proc/net/ip_conntrack permissions to 0440. It contains privileged information and shouldn't be world readable. I was just wondering why this hasn't been done before, does anyone know a good reason not to change it ?

Strange, but I too think it should be restricted, since it's a source of easy DoS : "while true; do wc -l /p/n/ip_ct ; done" :-/

Regards,
Willy