- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: logging tcp connection problem: tcpwrappers a...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2000 10:25 AM
09-11-2000 10:25 AM
logging tcp connection problem: tcpwrappers and syslog
I can't get syslogd to log tcp connections (tried syslog various defined facilities and severity levels without any luck) after putting tcpwrappers in place.
Looks like the telnet daemon that comes with HP does not allow socket logging. I am able to get it working on IBM AIX, Linux and SUN solaris however.
I am forced to rely on email alerts for intrusion detection but would like to log it using syslog.
Any help would be appreciated. HP will not oblige on this as they do not support third part products like tcpwrappers!! or provide a better/alternative telnet daemon.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2000 10:48 AM
09-11-2000 10:48 AM
Re: logging tcp connection problem: tcpwrappers and syslog
If you want to log telnet, ftp connections you can give a option to inetd "-l".
All connection are made truh inetd, and you should change the setting in /etc/rc.config.d/netdaemons INETD_OPTIONS, if i remember right.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2000 10:52 AM
09-11-2000 10:52 AM
Re: logging tcp connection problem: tcpwrappers and syslog
You can try doing the following:
Edit /etc/rc.config.d/netdaemons and turn ON inetd with a "-l" for logging.
Edit /etc/inetd.conf and put a '-l' at the end of the ftp and telnet line to enable logging.
Now stop inetd by doing a ps -ef | grep inetd and killing the process.
Now restart inetd: /usr/sbin/inetd -c
This will put these the ftp and telnet logins into to your syslog. The downside is that every 2 minutes you will also get added to syslog the registrar/tcp entry (..and 'No' you can't the timing factor on this..). The only way I found so far is to grep your syslog and remove this annoying little line periodically with a quick script.
Hope this helps,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2000 11:43 AM
09-11-2000 11:43 AM
Re: logging tcp connection problem: tcpwrappers and syslog
HELP!!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2000 11:56 AM
09-11-2000 11:56 AM
Re: logging tcp connection problem: tcpwrappers and syslog
Normally to enable telent/ftp login/out info in syslog you would simple execute the commands provided earlier.
I did however, find this url, it may give you some insight into your problem...hope it helps,
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xfd4568c57f64d4118fee0090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2000 11:25 PM
09-11-2000 11:25 PM
Re: logging tcp connection problem: tcpwrappers and syslog
proper.
How does it look like? Perhaps not all
facilities and/or severyties are logged!
tcpwrappers does NOT alter the logging that
HP's inetd provides -- inetd calls tcpd which THEN calls telnetd et al. if the restrictions in /etc/hosts.allow or .deny match