Jeremy Drake wrote:
> 2. If you cannot tell what process is connecting on a local socket (which
> I suspect you cannot portably),
See ident_unix() in hba.c.
It might not be 100% portable but I think it's fairly close for platforms
that actually have unix sockets.
cheers
andrew