| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															5810
														 | 
														
															   echo 'configure_firewall_for_voip' >> $COMPLETION_FILE 
														 | 
														
															5810
														 | 
														
															   echo 'configure_firewall_for_voip' >> $COMPLETION_FILE 
														 | 
													
												
													
														| 
															5811
														 | 
														
															 } 
														 | 
														
															5811
														 | 
														
															 } 
														 | 
													
												
													
														| 
															5812
														 | 
														
															  
														 | 
														
															5812
														 | 
														
															  
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5813
														 | 
														
															+function configure_firewall_for_avahi { 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5814
														 | 
														
															+  if grep -Fxq "configure_firewall_for_avahi" $COMPLETION_FILE; then 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5815
														 | 
														
															+      return 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5816
														 | 
														
															+  fi 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5817
														 | 
														
															+  if [[ $ENABLE_CJDNS != "yes" && $ENABLE_BATMAN != "yes" && $ENABLE_BABEL != "yes" ]]; then 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5818
														 | 
														
															+      return 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5819
														 | 
														
															+  fi 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5820
														 | 
														
															+  iptables -A INPUT -p tcp -m state -m tcp --dport 548 --state NEW -j ACCEPT 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5821
														 | 
														
															+  iptables -A INPUT -p tcp -m state -m udp --dport 548 --state NEW -j ACCEPT 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5822
														 | 
														
															+  iptables -A INPUT -p tcp -m state -m tcp --dport 5353 --state NEW -j ACCEPT 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5823
														 | 
														
															+  iptables -A INPUT -p tcp -m state -m udp --dport 5353 --state NEW -j ACCEPT 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5824
														 | 
														
															+  iptables -A INPUT -p tcp -m state -m tcp --dport 5354 --state NEW -j ACCEPT 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5825
														 | 
														
															+  iptables -A INPUT -p tcp -m state -m udp --dport 5354 --state NEW -j ACCEPT 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5826
														 | 
														
															+  save_firewall_settings 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5827
														 | 
														
															+  echo 'configure_firewall_for_avahi' >> $COMPLETION_FILE 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5828
														 | 
														
															+} 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5829
														 | 
														
															+ 
														 | 
													
												
													
														| 
															5813
														 | 
														
															 function configure_firewall_for_cjdns { 
														 | 
														
															5830
														 | 
														
															 function configure_firewall_for_cjdns { 
														 | 
													
												
													
														| 
															5814
														 | 
														
															   if grep -Fxq "configure_firewall_for_cjdns" $COMPLETION_FILE; then 
														 | 
														
															5831
														 | 
														
															   if grep -Fxq "configure_firewall_for_cjdns" $COMPLETION_FILE; then 
														 | 
													
												
													
														| 
															5815
														 | 
														
															       return 
														 | 
														
															5832
														 | 
														
															       return 
														 | 
													
												
											
												
													
														| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															5832
														 | 
														
															   fi 
														 | 
														
															5849
														 | 
														
															   fi 
														 | 
													
												
													
														| 
															5833
														 | 
														
															   # DHCP 
														 | 
														
															5850
														 | 
														
															   # DHCP 
														 | 
													
												
													
														| 
															5834
														 | 
														
															   iptables -A INPUT -i eth0 -p udp --dport 547 -j ACCEPT 
														 | 
														
															5851
														 | 
														
															   iptables -A INPUT -i eth0 -p udp --dport 547 -j ACCEPT 
														 | 
													
												
													
														| 
															5835
														 | 
														
															-  iptables -A INPUT -i $WIFI_INTERFACE -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															5836
														 | 
														
															-  ip6tables -A INPUT -i $WIFI_INTERFACE -p udp --dport 5353 -j ACCEPT 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															5837
														 | 
														
															  
														 | 
														
															5852
														 | 
														
															  
														 | 
													
												
													
														| 
															5838
														 | 
														
															   save_firewall_settings 
														 | 
														
															5853
														 | 
														
															   save_firewall_settings 
														 | 
													
												
													
														| 
															5839
														 | 
														
															   echo 'configure_firewall_for_batman' >> $COMPLETION_FILE 
														 | 
														
															5854
														 | 
														
															   echo 'configure_firewall_for_batman' >> $COMPLETION_FILE 
														 | 
													
												
											
												
													
														| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															5847
														 | 
														
															       return 
														 | 
														
															5862
														 | 
														
															       return 
														 | 
													
												
													
														| 
															5848
														 | 
														
															   fi 
														 | 
														
															5863
														 | 
														
															   fi 
														 | 
													
												
													
														| 
															5849
														 | 
														
															   iptables -A INPUT -i $WIFI_INTERFACE -p udp --dport $BABEL_PORT -j ACCEPT 
														 | 
														
															5864
														 | 
														
															   iptables -A INPUT -i $WIFI_INTERFACE -p udp --dport $BABEL_PORT -j ACCEPT 
														 | 
													
												
													
														| 
															5850
														 | 
														
															-  iptables -A INPUT -i $WIFI_INTERFACE -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															5851
														 | 
														
															   save_firewall_settings 
														 | 
														
															5865
														 | 
														
															   save_firewall_settings 
														 | 
													
												
													
														| 
															5852
														 | 
														
															   echo 'configure_firewall_for_babel' >> $COMPLETION_FILE 
														 | 
														
															5866
														 | 
														
															   echo 'configure_firewall_for_babel' >> $COMPLETION_FILE 
														 | 
													
												
													
														| 
															5853
														 | 
														
															 } 
														 | 
														
															5867
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															10126
														 | 
														
															 configure_firewall_for_ftp 
														 | 
														
															10140
														 | 
														
															 configure_firewall_for_ftp 
														 | 
													
												
													
														| 
															10127
														 | 
														
															 configure_firewall_for_web_access 
														 | 
														
															10141
														 | 
														
															 configure_firewall_for_web_access 
														 | 
													
												
													
														| 
															10128
														 | 
														
															 configure_firewall_for_voip 
														 | 
														
															10142
														 | 
														
															 configure_firewall_for_voip 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															10143
														 | 
														
															+configure_firewall_for_avahi 
														 | 
													
												
													
														| 
															10129
														 | 
														
															 remove_proprietary_repos 
														 | 
														
															10144
														 | 
														
															 remove_proprietary_repos 
														 | 
													
												
													
														| 
															10130
														 | 
														
															 change_debian_repos 
														 | 
														
															10145
														 | 
														
															 change_debian_repos 
														 | 
													
												
													
														| 
															10131
														 | 
														
															 enable_backports 
														 | 
														
															10146
														 | 
														
															 enable_backports 
														 |