From owner-freebsd-questions Tue Jun 9 08:11:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA14766 for freebsd-questions-outgoing; Tue, 9 Jun 1998 08:11:46 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from peanut.readington.com (peanut.readington.com [207.207.198.120]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA14642 for ; Tue, 9 Jun 1998 08:11:24 -0700 (PDT) (envelope-from chrismar@peanut.readington.com) Received: from localhost (chrismar@localhost) by peanut.readington.com (8.8.7/8.8.7) with SMTP id KAA18129; Tue, 9 Jun 1998 10:13:33 -0400 (EDT) (envelope-from chrismar@peanut.readington.com) Date: Tue, 9 Jun 1998 10:13:33 -0400 (EDT) From: Chris Martino To: mharo@dobalee.fremont.ca.us cc: questions@FreeBSD.ORG Subject: Re: ident checks In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I was able to do something similar using inetd. For example, when someone tries to login/ftp to my box I get the following in the console: Jun 9 10:54:44 stupid inetd[16073]: telnet from 207.207.192.8 Jun 9 10:54:49 stupid login: login from solar.eclipse.net on ttyp4 as chris That output is also written to /var/log/inetd.log. Here is how to get that to happen on your system (In other words, here's what I did): edit your /etc/rc.conf to include flags for inetd. Just put in a -l in the quotes. Now edit the /etc/syslog.conf file. This is what I added, and it seems to be working so far: !inetd *.* /dev/console *.* /var/log/inetd.log After you get this done, you can either reboot the machine, or kill inetd and manually start it with the -l flag. I think that is all that I did, if it doesn't work I can prolly hunt down what I missed. Chris -- Chris Martino chrismar@readington.com On Tue, 9 Jun 1998 mharo@dobalee.fremont.ca.us wrote: > Hi, I was wondering if FreeBSD had some way of checking the remote > connection for ident info. > > We have a non-freebsd box at work which logs stuff like... > > Jun 9 00:59:46 mybox tcplog: telnet connection attempt from xx.xxx.xx.xxx > > and > > Jun 9 00:59:46 mybox in.telnetd[4975]: connect from user@anotherbox > > I assume this last one is done with inetd. What does the -l flag to inetd > do? > > How can I make freebsd do either or both of these? > > Thanks, > Michael > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message