- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Outbound FTP and telnet mostly not working
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
02-24-2005 01:31 AM
02-24-2005 01:31 AM
Outbound FTP and telnet mostly not working
I've got a machine here that can ftp and telnet out fine to machines on same domain but gets errors trying to get to other machines that it should have access.
when I try to telnet out, the response is:
Trying...
telnet: Unable to connect to remote host: Connection refused
when I try to ftp out, the response is:
ftp: connect: Connection refused
ftp>
Other machines seem to work fine going to my target machine and I can telnet and ftp into this machine.
Also, I can rlogin from this machine to the target machine.
Points will be given.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 02:07 AM
02-24-2005 02:07 AM
Re: Outbound FTP and telnet mostly not working
The problem seems to be in the security settings of the machine that you're trying to get to.
I think that it has masked your machine out of /etc/hosts.allow or /etc/hosts.deny. But, apparently the rlogin level hasn't denied you access. Or maybe, that server has denied all access (maybe opting for only ssh logins (common) - but forgot to mask out the rlogin stuff).
Of course, it is probably not your machine specifically, more than likely it is all domains except for the local one, and maybe a trusted one or two. Same idea for the machine list (if it is not a domain level security rule) - it could be an exclusion for all machines, except for a small discrete list of machines that can access this one.
Ok, one more try (freethink warning)! - maybe identd can't figure out your machine - so it rejects it? Maybe it has a hard and fast rule for an identd rejection?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 02:11 AM
02-24-2005 02:11 AM
Re: Outbound FTP and telnet mostly not working
For instance, my machine is :
abc.mydomain.hp.com
I can get to :
def.mydomain.hp.com
but not:
xyz.yourdomain.hp.com
or
qrp.someother.hp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 02:17 AM
02-24-2005 02:17 AM
Re: Outbound FTP and telnet mostly not working
What does syslog.log on target systems say??
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 02:26 AM
02-24-2005 02:26 AM
Re: Outbound FTP and telnet mostly not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 02:43 AM
02-24-2005 02:43 AM
Re: Outbound FTP and telnet mostly not working
hmm...
Allright then, how about differences in IPFilter rules for outbound traffic?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 02:46 AM
02-24-2005 02:46 AM
Re: Outbound FTP and telnet mostly not working
Where would I see the IPFilter rules (or what specific command would list them for me).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 02:47 AM
02-24-2005 02:47 AM
Re: Outbound FTP and telnet mostly not working
telnet: Unable to connect to remote host: Connection refused
when I try to ftp out, the response is:
ftp: connect: Connection refused
ftp>
These are both typical responses of the following conditions;
* firewall block
* daemon not listening
* /var/adm/inetd.sec is blocking access
* ipfilter firewall is denying access by ip or hostname
* There is a problem on the target box being unable to open a process or spawn and ftpd or telnetd daemon
* misconfigured inetd.conf
These responses lean toward the target being an hp-ux box. Add ideas if its linux or windows.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 03:41 AM
02-24-2005 03:41 AM
Re: Outbound FTP and telnet mostly not working
On one machine we were using socksified telnet and ftp and on the other, we weren't.
Turns out that /etc/PATH had an incorrect setting (it had /opt/socks/bin ahead of /usr/bin ).
All is well now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 03:57 AM
02-24-2005 03:57 AM
Re: Outbound FTP and telnet mostly not working
which telnet from both machines was the telling clue.