Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hosts.allow

Status
Not open for further replies.

teqmem

Programmer
Nov 26, 2004
114
0
0
US
Hello,

If you implement tcp wrapping and put restrictions in the hosts.allow on who can connect, how can you tell who tried to connect but were rejected based on the entries in the hosts.allow?

I enabled logging on sshd and tcp wrapping but rejected attempts are not logged.

Thank you.
 
Have you tried

who -a /etc/security/failedlogin

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
By default, TCP Wrapper uses the mail facility within syslog to log to /var/adm/syslog. Check /etc/syslog.conf to see where mail.debug is logging to. There you will also find log entries from TCP Wrapper.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top