Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50649 - /etc/xinetd.d/glftpd doesn't override only_from in /etc/xinetd.conf
Summary: /etc/xinetd.d/glftpd doesn't override only_from in /etc/xinetd.conf
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-10 10:38 UTC by Bob Fury
Modified: 2004-05-10 16:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Fury 2004-05-10 10:38:13 UTC
When configuring glftpd after emerging it, I removed only_from in /etc/xinetd.d/glftpd to allow network access to it.  I wasn't able to login remotely though, only locally, and grep glftpd /var/log/messages would show things such as gentoo xinetd[7004]: FAIL: glftpd address from=192.168.1.*.  Only after removing only_from = localhost from default in /etc/xinetd.conf was I able to remotely login to glftpd.

Reproducible: Always
Steps to Reproduce:
1.emerge glftpd
2.nano -w /etc/xinetd.d/glftpd and remove only_from = 0.0.0.0
3./etc/init.d/xinetd restart
4.log in locally to glftpd and add a user account, ips, etc.
5.Try logging in remotly with that new user account

Actual Results:  
glftpd acknowledges the connection but then drops the user immediately

Expected Results:  
It should've let the user log in to the ftp
Comment 1 Sven Wegener gentoo-dev 2004-05-10 12:21:26 UTC
> 2.nano -w /etc/xinetd.d/glftpd and remove only_from = 0.0.0.0

"only_from = 0.0.0.0" in /etc/xinetd.d/glftpd means "allow connect from
everywhere". if you delete this line, the default from /etc/xinetd.conf will
be used. and there only_from defaults to localhost. that's why you can't
login remotely when deleteing that line in /etc/xinetd.d/glftpd.
Comment 2 SpanKY gentoo-dev 2004-05-10 15:43:23 UTC
yep, sven explained it
Comment 3 Bob Fury 2004-05-10 16:01:18 UTC
Ahhh, OK, thanks for clarifying that for me.