fetch and ftp problems trough pf
Hi I'm have a bit of a fetch and ftp problem when it comes to the hosts behind my freebsd 6.2 stable pf firewall. I can use fetch and ftp perfectly fine from the firewall but once I want to use them on one of the hosts behind it I get the following errors. Trying 204.152.184.73... Connected to ftp.freebsd.org. 220 Welcome to freebsd.isc.org. Name (ftp.freebsd.org:hamba): anonymous 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp ls 229 Entering Extended Passive Mode (|||5654|) 425 Security: Bad IP connecting. ftp exit 221 Goodbye. # ftp ftp.de.freebsd.org Connected to ftp.plusline.net. 220- 220-PUBLIC FTP MIRROR 220- 220-Plus.Line AG 220-http://www.plusline.net 220-Frankfurt a. M. 220-Germany 220- 220 Name (ftp.de.freebsd.org:hamba): anonymous 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp ls 229 Entering Extended Passive Mode (|||35507|) 200 EPRT command successful. Consider using EPSV. 150 Here comes the directory listing. ftp: poll timeout waiting before accept: Operation timed out 426 Failure writing network stream. 225 No transfer to ABOR. ftp exit 221 Goodbye. I have multiple IPs on my external if so I'm using pftpx as the ftp proxy and I followed the man page and added this to my pf.conf nat-anchor pftpx/* rdr-anchor pftpx/* rdr pass on $int_if proto tcp from 10.0.0.0/8 to any port 21 - 127.0.0.1 port 8021 anchor pftpx/* I also added in the rc.conf file pftpx_enable=YES pftpx_flags=-p 80.81.242.5 Here is the debug outout I got from pftpx Jul 25 22:50:13 amanzi pftpx[92813]: #1 accepted connection from 10.0.100.150 Jul 25 22:50:13 amanzi pftpx[92813]: #1 server: 220 Welcome to freebsd.isc.org.^M Jul 25 22:50:15 amanzi pftpx[92813]: #1 client: USER anonymous^M Jul 25 22:50:15 amanzi pftpx[92813]: #1 server: 331 Please specify the password.^M Jul 25 22:50:16 amanzi pftpx[92813]: #1 client: PASS ^M Jul 25 22:50:16 amanzi pftpx[92813]: #1 server: 230 Login successful.^M Jul 25 22:50:16 amanzi pftpx[92813]: #1 client: SYST^M Jul 25 22:50:16 amanzi pftpx[92813]: #1 server: 215 UNIX Type: L8^M Jul 25 22:50:16 amanzi pftpx[92813]: #1 client: FEAT^M Jul 25 22:50:16 amanzi pftpx[92813]: #1 server: 211-Features:^M Jul 25 22:50:16 amanzi pftpx[92813]: #1 server: EPRT^M Jul 25 22:50:16 amanzi pftpx[92813]: #1 server: EPSV^M Jul 25 22:50:16 amanzi pftpx[92813]: #1 server: MDTM^M Jul 25 22:50:16 amanzi pftpx[92813]: #1 server: PASV^M Jul 25 22:50:16 amanzi pftpx[92813]: #1 server: REST STREAM^M Jul 25 22:50:16 amanzi pftpx[92813]: #1 server: SIZE^M Jul 25 22:50:16 amanzi pftpx[92813]: #1 server: TVFS^M Jul 25 22:50:16 amanzi pftpx[92813]: #1 server: 211 End^M Jul 25 22:50:16 amanzi pftpx[92813]: #1 client: PWD^M Jul 25 22:50:16 amanzi pftpx[92813]: #1 server: 257 /^M Jul 25 22:50:17 amanzi pftpx[92813]: #1 client: EPSV^M Jul 25 22:50:17 amanzi pftpx[92813]: #1 server: 229 Entering Extended Passive Mode (|||30018|)^M Jul 25 22:50:17 amanzi pftpx[92813]: #1 proxy: 229 Entering Extended Passive Mode (|||59677|)^M Jul 25 22:50:18 amanzi pftpx[92813]: #1 client: LIST^M Jul 25 22:50:18 amanzi pftpx[92813]: #1 server: 425 Security: Bad IP connecting.^M I have also 2 internal IPs on each host behind the firewall. I have attached my pf.conf file, everything works perfectly without problems except for ftp, I also have to mention that its not all the ftp sites but only some of them, and when I fetch from http it also works. Thanks for the time Reinhold pf.conf Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ftp problems
Hi all, I am having some problems using the freebsd ftp program. when I type; ftp username.customer.netspace.net.au password I get the following message; servname not supported for ai_socktype Am I using the right syntax? When I consulted the ftp server support page it said; Once you have your ftp Client installed, you will need to use the following settings to connect to your personal webspace (lets assume your username is test and your password is webpage): hostname : test.customer.netspace.net.au username : test password : webpage Also ensure that if your FTP Client gives you the option to use PASV mode, that this is selected. All you need to do at this point is upload the files to the site and away you go. Any help would be appreciated. If you reply could you please CC me because I am not subscribed to the list. Thanks for your time, Brett = True knowledge exists in knowing that you know nothing. And in knowing that you know nothing, that makes you the smartest of all - Socrates ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ftp problems
In the last episode (Apr 05), Brett Wiggins said: Hi all, I am having some problems using the freebsd ftp program. when I type; ftp username.customer.netspace.net.au password I get the following message; servname not supported for ai_socktype Just run ftp username.customer.netspace.net.au, then enter your username and password at the prompts. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FTP Problems (probably my firewall)
Hello list, I'm trying to get FTPD working, but I think I'm not opening the correct ports for it in my firewall. I've got 20 and 21 open, and I get the login prompt and such, but only after a 10 to 20 second delay. After that, everything seems to work fine, until I try to upload to the incoming directory, which is disabled right now. The error takes another 10 to 20 seconds to pop up. when I have a rule such as: ipfw add 1 allow log all from any to any Everything works as fast as it normally should. Thanks. ___ Eric F Crist I am so smart, S.M.R.T! Secure Computing Networks -Homer J Simpson PGP.sig Description: This is a digitally signed message part
Re: FTP Problems (probably my firewall)
Eric F Crist wrote: Hello list, I'm trying to get FTPD working, but I think I'm not opening the correct ports for it in my firewall. I've got 20 and 21 open, and I get the login prompt and such, but only after a 10 to 20 second delay. After that, everything seems to work fine, until I try to upload to the incoming directory, which is disabled right now. The error takes another 10 to 20 seconds to pop up. when I have a rule such as: ipfw add 1 allow log all from any to any Everything works as fast as it normally should. Thanks. Try this: ipfw add 1 allow log all from any to me 20,21 -- Best regards, Chris Keep emotionally active, cater to your favorite neurosis. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FTP Problems
Hi there..Im on 5.1 and every time I try to install a program using ftp, I usually get about 97% of it downloaded and get this error: 450 Socket write to client timed-out. 9838592 bytes received in 41:21 (3.87 KB/s) 421 Service not available, remote server has closed connection. I typed: ftp -a ftp.freebsd.org and cd /pub/FreeBSD/ports/packages/graphics and get gimp-2.0.1,1.tgz. I have tried this numerous times and was wondering if you can help me. This is greatly appreciated. Thank you. __ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FTP Problems
Me Actionfigure wrote: Hi there..Im on 5.1 and every time I try to install a program using ftp, I usually get about 97% of it downloaded and get this error: 450 Socket write to client timed-out. 9838592 bytes received in 41:21 (3.87 KB/s) 421 Service not available, remote server has closed connection. That's a drag. Fortunately, however, ftp supports resuming interrupted downloads, as per the man page: reget remote-file [local-file] Reget acts like get, except that if local-file exists and is smaller than remote-file, local-file is presumed to be a par- tially transferred copy of remote-file and the transfer is continued from the apparent point of failure. This command is useful when transferring very large files over networks that are prone to dropping connections. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FTP Problems with FreeBSD 5.2.1 RC 2 install
List, Would anyone have insight on problems accessing FTP installation sources for 5.2.1 RC2? I was installing just fine using ftp5.us.freebsd.org (mit.edu, I believe, one of the sources closer to me), and began to have the installation return to the menu for selecting my FTP source. Invariably the install would no longer return to the FTP menu and would ask me if I would like to retry the currently failing package. Replying Yes would produce no activity and replying No would skip that package and try the next one, exhibiting the same behavior. I restarted the install from scratch four times last night, and tried many mirrors from the main list and the USA list of FTP mirrors. My ISP had no network issues posted last night, and I could traceroute via my PowerBook on OS X with no issues. Does anyone know what my issue (besides ignorance) might be? Also, is there a way to gracefully get out of error issue with FTP without starting over with my install? Regards, -- Barry C. Hawkins All Things Computed site: www.allthingscomputed.com weblog: www.yepthatsme.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fw: ftp problems R4.8
- Original Message - From: Graham North To: [EMAIL PROTECTED] Sent: Monday, February 09, 2004 10:17 PM Subject: ftp problems R4.8 Help! I am a newbie who has set up a command line FreeBSD system on an XPI 166 laptop. Most things seem to work okay except the ftp - I have been struggling with this on and off for a couple of weeks. To download some packages I ended up running ncftp and it was able to successfully operate but excruciatingly slowly (ie 950secs) for a download of about 1MB - I operate on ADSL - go figure. Both the regular and nc ftp packages seem prone to stalling. My latest problems centre about trying to download some webpage files from another machine (WinXP) attached to (and behind) a USR router/firewall (yes the USRobotics firewall is enabled) my Freebsd one is not. The ftp server is filezilla server on the WinXP machine. I was starting with downloading a simple webpage to test apache - two files, index.htm and a small (30K) jpeg image. Index file downloaded quickly, the jpeg stalled after 26K - and kept on stalling - same place. When I tried using ncftp this time, it stalled at about 18K. Things are set up well enough that I am able to connect to and navigate the server from my FreeBSD system. Clearly there must be some basic setting that is incorrect or incompatible - perhaps related to my router - but am not too sure. The only reference which I could find was related to problems with tcp.recvspace being set at 56K for 4.8, but it seemed to refer to modem related problems. In any event I was not able to change it. Any suggestions would be greatly appreciated. Graham/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FTP Problems, enters passive mode and goes local.
From: Alvaro Gil [EMAIL PROTECTED] Subject: FTP Problems, enters passive mode and goes local. Recently, i have been experiencing these ftp errors when I log in from a remote location... It gives me a message entering passive mode and spits out the local IP of the server. Why does it try to find it locally? What do I need to change to fix this problem? Turn passive mode off on the client. On most clients, the command 'passive' will toggle between states. I'm guessing that you're seeing the local IP because it's behind a NAT type setup... Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: FW: FTP Problems?
it's working again now. I actually am behind a firewall, however it was working before and i've tried several of our proxies and several mirrors... ? nevertheless... everything is fine now, thanks Cheers Stef -Original Message- From: Robin Schilham [mailto:co9;xs4all.nl] Sent: Monday, October 21, 2002 9:39 PM To: Wiesendanger, Stefan (Zurich) Cc: '[EMAIL PROTECTED]' Subject: Re: FW: FTP Problems? Wiesendanger, Stefan (Zurich) wrote: Hi I can't seem to install FreeBSD by FTP anymore - no matter which release, it always complains that it can't find a file in the snapshots directory. I've had a look, and actually, in the regional mirrors this directory (the i386 subdirectory) is emtpy, and on the main FTP server (ftp.freebsd.org/pub/FreeBSD/snapshots/i386 ftp.freebsd.org/pub/FreeBSD/snapshots/i386 ) I'm getting some strange garbled text back. Are you sure that you're not behind a firewall that block the ftp-data port? Is this a known problem? Cheers Stefan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FW: FTP Problems?
Wiesendanger, Stefan (Zurich) wrote: Hi I can't seem to install FreeBSD by FTP anymore - no matter which release, it always complains that it can't find a file in the snapshots directory. I've had a look, and actually, in the regional mirrors this directory (the i386 subdirectory) is emtpy, and on the main FTP server (ftp.freebsd.org/pub/FreeBSD/snapshots/i386 ftp.freebsd.org/pub/FreeBSD/snapshots/i386 ) I'm getting some strange garbled text back. Are you sure that you're not behind a firewall that block the ftp-data port? Is this a known problem? Cheers Stefan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FW: FTP Problems?
Hi I can't seem to install FreeBSD by FTP anymore - no matter which release, it always complains that it can't find a file in the snapshots directory. I've had a look, and actually, in the regional mirrors this directory (the i386 subdirectory) is emtpy, and on the main FTP server (ftp.freebsd.org/pub/FreeBSD/snapshots/i386 ftp.freebsd.org/pub/FreeBSD/snapshots/i386 ) I'm getting some strange garbled text back. Is this a known problem? Cheers Stefan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message