FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Infrastructure

 
 
LinkBack Thread Tools
 
Old 09-14-2010, 08:14 PM
Ricky Zhou
 
Default Fix noc02 IP in global iptables/nrpe templates.

---
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,1 92.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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
 
Old 09-14-2010, 08:15 PM
Mike McGrath
 
Default Fix noc02 IP in global iptables/nrpe templates.

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,1 92.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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
 
Old 09-15-2010, 06:50 PM
Toshio Kuratomi
 
Default Fix noc02 IP in global iptables/nrpe templates.

+1

-Toshio

On Tue, Sep 14, 2010 at 1:14 PM, Ricky Zhou <ricky@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,1 92.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@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/infrastructure
>
_______________________________________________
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
 

Thread Tools




All times are GMT. The time now is 07:53 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org