On Tue, Sep 21, 2010 at 6:42 PM, Jan Engelhardt <jengelh@xxxxxxxxxx> wrote: > > On Tuesday 2010-09-21 23:00, Eric Paris wrote: >> >>My current patch looks like so: >> >>cat /proc/net/nfs_conntrack >> >>ipv4 2 udp 17 8 src=10.11.231.82 dst=10.11.255.156 >>sport=34095 dport=53 src=10.11.255.156 dst=10.11.231.82 sport=53 >>dport=34095 mark=0 secmark=system_u:object_r:unlabeled_t:s0 use=2 > > I think that rather than bloating ancient procfs files with more info, > the respective userspace tool should be augmented by secmark name > resolution instead. Then we would also not need change anything inside > the kernel, or its interfaces to userspace. It is not possible for userspace to resolve these numbers to something useful. They are dynamically generated numbers which are just kernel internal helpers. This is the only known place that the kernel shows its underpants to in public and it should be fixed. My only question is if fixing like this it is likely to break anything. Otherwise I'm going to hard code those to 0 or 1 and export the label in a new field.... -Eric -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html