]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/ferm/files/defs.conf
cleanup a bit
[dsa-puppet.git] / modules / ferm / files / defs.conf
1 ##
2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 ##
5
6 @def &SERVICE($proto, $port) = {
7  proto $proto mod state state (NEW) dport $port ACCEPT;
8 }
9
10 @def &SERVICE_RANGE($proto, $port, $srange) = {
11  proto $proto mod state state (NEW) dport $port saddr ($srange) ACCEPT;
12 }
13
14 @def &TCP_UDP_SERVICE($port) = {
15  proto (tcp udp) mod state state (NEW) dport $port ACCEPT;
16 }
17
18 @def $HOST_MUNIN  = (192.25.206.33);
19 @def $HOST_NAGIOS = (206.12.19.118);
20
21 @def $sgran   = (91.103.132.24/29);
22 @def $weasel  = ();
23 @def $zobel   = ();
24 @def $luca    = ();
25 @def $DSA_IPS = ($sgran $weasel $zobel $luca);
26
27 @def $sgran6     = (2001:4b10:100b::/48);
28 @def $weasel6    = (2001:858:10f:20:217:a4ff:fe44:73a8);
29 @def $zobel6     = ();
30 @def $luca6      = ();
31 @def $DSA_V6_IPS = ($sgran6 $weasel6 $zobel6 $luca6);