projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b03e988
)
firewall: restrict tftp on abel and jenkins to local networks
author
Peter Palfrader
<peter@palfrader.org>
Fri, 11 Jul 2014 19:22:16 +0000
(21:22 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 11 Jul 2014 19:24:45 +0000
(21:24 +0200)
modules/ferm/manifests/per-host.pp
patch
|
blob
|
history
diff --git
a/modules/ferm/manifests/per-host.pp
b/modules/ferm/manifests/per-host.pp
index
6371599
..
2260c9c
100644
(file)
--- a/
modules/ferm/manifests/per-host.pp
+++ b/
modules/ferm/manifests/per-host.pp
@@
-455,10
+455,16
@@
REJECT reject-with icmp-admin-prohibited
}
# tftp
case $::hostname {
- abel
,jenkins
: {
+ abel: {
@ferm::rule { 'dsa-tftp':
description => 'Allow tftp access',
- rule => '&SERVICE(udp, 69)'
+ rule => '&SERVICE_RANGE(udp, 69, ( 172.28.17.0/24 ))'
+ }
+ }
+ jenkins: {
+ @ferm::rule { 'dsa-tftp':
+ description => 'Allow tftp access',
+ rule => '&SERVICE_RANGE(udp, 69, ( 192.168.2.0/24 206.12.19.0/24 ))'
}
}
master: {