Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2007 21:15:01 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        Diomidis Spinellis <dds@aueb.gr>, arch@FreeBSD.org, re@FreeBSD.org
Subject:   Re: Accounting changes 
Message-ID:  <46943.1177017301@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 19 Apr 2007 21:25:09 %2B0100." <20070419212253.L2913@fledge.watson.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20070419212253.L2913@fledge.watson.org>, Robert Watson writes:

>> 	__dev_t   ac_tty;		/* controlling tty */

This field is useless, nobody uses hardwired RS-232 terminals
anymore.

What we should do is add a systemcall or sysctl, so session creators
like getty, sshd and similar can install a session indentifying string
on the session, and then dump that in the accounting.

sshd would log IP+port and possibly also credential used for auth.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46943.1177017301>