[PATCH] Fix noc02 IP in global iptables/nrpe templates.

Toshio Kuratomi a.badger at gmail.com
Wed Sep 15 18:50:33 UTC 2010


+1

-Toshio

On Tue, Sep 14, 2010 at 1:14 PM, Ricky Zhou <ricky at fedoraproject.org> wrote:
> ---
>  configs/system/nrpe.cfg                 |    2 +-
>  modules/iptables/templates/iptables.erb |    1 -
>  2 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/configs/system/nrpe.cfg b/configs/system/nrpe.cfg
> index 04f2e4a..ae69684 100644
> --- a/configs/system/nrpe.cfg
> +++ b/configs/system/nrpe.cfg
> @@ -70,7 +70,7 @@ nrpe_group=nrpe
>  # NOTE: This option is ignored if NRPE is running under either inetd or xinetd
>
>  #allowed_hosts=127.0.0.1,192.168.0.2
> -allowed_hosts=10.5.126.41,127.0.0.1,192.168.1.10,192.168.1.20,209.132.182.50,192.168.1.75
> +allowed_hosts=10.5.126.41,127.0.0.1,192.168.1.10,192.168.1.20,209.132.182.50,192.168.1.20
>
>
>
> diff --git a/modules/iptables/templates/iptables.erb b/modules/iptables/templates/iptables.erb
> index b38615a..74319ae 100644
> --- a/modules/iptables/templates/iptables.erb
> +++ b/modules/iptables/templates/iptables.erb
> @@ -137,7 +137,6 @@ COMMIT
>  -A INPUT -p tcp -m tcp -s 10.5.126.41 --dport 5666 -j ACCEPT
>  -A INPUT -p tcp -m tcp -s 192.168.1.10 --dport 5666 -j ACCEPT
>  -A INPUT -p tcp -m tcp -s 192.168.1.20 --dport 5666 -j ACCEPT
> --A INPUT -p tcp -m tcp -s 192.168.1.75 --dport 5666 -j ACCEPT
>  -A INPUT -p tcp -m tcp -s 209.132.182.50 --dport 5666 -j ACCEPT
>
>  # SNMP allows from our monitoring systems
> --
> 1.5.5.6
>
>
> _______________________________________________
> infrastructure mailing list
> infrastructure at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/infrastructure
>


More information about the infrastructure mailing list