Re: How to obtain process ID that created a packet

From: Jan Engelhardt
Date: Tue Dec 27 2005 - 13:02:56 EST



>In current 2.6 kernel, net/ipv4/netfilter/ipt_owner.c:checkentry() :
>
> if (info->match & (IPT_OWNER_PID|IPT_OWNER_SID|IPT_OWNER_COMM)) {
> printk("ipt_owner: pid, sid and command matching "
> "not supported anymore\n");
> return 0;
> }
>
>So... even netfilter, breaking backward compatibility, does not support
>pid match anymore...

Because they do not work on SMP. That's the reason they are disabled.



Jan Engelhardt
--
| Alphagate Systems, http://alphagate.hopto.org/
| jengelh's site, http://jengelh.hopto.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/