From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,c2baf5c5415d042d X-Google-Attributes: gid1164f8,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!easynet-monga!easynet.net!feed4.jnfs.ja.net!feed3.jnfs.ja.net!jnfs.ja.net!gemini.csx.cam.ac.uk!news.cam.ac.uk!not-for-mail From: John Hill Newsgroups: comp.sys.dec Subject: Re: Syslogd Date: Mon, 05 Sep 2005 17:02:05 +0100 Organization: University of Cambridge, England Message-ID: References: <1125922707.983174.190980@g14g2000cwa.googlegroups.com> NNTP-Posting-Host: pcdh.hep.phy.cam.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en In-Reply-To: <1125922707.983174.190980@g14g2000cwa.googlegroups.com> Xref: g2news1.google.com comp.sys.dec:938 "telnet" is not a facility in syslogd terminology - the only facilities available are: kern, user, mail, daemon, auth, syslog, lpr, binary. I'm not sure which facility telnetd uses - it might be auth, but my system has tcp wrappers, which takes precedence in routing syslog messages, so I can't tell you definitively. You will also find other programs' messages will have the same facility, so it's unlikely you can filter just telnet connections in this way. Regards, John Hill vofish@gmail.com wrote: > Hi all! > > Could U pls help me with syslogd. > > I want to log every telnet session with ip which connect to host in > e.g. /var/log/telnet.log > I entered in /etc/syslog.conf > telnet.* /var/log/telnet.log but nothing apears in that file > How can I log each telnet session to my host? > > OS: Digital UNIX V4.0F (Rev. 1229) > Thanks in advance. > > Vova >