+ LEFTSHIFT=<<
+ g_debug_iptables=
+ [ 1 -gt 1 ]
+ [ -z  ]
+ [ -n  ]
+ g_purge=
+ g_noroutes=
+ g_timestamp=
+ g_recovering=
+ initialize
+ umask 077
+ g_family=4
+ g_confdir=/etc/shorewall
+ g_product=Shorewall
+ g_program=shorewall
+ g_basedir=/usr/share/shorewall
+ CONFIG_PATH=/etc/shorewall:/usr/share/shorewall
+ [ -f /etc/shorewall/vardir ]
+ [ -n /var/lib/shorewall ]
+ [ -n /var/lib ]
+ TEMPFILE=
+ DISABLE_IPV6=Yes
+ MODULESDIR=
+ MODULE_SUFFIX=ko
+ LOAD_HELPERS_ONLY=Yes
+ SUBSYSLOCK=
+ LOG_VERBOSITY=2
+ [ -n restart ]
+ [ -n 0 ]
+ [ -n restore ]
+ SHOREWALL_VERSION=4.5.21.6
+ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin
+ TERMINATOR=fatal_error
+ DONT_LOAD=
+ STARTUP_LOG=/var/log/shorewall-init.log
+ [ -z  ]
+ mywhich iptables
+ local dir
+ split /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin
+ local ifs
+ ifs=

+ IFS=:
+ echo /sbin /bin /usr/sbin /usr/bin /usr/local/bin /usr/local/sbin
+ IFS=

+ [ -x /sbin/iptables ]
+ echo /sbin/iptables
+ return 0
+ IPTABLES=/sbin/iptables
+ [ -n /sbin/iptables -a -x /sbin/iptables ]
+ IP6TABLES=/sbin/ip6tables
+ IPTABLES_RESTORE=/sbin/iptables-restore
+ [ -x /sbin/iptables-restore ]
+ g_tool=/sbin/iptables
+ IP=ip
+ TC=tc
+ IPSET=ipset
+ DMZ_IF=eth1
+ ECL_IF=eth2
+ ETH3_IP=82.9.127.74
+ LOC_IF=eth0
+ VIR_IF=eth3
+ g_stopping=
+ [ -d /var/lib/shorewall ]
+ [ -n /var/log/shorewall-init.log ]
+ touch /var/log/shorewall-init.log
+ chmod 0600 /var/log/shorewall-init.log
+ [ 0 -eq 1 ]
+ finished=0
+ [ 0 -eq 0 -a 1 -gt 0 ]
+ option=restart
+ finished=1
+ [ 1 -eq 0 -a 1 -gt 0 ]
+ COMMAND=restart
+ [ 1 -ne 1 ]
+ product_is_started
+ qt1 /sbin/iptables -L shorewall -n
+ local status
+ [ 1 ]
+ /sbin/iptables -L shorewall -n
+ status=0
+ [ 0 -ne 4 ]
+ return 0
+ progress_message3 Restarting Shorewall....
+ local timestamp
+ timestamp=
+ [ 0 -ge 0 ]
+ [ -n  ]
+ echo Restarting Shorewall....
Restarting Shorewall....
+ [ 2 -ge 0 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:52
+ echo Dec  4 16:58:52 Restarting Shorewall....
+ checkkernelversion
+ return 0
+ detect_configuration
+ find_first_interface_address_if_any eth3
+ [ 4 -eq 4 ]
+ ip -f inet addr show eth3
+ grep inet .* global
+ head -n1
+ addr=    inet 82.9.127.74/22 brd 255.255.255.255 scope global eth3
+ [ -n     inet 82.9.127.74/22 brd 255.255.255.255 scope global eth3 ]
+ echo inet 82.9.127.74/22 brd 255.255.255.255 scope global eth3
+ sed s/\s*inet //;s/\/.*//;s/ peer.*//
+ SW_ETH3_ADDRESS=82.9.127.74
+ [ -n  ]
+ detect_dynamic_gateway eth3
+ local interface
+ interface=eth3
+ local GATEWAYS
+ GATEWAYS=
+ local gateway
+ run_findgw_exit eth3
+ true
+ gateway=
+ [ -z  ]
+ ip addr list eth3
+ find_peer 5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UP group default qlen 1000 link/ether 00:30:18:a1:22:bd brd
ff:ff:ff:ff:ff:ff inet 82.9.127.74/22 brd 255.255.255.255 scope global eth3
valid_lft forever preferred_lft forever
+ [ 28 -gt 1 ]
+ [ x5: = xpeer ]
+ shift
+ [ 27 -gt 1 ]
+ [ xeth3: = xpeer ]
+ shift
+ [ 26 -gt 1 ]
+ [ x<BROADCAST,MULTICAST,UP,LOWER_UP> = xpeer ]
+ shift
+ [ 25 -gt 1 ]
+ [ xmtu = xpeer ]
+ shift
+ [ 24 -gt 1 ]
+ [ x1500 = xpeer ]
+ shift
+ [ 23 -gt 1 ]
+ [ xqdisc = xpeer ]
+ shift
+ [ 22 -gt 1 ]
+ [ xpfifo_fast = xpeer ]
+ shift
+ [ 21 -gt 1 ]
+ [ xstate = xpeer ]
+ shift
+ [ 20 -gt 1 ]
+ [ xUP = xpeer ]
+ shift
+ [ 19 -gt 1 ]
+ [ xgroup = xpeer ]
+ shift
+ [ 18 -gt 1 ]
+ [ xdefault = xpeer ]
+ shift
+ [ 17 -gt 1 ]
+ [ xqlen = xpeer ]
+ shift
+ [ 16 -gt 1 ]
+ [ x1000 = xpeer ]
+ shift
+ [ 15 -gt 1 ]
+ [ xlink/ether = xpeer ]
+ shift
+ [ 14 -gt 1 ]
+ [ x00:30:18:a1:22:bd = xpeer ]
+ shift
+ [ 13 -gt 1 ]
+ [ xbrd = xpeer ]
+ shift
+ [ 12 -gt 1 ]
+ [ xff:ff:ff:ff:ff:ff = xpeer ]
+ shift
+ [ 11 -gt 1 ]
+ [ xinet = xpeer ]
+ shift
+ [ 10 -gt 1 ]
+ [ x82.9.127.74/22 = xpeer ]
+ shift
+ [ 9 -gt 1 ]
+ [ xbrd = xpeer ]
+ shift
+ [ 8 -gt 1 ]
+ [ x255.255.255.255 = xpeer ]
+ shift
+ [ 7 -gt 1 ]
+ [ xscope = xpeer ]
+ shift
+ [ 6 -gt 1 ]
+ [ xglobal = xpeer ]
+ shift
+ [ 5 -gt 1 ]
+ [ xeth3 = xpeer ]
+ shift
+ [ 4 -gt 1 ]
+ [ xvalid_lft = xpeer ]
+ shift
+ [ 3 -gt 1 ]
+ [ xforever = xpeer ]
+ shift
+ [ 2 -gt 1 ]
+ [ xpreferred_lft = xpeer ]
+ shift
+ [ 1 -gt 1 ]
+ gateway=
+ [ -z  -a -f /var/lib/dhcpcd/dhcpcd-eth3.info ]
+ [ -z  -a -f /var/lib/dhcp/dhclient-eth3.lease ]
+ [ -n  ]
+ SW_ETH3_GATEWAY=
+ SW_ETH2_IS_USABLE=
+ SW_ETH3_IS_USABLE=
+ interface_is_usable eth2
+ local status
+ status=0
+ [ eth2 != lo ]
+ interface_is_up eth2
+ ip -4 link list dev eth2
+ grep -e [<,]UP[,>]
+ [ -n 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP mode DEFAULT group default qlen 1000 ]
+ find_first_interface_address_if_any eth2
+ [ 4 -eq 4 ]
+ ip -f inet addr show eth2
+ grep inet .* global
+ head -n1
+ addr=    inet 91.85.120.2/28 brd 91.85.120.15 scope global eth2
+ [ -n     inet 91.85.120.2/28 brd 91.85.120.15 scope global eth2 ]
+ echo inet 91.85.120.2/28 brd 91.85.120.15 scope global eth2
+ sed s/\s*inet //;s/\/.*//;s/ peer.*//
+ [ 91.85.120.2 != 0.0.0.0 ]
+ [ restart = enable ]
+ run_isusable_exit eth2
+ true
+ status=0
+ return 0
+ SW_ETH2_IS_USABLE=Yes
+ interface_is_usable eth3
+ local status
+ status=0
+ [ eth3 != lo ]
+ interface_is_up eth3
+ ip -4 link list dev eth3
+ grep -e [<,]UP[,>]
+ [ -n 5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP mode DEFAULT group default qlen 1000 ]
+ find_first_interface_address_if_any eth3
+ [ 4 -eq 4 ]
+ ip -f inet addr show eth3
+ grep inet .* global
+ head -n1
+ addr=    inet 82.9.127.74/22 brd 255.255.255.255 scope global eth3
+ [ -n     inet 82.9.127.74/22 brd 255.255.255.255 scope global eth3 ]
+ echo inet 82.9.127.74/22 brd 255.255.255.255 scope global eth3
+ sed s/\s*inet //;s/\/.*//;s/ peer.*//
+ [ 82.9.127.74 != 0.0.0.0 ]
+ [ restart = enable ]
+ run_isusable_exit eth3
+ true
+ status=0
+ return 0
+ [ -n  ]
+ define_firewall
+ progress_message2 Initializing...
+ local timestamp
+ timestamp=
+ [ 0 -gt 0 ]
+ [ 2 -gt 0 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:52
+ echo Dec  4 16:58:52 Initializing...
+ echo MODULESDIR=
+ cat
+ reload_kernel_modules
+ local save_modules_dir
+ save_modules_dir=
+ local directory
+ local moduledirectories
+ moduledirectories=
+ local moduleloader
+ moduleloader=modprobe
+ local uname
+ qt mywhich modprobe
+ mywhich modprobe
+ [ -n ko ]
+ [ -z  ]
+ uname -r
+ uname=3.13.0-32-generic
+
MODULESDIR=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter:/lib/modules/3.13.0-32-generic/kernel/net/netfilter:/lib/modules/3.13.0-32-generic/kernel/net/sched:/lib/modules/3.13.0-32-generic/extra:/lib/modules/3.13.0-32-generic/extra/ipset
+ [ -d /sys/module/ ]
+ split
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter:/lib/modules/3.13.0-32-generic/kernel/net/netfilter:/lib/modules/3.13.0-32-generic/kernel/net/sched:/lib/modules/3.13.0-32-generic/extra:/lib/modules/3.13.0-32-generic/extra/ipset
+ local ifs
+ ifs=

+ IFS=:
+ echo /lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter
/lib/modules/3.13.0-32-generic/kernel/net/netfilter
//lib/modules/3.13.0-32-generic/kernel/net/sched
///lib/modules/3.13.0-32-generic/extra
////lib/modules/3.13.0-32-generic/extra/ipset
+ IFS=

+ [ -d /lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter ]
+ moduledirectories=
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter
+ [ -d /lib/modules/3.13.0-32-generic/kernel/net/netfilter ]
+ moduledirectories=
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter
//lib/modules/3.13.0-32-generic/kernel/net/netfilter
+ [ -d /lib/modules/3.13.0-32-generic/kernel/net/sched ]
+ moduledirectories=
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter
//lib/modules/3.13.0-32-generic/kernel/net/netfilter
///lib/modules/3.13.0-32-generic/kernel/net/sched
+ [ -d /lib/modules/3.13.0-32-generic/extra ]
+ [ -d /lib/modules/3.13.0-32-generic/extra/ipset ]
+ [ -n  /lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter
/lib/modules/3.13.0-32-generic/kernel/net/netfilter
//lib/modules/3.13.0-32-generic/kernel/net/sched ]
+ read command
+ eval loadmodule ip_conntrack_amanda
+ loadmodule ip_conntrack_amanda
+ local modulename
+ modulename=ip_conntrack_amanda
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search ip_conntrack_amanda
+ local e
+ e=ip_conntrack_amanda
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/ip_conntrack_amanda ]
+ shift
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_conntrack_amanda.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_conntrack_amanda.ko
/]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_conntrack_amanda.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_conntrack_amanda.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_conntrack_amanda.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_conntrack_amanda.ko ]
+ read command
+ eval loadmodule ip_conntrack_ftp
+ loadmodule ip_conntrack_ftp
+ local modulename
+ modulename=ip_conntrack_ftp
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search ip_conntrack_ftp
+ local e
+ e=ip_conntrack_ftp
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/ip_conntrack_ftp ]
+ shift
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_conntrack_ftp.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_conntrack_ftp.ko
/]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_conntrack_ftp.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_conntrack_ftp.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_conntrack_ftp.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/sched/ip_conntrack_ftp.ko ]
+ read command
+ eval loadmodule ip_conntrack_h323
+ loadmodule ip_conntrack_h323
+ local modulename
+ modulename=ip_conntrack_h323
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search ip_conntrack_h323
+ local e
+ e=ip_conntrack_h323
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/ip_conntrack_h323 ]
+ shift
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_conntrack_h323.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_conntrack_h323.ko
/]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_conntrack_h323.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_conntrack_h323.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_conntrack_h323.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/sched/ip_conntrack_h323.ko
]
+ read command
+ eval loadmodule ip_conntrack_irc
+ loadmodule ip_conntrack_irc
+ local modulename
+ modulename=ip_conntrack_irc
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search ip_conntrack_irc
+ local e
+ e=ip_conntrack_irc
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/ip_conntrack_irc ]
+ shift
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_conntrack_irc.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_conntrack_irc.ko
/]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_conntrack_irc.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_conntrack_irc.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_conntrack_irc.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/sched/ip_conntrack_irc.ko ]
+ read command
+ eval loadmodule ip_conntrack_netbios_ns
+ loadmodule ip_conntrack_netbios_ns
+ local modulename
+ modulename=ip_conntrack_netbios_ns
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search ip_conntrack_netbios_ns
+ local e
+ e=ip_conntrack_netbios_ns
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/ip_conntrack_netbios_ns ]
+ shift
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_conntrack_netbios_ns.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_conntrack_netbios_ns.ko
/]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_conntrack_netbios_ns.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_conntrack_netbios_ns.ko
/]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_conntrack_netbios_ns.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_conntrack_netbios_ns.ko ]
+ read command
+ eval loadmodule ip_conntrack_pptp
+ loadmodule ip_conntrack_pptp
+ local modulename
+ modulename=ip_conntrack_pptp
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search ip_conntrack_pptp
+ local e
+ e=ip_conntrack_pptp
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/ip_conntrack_pptp ]
+ shift
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_conntrack_pptp.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_conntrack_pptp.ko
/]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_conntrack_pptp.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_conntrack_pptp.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_conntrack_pptp.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/sched/ip_conntrack_pptp.ko
]
+ read command
+ eval loadmodule ip_conntrack_sip
+ loadmodule ip_conntrack_sip
+ local modulename
+ modulename=ip_conntrack_sip
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search ip_conntrack_sip
+ local e
+ e=ip_conntrack_sip
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/ip_conntrack_sip ]
+ shift
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_conntrack_sip.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_conntrack_sip.ko
/]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_conntrack_sip.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_conntrack_sip.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_conntrack_sip.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/sched/ip_conntrack_sip.ko ]
+ read command
+ eval loadmodule ip_conntrack_tftp
+ loadmodule ip_conntrack_tftp
+ local modulename
+ modulename=ip_conntrack_tftp
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search ip_conntrack_tftp
+ local e
+ e=ip_conntrack_tftp
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/ip_conntrack_tftp ]
+ shift
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_conntrack_tftp.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_conntrack_tftp.ko
/]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_conntrack_tftp.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_conntrack_tftp.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_conntrack_tftp.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/sched/ip_conntrack_tftp.ko
]
+ read command
+ eval loadmodule ip_nat_amanda
+ loadmodule ip_nat_amanda
+ local modulename
+ modulename=ip_nat_amanda
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search ip_nat_amanda
+ local e
+ e=ip_nat_amanda
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/ip_nat_amanda ]
+ shift
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_nat_amanda.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_nat_amanda.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_nat_amanda.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_nat_amanda.ko
]
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_nat_amanda.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/sched/ip_nat_amanda.ko ]
+ read command
+ eval loadmodule ip_nat_ftp
+ loadmodule ip_nat_ftp
+ local modulename
+ modulename=ip_nat_ftp
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search ip_nat_ftp
+ local e
+ e=ip_nat_ftp
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/ip_nat_ftp ]
+ shift
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_nat_ftp.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_nat_ftp.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_nat_ftp.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_nat_ftp.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_nat_ftp.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/sched/ip_nat_ftp.ko ]
+ read command
+ eval loadmodule ip_nat_h323
+ loadmodule ip_nat_h323
+ local modulename
+ modulename=ip_nat_h323
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search ip_nat_h323
+ local e
+ e=ip_nat_h323
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/ip_nat_h323 ]
+ shift
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_nat_h323.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_nat_h323.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_nat_h323.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_nat_h323.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_nat_h323.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/sched/ip_nat_h323.ko ]
+ read command
+ eval loadmodule ip_nat_irc
+ loadmodule ip_nat_irc
+ local modulename
+ modulename=ip_nat_irc
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search ip_nat_irc
+ local e
+ e=ip_nat_irc
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/ip_nat_irc ]
+ shift
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_nat_irc.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_nat_irc.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_nat_irc.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_nat_irc.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_nat_irc.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/sched/ip_nat_irc.ko ]
+ read command
+ eval loadmodule ip_nat_pptp
+ loadmodule ip_nat_pptp
+ local modulename
+ modulename=ip_nat_pptp
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search ip_nat_pptp
+ local e
+ e=ip_nat_pptp
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/ip_nat_pptp ]
+ shift
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_nat_pptp.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_nat_pptp.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_nat_pptp.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_nat_pptp.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_nat_pptp.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/sched/ip_nat_pptp.ko ]
+ read command
+ eval loadmodule ip_nat_sip
+ loadmodule ip_nat_sip
+ local modulename
+ modulename=ip_nat_sip
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search ip_nat_sip
+ local e
+ e=ip_nat_sip
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/ip_nat_sip ]
+ shift
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_nat_sip.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_nat_sip.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_nat_sip.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_nat_sip.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_nat_sip.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/sched/ip_nat_sip.ko ]
+ read command
+ eval loadmodule ip_nat_snmp_basic
+ loadmodule ip_nat_snmp_basic
+ local modulename
+ modulename=ip_nat_snmp_basic
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search ip_nat_snmp_basic
+ local e
+ e=ip_nat_snmp_basic
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/ip_nat_snmp_basic ]
+ shift
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_nat_snmp_basic.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_nat_snmp_basic.ko
/]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_nat_snmp_basic.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_nat_snmp_basic.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_nat_snmp_basic.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/sched/ip_nat_snmp_basic.ko
]
+ read command
+ eval loadmodule ip_nat_tftp
+ loadmodule ip_nat_tftp
+ local modulename
+ modulename=ip_nat_tftp
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search ip_nat_tftp
+ local e
+ e=ip_nat_tftp
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/ip_nat_tftp ]
+ shift
+
modulefile=/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_nat_tftp.ko
+ [ -f
/lib/modules/3.13.0-32-generic/kernel/net/ipv4/netfilter/ip_nat_tftp.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_nat_tftp.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/netfilter/ip_nat_tftp.ko ]
+ modulefile=/lib/modules/3.13.0-32-generic/kernel/net/sched/ip_nat_tftp.ko
+ [ -f /lib/modules/3.13.0-32-generic/kernel/net/sched/ip_nat_tftp.ko ]
+ read command
+ eval loadmodule nf_conntrack_ftp
+ loadmodule nf_conntrack_ftp
+ local modulename
+ modulename=nf_conntrack_ftp
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_conntrack_ftp
+ local e
+ e=nf_conntrack_ftp
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_conntrack_ftp ]
+ read command
+ eval loadmodule nf_conntrack_h323
+ loadmodule nf_conntrack_h323
+ local modulename
+ modulename=nf_conntrack_h323
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_conntrack_h323
+ local e
+ e=nf_conntrack_h323
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_conntrack_h323 ]
+ read command
+ eval loadmodule nf_conntrack_irc
+ loadmodule nf_conntrack_irc
+ local modulename
+ modulename=nf_conntrack_irc
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_conntrack_irc
+ local e
+ e=nf_conntrack_irc
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_conntrack_irc ]
+ read command
+ eval loadmodule nf_conntrack_netbios_ns
+ loadmodule nf_conntrack_netbios_ns
+ local modulename
+ modulename=nf_conntrack_netbios_ns
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_conntrack_netbios_ns
+ local e
+ e=nf_conntrack_netbios_ns
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_conntrack_netbios_ns ]
+ read command
+ eval loadmodule nf_conntrack_netlink
+ loadmodule nf_conntrack_netlink
+ local modulename
+ modulename=nf_conntrack_netlink
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_conntrack_netlink
+ local e
+ e=nf_conntrack_netlink
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_conntrack_netlink ]
+ read command
+ eval loadmodule nf_conntrack_pptp
+ loadmodule nf_conntrack_pptp
+ local modulename
+ modulename=nf_conntrack_pptp
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_conntrack_pptp
+ local e
+ e=nf_conntrack_pptp
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_conntrack_pptp ]
+ read command
+ eval loadmodule nf_conntrack_proto_gre
+ loadmodule nf_conntrack_proto_gre
+ local modulename
+ modulename=nf_conntrack_proto_gre
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_conntrack_proto_gre
+ local e
+ e=nf_conntrack_proto_gre
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_conntrack_proto_gre ]
+ read command
+ eval loadmodule nf_conntrack_proto_sctp
+ loadmodule nf_conntrack_proto_sctp
+ local modulename
+ modulename=nf_conntrack_proto_sctp
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_conntrack_proto_sctp
+ local e
+ e=nf_conntrack_proto_sctp
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_conntrack_proto_sctp ]
+ read command
+ eval loadmodule nf_conntrack_proto_udplite
+ loadmodule nf_conntrack_proto_udplite
+ local modulename
+ modulename=nf_conntrack_proto_udplite
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_conntrack_proto_udplite
+ local e
+ e=nf_conntrack_proto_udplite
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_conntrack_proto_udplite ]
+ read command
+ eval loadmodule nf_conntrack_sip sip_direct_media=0
+ loadmodule nf_conntrack_sip sip_direct_media=0
+ local modulename
+ modulename=nf_conntrack_sip
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_conntrack_sip
+ local e
+ e=nf_conntrack_sip
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_conntrack_sip ]
+ read command
+ eval loadmodule nf_conntrack_tftp
+ loadmodule nf_conntrack_tftp
+ local modulename
+ modulename=nf_conntrack_tftp
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_conntrack_tftp
+ local e
+ e=nf_conntrack_tftp
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_conntrack_tftp ]
+ read command
+ eval loadmodule nf_conntrack_sane
+ loadmodule nf_conntrack_sane
+ local modulename
+ modulename=nf_conntrack_sane
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_conntrack_sane
+ local e
+ e=nf_conntrack_sane
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_conntrack_sane ]
+ read command
+ eval loadmodule nf_nat_amanda
+ loadmodule nf_nat_amanda
+ local modulename
+ modulename=nf_nat_amanda
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_nat_amanda
+ local e
+ e=nf_nat_amanda
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_nat_amanda ]
+ read command
+ eval loadmodule nf_nat_ftp
+ loadmodule nf_nat_ftp
+ local modulename
+ modulename=nf_nat_ftp
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_nat_ftp
+ local e
+ e=nf_nat_ftp
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_nat_ftp ]
+ read command
+ eval loadmodule nf_nat_h323
+ loadmodule nf_nat_h323
+ local modulename
+ modulename=nf_nat_h323
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_nat_h323
+ local e
+ e=nf_nat_h323
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_nat_h323 ]
+ read command
+ eval loadmodule nf_nat_irc
+ loadmodule nf_nat_irc
+ local modulename
+ modulename=nf_nat_irc
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_nat_irc
+ local e
+ e=nf_nat_irc
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_nat_irc ]
+ read command
+ eval loadmodule nf_nat
+ loadmodule nf_nat
+ local modulename
+ modulename=nf_nat
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_nat
+ local e
+ e=nf_nat
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_nat ]
+ read command
+ eval loadmodule nf_nat_pptp
+ loadmodule nf_nat_pptp
+ local modulename
+ modulename=nf_nat_pptp
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_nat_pptp
+ local e
+ e=nf_nat_pptp
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_nat_pptp ]
+ read command
+ eval loadmodule nf_nat_proto_gre
+ loadmodule nf_nat_proto_gre
+ local modulename
+ modulename=nf_nat_proto_gre
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_nat_proto_gre
+ local e
+ e=nf_nat_proto_gre
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_nat_proto_gre ]
+ read command
+ eval loadmodule nf_nat_sip
+ loadmodule nf_nat_sip
+ local modulename
+ modulename=nf_nat_sip
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_nat_sip
+ local e
+ e=nf_nat_sip
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_nat_sip ]
+ read command
+ eval loadmodule nf_nat_snmp_basic
+ loadmodule nf_nat_snmp_basic
+ local modulename
+ modulename=nf_nat_snmp_basic
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_nat_snmp_basic
+ local e
+ e=nf_nat_snmp_basic
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_nat_snmp_basic ]
+ read command
+ eval loadmodule nf_nat_tftp
+ loadmodule nf_nat_tftp
+ local modulename
+ modulename=nf_nat_tftp
+ local modulefile
+ local suffix
+ [ -d /sys/module/ ]
+ list_search nf_nat_tftp
+ local e
+ e=nf_nat_tftp
+ [ 1 -gt 1 ]
+ return 1
+ [ ! -d /sys/module/nf_nat_tftp ]
+ read command
+ MODULESDIR=
+ [ restart = refresh ]
+ run_init_exit
+ true
+ [ restart = restart -o restart = refresh ]
+ chain_exists UPnP -t nat
+ qt1 /sbin/iptables -L UPnP -t nat -n
+ local status
+ [ 1 ]
+ /sbin/iptables -L UPnP -t nat -n
+ status=0
+ [ 0 -ne 4 ]
+ return 0
+ /sbin/iptables -t nat -S UPnP
+ tail -n +2
+ chain_exists forwardUPnP
+ qt1 /sbin/iptables -L forwardUPnP -n
+ local status
+ [ 1 ]
+ /sbin/iptables -L forwardUPnP -n
+ status=1
+ [ 1 -ne 4 ]
+ return 1
+ rm -f /var/lib/shorewall/.forwardUPnP
+ chain_exists dynamic
+ qt1 /sbin/iptables -L dynamic -n
+ local status
+ [ 1 ]
+ /sbin/iptables -L dynamic -n
+ status=0
+ [ 0 -ne 4 ]
+ return 0
+ /sbin/iptables -S dynamic
+ tail -n +2
+ qt1 /sbin/iptables -L shorewall -n
+ local status
+ [ 1 ]
+ /sbin/iptables -L shorewall -n
+ status=0
+ [ 0 -ne 4 ]
+ return 0
+ qt1 /sbin/iptables -F shorewall
+ local status
+ [ 1 ]
+ /sbin/iptables -F shorewall
+ status=0
+ [ 0 -ne 4 ]
+ return 0
+ qt1 /sbin/iptables -X shorewall
+ local status
+ [ 1 ]
+ /sbin/iptables -X shorewall
+ status=0
+ [ 0 -ne 4 ]
+ return 0
+ delete_proxyarp
+ [ -f /var/lib/shorewall/proxyarp ]
+ read address interface external haveroute
+ rm -f /var/lib/shorewall/proxyarp
+ [ -f /var/lib/shorewall/nat ]
+ read external interface
+ rm -f /var/lib/shorewall/nat
+ disable_ipv6
+ local foo
+ ip -f inet6 addr list
+ foo=
+ [ -n  ]
+ delete_tc1
+ run_tcclear_exit
+ true
+ run_ip link list
+ ip+ 4 link list
read inx interface details
+ clear_one_tc lo
+ tc qdisc del dev lo root
+ tc qdisc del dev lo ingress
+ read inx interface details
+ read inx interface details
+ clear_one_tc eth0
+ tc qdisc del dev eth0 root
+ tc qdisc del dev eth0 ingress
+ read inx interface details
+ read inx interface details
+ clear_one_tc eth1
+ tc qdisc del dev eth1 root
+ tc qdisc del dev eth1 ingress
+ read inx interface details
+ read inx interface details
+ clear_one_tc eth2
+ tc qdisc del dev eth2 root
+ tc qdisc del dev eth2 ingress
+ read inx interface details
+ read inx interface details
+ clear_one_tc eth3
+ tc qdisc del dev eth3 root
+ tc qdisc del dev eth3 ingress
+ read inx interface details
+ read inx interface details
+ setup_common_rules
+ progress_message2 Setting up ARP filtering...
+ local timestamp
+ timestamp=
+ [ 0 -gt 0 ]
+ [ 2 -gt 0 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:52
+ echo Dec  4 16:58:52 Setting up ARP filtering...
+ [ -f /proc/sys/net/ipv4/conf/eth2/arp_ignore ]
+ echo 1
+ [ -f /proc/sys/net/ipv4/conf/eth3/arp_ignore ]
+ echo 1
+ progress_message2 Setting up Route Filtering...
+ local timestamp
+ timestamp=
+ [ 0 -gt 0 ]
+ [ 2 -gt 0 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:52
+ echo Dec  4 16:58:52 Setting up Route Filtering...
+ [ -f /proc/sys/net/ipv4/conf/all/rp_filter ]
+ echo 0
+ [ -f /proc/sys/net/ipv4/conf/default/rp_filter ]
+ echo 0
+ [ -f /proc/sys/net/ipv4/conf/eth0/rp_filter ]
+ echo 0
+ [ -f /proc/sys/net/ipv4/conf/eth1/rp_filter ]
+ echo 0
+ [ -f /proc/sys/net/ipv4/conf/eth2/rp_filter ]
+ echo 0
+ [ -f /proc/sys/net/ipv4/conf/eth3/rp_filter ]
+ echo 0
+ [ -f /proc/sys/net/ipv4/conf/lo/rp_filter ]
+ echo 0
+ [ -f /proc/sys/net/ipv4/conf/eth2/rp_filter ]
+ echo 0
+ [ -f /proc/sys/net/ipv4/conf/eth3/rp_filter ]
+ echo 0
+ echo 0
+ echo 0
+ [ -n  ]
+ ip -4 route flush cache
+ progress_message2 Setting up Martian Logging...
+ local timestamp
+ timestamp=
+ [ 0 -gt 0 ]
+ [ 2 -gt 0 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:52
+ echo Dec  4 16:58:52 Setting up Martian Logging...
+ [ -f /proc/sys/net/ipv4/conf/all/log_martians ]
+ echo 1
+ [ -f /proc/sys/net/ipv4/conf/default/log_martians ]
+ echo 1
+ [ -f /proc/sys/net/ipv4/conf/eth0/log_martians ]
+ echo 1
+ [ -f /proc/sys/net/ipv4/conf/eth1/log_martians ]
+ echo 1
+ [ -f /proc/sys/net/ipv4/conf/eth2/log_martians ]
+ echo 1
+ [ -f /proc/sys/net/ipv4/conf/eth3/log_martians ]
+ echo 1
+ [ -f /proc/sys/net/ipv4/conf/lo/log_martians ]
+ echo 1
+ echo 0
+ [ -f /proc/sys/net/ipv4/conf/eth0/log_martians ]
+ echo 1
+ [ -f /proc/sys/net/ipv4/conf/eth1/log_martians ]
+ echo 1
+ [ -f /proc/sys/net/ipv4/conf/eth2/log_martians ]
+ echo 1
+ [ -f /proc/sys/net/ipv4/conf/eth3/log_martians ]
+ echo 1
+ progress_message2 Setting up Accept Source Routing...
+ local timestamp
+ timestamp=
+ [ 0 -gt 0 ]
+ [ 2 -gt 0 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:52
+ echo Dec  4 16:58:52 Setting up Accept Source Routing...
+ [ -f /proc/sys/net/ipv4/conf/eth2/accept_source_route ]
+ echo 0
+ [ -f /proc/sys/net/ipv4/conf/eth3/accept_source_route ]
+ echo 0
+ progress_message2 Setting up Proxy ARP...
+ local timestamp
+ timestamp=
+ [ 0 -gt 0 ]
+ [ 2 -gt 0 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:52
+ echo Dec  4 16:58:52 Setting up Proxy ARP...
+ [ -f /proc/sys/net/ipv4/conf/eth2/proxy_arp ]
+ echo 0
+ [ -f /proc/sys/net/ipv4/conf/eth3/proxy_arp ]
+ echo 0
+ [ -f /proc/sys/net/netfilter/nf_conntrack_helper ]
+ progress_message Disabling Kernel Automatic Helper Association
+ local timestamp
+ timestamp=
+ [ 0 -gt 1 ]
+ [ 2 -gt 1 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:52
+ echo Dec  4 16:58:52 Disabling Kernel Automatic Helper Association
+ echo 0
+ return 0
+ setup_routing_and_traffic_shaping
+ [ -z  ]
+ undo_routing
+ local undofiles
+ local f
+ [ -z  ]
+ [ -f /var/lib/shorewall/rt_tables ]
+ ls /var/lib/shorewall/undo_ECLI_routing
/var/lib/shorewall/undo_balance_routing
//var/lib/shorewall/undo_default_routing
///var/lib/shorewall/undo_main_routing
////var/lib/shorewall/undo_rfc1918_routing
+ undofiles=/var/lib/shorewall/undo_balance_routing
/var/lib/shorewall/undo_default_routing
/var/lib/shorewall/undo_ECLI_routing
/var/lib/shorewall/undo_main_routing
/var/lib/shorewall/undo_rfc1918_routing
+ [ -n /var/lib/shorewall/undo_balance_routing
/var/lib/shorewall/undo_default_routing
/var/lib/shorewall/undo_ECLI_routing
/var/lib/shorewall/undo_main_routing
/var/lib/shorewall/undo_rfc1918_routing ]
+ . /var/lib/shorewall/undo_balance_routing
+ ip -4 rule del from 0.0.0.0/0 table 250 pref 32765
+ . /var/lib/shorewall/undo_default_routing
+ . /var/lib/shorewall/undo_ECLI_routing
+ ip -4 route flush table 1
+ rm -f /var/lib/shorewall/eth2.status
+ ip -4 rule del fwmark 0x10000/0x30000
+ . /var/lib/shorewall/undo_main_routing
+ ip -4 rule add from 0.0.0.0/0 table 254 pref 32766
+ ip -4 rule del from 0.0.0.0/0 table 254 pref 999
+ . /var/lib/shorewall/undo_rfc1918_routing
+ ip -4 route del blackhole 10.0.0.0/8
+ ip -4 route del blackhole 172.16.0.0/12
+ ip -4 route del blackhole 192.168.0.0/16
+ rm -f /var/lib/shorewall/undo_balance_routing
/var/lib/shorewall/undo_default_routing /var/lib/shorewall/undo_ECLI_routing
//var/lib/shorewall/undo_main_routing
///var/lib/shorewall/undo_rfc1918_routing
+ progress_message Shorewall-generated routing tables and routing rules
removed
+ local timestamp
+ timestamp=
+ [ 0 -gt 1 ]
+ [ 2 -gt 1 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:52
+ echo Dec  4 16:58:52 Shorewall-generated routing tables and routing rules
removed
+ [ -f /var/lib/shorewall/default_route ]
+ progress_message2 Adding Providers...
+ local timestamp
+ timestamp=
+ [ 0 -gt 0 ]
+ [ 2 -gt 0 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:52
+ echo Dec  4 16:58:52 Adding Providers...
+ DEFAULT_ROUTE=
+ FALLBACK_ROUTE=
+
+
+ progress_message2 Null Routing the RFC 1918 subnets
+ local timestamp
+ timestamp=
+ [ 0 -gt 0 ]
+ [ 2 -gt 0 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:52
+ echo Dec  4 16:58:52 Null Routing the RFC 1918 subnets
+
+ ip -4 route ls
+ grep -q ^10.0.0.0/8.* dev
+ run_ip route replace blackhole 10.0.0.0/8
+ ip -4 route replace blackhole 10.0.0.0/8
+ echo ip -4 route del blackhole 10.0.0.0/8 > /dev/null 2>&1
+ ip -4 route ls
+ grep -q ^172.16.0.0/12.* dev
+ run_ip route replace blackhole 172.16.0.0/12
+ ip -4 route replace blackhole 172.16.0.0/12
+ echo ip -4 route del blackhole 172.16.0.0/12 > /dev/null 2>&1
+ ip -4 route ls
+ grep -q ^192.168.0.0/16.* dev
+ run_ip route replace blackhole 192.168.0.0/16
+ ip -4 route replace blackhole 192.168.0.0/16
+ echo ip -4 route del blackhole 192.168.0.0/16 > /dev/null 2>&1
+ start_provider_ECLI
+ [ -n Yes ]
+ qt ip -4 route flush table 1
+ ip -4 route flush table 1
+ echo ip -4 route flush table 1 > /dev/null 2>&1
+ run_ip route add default dev eth2 table 1
+ ip -4 route add default dev eth2 table 1
+ cat
+ [ restart = enable ]
+ qt ip -4 rule del fwmark 0x10000/0x30000
+ ip -4 rule del fwmark 0x10000/0x30000
+ run_ip rule add fwmark 0x10000/0x30000 pref 10000 table 1
+ ip -4 rule add fwmark 0x10000/0x30000 pref 10000 table 1
+ echo ip -4 rule del fwmark 0x10000/0x30000 > /dev/null 2>&1
+ DEFAULT_ROUTE=nexthop dev eth2 weight 1
+ find_interface_addresses eth2
+ read address
+ ip -f inet addr show eth2+ grep inet
+ sed s/\s*inet //;s/\/.*//;s/ peer.*//
+ qt ip -4 rule del from 91.85.120.2
+ ip -4 rule del from 91.85.120.2
+ read address
+ echo 0
+ [ restart = enable ]
+ echo 1
+ progress_message    Provider ECLI (1) Started
+ local timestamp
+ timestamp=
+ [ 0 -gt 1 ]
+ [ 2 -gt 1 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:52
+ echo Dec  4 16:58:52    Provider ECLI (1) Started
+ start_provider_VIRG
+ [ -n  ]
+ echo 1
+ error_message WARNING: Interface eth3 is not usable -- Provider VIRG (2)
not Started
+ echo    WARNING: Interface eth3 is not usable -- Provider VIRG (2) not
Started
   WARNING: Interface eth3 is not usable -- Provider VIRG (2) not Started
+ run_ip rule add from 0.0.0.0/0 table 254 pref 999
+ ip -4 rule add from 0.0.0.0/0 table 254 pref 999
+ run_ip rule add from 0.0.0.0/0 table 250 pref 32765
+ ip -4 rule add from 0.0.0.0/0 table 250 pref 32765
+ ip -4 rule del from 0.0.0.0/0 table 254 pref 32766
+ echo ip -4 rule add from 0.0.0.0/0 table 254 pref 32766 > /dev/null 2>&1
+ echo ip -4 rule del from 0.0.0.0/0 table 254 pref 999 > /dev/null 2>&1
+ echo ip -4 rule del from 0.0.0.0/0 table 250 pref 32765 > /dev/null 2>&1
+ [ -n nexthop dev eth2 weight 1  ]
+ run_ip route replace default scope global table 250 nexthop dev eth2
weight 1
+ ip -4 route replace default scope global table 250 nexthop dev eth2 weight
1
+ qt ip -4 route del default table 254
+ ip -4 route del default table 254
+ echo nexthop dev eth2 weight 1
+ sed s/$\s*//
+ progress_message Default route 'nexthop dev eth2 weight 1' Added
+ local timestamp
+ timestamp=
+ [ 0 -gt 1 ]
+ [ 2 -gt 1 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:52
+ echo Dec  4 16:58:52 Default route 'nexthop dev eth2 weight 1' Added
+ delete_default_routes 253
+ ip -4 route ls table 253
+ grep -F default
+ grep -vF metric
read route
+ run_ip route flush cache
+ ip -4 route flush cache
+ cat
+ [ restart != refresh ]
+ cat
+ cat
+ cat
+
+ [ restart = restore ]
+ [ restart = refresh ]
+ setup_netfilter
+ progress_message2 Preparing iptables-restore input...
+ local timestamp
+ timestamp=
+ [ 0 -gt 0 ]
+ [ 2 -gt 0 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:52
+ echo Dec  4 16:58:52 Preparing iptables-restore input...
+ exec
+ cat
+ [ -s //var/lib/shorewall/.UPnP ]
+ cat
+ [ -f /var/lib/shorewall/.dynamic ]
+ cat /var/lib/shorewall/.dynamic
+ cat
+ exec
+ [ -n  ]
+ command=/sbin/iptables-restore
+ progress_message2 Running /sbin/iptables-restore...
+ local timestamp
+ timestamp=
+ [ 0 -gt 0 ]
+ [ 2 -gt 0 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:52
+ echo Dec  4 16:58:52 Running /sbin/iptables-restore...
+ cat /var/lib/shorewall/.iptables-restore-input
+ /sbin/iptables-restore
+ [ 0 != 0 ]
+ conditionally_flush_conntrack
+ [ -n  ]
+ echo 1
+ progress_message2 IPv4 Forwarding Enabled
+ local timestamp
+ timestamp=
+ [ 0 -gt 0 ]
+ [ 2 -gt 0 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:53
+ echo Dec  4 16:58:53 IPv4 Forwarding Enabled
+ run_start_exit
+ true
+ do_iptables -N shorewall
+ local status
+ [ 1 ]
+ /sbin/iptables -N shorewall
+ status=0
+ [ 0 -ne 4 ]
+ return 0
+ do_iptables -A shorewall -m recent --set --name %CURRENTTIME
+ local status
+ [ 1 ]
+ /sbin/iptables -A shorewall -m recent --set --name %CURRENTTIME
+ status=0
+ [ 0 -ne 4 ]
+ return 0
+ set_state Started /etc/shorewall/
+ [ 2 -gt 1 ]
+ date
+ echo Started (Fri Dec  4 16:58:53 GMT 2015) from /etc/shorewall/
+ my_pathname
+ local pwd
+ pwd=/root
+ dirname /var/lib/shorewall/firewall
+ cd /var/lib/shorewall
+ basename /var/lib/shorewall/firewall
+ echo /var/lib/shorewall/firewall
+ cd /root
+ my_pathname=/var/lib/shorewall/firewall
+ [ /var/lib/shorewall/firewall = /var/lib/shorewall/firewall ]
+ run_started_exit
+ true
+ date
+ logger -p kern.info Shorewall restarted
+ status=0
+ [ -n  ]
+ [ 0 -eq 0 ]
+ progress_message3 done.
+ local timestamp
+ timestamp=
+ [ 0 -ge 0 ]
+ [ -n  ]
+ echo done.
done.
+ [ 2 -ge 0 ]
+ date +%b %_d %T
+ timestamp=Dec  4 16:58:53
+ echo Dec  4 16:58:53 done.
+ exit 0
