tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject RemoteIpValve lacking default 172.16/12
Date Fri, 02 Nov 2012 21:38:26 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,

I was looking at the Javadoc for RemoteIpValve's internalProxies
attribute and I saw this comment:

"
172.16/12 has not been enabled by default because it is complex to
describe with regular expressions.
"

I'm not sure that is true. This regex ought to do it:

172\.(1[6-9]|2(5[0-5]|[6-9])|[3-9][0-9])\.\d+\.\d+

Any takers?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCUPVIACgkQ9CaO5/Lv0PAVhgCeLmVyvEK4vzIYLw/sNDD5q/F0
Uw4AniaMfn4VGgApnxrki/sSPw8/5daM
=d04x
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message