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)
-   -   pure-ftpd "connection reset" (http://www.howtoforge.com/forums/showthread.php?t=33413)

Thomas Jensen 8th April 2009 11:48

pure-ftpd "connection reset"
 
Hi!

I've just setup ISPconfig 3. Everything is reporting correct, and pure-FTPd is running and listening.
But; When i connect ( no matter which client program ), i get the "connection reset" error.

/var/log/messages
Apr 8 11:30:01 server1 pure-ftpd: (?@localhost.localdomain) [INFO] New connection from localhost.localdomain
Apr 8 11:30:01 server1 pure-ftpd: (?@localhost.localdomain) [INFO] Logout.


Thanks.

till 9th April 2009 09:22

These message are not from your logins, they are from the ispconfig status monitor which checks if your ftp daemon is running.

1) is the ispconfig firewall enabled?
2) Please post the output of:

iptables -L

Thomas Jensen 9th April 2009 11:51

1) I think, i don't know how to check, but i can add firewall records in ISPconfig.

2)

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

falko 9th April 2009 14:02

Ok, the firewall is off. Did you try both active and passive transfers in your FTP client? What's the output of
Code:

netstat -tap
?

Thomas Jensen 10th April 2009 23:19

I tried both passive and active, but now i've found out that it might be a local problem. It's only a problem from my home network. The weird thing is that it's the only server i have problems with.

netstat -tap:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdo:10025 *:* LISTEN 22152/master
tcp 0 0 *:mysql *:* LISTEN 23540/mysqld
tcp 0 0 *:sunrpc *:* LISTEN 1987/portmap
tcp 0 0 *:webmin *:* LISTEN 2982/perl
tcp 0 0 localhost.localdoma:947 *:* LISTEN 2891/famd
tcp 0 0 *:ftp *:* LISTEN 18935/pure-ftpd (SE
tcp 0 0 server1.clankamp:domain *:* LISTEN 24448/mydns
tcp 0 0 localhost.locald:domain *:* LISTEN 24448/mydns
tcp 0 0 *:ssh *:* LISTEN 22333/sshd
tcp 0 0 *:telnet *:* LISTEN 22401/inetd
tcp 0 0 *:smtp *:* LISTEN 22152/master
tcp 0 0 localhost.localdom:smtp localhost.localdo:54771 SYN_RECV -
tcp 1 0 localhost.localdom:smtp localhost.localdo:40675 CLOSE_WAIT -
tcp 1 0 localhost.localdom:smtp localhost.localdo:40675 CLOSE_WAIT -

... repeated many times...

tcp6 0 0 [::]:imaps [::]:* LISTEN 24361/couriertcpd
tcp6 0 0 [::]:pop3s [::]:* LISTEN 24389/couriertcpd
tcp6 0 0 [::]:pop3 [::]:* LISTEN 24372/couriertcpd
tcp6 0 0 [::]:imap2 [::]:* LISTEN 24344/couriertcpd
tcp6 0 0 [::]:http-alt [::]:* LISTEN 15105/apache2
tcp6 0 0 [::]:www [::]:* LISTEN 15105/apache2
tcp6 0 0 [::]:ftp [::]:* LISTEN 18935/pure-ftpd (SE
tcp6 0 0 ip6-localhost:domain [::]:* LISTEN 24448/mydns
tcp6 0 0 [::]:ssh [::]:* LISTEN 22333/sshd
tcp6 0 0 [::]:https [::]:* LISTEN 15105/apache2
tcp6 0 0 server1.clankamp.:imap2 0x4dd5e135.adsl.c:29475 ESTABLISHED 30105/imapd

falko 11th April 2009 20:25

Do you maybe have a personal firewall on your client computer?

Thomas Jensen 11th April 2009 21:10

Tried on several computers, with no result. also tried with a different router.

falko 12th April 2009 14:43

When you connect from the local network, do you use the server's local IP address, or its public hostname or public IP?

Thomas Jensen 12th April 2009 21:38

Tried both public hostname and public IP

falko 13th April 2009 17:22

Ok, then I guess that your router somehow doesn't support loopbacks.

Does it work when you use the local IP?


All times are GMT +2. The time now is 10:55.

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