New NTP DDoS target hack
This commit is contained in:
		
							parent
							
								
									5389735855
								
							
						
					
					
						commit
						2abb2bfdd3
					
				| @ -91,6 +91,11 @@ function iptables_rules_flush { | |||||||
| 	for i in `cat $TABLE_NAMES`; do | 	for i in `cat $TABLE_NAMES`; do | ||||||
| 		$VER_IPTABLES -F -t $i &>/dev/null | 		$VER_IPTABLES -F -t $i &>/dev/null | ||||||
| 	done | 	done | ||||||
|  | 	$VER_IPTABLES -X | ||||||
|  | 	$VER_IPTABLES -t nat -F | ||||||
|  | 	$VER_IPTABLES -t nat -X | ||||||
|  | 	$VER_IPTABLES -t mangle -F | ||||||
|  | 	$VER_IPTABLES -t mangle -X | ||||||
| 	#if [ $NAT ] && [ $IP_VERSION == "ipv4" ]; then | 	#if [ $NAT ] && [ $IP_VERSION == "ipv4" ]; then | ||||||
| 	#	$VER_IPTABLES -F -t nat &>/dev/null | 	#	$VER_IPTABLES -F -t nat &>/dev/null | ||||||
| 	#fi | 	#fi | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user