Merge branch 'restrict-respondd'
This commit is contained in:
		
						commit
						e0e96b7b28
					
				| @ -16,5 +16,17 @@ uci:section('firewall', 'rule', 'wan_respondd', | |||||||
|   } |   } | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | -- Restrict respondd queries to link-local addresses to prevent amplification attacks from outside | ||||||
|  | uci:section('firewall', 'rule', 'client_respondd', | ||||||
|  |   { | ||||||
|  |     name = 'client_respondd', | ||||||
|  |     src = 'client', | ||||||
|  |     src_ip = '!fe80::/64', | ||||||
|  |     dest_port = '1001', | ||||||
|  |     proto = 'udp', | ||||||
|  |     target = 'REJECT', | ||||||
|  |   } | ||||||
|  | ) | ||||||
|  | 
 | ||||||
| uci:save('firewall') | uci:save('firewall') | ||||||
| uci:commit('firewall') | uci:commit('firewall') | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user