SUMMARY: mapping netstat connections to UIDs

From: Luke Mewburn (lm@yallara.cs.rmit.OZ.AU)
Date: Tue Nov 16 1993 - 23:12:05 CST


A few days ago I posted a request asking if there was any code
which maps network connections to UIDs or PIDs... Turns out PIDs is a
bit difficult, but getting the UID isn't.

Well, I was directed to some source for a server called pidentd which did
a similar thing. I hacked up a front end to the low-level kernel code
in that package which did what I wanted. It's called `mapnet' and has
just been posted to alt.sources as (funnily enuf :) `mapnet'.
It can also be found at:
    yallara.cs.rmit.oz.au:/pub/mapnet/mapnet.tar.gz

Currently, it will work on solaris 2 & sunos 4, but if you hack the
appropriate kernel interface file, it should work on any of the
platforms for which pidentd has a kernel file.

Thanks must go to Casper Dik, who directed me to the source for pidentd,
and Peter Eriksson <pen@lysator.liu.se> for actually writing pidentd
which provided me with inspiration.

Luke.

--
Luke Mewburn			Programmer, Technical Support Group,
Email: <zak@rmit.edu.au>	Department of Computer Science, RMIT



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:29 CDT