https://issues.apache.org/bugzilla/show_bug.cgi?id=51953

--- Comment #5 from Christopher Schultz <ch...@christopherschultz.net> 
2011-10-04 20:52:36 UTC ---
I might make this filter/valve a bit more generic: there's no reason to go
through all the trouble of doing an InetAddress lookup, creating a BigInteger,
shifting it, and then comparing it if there is no CIDR spec in the IP specified
by the configuration.

You could create a fairly generic IP-matching interface and then two
implementations: one simple string-equals one and a more complicated
netmask-matching one.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to