Re: allow domains *and* ip range

2013-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Miklos, On 5/28/13 7:19 PM, Miklos Espak wrote: Note that the allow and deny attributes are regular expressions, so you can get as creative as possible. There was a request a while back for a filter/valve that would operate on CIDR ranges... I

allow domains *and* ip range

2013-05-28 Thread Miklos Espak
Hi, is it possible to allow access to Tomcat for hosts in a certain domain or IP range? The RemoteHostValve and RemoteAddrValve works well until I have only one of them, but if I have a domain name filter and an IP filter together, every request is refused. Is there a way to combine these

Re: allow domains *and* ip range

2013-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Miklos, On 5/28/13 9:17 AM, Miklos Espak wrote: is it possible to allow access to Tomcat for hosts in a certain domain or IP range? The RemoteHostValve and RemoteAddrValve works well until I have only one of them, but if I have a domain name

Re: allow domains *and* ip range

2013-05-28 Thread Miklos Espak
Hi Chris, Note that the allow and deny attributes are regular expressions, so you can get as creative as possible. There was a request a while back for a filter/valve that would operate on CIDR ranges... I don't think that ever got committed. A quick BZ search didn't find anything. It must