Summary: | "netstat -x" fails with "warning, got bogus unix line." on sys-kernel/hardened-sources-2.6.34-r6 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aleister <maxtaager> |
Component: | Hardened | Assignee: | The Gentoo Linux Hardened Kernel Team (OBSOLETE) <hardened-kernel+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | felix.schuster, idl0r, kfm |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | the kernel config for the box in question |
Description
Aleister
2010-09-24 15:43:38 UTC
Created attachment 248528 [details]
the kernel config for the box in question
I can't reproduce this on a similar system. Can you give me more information: 1) Let me see the netstat command plus flags that produces this. Cut and paste the entire output from netstat. Also, give me the version of netstat. 2) Did it happen only on upgrade of the kernel? Can you boot into an earlier kernel that doesn't produce this behavior and a kernel which does. Let me know which kernel does not produce the problem. 3) Have you compared to the corresponding vanilla --- I always put that info in the Changelog. In this case its vanilla 2.6.34.7 Never mind, I just hit it. *sigh* This is what happens when you have to fast track stabilization. The problem occurs when you try to get netstat to report on unix sockets in any state. Its okay for tcp or udp sockets. Please test if any apps using unix sockets show signs of badness and report on this bug. I'll be testing newer patches from upstream to see if this is fixed, otherwise I'll try to trace it down and prepare our own fix. Never mind again. Its fixed upstream. See http://forums.grsecurity.net/viewtopic.php?f=3&t=2439 Since grsec upstream is dropping support for 2.6.34, I've moved to 2.6.35 which includes this fix. The first 2.6.35 ebuild is now in the tree. I'm leaving this bug open in case there's any other issues arising from the changed format of /proc/net/unix. I'll close it when 2.6.34-r6 is deprecated. ust stabilized hardened-sources-2.6.32-r31.ebuild and hardened-sources-2.6.36-r6.ebuild which include the fix. Closing. |