From owner-freebsd-hackers Fri Dec 8 4:55:36 2000 From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 8 04:55:35 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 6F26537B400 for ; Fri, 8 Dec 2000 04:55:34 -0800 (PST) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id NAA38633; Fri, 8 Dec 2000 13:55:33 +0100 (CET) (envelope-from des@ofug.org) Sender: des@ofug.org X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Torbjorn Kristoffersen Cc: FreeBSD-Hackers Subject: Re: Kernel question (detecting a user log-on) References: From: Dag-Erling Smorgrav Date: 08 Dec 2000 13:55:32 +0100 In-Reply-To: Torbjorn Kristoffersen's message of "Thu, 7 Dec 2000 21:30:54 +0100 (CET)" Message-ID: Lines: 13 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Torbjorn Kristoffersen writes: > I'm wondering about two things, how does the kernel detect that a > user logs on a tty, and what should I know if I was to write a kernel > module that detects it (And does something about it)? Must I > read the TCP in-packets for port 23 and detect if a user logged on? > I'm pretty unsure about this.. Why don't you tell us what you want to do, instead of how you think it must be done? DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message