Problems with ftp
From: B H (check4junk_at_gmail.com)
Date: 11/30/04
- Next message: Darren Tucker: "Re: My Linux server got hacked last night -- please help!"
- Previous message: Rick Moen: "Re: Unix NOT secure against Viruses on home PCs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 30 Nov 2004 10:36:44 +0100
<newbie alert>
I have a problem connecting to and issuing commands at a ftp-server.'
The ftp server is Windows based and requires active ftp. I have a
linux pc with Fedora (FC1).
PS: If I do the same ftp-command in DOS from a Windows XP box
on the same LAN and connect to the same server I have no problems.
I can log in without problems, but at the instant I try to issue a command
I get error messages and it hangs. Here is a log of what happens (ip-
address replaced by aaa.bbb.ccc.ddd):
===
[mylocalusername@dhcppc1 ~]$ ftp -d www.mysite.com
Connected to www.mysite.com (aaa.bbb.ccc.ddd).
220 iis11 Microsoft FTP Service (Version 4.0).
Name (www.mysite.com:mylocalusername): myusernameatftpserver
---> USER myusernameatftpserver
331 Password required for myusernameatftpserver.
Password:
---> PASS XXXX
230-Welcome to blablabla
230 User myusernameatftpserver logged in.
---> SYST
215 Windows_NT version 4.0
Remote system type is Windows_NT.
ftp> ls
ftp: setsockopt (ignored): Permission denied
---> PASV
227 Entering Passive Mode (aaa,bbb,ccc,ddd,9,202).
[program hangs and must be CTRL-C'ed]
===
A "nmap localhost" command at my Linux-box:
[mylocalusername@dhcppc1 ~]$ nmap localhost
Starting nmap 3.48 ( http://www.insecure.org/nmap/ ) at 2004-11-30 08:33 CET
Interesting ports on localhost.localdomain (127.0.0.1):
(The 1651 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
111/tcp open rpcbind
631/tcp open ipp
32770/tcp open sometimes-rpc3
32771/tcp open sometimes-rpc5
Nmap run completed -- 1 IP address (1 host up) scanned in 0.706 seconds
===
1) When I do for example "ls" it seems that the program forces PASV even if
I do
not specify this since I have been told that I need to use ACTIVE for
this server. Why does this happen?
2) What are the 9 and 202 after my IP-address in the
"Entering Passive Mode ..."-command?
Any clues what might be wrong? Any easy workarounds?
Borge
</newbie alert>
- Next message: Darren Tucker: "Re: My Linux server got hacked last night -- please help!"
- Previous message: Rick Moen: "Re: Unix NOT secure against Viruses on home PCs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|