| 
				
			 | 
			
			
				@@ -178,6 +178,19 @@ function configure_internet_protocol { 
			 | 
		
	
		
			
			| 
				178
			 | 
			
				178
			 | 
			
			
				         sed -i "s|#net.ipv4.conf.default.accept_source_route.*|net.ipv4.conf.default.accept_source_route = 0|g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				179
			 | 
			
				179
			 | 
			
			
				         sed -i "s|net.ipv4.conf.default.accept_source_route.*|net.ipv4.conf.default.accept_source_route = 0|g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				180
			 | 
			
				180
			 | 
			
			
				     fi 
			 | 
		
	
		
			
			| 
				
			 | 
			
				181
			 | 
			
			
				+    if ! grep -q "net.ipv4.conf.default.secure_redirects" /etc/sysctl.conf; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				182
			 | 
			
			
				+        echo "net.ipv4.conf.default.secure_redirects = 0" >> /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				183
			 | 
			
			
				+    else 
			 | 
		
	
		
			
			| 
				
			 | 
			
				184
			 | 
			
			
				+        sed -i "s|#net.ipv4.conf.default.secure_redirects.*|net.ipv4.conf.default.secure_redirects = 0|g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				185
			 | 
			
			
				+        sed -i "s|net.ipv4.conf.default.secure_redirects.*|net.ipv4.conf.default.secure_redirects = 0|g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				186
			 | 
			
			
				+    fi 
			 | 
		
	
		
			
			| 
				
			 | 
			
				187
			 | 
			
			
				+    net.ipv4.conf.default.accept_redirects = 0 
			 | 
		
	
		
			
			| 
				
			 | 
			
				188
			 | 
			
			
				+    if ! grep -q "net.ipv4.conf.default.accept_redirects" /etc/sysctl.conf; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				189
			 | 
			
			
				+        echo "net.ipv4.conf.default.accept_redirects = 0" >> /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				190
			 | 
			
			
				+    else 
			 | 
		
	
		
			
			| 
				
			 | 
			
				191
			 | 
			
			
				+        sed -i "s|#net.ipv4.conf.default.accept_redirects.*|net.ipv4.conf.default.accept_redirects = 0|g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				192
			 | 
			
			
				+        sed -i "s|net.ipv4.conf.default.accept_redirects.*|net.ipv4.conf.default.accept_redirects = 0|g" /etc/sysctl.conf 
			 | 
		
	
		
			
			| 
				
			 | 
			
				193
			 | 
			
			
				+    fi 
			 | 
		
	
		
			
			| 
				181
			 | 
			
				194
			 | 
			
			
				     mark_completed $FUNCNAME 
			 | 
		
	
		
			
			| 
				182
			 | 
			
				195
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				183
			 | 
			
				196
			 | 
			
			
				  
			 |