Currently, you would need to add each of the xxx.xxx.001.*, xxx.xxx.002.*, 
etc subnets to the allowed-hosts file.  The reason DH doesn't currently 
allow you to do massive wildcards is because it pre-allocates all of the 
ip addresses in the range in memory-- which for A & B subnets can be 
expensive.  This speeds up comparisons when a failed login is detected. 
Otherwise, each time a failed login is detected DH would have to compare 
it against all possible wildcarded addresses which would be more expensive 
over time.

I believe I have a script lying around that can generate all of the 
entries for you.  Let me know if you want it.


Regards,

Phil

On Wed, 25 Oct 2006, Matthew Dickinson wrote:

> Hi,
>
> I'm in the position that I need to wildcard a class B subnet - xxx.xxx.* -
> however, the docs say that the wildcard works for a class C - do I really
> need to least each of the subnets seperately in the allowed hosts, or is
> there another work around?
>
> Thanks,
>
> Matthew
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Denyhosts-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/denyhosts-user
>

-- 
Regards,

Phil Schwartz 
- http://www.phil-schwartz.com

Open Source Projects:
- DenyHosts: http://www.denyhosts.net
- Kodos: http://kodos.sourceforge.net
- ReleaseForge: http://releaseforge.sourceforge.net
- Scratchy: http://scratchy.sourceforge.net
- FAQtor: http://faqtor.sourceforge.net

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to