Which PID is a packet going to/coming from?

Alistair Cunningham (ac@gnu.org)
Sun, 2 May 1999 12:10:56 +0100


I'm working on an addition to ipchains to allow filtering on local UIDs -
allowing rules like 'Only EUIDs less than 1000 may make outgoing
connections to an SMTP server'. One thing has me beat:

Is there a sensible way of finding out at the ipchains filtering stage
what PID this packet is going to or coming from, so I can work out
it's EUID?

Alistair Cunningham.

-- 
---------------------------------------------------------------------------
  Alistair Cunningham     Selwyn College, Cambridge     Email: ac@gnu.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/