[ https://issues.apache.org/jira/browse/FTPSERVER-349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841631#action_12841631 ]
DevNull43 commented on FTPSERVER-349: ------------------------------------- I just found a problem with current implementation. I made a copy from BlackListFilter to WhiteListFilter, however when NioListener starts the filter even if not set: // add and update the whitelist filter acceptor.getFilterChain().addLast("allowIpFilter", new WhitelistFilter()); updateWhitelistFilter(); It does the same for BlackListFilter, however for BlackList setting an empty array means allow ALL. However for WhiteList setting a empty array means BLOCK all. I thought adding subnet 0.0.0.0/0 will allow all host, but is not working. The only solution would be not to start WhiteListFilter based on some boolean. Any hints? > WhiteList > --------- > > Key: FTPSERVER-349 > URL: https://issues.apache.org/jira/browse/FTPSERVER-349 > Project: FtpServer > Issue Type: Improvement > Components: Server > Affects Versions: 1.0.3 > Reporter: DevNull43 > Priority: Trivial > Fix For: 1.1.0 > > Attachments: WhiteList.txt > > > WhiteList filer > Restricting access to FTP based on a WhiteList > BlackList -> Allow all, Deny some. > WhiteList -> Deny all, Allow some. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.