View previous topic :: View next topic |
Author |
Message |
chrissou Guru
Joined: 22 Mar 2004 Posts: 473
|
Posted: Fri Oct 20, 2006 9:03 am Post subject: Glftpd Xinetd and router cause problem |
|
|
Hello, i try to use glftpd with gentoo
however with debian it works great ...
My server is directly connected on wan without router
My client can connect glftd with a connection directly connected on wan but with a router they can't connect (connection timeout)
I think it's a problem with glftp or xinetd ...
My /etc/xinetd.d/glftpd
Quote: |
service glftpd
{
log_type = FILE /glftpd/ftp-data/logs/xinetd
disable = no
flags = REUSE NAMEINARGS
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/tcpd
server_args = /glftpd/bin/glftpd -l -i -o -z cert=/glftpd/etc/ftpd-dsa.pem
log_on_failure = HOST USERID ATTEMPT
}
|
and my /etc/xinetd.conf
[/quote]
defaults
{
# enabled =
# disabled =
log_type = SYSLOG daemon info
log_on_failure = HOST
log_on_success = PID HOST DURATION EXIT
log_on_failure = HOST USERID ATTEMPT
wait = no
per_source = UNLIMITED
# no_access =
# only_from = localhost
# max_load = 0
cps = 50 10
instances = UNLIMITED
per_source = 10
# bind =
# mdns = yes
v6only = no
# passenv =
groups = no
umask = 002
# banner =
# banner_fail =
# banner_success =
}
includedir /etc/xinetd.d
[/quote]
I try to log the problem but it isn't easy !
when i try to connect behing a router it look like that :
Connecting to XXX.XXX.XXX.XXX...k.org...
LibNcFTP 3.1.9 (March 19, 2005) compiled for linux-x86
Uname: Linux|I9300GENTOO|2.6.17-gentoo-r8|#1 SMP PREEMPT Wed Sep 13 14:40:49 CEST 2006|i686
Glibc: 2.4 (development)
Could not read reply from control connection -- timed out.
Could not read reply from control connection -- timed out.
Cannot recover from miscellaneous open error -193.
Could not open host archi : timed out while waiting for server response.
[/quote]
And this is the log with xinetd :
Quote: |
06/10/20@11:09:02: START: glftpd pid=22627 from=YYY.YYY.YYY.YYY
06/10/20@11:12:21: EXIT: glftpd status=0 pid=22627 duration=199(sec)
|
Thanks a lot and scuze me for my very bad english ! _________________ MacBookPro 17, OSX 10.6
Mon site oueb : http://www.generationdomotique.com |
|
Back to top |
|
|
chrissou Guru
Joined: 22 Mar 2004 Posts: 473
|
|
Back to top |
|
|
|
|
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
|
|