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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 14 Sep 2010, Ricky Zhou 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
>

+1 from me

	-Mike
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure


[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux