Advertisement
vrelk

Untitled

Apr 27th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.36 KB | None | 0 0
  1. 2018-04-27 01:10:04,131 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
  2. 2018-04-27 01:10:04,131 INFO Set uid to user 0 succeeded
  3. 2018-04-27 01:10:04,137 INFO supervisord started with pid 6
  4. 2018-04-27 01:10:05,143 INFO spawned: 'start-script' with pid 140
  5. 2018-04-27 01:10:05,146 INFO spawned: 'deluge-script' with pid 141
  6. 2018-04-27 01:10:05,149 INFO spawned: 'deluge-web-script' with pid 142
  7. 2018-04-27 01:10:05,151 INFO spawned: 'privoxy-script' with pid 143
  8. 2018-04-27 01:10:05,152 INFO reaped unknown pid 7
  9. 2018-04-27 01:10:05,160 DEBG 'start-script' stdout output:
  10. [info] VPN is enabled, beginning configuration of VPN
  11.  
  12. 2018-04-27 01:10:05,161 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
  13. 2018-04-27 01:10:05,161 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
  14. 2018-04-27 01:10:05,161 INFO success: deluge-web-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
  15. 2018-04-27 01:10:05,161 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
  16. 2018-04-27 01:10:05,162 DEBG 'start-script' stdout output:
  17. [debug] Environment variables defined as follows
  18. BASH=/bin/bash
  19. BASHOPTS=cmdhist:complete_fullquote:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
  20. BASH_ALIASES=()
  21. BASH_ARGC=()
  22. BASH_ARGV=()
  23. BASH_CMDS=()
  24. BASH_LINENO=([0]="0")
  25. BASH_SOURCE=([0]="/root/start.sh")
  26. BASH_VERSINFO=([0]="4" [1]="4" [2]="19" [3]="1" [4]="release" [5]="x86_64-unknown-linux-gnu")
  27. BASH_VERSION='4.4.19(1)-release'
  28. DEBUG=true
  29. DIRSTACK=()
  30. ENABLE_PRIVOXY=no
  31. EUID=0
  32.  
  33. )
  34. HOME=/home/nobody
  35. HOSTNAME=bc5bead7ec61
  36. HOSTTYPE=x86_64
  37. HOST_OS=unRAID
  38. IFS=$' \t\n'
  39. LANG=en_GB.UTF-8
  40. LAN_NETWORK=192.168.1.0/24
  41. MACHTYPE=x86_64-unknown-linux-gnu
  42. NAME_SERVERS=209.222.18.222,37.235.1.174,1.1.1.1,8.8.8.8,209.222.18.218,37.235.1.177,1.0.0.1,8.8.4.4
  43. OPTERR=1
  44. OPTIND=1
  45. OSTYPE=linux-gnu
  46. PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  47. PGID=100
  48. PIPESTATUS=([0]="0")
  49. PPID=6
  50. PS4='+ '
  51. PUID=99
  52. PWD=/
  53. SHELL=/bin/bash
  54. SHELLOPTS=braceexpand:hashall:interactive-comments
  55. SHLVL=1
  56. STRICT_PORT_FORWARD=yes
  57. SUPERVISOR_ENABLED=1
  58. SUPERVISOR_GROUP_NAME=start-script
  59. SUPERVISOR_PROCESS_NAME=start-script
  60. TERM=xterm
  61. TZ=America/New_York
  62. UID=0
  63.  
  64. 0
  65. VPN_CONFIG='/config/openvpn/CA Toronto.ovpn'
  66. VPN_DEVICE_TYPE=tun0
  67. VPN_ENABLED=yes
  68. VPN_OPTIONS=
  69. VPN_PASS=******
  70. VPN_PORT=1198
  71. VPN_PROTOCOL=udp
  72. VPN_PROV=pia
  73. VPN_REMOTE=ca-toronto.privateinternetaccess.com
  74. VPN_USER=*****
  75. _='[debug] Environment variables defined as follows'
  76. [debug] Directory listing of files in /config/openvpn as follows
  77.  
  78. 2018-04-27 01:10:05,162 DEBG 'deluge-script' stdout output:
  79. [info] Deluge config file already exists, skipping copy
  80.  
  81. 2018-04-27 01:10:05,163 DEBG 'deluge-script' stdout output:
  82. [info] VPN is enabled, checking VPN tunnel local ip is valid
  83.  
  84. 2018-04-27 01:10:05,164 DEBG 'deluge-script' stdout output:
  85. [debug] Waiting for valid IP address from tunnel...
  86.  
  87. 2018-04-27 01:10:05,170 DEBG 'start-script' stdout output:
  88. total 16
  89. drwxrwxr-x 1 nobody users 100 Apr 27 01:10 .
  90. drwxrwxr-x 1 nobody users 91 Apr 27 00:53 ..
  91. -rwxrwxr-x 1 nobody users 2025 Apr 17 23:42 ca.rsa.2048.crt
  92. -rwxrwxr-x 1 nobody users 285 Apr 27 01:10 CA Toronto.ovpn
  93. -rwxrwxr-x 1 nobody users 20 Apr 27 01:06 credentials.conf
  94. -rwxrwxr-x 1 nobody users 869 Apr 17 23:42 crl.rsa.2048.pem
  95.  
  96. 2018-04-27 01:10:05,173 DEBG 'privoxy-script' stdout output:
  97. [info] Privoxy set to disabled
  98.  
  99. 2018-04-27 01:10:05,174 DEBG fd 26 closed, stopped monitoring <POutputDispatcher at 23374627473312 for <Subprocess at 23374630046824 with name privoxy-script in state RUNNING> (stderr)>
  100. 2018-04-27 01:10:05,174 DEBG fd 22 closed, stopped monitoring <POutputDispatcher at 23374627472880 for <Subprocess at 23374630046824 with name privoxy-script in state RUNNING> (stdout)>
  101. 2018-04-27 01:10:05,175 INFO exited: privoxy-script (exit status 0; expected)
  102. 2018-04-27 01:10:05,175 DEBG received SIGCLD indicating a child quit
  103. 2018-04-27 01:10:05,252 DEBG 'start-script' stdout output:
  104. [debug] Contents of ovpn file /config/openvpn/CA Toronto.ovpn as follows...
  105.  
  106. 2018-04-27 01:10:05,254 DEBG 'start-script' stdout output:
  107. remote ca-toronto.privateinternetaccess.com 1198
  108. client
  109. dev tun
  110.  
  111. p
  112. resolv-retry infinite
  113. nobind
  114. persist-key
  115. cipher aes-128-cbc
  116.  
  117. 1
  118. tls-client
  119. remote-cert-tls server
  120. auth-user-pass credentials.conf
  121. comp-lzo
  122. verb 1
  123. crl-verify crl.rsa.2048.pem
  124. ca ca.rsa.2048.crt
  125. disable-occ
  126.  
  127. 2018-04-27 01:10:05,276 DEBG 'start-script' stdout output:
  128. [info] Default route for container is 172.17.0.1
  129.  
  130. 2018-04-27 01:10:05,284 DEBG 'start-script' stdout output:
  131. [info] Adding 209.222.18.222 to /etc/resolv.conf
  132.  
  133. 2018-04-27 01:10:05,290 DEBG 'start-script' stdout output:
  134. [info] Adding 37.235.1.174 to /etc/resolv.conf
  135.  
  136. 2018-04-27 01:10:05,297 DEBG 'start-script' stdout output:
  137. [info] Adding 1.1.1.1 to /etc/resolv.conf
  138.  
  139. 2018-04-27 01:10:05,303 DEBG 'start-script' stdout output:
  140. [info] Adding 8.8.8.8 to /etc/resolv.conf
  141.  
  142. 2018-04-27 01:10:05,310 DEBG 'start-script' stdout output:
  143. [info] Adding 209.222.18.218 to /etc/resolv.conf
  144.  
  145. 2018-04-27 01:10:05,316 DEBG 'start-script' stdout output:
  146. [info] Adding 37.235.1.177 to /etc/resolv.conf
  147.  
  148. 2018-04-27 01:10:05,322 DEBG 'start-script' stdout output:
  149. [info] Adding 1.0.0.1 to /etc/resolv.conf
  150.  
  151. 2018-04-27 01:10:05,328 DEBG 'start-script' stdout output:
  152. [info] Adding 8.8.4.4 to /etc/resolv.conf
  153.  
  154. 2018-04-27 01:10:05,417 DEBG 'start-script' stdout output:
  155. [info] Remote VPN endpoint resolves to the following A record(s)...
  156. 172.98.67.37 172.98.67.39 172.98.67.118 172.98.67.41 172.98.67.52 172.98.67.122 172.98.67.7 172.98.67.11 172.98.67.128 172.98.67.101 172.98.67.51 172.98.67.49 172.98.67.99
  157.  
  158. 2018-04-27 01:10:05,435 DEBG 'start-script' stdout output:
  159. [info] Attempting to load iptable_mangle module...
  160.  
  161. 2018-04-27 01:10:05,437 DEBG 'start-script' stderr output:
  162. modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.14.26-unRAID
  163.  
  164. 2018-04-27 01:10:05,438 DEBG 'start-script' stdout output:
  165. [warn] Unable to load iptable_mangle module using modprobe, trying insmod...
  166.  
  167. 2018-04-27 01:10:05,439 DEBG 'start-script' stderr output:
  168. insmod: ERROR: could not load module /lib/modules/iptable_mangle.ko: No such file or directory
  169.  
  170. 2018-04-27 01:10:05,439 DEBG 'start-script' stdout output:
  171. [warn] Unable to load iptable_mangle module, you will not be able to connect to the applications Web UI or Privoxy outside of your LAN
  172. [info] unRAID/Ubuntu users: Please attempt to load the module by executing the following on your host: '/sbin/modprobe iptable_mangle'
  173. [info] Synology users: Please attempt to load the module by executing the following on your host: 'insmod /lib/modules/iptable_mangle.ko'
  174. [debug] Show name servers defined for container
  175.  
  176. 2018-04-27 01:10:05,440 DEBG 'start-script' stdout output:
  177. nameserver 209.222.18.222
  178. nameserver 37.235.1.174
  179. nameserver 1.1.1.1
  180. nameserver 8.8.8.8
  181. nameserver 209.222.18.218
  182. nameserver 37.235.1.177
  183. nameserver 1.0.0.1
  184. nameserver 8.8.4.4
  185.  
  186. 2018-04-27 01:10:05,440 DEBG 'start-script' stdout output:
  187. [debug] Show name resolution for VPN endpoint ca-toronto.privateinternetaccess.com
  188.  
  189. 2018-04-27 01:10:05,478 DEBG 'start-script' stdout output:
  190. ;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 37711
  191. ;; flags: qr rd ra ; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0
  192. ;; QUESTION SECTION:
  193. ;; ca-toronto.privateinternetaccess.com. IN A
  194.  
  195. ;; ANSWER SECTION:
  196. ca-toronto.privateinternetaccess.com. 161 IN A 172.98.67.37
  197. ca-toronto.privateinternetaccess.com. 161 IN A 172.98.67.39
  198. ca-toronto.privateinternetaccess.com. 161 IN A 172.98.67.118
  199. ca-toronto.privateinternetaccess.com. 161 IN A 172.98.67.41
  200. ca-toronto.privateinternetaccess.com. 161 IN A 172.98.67.52
  201. ca-toronto.privateinternetaccess.com. 161 IN A 172.98.67.122
  202. ca-toronto.privateinternetaccess.com. 161 IN A 172.98.67.7
  203. ca-toronto.privateinternetaccess.com. 161 IN A 172.98.67.11
  204. ca-toronto.privateinternetaccess.com. 161 IN A 172.98.67.128
  205. ca-toronto.privateinternetaccess.com. 161 IN A 172.98.67.101
  206. ca-toronto.privateinternetaccess.com. 161 IN A 172.98.67.51
  207. ca-toronto.privateinternetaccess.com. 161 IN A 172.98.67.49
  208. ca-toronto.privateinternetaccess.com. 161 IN A 172.98.67.99
  209.  
  210. ;; AUTHORITY SECTION:
  211.  
  212. ;; ADDITIONAL SECTION:
  213.  
  214. ;; Query time: 34 msec
  215. ;; SERVER: 209.222.18.218
  216. ;; WHEN: Fri Apr 27 01:10:05 2018
  217. ;; MSG SIZE rcvd: 262
  218.  
  219. 2018-04-27 01:10:05,479 DEBG 'start-script' stdout output:
  220. [debug] Show contents of hosts file
  221.  
  222. 2018-04-27 01:10:05,480 DEBG 'start-script' stdout output:
  223. 127.0.0.1 localhost
  224. ::1 localhost ip6-localhost ip6-loopback
  225. fe00::0 ip6-localnet
  226. ff00::0 ip6-mcastprefix
  227. ff02::1 ip6-allnodes
  228. ff02::2 ip6-allrouters
  229. 172.17.0.2 bc5bead7ec61
  230. 172.98.67.37 ca-toronto.privateinternetaccess.com
  231.  
  232. 2018-04-27 01:10:05,487 DEBG 'start-script' stdout output:
  233. [info] Adding 192.168.1.0/24 as route via docker eth0
  234.  
  235. 2018-04-27 01:10:05,489 DEBG 'start-script' stdout output:
  236. [info] ip route defined as follows...
  237. --------------------
  238.  
  239. 2018-04-27 01:10:05,491 DEBG 'start-script' stdout output:
  240. default via 172.17.0.1 dev eth0
  241. 172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2
  242. 192.168.1.0/24 via 172.17.0.1 dev eth0
  243.  
  244. 2018-04-27 01:10:05,491 DEBG 'start-script' stdout output:
  245. --------------------
  246. [debug] Modules currently loaded for kernel
  247.  
  248. 2018-04-27 01:10:05,495 DEBG 'start-script' stdout output:
  249. Module Size Used by
  250. tun 32768 2
  251. xt_nat 16384 17
  252. veth 16384 0
  253. ipt_MASQUERADE 16384 18
  254. nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE
  255. iptable_nat 16384 1
  256. nf_conntrack_ipv4 16384 37
  257. nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
  258. nf_nat_ipv4 16384 1 iptable_nat
  259. iptable_filter 16384 1
  260. ip_tables 24576 2 iptable_filter,iptable_nat
  261. nf_nat 24576 3 xt_nat,nf_nat_masquerade_ipv4,nf_nat_ipv4
  262. xfs 626688 2
  263. nfsd 94208 11
  264. lockd 73728 1 nfsd
  265. grace 16384 1 lockd
  266. sunrpc 200704 14 nfsd,lockd
  267. md_mod 49152 1
  268. ipmi_devintf 16384 0
  269. mlx4_en 98304 0
  270. mlx4_core 266240 1 mlx4_en
  271. ptp 20480 1 mlx4_en
  272. pps_core 16384 1 ptp
  273. bnx2 81920 0
  274. ipmi_ssif 24576 0
  275. i2c_core 36864 1 ipmi_ssif
  276. intel_powerclamp 16384 0
  277. coretemp 16384 0
  278. kvm_intel 192512 0
  279. kvm 339968 1 kvm_intel
  280. mpt3sas 196608 2
  281. crc32c_intel 24576 0
  282. intel_cstate 16384 0
  283. intel_uncore 98304 0
  284. i7core_edac 24576 0
  285. raid_class 16384 1 mpt3sas
  286. scsi_transport_sas 32768 1 mpt3sas
  287. ata_piix 32768 0
  288. acpi_power_meter 16384 0
  289. button 16384 0
  290. ipmi_si 49152 0
  291.  
  292. 2018-04-27 01:10:05,507 DEBG 'start-script' stdout output:
  293. [debug] Docker interface defined as eth0
  294.  
  295. 2018-04-27 01:10:05,514 DEBG 'start-script' stdout output:
  296. [debug] Docker IP defined as 172.17.0.2
  297.  
  298. 2018-04-27 01:10:05,520 DEBG 'start-script' stdout output:
  299. [debug] Docker netmask defined as 255.255.0.0
  300.  
  301. 2018-04-27 01:10:05,536 DEBG 'start-script' stdout output:
  302. [info] Docker network defined as 172.17.0.0/16
  303.  
  304. 2018-04-27 01:10:05,664 DEBG 'start-script' stdout output:
  305. [info] iptables defined as follows...
  306. --------------------
  307.  
  308. 2018-04-27 01:10:05,668 DEBG 'start-script' stdout output:
  309. -P INPUT DROP
  310. -P FORWARD ACCEPT
  311. -P OUTPUT DROP
  312. -A INPUT -i tun0 -j ACCEPT
  313. -A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
  314. -A INPUT -i eth0 -p udp -m udp --sport 1198 -j ACCEPT
  315. -A INPUT -i eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
  316. -A INPUT -i eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
  317. -A INPUT -s 192.168.1.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
  318. -A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
  319. -A INPUT -i lo -j ACCEPT
  320. -A OUTPUT -o tun0 -j ACCEPT
  321. -A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
  322. -A OUTPUT -o eth0 -p udp -m udp --dport 1198 -j ACCEPT
  323. -A OUTPUT -o eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
  324. -A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
  325. -A OUTPUT -d 192.168.1.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
  326. -A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
  327. -A OUTPUT -o lo -j ACCEPT
  328.  
  329. 2018-04-27 01:10:05,669 DEBG 'start-script' stdout output:
  330. --------------------
  331.  
  332. 2018-04-27 01:10:05,671 DEBG 'start-script' stdout output:
  333. [debug] OpenVPN command line:- /usr/bin/openvpn --daemon --reneg-sec 0 --mute-replay-warnings --auth-nocache --setenv VPN_PROV 'pia' --setenv DEBUG 'true' --setenv VPN_DEVICE_TYPE 'tun0' --setenv VPN_REMOTE 'ca-toronto.privateinternetaccess.com' --script-security 2 --up /root/openvpnup.sh --up-delay --up-restart --writepid /root/openvpn.pid --remap-usr1 SIGHUP --log-append /dev/stdout --pull-filter ignore 'up' --pull-filter ignore 'down' --pull-filter ignore 'route-ipv6' --pull-filter ignore 'ifconfig-ipv6' --pull-filter ignore 'tun-ipv6' --pull-filter ignore 'persist-tun' --pull-filter ignore 'reneg-sec' --remote 172.98.67.37 1198 udp --remote 172.98.67.39 1198 udp --remote 172.98.67.118 1198 udp --remote 172.98.67.41 1198 udp --remote 172.98.67.52 1198 udp --remote 172.98.67.122 1198 udp --remote 172.98.67.7 1198 udp --remote 172.98.67.11 1198 udp --remote 172.98.67.128 1198 udp --remote 172.98.67.101 1198 udp --remote 172.98.67.51 1198 udp --remote 172.98.67.49 1198 udp --remote 172.98.67.99 1198 udp --remote-random --keepalive 10 60 --setenv STRICT_PORT_FORWARD 'yes' --disable-occ --auth-user-pass credentials.conf --cd /config/openvpn --config '/config/openvpn/CA Toronto.ovpn'
  334. [info] Starting OpenVPN...
  335.  
  336. 2018-04-27 01:10:05,709 DEBG 'start-script' stdout output:
  337. Fri Apr 27 01:10:05 2018 WARNING: file 'credentials.conf' is group or others accessible
  338. Fri Apr 27 01:10:05 2018 OpenVPN 2.4.5 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 1 2018
  339. Fri Apr 27 01:10:05 2018 library versions: OpenSSL 1.1.0g 2 Nov 2017, LZO 2.10
  340.  
  341. 2018-04-27 01:10:05,710 DEBG 'start-script' stdout output:
  342. [info] OpenVPN started
  343.  
  344. 2018-04-27 01:10:05,711 DEBG 'start-script' stdout output:
  345. Fri Apr 27 01:10:05 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
  346. [debug] Waiting for valid IP address from tunnel...
  347.  
  348. 2018-04-27 01:10:05,712 DEBG 'start-script' stdout output:
  349. Fri Apr 27 01:10:05 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]172.98.67.7:1198
  350.  
  351. 2018-04-27 01:10:05,712 DEBG 'start-script' stdout output:
  352. Fri Apr 27 01:10:05 2018 UDP link local: (not bound)
  353. Fri Apr 27 01:10:05 2018 UDP link remote: [AF_INET]172.98.67.7:1198
  354.  
  355. 2018-04-27 01:11:05,279 DEBG 'start-script' stdout output:
  356. Fri Apr 27 01:11:05 2018 [UNDEF] Inactivity timeout (--ping-restart), restarting
  357.  
  358. 2018-04-27 01:11:05,280 DEBG 'start-script' stdout output:
  359. Fri Apr 27 01:11:05 2018 SIGHUP[soft,ping-restart] received, process restarting
  360.  
  361. 2018-04-27 01:11:05,280 DEBG 'start-script' stdout output:
  362. Fri Apr 27 01:11:05 2018 WARNING: file 'credentials.conf' is group or others accessible
  363. Fri Apr 27 01:11:05 2018 OpenVPN 2.4.5 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 1 2018
  364. Fri Apr 27 01:11:05 2018 library versions: OpenSSL 1.1.0g 2 Nov 2017, LZO 2.10
  365.  
  366. 2018-04-27 01:11:10,281 DEBG 'start-script' stdout output:
  367. Fri Apr 27 01:11:10 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
  368.  
  369. 2018-04-27 01:11:10,282 DEBG 'start-script' stdout output:
  370. Fri Apr 27 01:11:10 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]172.98.67.118:1198
  371. Fri Apr 27 01:11:10 2018 UDP link local: (not bound)
  372. Fri Apr 27 01:11:10 2018 UDP link remote: [AF_INET]172.98.67.118:1198
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement