Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Syslogd
@ 2005-09-05 12:18 vofish
  2005-09-05 16:02 ` Syslogd John Hill
  2005-09-05 22:53 ` Syslogd John Holden
  0 siblings, 2 replies; 5+ messages in thread
From: vofish @ 2005-09-05 12:18 UTC (permalink / raw)


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.* <tab> /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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Syslogd
  2005-09-05 12:18 Syslogd vofish
@ 2005-09-05 16:02 ` John Hill
  2005-09-05 22:53 ` Syslogd John Holden
  1 sibling, 0 replies; 5+ messages in thread
From: John Hill @ 2005-09-05 16:02 UTC (permalink / raw)


"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.* <tab> /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
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Syslogd
  2005-09-05 12:18 Syslogd vofish
  2005-09-05 16:02 ` Syslogd John Hill
@ 2005-09-05 22:53 ` John Holden
  2005-09-06 11:36   ` Syslogd Vova Fishnikov
  1 sibling, 1 reply; 5+ messages in thread
From: John Holden @ 2005-09-05 22:53 UTC (permalink / raw)


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.* <tab> /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
> 
Standard system won't do it for you. Just install tcpwrappers, modify
your telnet entry in /etc/inetd.conf, and you'll get every session with
IP address


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Syslogd
  2005-09-05 22:53 ` Syslogd John Holden
@ 2005-09-06 11:36   ` Vova Fishnikov
  2005-09-06 22:57     ` Syslogd John Holden
  0 siblings, 1 reply; 5+ messages in thread
From: Vova Fishnikov @ 2005-09-06 11:36 UTC (permalink / raw)


Tcpwrappers already installed.
How do I need to modify telnet entry in /etc/inetd.conf?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Syslogd
  2005-09-06 11:36   ` Syslogd Vova Fishnikov
@ 2005-09-06 22:57     ` John Holden
  0 siblings, 0 replies; 5+ messages in thread
From: John Holden @ 2005-09-06 22:57 UTC (permalink / raw)


Vova Fishnikov wrote:
> Tcpwrappers already installed.
> How do I need to modify telnet entry in /etc/inetd.conf?
> 
The standard entry for telnet in /etc/inetd.conf should look like :-

telnet stream tcp nowait root /usr/sbin/telnetd telnetd

Change to :-

telnet stream tcp nowait root /usr/local/etc/tcpd telnetd

or wherever you have tcpwrappers installed. You will also need an entry
in /etc/hosts.allow :-

telnetd:ALL

RTFM


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-09-06 22:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-05 12:18 Syslogd vofish
2005-09-05 16:02 ` Syslogd John Hill
2005-09-05 22:53 ` Syslogd John Holden
2005-09-06 11:36   ` Syslogd Vova Fishnikov
2005-09-06 22:57     ` Syslogd John Holden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox