Hello, I have my CIDR matching valve/filter ready (still struggling to write unit tests, but it works in real-world situations), and there is something I find quite unoptimized: you have getRemoteHost() and getRemoteAddr() to get the remote host name and IP addresses as strings, but why can't you get hold of the InetAddress object directly?
It would be much faster to do so... In my valve and filter, I have to .getRemoteAddr() and create an InetAddress object out of the string... -- Francis Galiegue, fgalie...@gmail.com "It seems obvious [...] that at least some 'business intelligence' tools invest so much intelligence on the business side that they have nothing left for generating SQL queries" (Stéphane Faroult, in "The Art of SQL", ISBN 0-596-00894-5) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org