mina-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijun Sheng" <zhijunsh...@hotmail.com>
Subject A question about using BlacklistFilter
Date Sun, 31 May 2009 19:29:55 GMT
Hi, Mina Community,


I've been using class BlacklistFilter for a while in this way:


-          Start my mina server

-          Read from DB those saved bad IPs

-          Create an instance of BlacklistFilter and add to it the bad IPs

-          Call DefaultIoFilterChainBuilder.addLast() to add the above

-          Server continue running .

-          When detecting incoming bad requests from bad IPs, server saves
them to DB for use in next time restarting server


I am not sure is the above the recommended/correct way to use
BlacklistFilter.  I hope whenever bad IPs is detected, the filter can be
updated and take effect immediately, instead of waiting for next time
restarting server.  Is it possible?  If yes how?


Thanks a lot in advance!





  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message