LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-30-2003, 12:35 PM   #1
raven282
LQ Newbie
 
Registered: Apr 2003
Posts: 5

Rep: Reputation: 0
vsftpd 425 error


I have redhat 9 installed and am trying to set up vsftpd. When i connect using a ftp client and turn off pasv mode everything works great but when i have it on i get the following error.

PASV
227 Entering Passive Mode (192,138,153,51,67,206)
LIST
425 Security: Bad IP connecting.

what do i need to do to be able to use pasv mode?
 
Old 04-30-2003, 02:38 PM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Which vsftpd version are you using ?
How did you install vsftpd ?
What is your vsftpd configuration ?
 
Old 04-30-2003, 03:28 PM   #3
raven282
LQ Newbie
 
Registered: Apr 2003
Posts: 5

Original Poster
Rep: Reputation: 0
I am using whatever version came with redhat 9 it installed with it so i didn't install anything. All i did was start the daemon and that was it.
 
Old 04-30-2003, 10:03 PM   #4
raven282
LQ Newbie
 
Registered: Apr 2003
Posts: 5

Original Poster
Rep: Reputation: 0
well i just reformatted because i had to fix a couple other things but i am still having the same issue, anyone have any ideas at all?
 
Old 05-01-2003, 12:37 AM   #5
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
I didn't have this issue, but then well I've compiled vsftpd from source like I do with almost every service. Check the version:

rpm --qa | grep vsftpd


And post your config here!
 
Old 05-06-2003, 11:09 AM   #6
Sippy
LQ Newbie
 
Registered: May 2003
Posts: 1

Rep: Reputation: 0
I just completed configuring an FTP server with vsftpd in RH9. I ran across some similar issues. It most likely is your firewall setup that is causing your problem. Do you have netfilter/iptables configured? PASV ftp connections want to use highports which may need to be enabled.

I specified a specific range of ports in the vsftpd.conf file

pasv_max_port=65000
pasv_min_port=55000


Made sure these same ports are specified in /etc/sysconfig/iptables by opening these same ports:

INPUT -p tcp -m tcp --dport 55000:65000 -j ACCEPT
INPUT -p tcp -m tcp --sport 55000:65000 -j ACCEPT

or just allow highports:

INPUT -p tcp -m tcp --dport 1025: -j ACCEPT
INPUT -p tcp -m tcp --sport 1025: -j ACCEPT

This fixed up my problems using PASV, hope that helps people trying to figure out vsftpd configs.
 
Old 06-04-2003, 01:09 PM   #7
Gear_freak2000
Member
 
Registered: Jun 2003
Posts: 90

Rep: Reputation: 15
hey i got this same problem... but i cannot fix it.... i tryed the above way... didnt work... any idea...

Could it be my router?

the problem i get is that if i try and do anything that would return infomation (eg "ls") i get

500 Illegal PORT command.
425 Use PORT or PASV first.
 
Old 06-21-2003, 01:09 AM   #8
ptbug
LQ Newbie
 
Registered: Jun 2003
Posts: 1

Rep: Reputation: 0
add this line to you vsftpd.conf

pasv_promiscuous=YES

Worked for me after checking the change log.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd Problem with 425 Security: Bad IP connecting elchui Linux - Newbie 8 07-29-2011 09:21 AM
FTP 425 Error dnrct AIX 2 10-12-2004 06:59 PM
425 Can't open passive connection: Address already in use. SecureTeam Linux - Networking 0 03-30-2004 10:31 AM
425 Security: Bad IP connecting mikeshn Linux - General 3 03-03-2004 09:37 AM
vsftpd 425 bad ip error raven282 Linux - Software 2 05-01-2003 03:29 AM


All times are GMT -5. The time now is 09:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration