Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Glftpd Xinetd and router cause problem
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
chrissou
Guru
Guru


Joined: 22 Mar 2004
Posts: 473

PostPosted: Fri Oct 20, 2006 9:03 am    Post subject: Glftpd Xinetd and router cause problem Reply with quote

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
View user's profile Send private message
chrissou
Guru
Guru


Joined: 22 Mar 2004
Posts: 473

PostPosted: Sun Oct 22, 2006 11:41 am    Post subject: Reply with quote

up ;)
_________________
MacBookPro 17, OSX 10.6

Mon site oueb : http://www.generationdomotique.com
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