Don't log SLURM connection attempts from ssfhead
This commit is contained in:
		
							parent
							
								
									33c1da6c40
								
							
						
					
					
						commit
						4e333dca21
					
				| @ -23,7 +23,7 @@ | |||||||
|       allowedTCPPorts = [ 22 ]; |       allowedTCPPorts = [ 22 ]; | ||||||
|       extraCommands = '' |       extraCommands = '' | ||||||
|         # Prevent ssfhead from contacting our slurmd daemon |         # Prevent ssfhead from contacting our slurmd daemon | ||||||
|         iptables -A nixos-fw -p tcp -s ssfhead --dport 6817:6819 -j nixos-fw-log-refuse |         iptables -A nixos-fw -p tcp -s ssfhead --dport 6817:6819 -j nixos-fw-refuse | ||||||
|         # But accept traffic to slurm ports from any other node in the subnet |         # But accept traffic to slurm ports from any other node in the subnet | ||||||
|         iptables -A nixos-fw -p tcp -s 10.0.40.0/24 --dport 6817:6819 -j nixos-fw-accept |         iptables -A nixos-fw -p tcp -s 10.0.40.0/24 --dport 6817:6819 -j nixos-fw-accept | ||||||
|         # We also need to open the srun port range |         # We also need to open the srun port range | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user