Telnet Problem


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Telnet Problem
# 1  
Old 05-12-2008
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??
# 2  
Old 05-12-2008
Quote:
Originally Posted by tazzy
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??
maybe that server is installed with tcp wrapper.

In TCP wrapper you can specify which IP address is allowed to connect. Maybe the other host or PC using DHCP and the IP changed so previously he could get in but now couldn't.
# 3  
Old 05-12-2008
How would I check to see if tcp wrapper has been put in place or activated since we just recently started having this problem?
# 4  
Old 05-12-2008
Quote:
Originally Posted by tazzy
How would I check to see if tcp wrapper has been put in place or activated since we just recently started having this problem?
Search your server for a file called inetd.sec

find / -name inetd.sec -print

if you do find it back it up first before making any changes. You can edit this file on the fly there is no need for reboot or restarting any processes.

The other possibility is that the host trying to connect to the server does not have a route. to check you can do a netstat -rn

good luck
# 5  
Old 05-12-2008
TCP wrappers uses the /etc/hosts.deny file to control access. It will produce something in the system log when a connection was blocked.

It doesn't just go activate itself so I'd bet more on the random DHCP fluff theory.
# 6  
Old 05-12-2008
There is no inetd.sec on the system. Is it possible that a network card going bad would cause the server not to be able to telnet to certain IP addresses? Things were working fine a couple of weeks ago and now just on this one machine it is not allowing to telnet to certain addresses.
# 7  
Old 05-12-2008
Is there some sort of pattern to "certain addresses"? That would indicate a routing problem, perhaps external to the machine itself. Do other things besides telnet work? What about ping, traceroute, ssh?

Are you using DHCP? Did the machine's IP address change, like, for instance, not so coincidentally around the time the problems started?

Do you have working reverse DNS, and do the other machines possibly care whether or not you do? Is there anything else on their end which might be preventing the connections?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

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. 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

6. 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

7. HP-UX

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... (5 Replies)
Discussion started by: efrenba
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
Login or Register to Ask a Question