Skip to content

Instantly share code, notes, and snippets.

@Demon-tk

Demon-tk/log.txt Secret

Created Jan 4, 2021
Embed
What would you like to do?
My log for bithex
$ sudo docker container logs qbitvpn
Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/
2021-01-04 21:51:35.829219 [info] System information Linux 0a89defe0897 5.8.0-25-generic #26-Ubuntu SMP Thu Oct 15 10:30:38 UTC 2020 x86_64 GNU/Linux
2021-01-04 21:51:35.922783 [info] OS_ARCH defined as 'x86-64'
2021-01-04 21:51:36.058835 [info] PUID defined as '1000'
2021-01-04 21:51:36.435146 [info] PGID defined as '1000'
2021-01-04 21:51:37.340432 [info] UMASK defined as '000'
2021-01-04 21:51:37.428811 [info] Permissions already set for volume mappings
2021-01-04 21:51:37.584738 [info] Deleting files in /tmp (non recursive)...
2021-01-04 21:51:37.719265 [info] VPN_ENABLED defined as 'yes'
2021-01-04 21:51:37.818674 [info] VPN_CLIENT defined as 'openvpn'
2021-01-04 21:51:37.909736 [info] VPN_PROV defined as 'airvpn'
2021-01-04 21:51:38.061725 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/AirVPN_America_UDP-443.ovpn
2021-01-04 21:51:38.307573 [info] VPN remote server(s) defined as 'america.vpn.airdns.org,'
2021-01-04 21:51:38.393553 [info] VPN remote port(s) defined as '443,'
2021-01-04 21:51:38.479645 [info] VPN remote protcol(s) defined as 'udp,'
2021-01-04 21:51:38.578719 [info] VPN_DEVICE_TYPE defined as 'tun0'
2021-01-04 21:51:38.669795 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2021-01-04 21:51:38.761440 [info] LAN_NETWORK defined as '10.0.0.1/24'
2021-01-04 21:51:38.852773 [info] NAME_SERVERS defined as '1.1.1.1,1.0.0.1,9.9.9.9'
2021-01-04 21:51:38.945908 [info] ENABLE_PRIVOXY defined as 'yes'
2021-01-04 21:51:39.039227 [info] ADDITIONAL_PORTS defined as '1234'
2021-01-04 21:51:39.131322 [info] WEBUI_PORT defined as '8080'
2021-01-04 21:51:41.634989 [info] Starting Supervisor...
2021-01-04 21:51:42,163 INFO Included extra file "/etc/supervisor/conf.d/qbittorrent.conf" during parsing
2021-01-04 21:51:42,163 INFO Set uid to user 0 succeeded
2021-01-04 21:51:42,176 INFO supervisord started with pid 7
2021-01-04 21:51:43,183 INFO spawned: 'start-script' with pid 158
2021-01-04 21:51:43,191 INFO spawned: 'watchdog-script' with pid 159
2021-01-04 21:51:43,192 INFO reaped unknown pid 8 (exit status 0)
2021-01-04 21:51:43,212 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN
2021-01-04 21:51:43,212 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-01-04 21:51:43,213 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-01-04 21:51:43,220 DEBG 'watchdog-script' stdout output:
[info] qBittorrent config file already exists, skipping copy
2021-01-04 21:51:43,221 DEBG 'watchdog-script' stdout output:
[info] Removing session lock file (if it exists)...
2021-01-04 21:51:43,361 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf
2021-01-04 21:51:43,371 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf
2021-01-04 21:51:43,380 DEBG 'start-script' stdout output:
[info] Adding 9.9.9.9 to /etc/resolv.conf
2021-01-04 21:51:43,481 DEBG 'start-script' stdout output:
[info] Attempting to load tun kernel module...
2021-01-04 21:51:43,488 DEBG 'start-script' stderr output:
modprobe: FATAL: Module tun not found in directory /lib/modules/5.8.0-25-generic
2021-01-04 21:51:43,489 DEBG 'start-script' stdout output:
[warn] Unable to load tun kernel module using modprobe, trying insmod...
2021-01-04 21:51:43,492 DEBG 'start-script' stderr output:
insmod: ERROR: could not load module /lib/modules/tun.ko: No such file or directory
2021-01-04 21:51:43,493 DEBG 'start-script' stdout output:
[warn] Unable to load tun kernel module, assuming its dynamically loaded
2021-01-04 21:51:43,522 DEBG 'start-script' stdout output:
[info] Attempting to load iptable_mangle module...
2021-01-04 21:51:43,525 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/5.8.0-25-generic
2021-01-04 21:51:43,527 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module using modprobe, trying insmod...
2021-01-04 21:51:43,529 DEBG 'start-script' stderr output:
insmod: ERROR: could not load module /lib/modules/iptable_mangle.ko: No such file or directory
2021-01-04 21:51:43,530 DEBG 'start-script' stdout output:
[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
[info] unRAID/Ubuntu users: Please attempt to load the module by executing the following on your host: '/sbin/modprobe iptable_mangle'
[info] Synology users: Please attempt to load the module by executing the following on your host: 'insmod /lib/modules/iptable_mangle.ko'
2021-01-04 21:51:43,560 DEBG 'start-script' stdout output:
[info] Default route for container is 172.23.0.1
2021-01-04 21:51:43,605 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.23.0.0/16
2021-01-04 21:51:43,620 DEBG 'start-script' stdout output:
[info] Adding 10.0.0.1/24 as route via docker eth0
2021-01-04 21:51:43,623 DEBG 'start-script' stderr output:
Error: Invalid prefix for given prefix length.
2021-01-04 21:51:43,624 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------
2021-01-04 21:51:43,627 DEBG 'start-script' stdout output:
default via 172.23.0.1 dev eth0
172.23.0.0/16 dev eth0 proto kernel scope link src 172.23.0.2
2021-01-04 21:51:43,628 DEBG 'start-script' stdout output:
--------------------
2021-01-04 21:51:43,731 DEBG 'start-script' stdout output:
[info] Adding additional incoming port 1234 for eth0
2021-01-04 21:51:43,859 DEBG 'start-script' stdout output:
[info] Adding additional outgoing port 1234 for eth0
2021-01-04 21:51:43,897 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------
2021-01-04 21:51:43,903 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT DROP
-A INPUT -s 172.23.0.0/16 -d 172.23.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 443 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 443 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 1234 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 1234 -j ACCEPT
-A INPUT -s 10.0.0.0/24 -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A INPUT -s 10.0.0.0/24 -d 172.23.0.0/16 -i eth0 -p tcp -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i tun0 -j ACCEPT
-A OUTPUT -s 172.23.0.0/16 -d 172.23.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 443 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 443 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 1234 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 1234 -j ACCEPT
-A OUTPUT -d 10.0.0.0/24 -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -s 172.23.0.0/16 -d 10.0.0.0/24 -o eth0 -p tcp -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT
2021-01-04 21:51:43,907 DEBG 'start-script' stdout output:
--------------------
2021-01-04 21:51:43,909 DEBG 'start-script' stdout output:
[info] Starting OpenVPN (non daemonised)...
2021-01-04 21:51:43,926 DEBG 'start-script' stdout output:
2021-01-04 21:51:43 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.
2021-01-04 21:51:43,927 DEBG 'start-script' stdout output:
2021-01-04 21:51:43 OpenVPN 2.5.0 [git:makepkg/a73072d8f780e888+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Nov 6 2020
2021-01-04 21:51:43 library versions: OpenSSL 1.1.1h 22 Sep 2020, LZO 2.10
2021-01-04 21:51:43,928 DEBG 'start-script' stdout output:
2021-01-04 21:51:43 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2021-01-04 21:51:43,929 DEBG 'start-script' stdout output:
2021-01-04 21:51:43 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2021-01-04 21:51:43 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2021-01-04 21:51:43,930 DEBG 'start-script' stdout output:
2021-01-04 21:51:43 TCP/UDP: Preserving recently used remote address: [AF_INET]137.63.71.50:443
2021-01-04 21:51:43 Socket Buffers: R=[212992->212992] S=[212992->212992]
2021-01-04 21:51:43 UDP link local: (not bound)
2021-01-04 21:51:43 UDP link remote: [AF_INET]137.63.71.50:443
2021-01-04 21:51:43,978 DEBG 'start-script' stdout output:
2021-01-04 21:51:43 TLS: Initial packet from [AF_INET]137.63.71.50:443, sid=d99c92bd 0dcbe254
2021-01-04 21:51:43,980 DEBG 'start-script' stdout output:
2021-01-04 21:51:43 net_route_v4_best_gw query: dst 0.0.0.0
2021-01-04 21:51:43 net_route_v4_best_gw result: via 172.23.0.1 dev eth0
2021-01-04 21:51:44,039 DEBG 'start-script' stdout output:
2021-01-04 21:51:44 VERIFY KU OK
2021-01-04 21:51:44 Validating certificate extended key usage
2021-01-04 21:51:44 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
2021-01-04 21:51:44 VERIFY EKU OK
2021-01-04 21:51:44 VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Tegmen, emailAddress=info@airvpn.org
2021-01-04 21:51:44,134 DEBG 'start-script' stdout output:
2021-01-04 21:51:44 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 4096 bit RSA
2021-01-04 21:51:44 [Tegmen] Peer Connection Initiated with [AF_INET]137.63.71.50:443
2021-01-04 21:51:44,884 DEBG 'start-script' stdout output:
2021-01-04 21:51:44 PUSH: Received control message: 'PUSH_REPLY,comp-lzo no,redirect-gateway ipv6 def1 bypass-dhcp,dhcp-option DNS 10.31.84.1,dhcp-option DNS6 fde6:7a:7d20:1b54::1,tun-ipv6,route-gateway 10.31.84.1,topology subnet,ping 10,ping-restart 60,ifconfig-ipv6 fde6:7a:7d20:1b54::109b/64 fde6:7a:7d20:1b54::1,ifconfig 10.31.84.157 255.255.255.0,peer-id 4,cipher AES-256-GCM'
2021-01-04 21:51:44 Pushed option removed by filter: 'dhcp-option DNS6 fde6:7a:7d20:1b54::1'
2021-01-04 21:51:44,885 DEBG 'start-script' stdout output:
2021-01-04 21:51:44 Pushed option removed by filter: 'tun-ipv6'
2021-01-04 21:51:44 Pushed option removed by filter: 'ifconfig-ipv6 fde6:7a:7d20:1b54::109b/64 fde6:7a:7d20:1b54::1'
2021-01-04 21:51:44 OPTIONS IMPORT: timers and/or timeouts modified
2021-01-04 21:51:44 OPTIONS IMPORT: compression parms modified
2021-01-04 21:51:44 OPTIONS IMPORT: --ifconfig/up options modified
2021-01-04 21:51:44 OPTIONS IMPORT: route options modified
2021-01-04 21:51:44 OPTIONS IMPORT: route-related options modified
2021-01-04 21:51:44 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
2021-01-04 21:51:44 OPTIONS IMPORT: peer-id set
2021-01-04 21:51:44 OPTIONS IMPORT: adjusting link_mtu to 1625
2021-01-04 21:51:44 OPTIONS IMPORT: data channel crypto options modified
2021-01-04 21:51:44 Data Channel: using negotiated cipher 'AES-256-GCM'
2021-01-04 21:51:44,886 DEBG 'start-script' stdout output:
2021-01-04 21:51:44 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2021-01-04 21:51:44 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2021-01-04 21:51:44 net_route_v4_best_gw query: dst 0.0.0.0
2021-01-04 21:51:44,889 DEBG 'start-script' stdout output:
2021-01-04 21:51:44 net_route_v4_best_gw result: via 172.23.0.1 dev eth0
2021-01-04 21:51:44 ROUTE_GATEWAY 172.23.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:17:00:02
2021-01-04 21:51:44 GDG6: remote_host_ipv6=n/a
2021-01-04 21:51:44 net_route_v6_best_gw query: dst ::
2021-01-04 21:51:44 sitnl_send: rtnl: generic error (-101): Network is unreachable
2021-01-04 21:51:44 ROUTE6: default_gateway=UNDEF
2021-01-04 21:51:44 TUN/TAP device tun0 opened
2021-01-04 21:51:44 net_iface_mtu_set: mtu 1500 for tun0
2021-01-04 21:51:44 net_iface_up: set tun0 up
2021-01-04 21:51:44 net_addr_v4_add: 10.31.84.157/24 dev tun0
2021-01-04 21:51:44 /root/openvpnup.sh tun0 1500 1553 10.31.84.157 255.255.255.0 init
2021-01-04 21:51:50,130 DEBG 'start-script' stdout output:
2021-01-04 21:51:50 net_route_v4_add: 137.63.71.50/32 via 172.23.0.1 dev [NULL] table 0 metric -1
2021-01-04 21:51:50,132 DEBG 'start-script' stdout output:
2021-01-04 21:51:50 net_route_v4_add: 0.0.0.0/1 via 10.31.84.1 dev [NULL] table 0 metric -1
2021-01-04 21:51:50 net_route_v4_add: 128.0.0.0/1 via 10.31.84.1 dev [NULL] table 0 metric -1
2021-01-04 21:51:50 WARNING: OpenVPN was configured to add an IPv6 route. However, no IPv6 has been configured for tun0, therefore the route installation may fail or may not work as expected.
2021-01-04 21:51:50 add_route_ipv6(::/3 -> :: metric -1) dev tun0
2021-01-04 21:51:50 net_route_v6_add: ::/3 via :: dev tun0 table 0 metric -1
2021-01-04 21:51:50 sitnl_send: rtnl: generic error (-13): Permission denied
2021-01-04 21:51:50 ERROR: Linux IPv6 route can't be added
2021-01-04 21:51:50 add_route_ipv6(2000::/4 -> :: metric -1) dev tun0
2021-01-04 21:51:50 net_route_v6_add: 2000::/4 via :: dev tun0 table 0 metric -1
2021-01-04 21:51:50 sitnl_send: rtnl: generic error (-13): Permission denied
2021-01-04 21:51:50 ERROR: Linux IPv6 route can't be added
2021-01-04 21:51:50 add_route_ipv6(3000::/4 -> :: metric -1) dev tun0
2021-01-04 21:51:50,134 DEBG 'start-script' stdout output:
2021-01-04 21:51:50 net_route_v6_add: 3000::/4 via :: dev tun0 table 0 metric -1
2021-01-04 21:51:50 sitnl_send: rtnl: generic error (-13): Permission denied
2021-01-04 21:51:50 ERROR: Linux IPv6 route can't be added
2021-01-04 21:51:50 add_route_ipv6(fc00::/7 -> :: metric -1) dev tun0
2021-01-04 21:51:50,135 DEBG 'start-script' stdout output:
2021-01-04 21:51:50 net_route_v6_add: fc00::/7 via :: dev tun0 table 0 metric -1
2021-01-04 21:51:50 sitnl_send: rtnl: generic error (-13): Permission denied
2021-01-04 21:51:50 ERROR: Linux IPv6 route can't be added
2021-01-04 21:51:50 Initialization Sequence Completed
2021-01-04 21:51:51,024 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using 'http://checkip.amazonaws.com'...
2021-01-04 21:51:51,237 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 137.63.71.51
2021-01-04 21:51:51,241 DEBG 'start-script' stdout output:
[info] Application does not require port forwarding or VPN provider is != pia, skipping incoming port assignment
2021-01-04 21:51:51,261 DEBG 'watchdog-script' stdout output:
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 10.31.84.157 different, marking for reconfigure
2021-01-04 21:51:51,328 DEBG 'watchdog-script' stdout output:
[info] qBittorrent not running
2021-01-04 21:51:51,343 DEBG 'watchdog-script' stdout output:
[info] Privoxy not running
2021-01-04 21:51:51,345 DEBG 'watchdog-script' stdout output:
[info] Removing session lock file (if it exists)...
2021-01-04 21:51:51,350 DEBG 'watchdog-script' stdout output:
[info] Attempting to start qBittorrent...
2021-01-04 21:51:51,390 DEBG 'watchdog-script' stdout output:
[info] qBittorrent process started
[info] Waiting for qBittorrent process to start listening on port 8080...
2021-01-04 21:51:51,537 DEBG 'watchdog-script' stdout output:
[info] qBittorrent process listening on port 8080
2021-01-04 21:51:51,542 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Privoxy...
2021-01-04 21:51:52,563 DEBG 'watchdog-script' stdout output:
[info] Privoxy process started
[info] Waiting for Privoxy process to start listening on port 8118...
2021-01-04 21:51:52,579 DEBG 'watchdog-script' stdout output:
[info] Privoxy process listening on port 8118
2021-01-04 22:28:13,732 WARN received SIGTERM indicating exit request
2021-01-04 22:28:13,733 DEBG killing watchdog-script (pid 159) with signal SIGTERM
2021-01-04 22:28:13,733 INFO waiting for start-script, watchdog-script to die
2021-01-04 22:28:14,734 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 139744234914528 for <Subprocess at 139744234913952 with name watchdog-script in state STOPPING> (stdout)>
2021-01-04 22:28:14,734 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 139744238991344 for <Subprocess at 139744234913952 with name watchdog-script in state STOPPING> (stderr)>
2021-01-04 22:28:14,734 INFO stopped: watchdog-script (terminated by SIGTERM)
2021-01-04 22:28:14,735 DEBG received SIGCHLD indicating a child quit
2021-01-04 22:28:14,735 DEBG killing start-script (pid 158) with signal SIGTERM
2021-01-04 22:28:15,737 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 139744234971536 for <Subprocess at 139744234973600 with name start-script in state STOPPING> (stdout)>
2021-01-04 22:28:15,737 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 139744234914048 for <Subprocess at 139744234973600 with name start-script in state STOPPING> (stderr)>
2021-01-04 22:28:15,737 INFO stopped: start-script (terminated by SIGTERM)
2021-01-04 22:28:15,737 DEBG received SIGCHLD indicating a child quit
Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/
2021-01-04 23:01:23.074686 [info] System information Linux 0a89defe0897 5.8.0-25-generic #26-Ubuntu SMP Thu Oct 15 10:30:38 UTC 2020 x86_64 GNU/Linux
2021-01-04 23:01:23.619101 [info] OS_ARCH defined as 'x86-64'
2021-01-04 23:01:24.172984 [info] PUID defined as '1000'
2021-01-04 23:01:24.846995 [info] PGID defined as '1000'
2021-01-04 23:01:25.851469 [info] UMASK defined as '000'
2021-01-04 23:01:26.488676 [info] Permissions already set for volume mappings
2021-01-04 23:01:28.497497 [info] Deleting files in /tmp (non recursive)...
2021-01-04 23:01:28.856721 [info] VPN_ENABLED defined as 'yes'
2021-01-04 23:01:28.963568 [info] VPN_CLIENT defined as 'openvpn'
2021-01-04 23:01:29.075478 [info] VPN_PROV defined as 'airvpn'
2021-01-04 23:01:30.334515 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/AirVPN_America_UDP-443.ovpn
2021-01-04 23:01:31.271089 [info] VPN remote server(s) defined as 'america.vpn.airdns.org,'
2021-01-04 23:01:31.374825 [info] VPN remote port(s) defined as '443,'
2021-01-04 23:01:31.510373 [info] VPN remote protcol(s) defined as 'udp,'
2021-01-04 23:01:31.621585 [info] VPN_DEVICE_TYPE defined as 'tun0'
2021-01-04 23:01:31.754023 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2021-01-04 23:01:31.844435 [info] LAN_NETWORK defined as '10.0.0.1/24'
2021-01-04 23:01:31.933392 [info] NAME_SERVERS defined as '1.1.1.1,1.0.0.1,9.9.9.9'
2021-01-04 23:01:32.023846 [info] ENABLE_PRIVOXY defined as 'yes'
2021-01-04 23:01:32.115982 [info] ADDITIONAL_PORTS defined as '1234'
2021-01-04 23:01:32.205954 [info] WEBUI_PORT defined as '8080'
2021-01-04 23:01:32.478593 [info] Starting Supervisor...
2021-01-04 23:02:02,261 INFO Included extra file "/etc/supervisor/conf.d/qbittorrent.conf" during parsing
2021-01-04 23:02:02,261 INFO Set uid to user 0 succeeded
2021-01-04 23:02:02,577 INFO supervisord started with pid 6
2021-01-04 23:02:03,666 INFO spawned: 'start-script' with pid 150
2021-01-04 23:02:03,671 INFO spawned: 'watchdog-script' with pid 151
2021-01-04 23:02:03,679 INFO reaped unknown pid 7 (exit status 0)
2021-01-04 23:02:03,768 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN
2021-01-04 23:02:03,769 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-01-04 23:02:03,770 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-01-04 23:02:04,011 DEBG 'watchdog-script' stdout output:
[info] qBittorrent config file already exists, skipping copy
[info] Removing session lock file (if it exists)...
2021-01-04 23:02:04,174 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf
2021-01-04 23:02:04,189 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf
2021-01-04 23:02:04,205 DEBG 'start-script' stdout output:
[info] Adding 9.9.9.9 to /etc/resolv.conf
2021-01-04 23:02:06,437 DEBG 'start-script' stdout output:
[info] Attempting to load tun kernel module...
2021-01-04 23:02:06,655 DEBG 'start-script' stderr output:
modprobe: FATAL: Module tun not found in directory /lib/modules/5.8.0-25-generic
2021-01-04 23:02:06,657 DEBG 'start-script' stdout output:
[warn] Unable to load tun kernel module using modprobe, trying insmod...
2021-01-04 23:02:06,661 DEBG 'start-script' stderr output:
insmod: ERROR: could not load module /lib/modules/tun.ko: No such file or directory
2021-01-04 23:02:06,662 DEBG 'start-script' stdout output:
[warn] Unable to load tun kernel module, assuming its dynamically loaded
2021-01-04 23:02:06,824 DEBG 'start-script' stdout output:
[info] Attempting to load iptable_mangle module...
2021-01-04 23:02:06,828 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/5.8.0-25-generic
2021-01-04 23:02:06,830 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module using modprobe, trying insmod...
2021-01-04 23:02:06,834 DEBG 'start-script' stderr output:
insmod: ERROR: could not load module /lib/modules/iptable_mangle.ko: No such file or directory
2021-01-04 23:02:06,837 DEBG 'start-script' stdout output:
[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
[info] unRAID/Ubuntu users: Please attempt to load the module by executing the following on your host: '/sbin/modprobe iptable_mangle'
[info] Synology users: Please attempt to load the module by executing the following on your host: 'insmod /lib/modules/iptable_mangle.ko'
2021-01-04 23:02:07,758 DEBG 'start-script' stdout output:
[info] Default route for container is 172.23.0.1
2021-01-04 23:02:07,919 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.23.0.0/16
2021-01-04 23:02:07,937 DEBG 'start-script' stdout output:
[info] Adding 10.0.0.1/24 as route via docker eth0
2021-01-04 23:02:07,941 DEBG 'start-script' stderr output:
Error: Invalid prefix for given prefix length.
2021-01-04 23:02:07,942 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------
2021-01-04 23:02:07,946 DEBG 'start-script' stdout output:
default via 172.23.0.1 dev eth0
2021-01-04 23:02:07,946 DEBG 'start-script' stdout output:
172.23.0.0/16 dev eth0 proto kernel scope link src 172.23.0.2
2021-01-04 23:02:07,949 DEBG 'start-script' stdout output:
--------------------
2021-01-04 23:02:09,144 DEBG 'start-script' stdout output:
[info] Adding additional incoming port 1234 for eth0
2021-01-04 23:02:09,407 DEBG 'start-script' stdout output:
[info] Adding additional outgoing port 1234 for eth0
2021-01-04 23:02:09,451 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------
2021-01-04 23:02:09,462 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT DROP
-A INPUT -s 172.23.0.0/16 -d 172.23.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 443 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 443 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 1234 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 1234 -j ACCEPT
-A INPUT -s 10.0.0.0/24 -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A INPUT -s 10.0.0.0/24 -d 172.23.0.0/16 -i eth0 -p tcp -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i tun0 -j ACCEPT
-A OUTPUT -s 172.23.0.0/16 -d 172.23.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 443 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 443 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 1234 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 1234 -j ACCEPT
-A OUTPUT -d 10.0.0.0/24 -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -s 172.23.0.0/16 -d 10.0.0.0/24 -o eth0 -p tcp -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT
2021-01-04 23:02:09,467 DEBG 'start-script' stdout output:
--------------------
2021-01-04 23:02:09,469 DEBG 'start-script' stdout output:
[info] Starting OpenVPN (non daemonised)...
2021-01-04 23:02:14,577 DEBG 'start-script' stdout output:
2021-01-04 23:02:14 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.
2021-01-04 23:02:14,577 DEBG 'start-script' stdout output:
2021-01-04 23:02:14 OpenVPN 2.5.0 [git:makepkg/a73072d8f780e888+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Nov 6 2020
2021-01-04 23:02:14 library versions: OpenSSL 1.1.1h 22 Sep 2020, LZO 2.10
2021-01-04 23:02:14,649 DEBG 'start-script' stdout output:
2021-01-04 23:02:14 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2021-01-04 23:02:14,705 DEBG 'start-script' stdout output:
2021-01-04 23:02:14 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2021-01-04 23:02:14,706 DEBG 'start-script' stdout output:
2021-01-04 23:02:14 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2021-01-04 23:02:14,765 DEBG 'start-script' stdout output:
2021-01-04 23:02:14 TCP/UDP: Preserving recently used remote address: [AF_INET]184.75.221.114:443
2021-01-04 23:02:14 Socket Buffers: R=[212992->212992] S=[212992->212992]
2021-01-04 23:02:14 UDP link local: (not bound)
2021-01-04 23:02:14 UDP link remote: [AF_INET]184.75.221.114:443
2021-01-04 23:02:14,807 DEBG 'start-script' stdout output:
2021-01-04 23:02:14 TLS: Initial packet from [AF_INET]184.75.221.114:443, sid=de19ed3f 249a0c0c
2021-01-04 23:02:14,808 DEBG 'start-script' stdout output:
2021-01-04 23:02:14 net_route_v4_best_gw query: dst 0.0.0.0
2021-01-04 23:02:14 net_route_v4_best_gw result: via 172.23.0.1 dev eth0
2021-01-04 23:02:14,865 DEBG 'start-script' stdout output:
2021-01-04 23:02:14 VERIFY KU OK
2021-01-04 23:02:14,867 DEBG 'start-script' stdout output:
2021-01-04 23:02:14 Validating certificate extended key usage
2021-01-04 23:02:14 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
2021-01-04 23:02:14 VERIFY EKU OK
2021-01-04 23:02:14 VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Alwaid, emailAddress=info@airvpn.org
2021-01-04 23:02:14,960 DEBG 'start-script' stdout output:
2021-01-04 23:02:14 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 4096 bit RSA
2021-01-04 23:02:14,965 DEBG 'start-script' stdout output:
2021-01-04 23:02:14 [Alwaid] Peer Connection Initiated with [AF_INET]184.75.221.114:443
2021-01-04 23:02:15,358 DEBG 'start-script' stdout output:
2021-01-04 23:02:15 SENT CONTROL [Alwaid]: 'PUSH_REQUEST' (status=1)
2021-01-04 23:02:15 PUSH: Received control message: 'PUSH_REPLY,comp-lzo no,redirect-gateway ipv6 def1 bypass-dhcp,dhcp-option DNS 10.8.148.1,dhcp-option DNS6 fde6:7a:7d20:494::1,tun-ipv6,route-gateway 10.8.148.1,topology subnet,ping 10,ping-restart 60,ifconfig-ipv6 fde6:7a:7d20:494::10b2/64 fde6:7a:7d20:494::1,ifconfig 10.8.148.180 255.255.255.0,peer-id 1,cipher AES-256-GCM'
2021-01-04 23:02:15 Pushed option removed by filter: 'dhcp-option DNS6 fde6:7a:7d20:494::1'
2021-01-04 23:02:15 Pushed option removed by filter: 'tun-ipv6'
2021-01-04 23:02:15 Pushed option removed by filter: 'ifconfig-ipv6 fde6:7a:7d20:494::10b2/64 fde6:7a:7d20:494::1'
2021-01-04 23:02:15 OPTIONS IMPORT: timers and/or timeouts modified
2021-01-04 23:02:15 OPTIONS IMPORT: compression parms modified
2021-01-04 23:02:15 OPTIONS IMPORT: --ifconfig/up options modified
2021-01-04 23:02:15 OPTIONS IMPORT: route options modified
2021-01-04 23:02:15 OPTIONS IMPORT: route-related options modified
2021-01-04 23:02:15 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
2021-01-04 23:02:15 OPTIONS IMPORT: peer-id set
2021-01-04 23:02:15 OPTIONS IMPORT: adjusting link_mtu to 1625
2021-01-04 23:02:15 OPTIONS IMPORT: data channel crypto options modified
2021-01-04 23:02:15 Data Channel: using negotiated cipher 'AES-256-GCM'
2021-01-04 23:02:15 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2021-01-04 23:02:15 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2021-01-04 23:02:15 net_route_v4_best_gw query: dst 0.0.0.0
2021-01-04 23:02:15 net_route_v4_best_gw result: via 172.23.0.1 dev eth0
2021-01-04 23:02:15 ROUTE_GATEWAY 172.23.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:17:00:02
2021-01-04 23:02:15 GDG6: remote_host_ipv6=n/a
2021-01-04 23:02:15 net_route_v6_best_gw query: dst ::
2021-01-04 23:02:15 sitnl_send: rtnl: generic error (-101): Network is unreachable
2021-01-04 23:02:15 ROUTE6: default_gateway=UNDEF
2021-01-04 23:02:15,360 DEBG 'start-script' stdout output:
2021-01-04 23:02:15 TUN/TAP device tun0 opened
2021-01-04 23:02:15,361 DEBG 'start-script' stdout output:
2021-01-04 23:02:15 net_iface_mtu_set: mtu 1500 for tun0
2021-01-04 23:02:15,363 DEBG 'start-script' stdout output:
2021-01-04 23:02:15 net_iface_up: set tun0 up
2021-01-04 23:02:15 net_addr_v4_add: 10.8.148.180/24 dev tun0
2021-01-04 23:02:15 /root/openvpnup.sh tun0 1500 1553 10.8.148.180 255.255.255.0 init
2021-01-04 23:02:20,636 DEBG 'start-script' stdout output:
2021-01-04 23:02:20 net_route_v4_add: 184.75.221.114/32 via 172.23.0.1 dev [NULL] table 0 metric -1
2021-01-04 23:02:20 net_route_v4_add: 0.0.0.0/1 via 10.8.148.1 dev [NULL] table 0 metric -1
2021-01-04 23:02:20 net_route_v4_add: 128.0.0.0/1 via 10.8.148.1 dev [NULL] table 0 metric -1
2021-01-04 23:02:20 WARNING: OpenVPN was configured to add an IPv6 route. However, no IPv6 has been configured for tun0, therefore the route installation may fail or may not work as expected.
2021-01-04 23:02:20 add_route_ipv6(::/3 -> :: metric -1) dev tun0
2021-01-04 23:02:20 net_route_v6_add: ::/3 via :: dev tun0 table 0 metric -1
2021-01-04 23:02:20 sitnl_send: rtnl: generic error (-13): Permission denied
2021-01-04 23:02:20 ERROR: Linux IPv6 route can't be added
2021-01-04 23:02:20 add_route_ipv6(2000::/4 -> :: metric -1) dev tun0
2021-01-04 23:02:20 net_route_v6_add: 2000::/4 via :: dev tun0 table 0 metric -1
2021-01-04 23:02:20 sitnl_send: rtnl: generic error (-13): Permission denied
2021-01-04 23:02:20 ERROR: Linux IPv6 route can't be added
2021-01-04 23:02:20 add_route_ipv6(3000::/4 -> :: metric -1) dev tun0
2021-01-04 23:02:20 net_route_v6_add: 3000::/4 via :: dev tun0 table 0 metric -1
2021-01-04 23:02:20 sitnl_send: rtnl: generic error (-13): Permission denied
2021-01-04 23:02:20 ERROR: Linux IPv6 route can't be added
2021-01-04 23:02:20 add_route_ipv6(fc00::/7 -> :: metric -1) dev tun0
2021-01-04 23:02:20 net_route_v6_add: fc00::/7 via :: dev tun0 table 0 metric -1
2021-01-04 23:02:20 sitnl_send: rtnl: generic error (-13): Permission denied
2021-01-04 23:02:20 ERROR: Linux IPv6 route can't be added
2021-01-04 23:02:20 Initialization Sequence Completed
2021-01-04 23:02:21,913 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using 'http://checkip.amazonaws.com'...
2021-01-04 23:02:24,347 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 184.75.221.115
2021-01-04 23:02:24,416 DEBG 'start-script' stdout output:
[info] Application does not require port forwarding or VPN provider is != pia, skipping incoming port assignment
2021-01-04 23:02:24,499 DEBG 'watchdog-script' stdout output:
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 10.8.148.180 different, marking for reconfigure
2021-01-04 23:02:24,726 DEBG 'watchdog-script' stdout output:
[info] qBittorrent not running
2021-01-04 23:02:24,738 DEBG 'watchdog-script' stdout output:
[info] Privoxy not running
2021-01-04 23:02:24,766 DEBG 'watchdog-script' stdout output:
[info] Removing session lock file (if it exists)...
2021-01-04 23:02:24,768 DEBG 'watchdog-script' stdout output:
[info] Attempting to start qBittorrent...
2021-01-04 23:02:31,255 DEBG 'watchdog-script' stdout output:
[info] qBittorrent process started
[info] Waiting for qBittorrent process to start listening on port 8080...
2021-01-04 23:02:34,629 DEBG 'watchdog-script' stdout output:
[info] qBittorrent process listening on port 8080
2021-01-04 23:02:34,695 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Privoxy...
2021-01-04 23:02:35,922 DEBG 'watchdog-script' stdout output:
[info] Privoxy process started
2021-01-04 23:02:35,922 DEBG 'watchdog-script' stdout output:
[info] Waiting for Privoxy process to start listening on port 8118...
2021-01-04 23:02:35,942 DEBG 'watchdog-script' stdout output:
[info] Privoxy process listening on port 8118
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment