Date: Tue, 9 Jun 1998 10:13:33 -0400 (EDT) From: Chris Martino <chrismar@peanut.readington.com> To: mharo@dobalee.fremont.ca.us Cc: questions@FreeBSD.ORG Subject: Re: ident checks Message-ID: <Pine.BSF.3.96.980609095958.18081A-100000@peanut.readington.com> In-Reply-To: <Pine.BSF.3.96.980609012102.27619A-100000@dobalee.fremont.ca.us>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980609095958.18081A-100000>