qubes_netwatcher: expand a note about NETCFG untrusted origin
This commit is contained in:
		
							parent
							
								
									5923741c83
								
							
						
					
					
						commit
						748369c8ad
					
				| @ -15,6 +15,8 @@ while true; do | ||||
| 	if [[ -n "$NET_DOMID" ]] && [[ $NET_DOMID -gt 0 ]]; then | ||||
| 		UNTRUSTED_NETCFG=$(/usr/bin/xenstore-read /local/domain/$NET_DOMID/qubes_netvm_external_ip) | ||||
| 		# UNTRUSTED_NETCFG is not parsed in any way | ||||
| 		# thus, no sanitization ready | ||||
| 		# but be careful when passing it to other shell scripts | ||||
| 		if [[ "$UNTRUSTED_NETCFG" != "$CURR_NETCFG" ]]; then | ||||
| 			/sbin/service qubes_firewall stop | ||||
| 			/sbin/service qubes_firewall start | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Rafal Wojtczuk
						Rafal Wojtczuk