HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   pureftpd login problem (http://www.howtoforge.com/forums/showthread.php?t=35657)

ang3lx 29th May 2009 00:19

pureftpd login problem
 
Hello,
I've installed last version of ispconfig 3.x on debian 5. I added domain and ftp login, but when I try to login with filezilla, I got an error and I'm disconnected

I've the same problem with old version of ispconfig too, someone can help me?

regards
Nello

ps: i've the same problem too if I try to connect to ftp from web
ftp://ftp.domain.tld/

till 29th May 2009 08:07

Quote:

I've the same problem with old version of ispconfig too, someone can help me?
Then its a problem with your router or firewall. Did you try active and passive FTP?

ang3lx 29th May 2009 09:38

yes, I've tried active and passive.
this is the only ftp that I can't join

Quote:

Stato: Risoluzione dell'indirizzo IP campania.uni.cx in corso
Stato: Connessione a 84.200.210.31:21...
Stato: Connessione stabilita, in attesa del messaggio di benvenuto...
Risposta: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Risposta: 220-You are user number 1 of 50 allowed.
Risposta: 220-Local time is now 09:34. Server port: 21.
Risposta: 220-This is a private system - No anonymous login
Risposta: 220-IPv6 connections are also welcome on this server.
Risposta: 220 You will be disconnected after 15 minutes of inactivity.
Comando: USER ang3lx001
Risposta: 331 User ang3lx001 OK. Password required
Comando: PASS *******
Risposta: 230-User ang3lx001 has group access to: client1
Risposta: 230 OK. Current restricted directory is /
Stato: Connesso
Stato: Lettura elenco cartelle...
Comando: PWD
Risposta: 257 "/" is your current location
Comando: TYPE I
Risposta: 200 TYPE is now 8-bit binary
Comando: PORT 192,168,1,121,193,155
Errore: Disconnesso dal server: ECONNABORTED - Connection aborted
Errore: Is not possible to read server directories

till 29th May 2009 11:17

Please post the output of:

iptables -L

and

netstat -tap

ang3lx 29th May 2009 11:44

iptables
 
ok

this is a vds under NAT, but have an external ip frwarded by nat.
however if I try to login in ftp by ssh command ftp of another server, I can join

Quote:

wh:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain fail2ban-ssh (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere

Quote:

wh:~# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:46016 *:* LISTEN 1922/rpc.statd
tcp 0 0 localhost.localdoma:902 *:* LISTEN 2846/famd
tcp 0 0 localhost.localdo:10024 *:* LISTEN 2154/amavisd (maste
tcp 0 0 localhost.localdo:10025 *:* LISTEN 2800/master
tcp 0 0 *:mysql *:* LISTEN 2218/mysqld
tcp 0 0 localhost.localdo:spamd *:* LISTEN 2323/spamd.pid
tcp 0 0 *:sunrpc *:* LISTEN 1911/portmap
tcp 0 0 *:ftp *:* LISTEN 20157/pure-ftpd (SE
tcp 0 0 172.16.179.31:domain *:* LISTEN 3020/mydns
tcp 0 0 localhost.locald:domain *:* LISTEN 3020/mydns
tcp 0 0 *:ssh *:* LISTEN 2126/sshd
tcp 0 0 *:smtp *:* LISTEN 2800/master
tcp 52 0 localhost.localdo:36026 localhost.localdo:10025 CLOSE_WAIT 2231/amavisd (ch1-a
tcp 0 0 localhost.localdo:mysql localhost.localdo:54858 ESTABLISHED 2218/mysqld
tcp 0 52 172.16.179.31:ssh 93-44-144-145.ip9:51826 ESTABLISHED 32015/0
tcp 0 0 localhost.localdo:54858 localhost.localdo:mysql ESTABLISHED 2231/amavisd (ch1-a
tcp6 0 0 [::]:imaps [::]:* LISTEN 2706/couriertcpd
tcp6 0 0 [::]:pop3s [::]:* LISTEN 2724/couriertcpd
tcp6 0 0 [::]:pop3 [::]:* LISTEN 2712/couriertcpd
tcp6 0 0 [::]:imap2 [::]:* LISTEN 2694/couriertcpd
tcp6 0 0 [::]:http-alt [::]:* LISTEN 2905/apache2
tcp6 0 0 [::]:www [::]:* LISTEN 2905/apache2
tcp6 0 0 [::]:ftp [::]:* LISTEN 20157/pure-ftpd (SE
tcp6 0 0 localhost:domain [::]:* LISTEN 3020/mydns
tcp6 0 0 [::]:ssh [::]:* LISTEN 2126/sshd
tcp6 0 0 [::]:https [::]:* LISTEN 2905/apache2


falko 30th May 2009 12:16

Can you stop fail2ban and try again?

ang3lx 30th May 2009 12:58

Quote:

Originally Posted by falko (Post 191129)
Can you stop fail2ban and try again?

it's the same :(

try to login

wh.unixzone.org
user ang3lx001
pass 123456

I've found this in logs. i make login but pureftpd kick me after only 2 seconds
Quote:

May 30 12:54:58 wh pure-ftpd: (?@93.44.144.145) [INFO] New connection from 93.44.144.145
May 30 12:54:58 wh pure-ftpd: (?@93.44.144.145) [INFO] ang3lx001 is now logged in
May 30 12:54:59 wh pure-ftpd: (ang3lx001@93.44.144.145) [INFO] Logout.
May 30 12:55:01 wh pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
May 30 12:55:01 wh pure-ftpd: (?@127.0.0.1) [INFO] Logout.

till 31st May 2009 10:27

pureftpd seems to work fine. There must be some kind of firewall on your computer or on your router which blocks this.


All times are GMT +2. The time now is 16:00.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.