tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51953] Proposal: netmask filtering valve and filter
Date Tue, 04 Oct 2011 20:52:36 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51953

--- Comment #5 from Christopher Schultz <chris@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message