Patch that replaces all allow directives with cidr_allow in the config and documentation.
Bastian -- Without followers, evil cannot spread. -- Spock, "And The Children Shall Lead", stardate 5029.5
--- a/node/munin-node.conf.in +++ b/node/munin-node.conf.in @@ -27,12 +27,9 @@ # #host_name @@HOSTNAME@@ -# A list of addresses that are allowed to connect. This must be a -# regular expression, due to brain damage in Net::Server, which -# doesn't understand CIDR-style network notation. You may repeat -# the allow line as many times as you'd like +# A list of addresses or networks that are allowed to connect. -allow ^127\.0\.0\.1$ +cidr_allow 127.0.0.1/32 # Which address to bind to; host * --- a/node/munin-node.conf.pod +++ b/node/munin-node.conf.pod @@ -18,14 +18,12 @@ =over 5 -=item B<< allow RE >> +=item B<< cidr_allow CIDR >> IP based access list is implemented through this. The statement may be -repeated many times. It's important to note that it's actually a -regular expression after the keyword so to allow localhost it must be -written like this: +repeated many times. - allow ^127\.0\.0\.1$ + cidr_allow 127.0.0.1/32 =item B<< host IP >> @@ -82,7 +80,7 @@ ignore_file \.rpm(save|new)$ ignore_file ^README$ - allow ^127\.0\.0\.1$ + cidr_allow 127.0.0.1/32 ignore_file \.dpkg-(old|new)$ ignore_file \.rpm(save|new)$
signature.asc
Description: Digital signature