The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Telnet Problem tazzy UNIX for Dummies Questions & Answers 17 05-15-2008 10:51 AM
Telnet Problem Help zanetti321 SUN Solaris 1 04-19-2008 01:27 AM
telnet problem rrlog AIX 5 09-21-2007 01:48 AM
telnet problem in aix vjm AIX 2 08-22-2005 11:35 PM
Having problem using Telnet!!!! tahaislam UNIX for Dummies Questions & Answers 2 09-19-2001 05:51 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-14-2005
Registered User
 

Join Date: May 2005
Posts: 20
Stumble this Post!
telnet problem, help

Hi,

My network layout is:

Pub LAN
|
freeBSD
|
Internal LAN
|
+ telnet srv on HP-UX 10.x box
+ other services (http, pop3, smtp, ftp)...

I've the following problem:

Inside Internal LAN I can connect myself to HP-UX telnet but from Public LAN in some place is refusing me the access. On freeBSD box is not, I've checked several times the configuration because I'm able to connect me to the other services (http, ftp, pop3, smtp). So I've reached the conclusion that the problem must be on HP-UX box.

Q: Is it possible that HP-UX has a IP range telnet restriction? If it's, where can I check that?

Q: Other suggestions...

Thanks...
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 11-14-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,425
Stumble this Post!
If the telnet service is being started from inetd, it may have ip address restrictions imposed. These are in /var/adm/inetd.sec of HP-UX 11.0. (not sure about 10.x, may be a different path, but same name).

man inetd.sec

should give details.
Reply With Quote
  #3 (permalink)  
Old 11-14-2005
Registered User
 

Join Date: May 2005
Posts: 20
Stumble this Post!
telnet, problem

Thanks you...

I saw it, it's on the same path.

One more question, Is it possible, for instance, if my internal lan range is 192.168.1.0/24, when HP-UX boots and raises inetd, it automatically bind to this ip range, and I would have to specify inside /var/adm/inetd.sec other ip ranges?

Thanks a lot.
Reply With Quote
  #4 (permalink)  
Old 11-14-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,425
Stumble this Post!
inetd.sec restricts connections from certain ip addresses. It has nothing to do with binding. Binding to an address would restrict connections to a certain ip address. inetd seems to bind to only to the port by using a wildcard for ip address. I don't think HP's inetd can bind to a certain address. At least, looking at the man page, I don't see an obvious way to do it. It would be a nice feature, though.
Reply With Quote
  #5 (permalink)  
Old 11-14-2005
Registered User
 

Join Date: May 2005
Posts: 20
Stumble this Post!
Sorry, I used the wrong word (bind), I referred to the word "restriction"

My doubt is if inside /var/adm/inetd.conf there is no reference to allow or deny, HP-UX by default restricts telnet connections that are outside to my ip range, for instance, if my lan ip range is 192.168.1.0/24 and someone try to connect itself from 10.10.10.0/24, HP-UX refuse to accept it?

The man inetd.sec says: If file /var/adm/inetd.sec does not exist, security is limited to that implemented by the servers. Where can I find these security implementations?

Thanks...
Reply With Quote
  #6 (permalink)  
Old 11-14-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,425
Stumble this Post!
Look at the man page for telnetd (telnet server), ftpd (ftp server), etc. Some ftp servers have some ip restiction capability. I have seen a tenet server with anything like that.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:29 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0