Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 1999 20:28:42 +0000 (GMT)
From:      Zulkarnain <zul@unsyiah.ac.id>
To:        freebsd-questions@freebsd.org
Subject:   tcp_wrappers
Message-ID:  <Pine.BSF.4.05.9904271953150.593-100000@pinto.unsyiah.ac.id>

next in thread | raw e-mail | index | archive | help
dear members,
 
I have installed tcp_wrappers-7.6 on FreeBSD 3.1R, but deeply hard to
configure it. I tried to monitor and filter incoming requests for FINGER,
and TELNET, but still not working correctly.The log I got still :

Apr 26 17:53:07 pinto telnetd[5607]: connect from ns.wasantara.net.id
Apr 26 17:54:17 pinto telnetd[5616]: connect from lpki.linux.or.id

what I expact from running tcp_wrappers is to get log like :

Jan 10 15:49:41 ngatoto telnetd[1758]: connect from wocker.dvl-software.com
Jan 10 15:49:58 ngatoto login: login from wocker.dvl-software.com on ttyp2 as mike

here is my config :

----- /etc/inetd.conf ---------
telnet	stream	tcp	nowait	root	/usr/local/libexec/tcpd	telnetd
finger	stream	tcp	nowait	nobody	/usr/local/libexec/tcpd	fingerd -s -l
--------------

------ /etc/syslog.conf -----
#	$Id: syslog.conf,v 1.9 1998/10/14 21:59:55 nate Exp $
#
#	Spaces are NOT valid field separators in this file.
#	Consult the syslog.conf(5) manpage.
*.err;kern.debug;auth.notice;mail.crit		/dev/console
*.notice;kern.debug;lpr.info;mail.crit;news.err	/var/log/messages
mail.info					/var/log/maillog
lpr.info					/var/log/lpd-errs
cron.*						/var/cron/log
*.err						root
*.notice;news.err				root
*.alert						root
*.emerg						*
# uncomment these if you're running inn
# news.crit					/var/log/news/news.crit
# news.err					/var/log/news/news.err
# news.notice					/var/log/news/news.notice
!startslip
*.*						/var/log/slip.log
!ppp
*.*						/var/log/ppp.log
!ftpd
*.*						/var/log/ftpd
!fingerd
*.*;daemon.notice				/var/log/fingerd
auth.*;authpriv.*				/var/log/auth.log
local0.*					/var/log/tcpd.log
local0.info;local0.debug			/var/log/firewall.log
local0.err					/var/log/firewall.err
!popper
*.*						/var/log/popper.log
!telnetd
*.*						/var/log/telnetd
---------------

--------- /usr/local/etc/hosts.allow
ALL: ALL: ALLOW
telnetd:ALL@ALL
fingerd:ALL@ALL
---------------

any help  will be greatly appreciated.

Thanks,
zulkarnain



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.4.05.9904271953150.593-100000>