Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pure-ftp and Passive FTP conflicts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jtp755
l33t
l33t


Joined: 01 Sep 2003
Posts: 691
Location: USA

PostPosted: Sat Dec 20, 2003 6:38 pm    Post subject: Pure-ftp and Passive FTP conflicts Reply with quote

I had problems with passive ftp with pure-ftp like a week back and got it fixed but it seems only temporary. I have been trying to fix it for about a week now and cant get it so im posting. Sometimes i can connect and passive will work on the first time but when i switch dirs it wont work. Other times i can connect and passive wont work at all. I have the -p port#:port# set in the config and i have NAT commented out. i have also tried the unstable and i have just recently downgraded to the latest stable and it still doesnt work. Does anyone know what the problem could be or how i can fix it? I will post my config if nessaccery. TIA

If it matters i am using WS-FTP pro to connect.
_________________
www.EternalFireProof.com
Registered Linux User #334610
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Sun Dec 21, 2003 2:56 am    Post subject: Reply with quote

I use pure-ftpd too.

my setup is like this :
[router]---> [box]
10.0.0.1 <-> 10.0.0.2

etc/conf.d/pure-ftpd
Code:

# Config file for /etc/init.d/pure-ftpd
##Comment variables out to disable its features, or change the values in it... ##

## This variable must be uncommented in order for the server to start ##
IS_CONFIGURED="yes"

## FTP Server,Port (separated by comma) ##
## If you prefer host names over IP addresses, it's your choice :
## SERVER="-S ftp.rtchat.com,21"
## IPv6 addresses are supported.
SERVER="-S 10.0.0.2,21"
#SERVER="-S 2001:730:11:36::2,21"

## Number of simultaneous connections in total, and per ip ##
MAX_CONN="-c 10"
MAX_CONN_IP="-C 4"

## Start daemonized in background ##
DAEMON="-B"

## Don't allow uploads if the partition is more full then this var ##
DISK_FULL="-k 90%"

## If your FTP server is behind a NAT box, uncomment this ##
USE_NAT="-N"

## Authentication
AUTH="-l mysql:/etc/pureftpd-mysql.conf -l unix -l puredb:/etc/pureftpd.pdb"

## Change the maximum idle time. (in minutes. default 15)
TIMEOUT="-I 15"

## Use that facility for syslog logging. It defaults to 'ftp'
## Logging can be disabled with '-f none' .
#LOG="-f facility"

## Misc. Others ##
MISC_OTHER="-A -j -R -E -X -w -H"


works fine here.
_________________
linux: #232767
Back to top
View user's profile Send private message
jtp755
l33t
l33t


Joined: 01 Sep 2003
Posts: 691
Location: USA

PostPosted: Sun Dec 21, 2003 10:28 pm    Post subject: Reply with quote

what version of pure-ftpd are you running?
_________________
www.EternalFireProof.com
Registered Linux User #334610
Back to top
View user's profile Send private message
jtp755
l33t
l33t


Joined: 01 Sep 2003
Posts: 691
Location: USA

PostPosted: Mon Dec 22, 2003 4:12 am    Post subject: Reply with quote

passive ftp doesnt seem to work with your exact configuration. when i try to connect to my ftp using ws ftp i still timeout when trying to connect t the passive ftp ports. My ftp works fine. just the darn passive ftp wont work.
_________________
www.EternalFireProof.com
Registered Linux User #334610
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Mon Dec 22, 2003 11:07 am    Post subject: Reply with quote

try with another client, and you have ftp-data ports open in the firewall right ? ( or forwarded in the router )

iam using the latest version available: 1.0.16b
_________________
linux: #232767
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Dec 22, 2003 11:11 am    Post subject: Reply with quote

Some ftp clients have problems with passive ports when using SSH/TLS. Either that or they aren't using the protocol correctly - but they DO log in correctly.
The netkit-ftp client in gentoo is a good example of this.
SmartFTP for windows is another example.

lftp and FileZilla work fine though :)

BTW, I run ProFTPd and encountered a similar problem.

HTH
Back to top
View user's profile Send private message
jtp755
l33t
l33t


Joined: 01 Sep 2003
Posts: 691
Location: USA

PostPosted: Mon Dec 22, 2003 3:21 pm    Post subject: Reply with quote

i will try a different client. i do have the ports forwarded in the router. thanks. ill let yall know what happens.
_________________
www.EternalFireProof.com
Registered Linux User #334610
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum