Visit Our UNIX and Linux User Community


telnet problem, help


 
Thread Tools Search this Thread
Operating Systems HP-UX telnet problem, help
# 1  
Old 11-14-2005
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...
# 2  
Old 11-14-2005
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.
# 3  
Old 11-14-2005
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.
# 4  
Old 11-14-2005
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.
# 5  
Old 11-14-2005
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...
# 6  
Old 11-14-2005
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.

Previous Thread | Next Thread
Test Your Knowledge in Computers #477
Difficulty: Medium
The first hard disk (IBM 350) was developed in 1956 by IBM and had a capacity of 3.75MB.
True or False?

10 More Discussions You Might Find Interesting

1. Linux

telnet problem

ok, i need to test a list of addresses via telnet and make sure that i get a response like the following: telnet anag.testboalo.com443 Trying 100.100.100.100... Connected to anag.testboalo.com. Escape character is '^]'. The thing is, for each address I telnet to, the telnet hangs in... (4 Replies)
Discussion started by: SkySmart
4 Replies

2. Shell Programming and Scripting

problem with Net::Telnet

#!/usr/bin/perl use strict; use warnings; use Net::Telnet (); my $t = new Net::Telnet (Timeout => 10, Prompt => '/.*(#|>|\))\s*$/'); my $remote_host='home'; $t->open(Host => $remote_host, Port =>23); $t->login('root', 'pass'); the error that I get... (4 Replies)
Discussion started by: lassimanji
4 Replies

3. Shell Programming and Scripting

Webpage to Telnet via Perl and Expect: Telnet problem?

Somewhat long story: I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage. This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies

4. UNIX for Dummies Questions & Answers

telnet problem

Hello everyone, I have got this following script to telnet to other UNIX boxes from one UNIX box and then run a script to count a certain paramater. The following line connects to the other box(es): (sleep 1; echo $username; sleep 1; echo $password ; sleep 1 ; echo y; sleep 1; echo "\r" ; sleep 1... (2 Replies)
Discussion started by: Rajat
2 Replies

5. UNIX for Dummies Questions & Answers

Telnet Problem

I have a problem where on one unix machine I can telnet all IP addresses in the host file with no connection problem and another machine has recently started to have trouble connecting with the same host IP's on just some IP addresses where it had no trouble before. Have any ideas?? (17 Replies)
Discussion started by: tazzy
17 Replies

6. Solaris

Telnet Problem Help

Dear All I have a Sun280R server when i telnet to this server from my Laptop i got error : Could connect to 192.168.199.10(Server IP):port 23 closed I want to login to the server through its Db25 serial port but i used to connect to it from my laptop through USB to db9 then to Db25 so do... (1 Reply)
Discussion started by: zanetti321
1 Replies

7. AIX

telnet problem

hi all, i have a problem in telnet.when i am using telnet to my new aix server it takes about 5min to open. can any one tell what i have to do.???? (5 Replies)
Discussion started by: rrlog
5 Replies

8. IP Networking

telnet problem

Hello friends, The problem is that we have one SunOS5.7 server, while attempting telnet to that server following error is occured - ld.so.1: login: fatal: libc.so.1: open failed: Too many open files The login on console is possible. The inetd daemon is running. inetd.conf and services... (3 Replies)
Discussion started by: rahul72
3 Replies

9. Filesystems, Disks and Memory

telnet problem

Hello friends, The problem is that we have one SunOS5.7 server, while attempting telnet to that server following error is occured - ld.so.1: login: fatal: libc.so.1: open failed: Too many open files The login on console is possible. The inetd daemon is running. inetd.conf and services... (1 Reply)
Discussion started by: rahul72
1 Replies

10. UNIX for Dummies Questions & Answers

Having problem using Telnet!!!!

Good day to you all, Hope you must doing good..me..oh no I am not..I've trying to log on to my network from home...but it's not letting me...I am trying to use telnet cis.hfcc.net but it's saying "connection to the host cannot to be established"????what is this...any good reason...do I have to... (2 Replies)
Discussion started by: tahaislam
2 Replies

Featured Tech Videos