tsts
This commit is contained in:
		
							parent
							
								
									70384a4cf2
								
							
						
					
					
						commit
						0aaa178f20
					
				@ -5,17 +5,17 @@
 | 
			
		||||
class profile::firewall::finish {
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  ['INPUT','OUTPUT'].each | $chain | {
 | 
			
		||||
 | 
			
		||||
    # Drop the known noise from hitting the log
 | 
			
		||||
    ['255.255.255.255',ip_address(ip_broadcast("${::network}/${::netmask}"))].each | $dest | {
 | 
			
		||||
      firewall { "990 Broadcasts for $dest for ${chain}":
 | 
			
		||||
        destination  => $dest,
 | 
			
		||||
        proto  => 'all',
 | 
			
		||||
        action => 'drop',
 | 
			
		||||
        chain  => $chain,
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  # ['INPUT','OUTPUT'].each | $chain | {
 | 
			
		||||
  #
 | 
			
		||||
  #   # Drop the known noise from hitting the log
 | 
			
		||||
  #   ['255.255.255.255',ip_address(ip_broadcast("${::network}/${::netmask}"))].each | $dest | {
 | 
			
		||||
  #     firewall { "990 Broadcasts for $dest for ${chain}":
 | 
			
		||||
  #       destination  => $dest,
 | 
			
		||||
  #       proto  => 'all',
 | 
			
		||||
  #       action => 'drop',
 | 
			
		||||
  #       chain  => $chain,
 | 
			
		||||
  #     }
 | 
			
		||||
  #   } 
 | 
			
		||||
 | 
			
		||||
    # Log whatever hasn't been dealt with already
 | 
			
		||||
    firewall { "998 Logging for ${chain}":
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user