oss-sec mailing list archives
Re: vsftpd problem in deny_hosts
From: "Joshua J. Drake" <oss-sec () qoop org>
Date: Tue, 3 Feb 2015 10:49:08 -0600
Maybe it would be prudent to canonicalize the path and match against that instead. What are your thoughts? PS. sorry for the top post Joshua On Tue, Feb 03, 2015 at 07:29:15AM -0800, Chris Evans wrote:
The "variety of names" clause above is for situations like /home vs. /./home/ vs. /../home vs. /.././../home etc. This option is just a regex-like match against the raw FTP argument. So, I'm not sure it's possible to use deny_file=/home/*. Even if that were tweaked to deny_file=*/home/*, it would only work if the initial directory were set _outside_ /home -- if it wasn't, RETR some/relative/path would work because /home/ does not appear in the string. Perhaps the wording in the man page is not strong enough, or not detailed enough about implications, or I should just remove it? Suggestions welcome.
Attachment:
signature.asc
Description: Digital signature
Current thread:
- vsftpd problem in deny_hosts Marcus Meissner (Feb 03)
- Re: vsftpd problem in deny_hosts Solar Designer (Feb 03)
- Re: vsftpd problem in deny_hosts Marcus Meissner (Feb 03)
- Re: vsftpd problem in deny_hosts Moritz Muehlenhoff (Feb 03)
- Re: vsftpd problem in deny_hosts Chris Evans (Feb 03)
- Re: vsftpd problem in deny_hosts Joshua J. Drake (Feb 03)
- Re: vsftpd problem in deny_hosts Solar Designer (Feb 03)