- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tcp_wrappers issue.
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
11-07-2002 07:15 AM
11-07-2002 07:15 AM
HP-UX 11.0 Tcp_Wrappers 7.6
I installed tcp_wrappers on a
HP-UX 11.0 server.
I created /etc/hosts.allow
which has this line only:
ALL: ALL: ALLOW
I can telnet as before but it will not allow telnet to the localhost now, it fails.
It says that it connects but, I don't get the login prompt.
telnet example:
root# telnet 0
or
root# telnet 127.0.0.1
Note: I did not create a
/etc/hosts.deny file.
/etc/inetd.conf entry:
telnet stream tcp nowait root /usr/local/bin/tcpd telnetd -b /etc/issue
Why is this happening?
Should Tcp_Wrappers disallow
this?
10 points to good answer.
Thank you Gino.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2002 07:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2002 07:42 AM
11-07-2002 07:42 AM
Re: tcp_wrappers issue.
Here is the output in the /var/adm/syslog/syslog.log
file when I attempt to telnet
to the localhost.
Nov 7 10:46:24 bosov2 inetd[18235]: telnet/tcp: Connection from localhost (127.0.0.1) at Thu Nov 7 10:46:24 2002
Nov 7 10:46:33 bosov2 inetd[18241]: telnet/tcp: Connection from localhost (127.0.0.1) at Thu Nov 7 10:46:33 2002
10 points to any good answer.
Thank you Gino.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2002 07:52 AM
11-07-2002 07:52 AM
Re: tcp_wrappers issue.
Here is the output when it tries to connect.
root# telnet 0
Trying...
Connected to 0.
Escape character is '^]'.
Local flow control off
Connection closed by foreign host.
10 points to any good answer.
Thank you Gino.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2002 08:08 AM
11-07-2002 08:08 AM
Re: tcp_wrappers issue.
Your problem can be caused by a problem with device file use by telnet.
Can you shoh output:
# ll /dev/telnetm
# ll /dev/pts/t*
# lsdev | grep tel
19 -1 telm strtelm
20 -1 tels strtels
The value shown by "lsdev" for "telm" would need to be equal to the minor
number of "/dev/telnetm"
- AND -
the value shown for "tels" would need to be equal to the major number of
the /dev/pty/t* device files.
Are you in this case ?
Regards,
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2002 08:19 AM
11-07-2002 08:19 AM
Re: tcp_wrappers issue.
Just to troubleshoot, can you put the original line back in /etc/inetd.conf and try telnet to localhost ? I don't think tcp_wrappers modify any device files on the system.
Also, from the above line, it looks as if you have moved/copied telnetd in /usr/local/bin directory. Try the following line -
telnet stream tcp nowait root /usr/local/bin/tcpd /usr/lbin/telnetd -b /etc/issue
...Manjeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2002 08:30 AM
11-07-2002 08:30 AM
Re: tcp_wrappers issue.
You must put in an ip address in your hosts.allow line:
ALL: xxx.xxx.xxx.xxx : banners /etc/issue
If you want to be able to telnet localhost, then one of your entries will be 127.0.0.1
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2002 09:16 AM
11-07-2002 09:16 AM
Re: tcp_wrappers issue.
I checked the devices files for "telnet" and they are ok.
I checked the inetd.conf file for telnetd and I added in the full path -
(/usr/lbin/telnetd)(inetd -c)and that worked. I can now telnet to localhost (127.0.0.1).
Thank you again Gino.