-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 André,
On 11/1/18 09:23, André Warnier (tomcat) wrote: > On 01.11.2018 13:34, Mark Thomas wrote: >> On 01/11/2018 12:23, André Warnier (tomcat) wrote: >>> On 01.11.2018 12:35, Madhur Khurana wrote: >>>> Hi, >>>> >>>> I am using tomcat8 and would like to configure ip address >>>> with subnet in RemoteAddrValve for IP whitelisting (Example: >>>> 0.0.0.0/0). Can anyone help in how to configure subnet in >>>> allow field. >>>> >>> >>> The page at >>> http://tomcat.apache.org/tomcat-8.5-doc/config/valve.html#Remote_Add ress_Valve >>> >>> >>> looks pretty easy to understand. >> >> https://tomcat.apache.org/tomcat-8.5-doc/config/valve.html#Remote_CID R_Valve >> >> >> >> might be a better match for what the OP is looking for. > > With a slight critic of that section though : it states "This > valve mimicks Apache's Order, Allow from and Deny from > directives..". That was Apache httpd up to 2.2, which is > end-of-life since 2018/01/01. Apache httpd 2.4 (the current > version) has changed that syntax (and the underlying logic) quite a > bit, and Order, Allow/Deny are now deprecated and replaced by > Require [not] IP (with a wide variety of expressions for IP) See > https://httpd.apache.org/docs/2.4/mod/mod_authz_host.html > > Iow, the reference to "Apache" might best be removed, lest it > confuses more than enlightens the casual reader. Perhaps. Why not just patch it, then? ;) - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvbA50ACgkQHPApP6U8 pFh4OBAAwgK7C7wprX6ylW98GKnOY1QwWcW6si9EIYTRgNjTvzPIHXJY78R7ZmZW VcPC5TeoeWoEeE/Ekz3GRRkAaiJAL2pmU+4qVFIErNjN5CfQheGgPFt9agDFxT8t I0g3hSYCNdcrd9B6Gb2mQpmk6I7CXwyGKaRtwhghGB+iGBaFOkRpKvboZCUKGF2j AMnvwTEaRU5w5Q1lP/pDoaun/yYXo8eE9N5kKBVQW41UHdg40hhE4XEvq2mdsMw0 exM2Yt3Dx3MtfSUVl0u/kxTxZ5dXTBTAhXhY7oIqPSFmpr+UFEOJSyUr1bU541uv Ui7+xoBu8/mEjMQztEIkE/0sWM/Txj7tnfGkm8PDAcMxMATfwFyZG15/ps4Jsec3 6TbFeW8HLLRU73hr6NrqxTeXL0Fw8mClY07FUKskeRtVRy/8dFAv1q2E7KBF0QGs OauRf3bVsdKhxWhb+RHSa5kG0DmOICy7emjcnKFzpwJ6KRYZctY62iC6uD593nW8 Vpj3fM0XMXeeRGbflxvE2TN63KX7ZQ0PkNfi+E5mTrMpHATdXypmycglVam+J8IK +TAeEgYD+FxpeGbAp+Iz2EUlfb7Je41Tx/1+QzBHAhVgr3jzu9xSPwkEEJSRI9r1 mlOUCLwkCwn0BY2s4Tp9NWXeBWhEA/vf3H+OAJHusURinDewz0A= =KpvG -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org