i have been reinstall many times

when i use netflix it still has some problem that always show
Whoops, something went wrong...
Unexpected Error
There was an unexpected error. Please reload the page and try again.
what's going on???

No idea, what's in the log?

connect: Connection refused
connect:errno=22
Failure! Retrying in 10..
connect: Connection refused
connect:errno=22
Failure! Retrying in 20..
connect: Connection refused
connect:errno=22
Failure! Retrying in 40..
connect: Connection refused
connect:errno=22
Failure! Retrying in 80..
connect: Connection refused
connect:errno=22
Failure! Retrying in 160..
You've failed me for the last time! (/usr/bin/timeout 10 /usr/bin/openssl s_client -CApath /etc/ssl/certs -servername netflix.com -connect <IP_ADDRESS>:443)
connect: Connection refused
connect:errno=22

ERROR: for sniproxy  Container fb1302d030b1b42ac953561d33774479025997deaadc982341bf1130a9a0e123 is aleady active

root@sheldon:~# ping netflix.com
PING netflix.com (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- netflix.com ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9072ms

Do you have your tunnel setup correctly and can you ping6 google.com from the host?

PING google.com(lax02s21-in-x0e.1e100.net) 56 data bytes
64 bytes from lax02s21-in-x0e.1e100.net: icmp_seq=1 ttl=58 time=9.88 ms
64 bytes from lax02s21-in-x0e.1e100.net: icmp_seq=2 ttl=58 time=9.49 ms
64 bytes from lax02s21-in-x0e.1e100.net: icmp_seq=3 ttl=58 time=9.39 ms
64 bytes from lax02s21-in-x0e.1e100.net: icmp_seq=4 ttl=58 time=9.45 ms
64 bytes from lax02s21-in-x0e.1e100.net: icmp_seq=5 ttl=58 time=9.63 ms
64 bytes from lax02s21-in-x0e.1e100.net: icmp_seq=6 ttl=58 time=9.42 ms
64 bytes from lax02s21-in-x0e.1e100.net: icmp_seq=7 ttl=58 time=9.45 ms
64 bytes from lax02s21-in-x0e.1e100.net: icmp_seq=8 ttl=58 time=9.39 ms
64 bytes from lax02s21-in-x0e.1e100.net: icmp_seq=9 ttl=58 time=9.39 ms
^C
--- google.com ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8013ms
rtt min/avg/max/mdev = 9.391/9.502/9.881/0.176 ms

tunnel setup???i think it's correct , my provider uses SolusVM , it's special?????

Have you disabled native IPv6 support (if present)?

i saw yours sh has a step to disable native ipv6 and when i began to built it, i didn't do anything

i can ping6 netflix.com but i don't know how to remove  native IPv6

what's mean Do not enable native IPv6 on the host

It will try to disable automatically, but your best bet it to build the server without native IPv6, if you are using a tunnel.
You can try running docker run -it ubuntu bash -c "ping6 google.com" to see if Docker is able to communicate via IPv6, but apart from that, I have no idea. If you pastebin your screen output from build.sh as well as the netflix-proxy.log, I may be able to suggest something else.

net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6=1
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
libxml-xpath-perl
0 upgraded, 1 newly installed, 0 to remove and 104 not upgraded.
Need to get 79.6 kB of archives.
After this operation, 352 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian/ jessie/main libxml-xpath-perl all 1.13-7 [79.6 kB]
Fetched 79.6 kB in 0s (395 kB/s)
Selecting previously unselected package libxml-xpath-perl.
(Reading database ...

Preparing to unpack .../libxml-xpath-perl_1.13-7_all.deb ...
Unpacking libxml-xpath-perl (1.13-7) ...
Processing triggers for man-db (<IP_ADDRESS>-5) ...
Setting up libxml-xpath-perl (1.13-7) ...
source-directory interfaces.d
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    16  100    16    0     0     60      0 --:--:-- --:--:-- --:--:--    60
No tunnels found
syntax error at line 1, column 0, byte 0:
No tunnels found
^
at /usr/lib/x86_64-linux-gnu/perl5/5.20/XML/Parser.pm line 187.
syntax error at line 1, column 0, byte 0:
No tunnels found
^
at /usr/lib/x86_64-linux-gnu/perl5/5.20/XML/Parser.pm line 187.
syntax error at line 1, column 0, byte 0:
No tunnels found
^
at /usr/lib/x86_64-linux-gnu/perl5/5.20/XML/Parser.pm line 187.
syntax error at line 1, column 0, byte 0:
No tunnels found
^
at /usr/lib/x86_64-linux-gnu/perl5/5.20/XML/Parser.pm line 187.
syntax error at line 1, column 0, byte 0:
No tunnels found
^
at /usr/lib/x86_64-linux-gnu/perl5/5.20/XML/Parser.pm line 187.
auto he-ipv6
iface he-ipv6 inet6 v4tunnel
address
netmask 64
endpoint
local
ttl 255
gateway
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6=1
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
Reading package lists...
Building dependency tree...
Reading state information...
libxml-xpath-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 104 not upgraded.
source-directory interfaces.d
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   323  100   323    0     0   1599      0 --:--:-- --:--:-- --:--:--  1606

<IP_ADDRESS>
<IP_ADDRESS>
2001:470:1f18:ca::1
2001:470:1f18:ca::2
2001:470:1f19:ca::/64

auto he-ipv6
iface he-ipv6 inet6 v4tunnel
        address 2001:470:1f18:ca::2
        netmask 64
        endpoint <IP_ADDRESS>
        local <IP_ADDRESS>
        ttl 255
        gateway 2001:470:1f18:ca::1
add tunnel "sit0" failed: No buffer space available
Failed to bring up he-ipv6.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
<!doctype html>Netflix - Watch TV Shows Online, Watch Movies Online		allow-recursion { trusted; };
recursion yes;
additional-from-auth yes;
additional-from-cache yes;
/opt/netflix-proxy /opt/netflix-proxy
resolver {
nameserver <IP_ADDRESS>
mode ipv6_first
}
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
sipcalc
0 upgraded, 1 newly installed, 0 to remove and 104 not upgraded.
Need to get 34.5 kB of archives.
After this operation, 102 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian/ jessie/main sipcalc amd64 1.1.5-1 [34.5 kB]
Fetched 34.5 kB in 0s (154 kB/s)
Selecting previously unselected package sipcalc.
(Reading database ...

Preparing to unpack .../sipcalc_1.1.5-1_amd64.deb ...
Unpacking sipcalc (1.1.5-1) ...
Processing triggers for man-db (<IP_ADDRESS>-5) ...
Setting up sipcalc (1.1.5-1) ...
DOCKER_OPTS='--iptables=false --ipv6 --fixed-cidr-v6="2001:470:1f19:ca::/64"'
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
netfilter-persistent
The following NEW packages will be installed:
iptables-persistent netfilter-persistent
0 upgraded, 2 newly installed, 0 to remove and 104 not upgraded.
Need to get 19.5 kB of archives.
After this operation, 148 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian/ jessie/main netfilter-persistent all 1.0.3+deb8u1 [8,494 B]
Get:2 http://ftp.us.debian.org/debian/ jessie/main iptables-persistent all 1.0.3+deb8u1 [11.0 kB]
Preconfiguring packages ...
Fetched 19.5 kB in 0s (72.7 kB/s)
Selecting previously unselected package netfilter-persistent.
(Reading database ...

Preparing to unpack .../netfilter-persistent_1.0.3+deb8u1_all.deb ...
Unpacking netfilter-persistent (1.0.3+deb8u1) ...
Selecting previously unselected package iptables-persistent.
Preparing to unpack .../iptables-persistent_1.0.3+deb8u1_all.deb ...
Unpacking iptables-persistent (1.0.3+deb8u1) ...
Processing triggers for systemd (215-17) ...
Processing triggers for man-db (<IP_ADDRESS>-5) ...
Setting up netfilter-persistent (1.0.3+deb8u1) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up iptables-persistent (1.0.3+deb8u1) ...
Processing triggers for systemd (215-17) ...
Saving netfilter rules...run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables save
run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables save
done.

Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
binutils build-essential cpp cpp-4.9 dpkg-dev fakeroot g++ g++-4.9 gcc
gcc-4.9 libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasan1 libatomic1 libc-dev-bin libc6 libc6-dev
libcilkrts5 libcloog-isl4 libdpkg-perl libfakeroot libfile-fcntllock-perl
libgcc-4.9-dev libgomp1 libisl10 libitm1 liblsan0 libmpc3 libmpfr4
libquadmath0 libsqlite3-0 libstdc++-4.9-dev libtsan0 libubsan0
linux-libc-dev make manpages-dev python-cffi python-colorama
python-cryptography python-distlib python-html5lib python-ndg-httpsclient
python-openssl python-ply python-pyasn1 python-pycparser python-requests
python-setuptools python-urllib3 python-wheel
Suggested packages:
binutils-doc cpp-doc gcc-4.9-locales debian-keyring g++-multilib
g++-4.9-multilib gcc-4.9-doc libstdc++6-4.9-dbg gcc-multilib autoconf
automake libtool flex bison gdb gcc-doc gcc-4.9-multilib libgcc1-dbg
libgomp1-dbg libitm1-dbg libatomic1-dbg libasan1-dbg liblsan0-dbg
libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libquadmath0-dbg glibc-doc
libstdc++-4.9-doc make-doc python-dev python-cryptography-doc
python-cryptography-vectors python-genshi python-lxml python-openssl-doc
python-openssl-dbg python-ply-doc doc-base sqlite3-doc
Recommended packages:
python-dev-all
The following NEW packages will be installed:
binutils build-essential cpp cpp-4.9 dpkg-dev fakeroot g++ g++-4.9 gcc
gcc-4.9 libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasan1 libatomic1 libc-dev-bin libc6-dev
libcilkrts5 libcloog-isl4 libdpkg-perl libfakeroot libfile-fcntllock-perl
libgcc-4.9-dev libgomp1 libisl10 libitm1 liblsan0 libmpc3 libmpfr4
libquadmath0 libstdc++-4.9-dev libtsan0 libubsan0 linux-libc-dev make
manpages-dev python-cffi python-colorama python-cryptography python-distlib
python-html5lib python-ndg-httpsclient python-openssl python-pip python-ply
python-pyasn1 python-pycparser python-requests python-setuptools
python-urllib3 python-wheel sqlite3
The following packages will be upgraded:
libc6 libsqlite3-0
2 upgraded, 52 newly installed, 0 to remove and 102 not upgraded.
Need to get 55.5 MB of archives.
After this operation, 148 MB of additional disk space will be used.

Extracting templates from packages: 55%
Extracting templates from packages: 100%
Preconfiguring packages ...
Fetched 55.5 MB in 7s (7,739 kB/s)
(Reading database ...

Preparing to unpack .../libc6_2.19-18+deb8u4_amd64.deb ...
Unpacking libc6:amd64 (2.19-18+deb8u4) over (2.19-18) ...
Setting up libc6:amd64 (2.19-18+deb8u4) ...
Processing triggers for libc-bin (2.19-18) ...
(Reading database ...

Preparing to unpack .../libsqlite3-0_<IP_ADDRESS>-1+deb8u1_amd64.deb ...
Unpacking libsqlite3-0:amd64 (<IP_ADDRESS>-1+deb8u1) over (<IP_ADDRESS>-1) ...
Selecting previously unselected package libasan1:amd64.
Preparing to unpack .../libasan1_4.9.2-10_amd64.deb ...
Unpacking libasan1:amd64 (4.9.2-10) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_4.9.2-10_amd64.deb ...
Unpacking libatomic1:amd64 (4.9.2-10) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../libcilkrts5_4.9.2-10_amd64.deb ...
Unpacking libcilkrts5:amd64 (4.9.2-10) ...
Selecting previously unselected package libisl10:amd64.
Preparing to unpack .../libisl10_0.12.2-2_amd64.deb ...
Unpacking libisl10:amd64 (0.12.2-2) ...
Selecting previously unselected package libcloog-isl4:amd64.
Preparing to unpack .../libcloog-isl4_0.18.2-1+b2_amd64.deb ...
Unpacking libcloog-isl4:amd64 (0.18.2-1+b2) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../libgomp1_4.9.2-10_amd64.deb ...
Unpacking libgomp1:amd64 (4.9.2-10) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_4.9.2-10_amd64.deb ...
Unpacking libitm1:amd64 (4.9.2-10) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../liblsan0_4.9.2-10_amd64.deb ...
Unpacking liblsan0:amd64 (4.9.2-10) ...
Selecting previously unselected package libmpfr4:amd64.
Preparing to unpack .../libmpfr4_3.1.2-2_amd64.deb ...
Unpacking libmpfr4:amd64 (3.1.2-2) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../libquadmath0_4.9.2-10_amd64.deb ...
Unpacking libquadmath0:amd64 (4.9.2-10) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_4.9.2-10_amd64.deb ...
Unpacking libtsan0:amd64 (4.9.2-10) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../libubsan0_4.9.2-10_amd64.deb ...
Unpacking libubsan0:amd64 (4.9.2-10) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../libmpc3_1.0.2-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.0.2-1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../binutils_2.25-5_amd64.deb ...
Unpacking binutils (2.25-5) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.19-18+deb8u4_amd64.deb ...
Unpacking libc-dev-bin (2.19-18+deb8u4) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../linux-libc-dev_3.16.7-ckt25-2_amd64.deb ...
Unpacking linux-libc-dev:amd64 (3.16.7-ckt25-2) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../libc6-dev_2.19-18+deb8u4_amd64.deb ...
Unpacking libc6-dev:amd64 (2.19-18+deb8u4) ...
Selecting previously unselected package cpp-4.9.
Preparing to unpack .../cpp-4.9_4.9.2-10_amd64.deb ...
Unpacking cpp-4.9 (4.9.2-10) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_4%3a4.9.2-2_amd64.deb ...
Unpacking cpp (4:4.9.2-2) ...
Selecting previously unselected package libgcc-4.9-dev:amd64.
Preparing to unpack .../libgcc-4.9-dev_4.9.2-10_amd64.deb ...
Unpacking libgcc-4.9-dev:amd64 (4.9.2-10) ...
Selecting previously unselected package gcc-4.9.
Preparing to unpack .../gcc-4.9_4.9.2-10_amd64.deb ...
Unpacking gcc-4.9 (4.9.2-10) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a4.9.2-2_amd64.deb ...
Unpacking gcc (4:4.9.2-2) ...
Selecting previously unselected package libstdc++-4.9-dev:amd64.
Preparing to unpack .../libstdc++-4.9-dev_4.9.2-10_amd64.deb ...
Unpacking libstdc++-4.9-dev:amd64 (4.9.2-10) ...
Selecting previously unselected package g++-4.9.
Preparing to unpack .../g++-4.9_4.9.2-10_amd64.deb ...
Unpacking g++-4.9 (4.9.2-10) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a4.9.2-2_amd64.deb ...
Unpacking g++ (4:4.9.2-2) ...
Selecting previously unselected package make.
Preparing to unpack .../make_4.0-8.1_amd64.deb ...
Unpacking make (4.0-8.1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.17.26_all.deb ...
Unpacking libdpkg-perl (1.17.26) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.26_all.deb ...
Unpacking dpkg-dev (1.17.26) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.7_amd64.deb ...
Unpacking build-essential (11.7) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20.2-1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20.2-1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20.2-1_amd64.deb ...
Unpacking fakeroot (1.20.2-1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.02-3) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-3+b1_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-3+b1) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-2) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../libfile-fcntllock-perl_0.22-1+b1_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-1+b1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../manpages-dev_3.74-1_all.deb ...
Unpacking manpages-dev (3.74-1) ...
Selecting previously unselected package python-ply.
Preparing to unpack .../python-ply_3.4-5_all.deb ...
Unpacking python-ply (3.4-5) ...
Selecting previously unselected package python-pycparser.
Preparing to unpack .../python-pycparser_2.10+dfsg-3_all.deb ...
Unpacking python-pycparser (2.10+dfsg-3) ...
Selecting previously unselected package python-cffi.
Preparing to unpack .../python-cffi_0.8.6-1_amd64.deb ...
Unpacking python-cffi (0.8.6-1) ...
Selecting previously unselected package python-colorama.
Preparing to unpack .../python-colorama_0.3.2-1_all.deb ...
Unpacking python-colorama (0.3.2-1) ...
Selecting previously unselected package python-cryptography.
Preparing to unpack .../python-cryptography_0.6.1-1_amd64.deb ...
Unpacking python-cryptography (0.6.1-1) ...
Selecting previously unselected package python-distlib.
Preparing to unpack .../python-distlib_0.1.9-1_all.deb ...
Unpacking python-distlib (0.1.9-1) ...
Selecting previously unselected package python-html5lib.
Preparing to unpack .../python-html5lib_0.999-3_all.deb ...
Unpacking python-html5lib (0.999-3) ...
Selecting previously unselected package python-openssl.
Preparing to unpack .../python-openssl_0.14-1_all.deb ...
Unpacking python-openssl (0.14-1) ...
Selecting previously unselected package python-ndg-httpsclient.
Preparing to unpack .../python-ndg-httpsclient_0.3.2-1_all.deb ...
Unpacking python-ndg-httpsclient (0.3.2-1) ...
Selecting previously unselected package python-urllib3.
Preparing to unpack .../python-urllib3_1.9.1-3_all.deb ...
Unpacking python-urllib3 (1.9.1-3) ...
Selecting previously unselected package python-requests.
Preparing to unpack .../python-requests_2.4.3-6_all.deb ...
Unpacking python-requests (2.4.3-6) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_5.5.1-1_all.deb ...
Unpacking python-setuptools (5.5.1-1) ...
Selecting previously unselected package python-pip.
Preparing to unpack .../python-pip_1.5.6-5_all.deb ...
Unpacking python-pip (1.5.6-5) ...
Selecting previously unselected package python-pyasn1.
Preparing to unpack .../python-pyasn1_0.1.7-1_all.deb ...
Unpacking python-pyasn1 (0.1.7-1) ...
Selecting previously unselected package python-wheel.
Preparing to unpack .../python-wheel_0.24.0-1_all.deb ...
Unpacking python-wheel (0.24.0-1) ...
Selecting previously unselected package sqlite3.
Preparing to unpack .../sqlite3_<IP_ADDRESS>-1+deb8u1_amd64.deb ...
Unpacking sqlite3 (<IP_ADDRESS>-1+deb8u1) ...
Processing triggers for man-db (<IP_ADDRESS>-5) ...
Setting up libsqlite3-0:amd64 (<IP_ADDRESS>-1+deb8u1) ...
Setting up libasan1:amd64 (4.9.2-10) ...
Setting up libatomic1:amd64 (4.9.2-10) ...
Setting up libcilkrts5:amd64 (4.9.2-10) ...
Setting up libisl10:amd64 (0.12.2-2) ...
Setting up libcloog-isl4:amd64 (0.18.2-1+b2) ...
Setting up libgomp1:amd64 (4.9.2-10) ...
Setting up libitm1:amd64 (4.9.2-10) ...
Setting up liblsan0:amd64 (4.9.2-10) ...
Setting up libmpfr4:amd64 (3.1.2-2) ...
Setting up libquadmath0:amd64 (4.9.2-10) ...
Setting up libtsan0:amd64 (4.9.2-10) ...
Setting up libubsan0:amd64 (4.9.2-10) ...
Setting up libmpc3:amd64 (1.0.2-1) ...
Setting up binutils (2.25-5) ...
Setting up libc-dev-bin (2.19-18+deb8u4) ...
Setting up linux-libc-dev:amd64 (3.16.7-ckt25-2) ...
Setting up libc6-dev:amd64 (2.19-18+deb8u4) ...
Setting up cpp-4.9 (4.9.2-10) ...
Setting up cpp (4:4.9.2-2) ...
Setting up libgcc-4.9-dev:amd64 (4.9.2-10) ...
Setting up gcc-4.9 (4.9.2-10) ...
Setting up gcc (4:4.9.2-2) ...
Setting up libstdc++-4.9-dev:amd64 (4.9.2-10) ...
Setting up g++-4.9 (4.9.2-10) ...
Setting up g++ (4:4.9.2-2) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up make (4.0-8.1) ...
Setting up libdpkg-perl (1.17.26) ...
Setting up dpkg-dev (1.17.26) ...
Setting up build-essential (11.7) ...
Setting up libfakeroot:amd64 (1.20.2-1) ...
Setting up fakeroot (1.20.2-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libalgorithm-diff-perl (1.19.02-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-3+b1) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libfile-fcntllock-perl (0.22-1+b1) ...
Setting up manpages-dev (3.74-1) ...
Setting up python-ply (3.4-5) ...
Setting up python-pycparser (2.10+dfsg-3) ...
Setting up python-cffi (0.8.6-1) ...
Setting up python-colorama (0.3.2-1) ...
Setting up python-cryptography (0.6.1-1) ...
Setting up python-distlib (0.1.9-1) ...
Setting up python-html5lib (0.999-3) ...
Setting up python-openssl (0.14-1) ...
Setting up python-ndg-httpsclient (0.3.2-1) ...
Setting up python-urllib3 (1.9.1-3) ...
Setting up python-requests (2.4.3-6) ...
Setting up python-setuptools (5.5.1-1) ...
Setting up python-pip (1.5.6-5) ...
Setting up python-pyasn1 (0.1.7-1) ...
Setting up python-wheel (0.24.0-1) ...
Setting up sqlite3 (<IP_ADDRESS>-1+deb8u1) ...
Processing triggers for libc-bin (2.19-18) ...
Processing triggers for python-support (1.0.15) ...
Downloading/unpacking pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-8.1.1-py2.py3-none-any.whl#md5=22db7b6a517a09c29d54a76650f170eb
Installing collected packages: pip
Found existing installation: pip 1.5.6
Not uninstalling pip at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installed pip
Cleaning up...
Collecting docker-compose
Downloading docker-compose-1.7.0.tar.gz (141kB)
Collecting cached-property<2,>=1.2.0 (from docker-compose)
Downloading cached_property-1.3.0-py2.py3-none-any.whl
Collecting docopt<0.7,>=0.6.1 (from docker-compose)
Downloading docopt-0.6.2.tar.gz
Collecting PyYAML<4,>=3.10 (from docker-compose)
Downloading PyYAML-3.11.tar.gz (248kB)
Collecting requests<2.8,>=2.6.1 (from docker-compose)
Downloading requests-2.7.0-py2.py3-none-any.whl (470kB)
Collecting texttable<0.9,>=0.8.1 (from docker-compose)
Downloading texttable-0.8.4.tar.gz
Collecting websocket-client<1.0,>=0.32.0 (from docker-compose)
Downloading websocket_client-0.37.0.tar.gz (194kB)
Collecting docker-py<2,>1.7.2 (from docker-compose)
Downloading docker_py-1.8.0-py2.py3-none-any.whl (41kB)
Collecting dockerpty<0.5,>=0.4.1 (from docker-compose)
Downloading dockerpty-0.4.1.tar.gz
Requirement already satisfied (use --upgrade to upgrade): six<2,>=1.3.0 in /usr/lib/python2.7/dist-packages (from docker-compose)
Collecting jsonschema<3,>=2.5.1 (from docker-compose)
Downloading jsonschema-2.5.1-py2.py3-none-any.whl
Collecting enum34<2,>=1.0.4 (from docker-compose)
Downloading enum34-1.1.3-py2.py3-none-any.whl (61kB)
Collecting py2-ipaddress>=3.4.1 (from docker-py<2,>1.7.2->docker-compose)
Downloading py2-ipaddress-3.4.1.tar.gz
Collecting functools32 (from jsonschema<3,>=2.5.1->docker-compose)
Downloading functools32-3.2.3-2.tar.gz
Building wheels for collected packages: docker-compose, docopt, PyYAML, texttable, websocket-client, dockerpty, py2-ipaddress, functools32
Running setup.py bdist_wheel for docker-compose: started
Running setup.py bdist_wheel for docker-compose: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/dd/76/fb/1ac77a863ae8c358460476b85b70265929f39654ca6644992a
Running setup.py bdist_wheel for docopt: started
Running setup.py bdist_wheel for docopt: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/0d/5c/a7/cb986749520c1950217b5d8405def5c18541322dbc411a80d1
Running setup.py bdist_wheel for PyYAML: started
Running setup.py bdist_wheel for PyYAML: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/fa/db/f6/dee55793d344f1706dc4a5a693298f0115241d1085cc212364
Running setup.py bdist_wheel for texttable: started
Running setup.py bdist_wheel for texttable: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/ab/74/7f/2b7fc041492ad26d80779955f8fbc596c948f13e2dbb33bf6d
Running setup.py bdist_wheel for websocket-client: started
Running setup.py bdist_wheel for websocket-client: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/3e/82/ad/d941b5ca7bb6a0b613baed947cb099d6f68f5d3b84024ac0c7
Running setup.py bdist_wheel for dockerpty: started
Running setup.py bdist_wheel for dockerpty: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/05/8c/84/a3085d476576abe6b39eddd7886f14eea7f346321a98e6c3fd
Running setup.py bdist_wheel for py2-ipaddress: started
Running setup.py bdist_wheel for py2-ipaddress: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/67/27/9d/03c7c02d09d59460280a824af941f7ebd0c9fb69c429f54cd2
Running setup.py bdist_wheel for functools32: started
Running setup.py bdist_wheel for functools32: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/38/c6/c7/ee17acd621120c302e25c2fa8b3a8b235d5d1137c6ab4c9728
Successfully built docker-compose docopt PyYAML texttable websocket-client dockerpty py2-ipaddress functools32
Installing collected packages: cached-property, docopt, PyYAML, requests, texttable, websocket-client, py2-ipaddress, docker-py, dockerpty, functools32, jsonschema, enum34, docker-compose
Found existing installation: requests 2.4.3
Uninstalling requests-2.4.3:
Successfully uninstalled requests-2.4.3
Successfully installed PyYAML-3.11 cached-property-1.3.0 docker-compose-1.7.0 docker-py-1.8.0 dockerpty-0.4.1 docopt-0.6.2 enum34-1.1.3 functools32-3.2.3-2 jsonschema-2.5.1 py2-ipaddress-3.4.1 requests-2.7.0 texttable-0.8.4 websocket-client-0.37.0
Collecting dnspython (from -r /opt/netflix-proxy/auth/requirements.txt (line 1))
Downloading dnspython-1.12.0.zip (230kB)
Collecting web.py (from -r /opt/netflix-proxy/auth/requirements.txt (line 2))
Downloading web.py-0.37.tar.gz (90kB)
Collecting passlib (from -r /opt/netflix-proxy/auth/requirements.txt (line 3))
Downloading passlib-1.6.5-py2.py3-none-any.whl (317kB)
Building wheels for collected packages: dnspython, web.py
Running setup.py bdist_wheel for dnspython: started
Running setup.py bdist_wheel for dnspython: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/e0/58/e2/981145033fb65602c3c004d5dd92fb360c02f3b05ba654a336
Running setup.py bdist_wheel for web.py: started
Running setup.py bdist_wheel for web.py: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/4c/5b/21/80edc384b01b28f4c3f6a310b4aa27f50feafe4a97327fdfd4
Successfully built dnspython web.py
Installing collected packages: dnspython, web.py, passlib
Successfully installed dnspython-1.12.0 passlib-1.6.5 web.py-0.37
proxy / localhost:43867 {
except /static
proxy_header Host {host}
proxy_header X-Forwarded-For {remote}
proxy_header X-Real-IP {remote}
proxy_header X-Forwarded-Proto {scheme}
}
Pulling reverse-proxy (abiosoft/caddy:latest)...
latest: Pulling from abiosoft/caddy
Digest: sha256:3946e9e66aff4dd35fe1c782f448a46b6c151463ade45e45c70eaa09fdad5000
Status: Downloaded newer image for abiosoft/caddy:latest
Pulling bind (ab77/bind:latest)...
latest: Pulling from ab77/bind
Digest: sha256:235b0707e21e92bb01d6db5bbe7029a3aa5ce98506010a7c05e52af5a0d60267
Status: Downloaded newer image for ab77/bind:latest
Pulling dnsmasq (andyshinn/dnsmasq:latest)...
latest: Pulling from andyshinn/dnsmasq
Digest: sha256:8b765ee9ba2e6bed56728f7c2ff7c2a40ce049dda98cd454e59f1f8386cd50dd
Status: Downloaded newer image for andyshinn/dnsmasq:latest
Pulling sniproxy (ab77/sniproxy:latest)...
latest: Pulling from ab77/sniproxy
Digest: sha256:191fdc8d7ef978c8cbb65fac04643496bbe47efd55891a3f032834130d0b8e6f
Status: Downloaded newer image for ab77/sniproxy:latest
Creating caching-resolver
Creating bind
Creating caddy
Creating sniproxy
Creating dnsmasq
[Service]
EnvironmentFile=-/etc/default/docker
ExecStart=
ExecStart=/usr/bin/docker daemon $DOCKER_OPTS -H fd://
Created symlink from /etc/systemd/system/multi-user.target.wants/netflix-proxy-admin.service to /lib/systemd/system/netflix-proxy-admin.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/ndp-proxy-helper.service to /lib/systemd/system/ndp-proxy-helper.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/systemd-networkd.service to /lib/systemd/system/systemd-networkd.service.
Created symlink from /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service to /lib/systemd/system/systemd-networkd-wait-online.service.
 Retrying in 10..
connect: Connection refused
connect:errno=22
Failure! Retrying in 20..
connect: Connection refused
connect:errno=22
Failure! Retrying in 40..
connect: Connection refused
connect:errno=22
Failure! Retrying in 80..
connect: Connection refused
connect:errno=22
Failure! Retrying in 160..

Building dependency tree...
Reading state information...
libxml-xpath-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 102 not upgraded.
source-directory interfaces.d
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   323  100   323    0     0   1554      0 --:--:-- --:--:-- --:--:--  1560

<IP_ADDRESS>
<IP_ADDRESS>
2001:470:1f18:ca::1
2001:470:1f18:ca::2
2001:470:1f19:ca::/64

auto he-ipv6
iface he-ipv6 inet6 v4tunnel
        address 2001:470:1f18:ca::2
        netmask 64
        endpoint <IP_ADDRESS>
        local <IP_ADDRESS>
        ttl 255
        gateway 2001:470:1f18:ca::1
add tunnel "sit0" failed: No buffer space available
Failed to bring up he-ipv6.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:07 --:--:--     0<!doctype html>Netflix - Watch TV Shows Online, Watch Movies Online		allow-recursion { trusted; };
recursion yes;
additional-from-auth yes;
additional-from-cache yes;
/opt/netflix-proxy /opt/netflix-proxy
resolver {
nameserver <IP_ADDRESS>
mode ipv6_first
}
Reading package lists...
Building dependency tree...
Reading state information...
sipcalc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 102 not upgraded.
DOCKER_OPTS='--iptables=false --ipv6 --fixed-cidr-v6="2001:470:1f19:ca::/64"'
Reading package lists...
Building dependency tree...
Reading state information...
iptables-persistent is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 102 not upgraded.
Saving netfilter rules...run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables save
run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables save
done.

Reading package lists...
Building dependency tree...
Reading state information...
python-pip is already the newest version.
sqlite3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 102 not upgraded.
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): docker-compose in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): cached-property<2,>=1.2.0 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already satisfied (use --upgrade to upgrade): six<2,>=1.3.0 in /usr/lib/python2.7/dist-packages (from docker-compose)
Requirement already satisfied (use --upgrade to upgrade): PyYAML<4,>=3.10 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already satisfied (use --upgrade to upgrade): enum34<2,>=1.0.4 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already satisfied (use --upgrade to upgrade): dockerpty<0.5,>=0.4.1 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already satisfied (use --upgrade to upgrade): jsonschema<3,>=2.5.1 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already satisfied (use --upgrade to upgrade): texttable<0.9,>=0.8.1 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already satisfied (use --upgrade to upgrade): requests<2.8,>=2.6.1 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already satisfied (use --upgrade to upgrade): websocket-client<1.0,>=0.32.0 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already satisfied (use --upgrade to upgrade): docopt<0.7,>=0.6.1 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already satisfied (use --upgrade to upgrade): docker-py<2,>1.7.2 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already satisfied (use --upgrade to upgrade): functools32 in /usr/local/lib/python2.7/dist-packages (from jsonschema<3,>=2.5.1->docker-compose)
Requirement already satisfied (use --upgrade to upgrade): py2-ipaddress>=3.4.1 in /usr/local/lib/python2.7/dist-packages (from docker-py<2,>1.7.2->docker-compose)
Requirement already satisfied (use --upgrade to upgrade): dnspython in /usr/local/lib/python2.7/dist-packages (from -r /opt/netflix-proxy/auth/requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): web.py in /usr/local/lib/python2.7/dist-packages (from -r /opt/netflix-proxy/auth/requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): passlib in /usr/local/lib/python2.7/dist-packages (from -r /opt/netflix-proxy/auth/requirements.txt (line 3))
proxy / localhost:43867 {
except /static
proxy_header Host {host}
proxy_header X-Forwarded-For {remote}
proxy_header X-Real-IP {remote}
proxy_header X-Forwarded-Proto {scheme}
}
caching-resolver is up-to-date
caddy is up-to-date
bind is up-to-date
dnsmasq is up-to-date
Starting sniproxy
ERROR: for sniproxy  Container fb1302d030b1b42ac953561d33774479025997deaadc982341bf1130a9a0e123 is aleady active
[Service]
EnvironmentFile=-/etc/default/docker
ExecStart=
ExecStart=/usr/bin/docker daemon $DOCKER_OPTS -H fd://
Loading netfilter rules...run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables start
run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables start
done.
; <<>> DiG 9.9.5-9+deb8u6-Debian <<>> +time=10 netflix.com @<IP_ADDRESS>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57387
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;netflix.com.			IN	A
;; ANSWER SECTION:
netflix.com.		86400	IN	A	<IP_ADDRESS>
;; AUTHORITY SECTION:
netflix.com.		86400	IN	NS	ns1.netflix.com.
;; ADDITIONAL SECTION:
ns1.netflix.com.	86400	IN	A	<IP_ADDRESS>
;; Query time: 1 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Sat Apr 16 07:41:51 EDT 2016
;; MSG SIZE  rcvd: 90
depth=2 C = US, O = "VeriSign, Inc.", OU = VeriSign Trust Network, OU = "(c) 1999 VeriSign, Inc. - For authorized use only", CN = VeriSign Class 3 Public Primary Certification Authority - G3
verify return:1
depth=1 C = US, O = Symantec Corporation, OU = Symantec Trust Network, CN = Symantec Class 3 Secure Server CA - G4
verify return:1
depth=0 C = US, ST = CALIFORNIA, L = Los Gatos, O = "Netflix, Inc.", OU = Operations, CN = www.netflix.com
verify return:1
CONNECTED(00000003)
Certificate chain
0 s:/C=US/ST=CALIFORNIA/L=Los Gatos/O=Netflix, Inc./OU=Operations/CN=www.netflix.com
i:/C=US/O=Symantec Corporation/OU=Symantec Trust Network/CN=Symantec Class 3 Secure Server CA - G4
1 s:/C=US/O=Symantec Corporation/OU=Symantec Trust Network/CN=Symantec Class 3 Secure Server CA - G4
i:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 1999 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G3
Server certificate
-----BEGIN CERTIFICATE-----
MIIFijCCBHKgAwIBAgIQQ9vZa/gIJmgo9kj2egocUjANBgkqhkiG9w0BAQsFADB+
MQswCQYDVQQGEwJVUzEdMBsGA1UEChMUU3ltYW50ZWMgQ29ycG9yYXRpb24xHzAd
BgNVBAsTFlN5bWFudGVjIFRydXN0IE5ldHdvcmsxLzAtBgNVBAMTJlN5bWFudGVj
IENsYXNzIDMgU2VjdXJlIFNlcnZlciBDQSAtIEc0MB4XDTE1MDQxNDAwMDAwMFoX
DTE3MDQxMjIzNTk1OVowfTELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNBTElGT1JO
SUExEjAQBgNVBAcMCUxvcyBHYXRvczEWMBQGA1UECgwNTmV0ZmxpeCwgSW5jLjET
MBEGA1UECwwKT3BlcmF0aW9uczEYMBYGA1UEAwwPd3d3Lm5ldGZsaXguY29tMIIB
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuahXKETW08vuetLrBeK6Ldf5
SssEHYoJDTkj/CNX+h9jCkJLuU35kYpHHeIBSQFM1nOf6VTLBI6EwRSoaJYZeUfL
kjV/0SSFLpCyxWIeiqRxoZPJi8e+GyAedP8//B6pgJEX/Xqv0twe3OG2IQ1vVX0J
vbzTWl7in6xOUfN0XN6H9blqCSWJdRnIQE511xnJn8GfjbHm2hVbeuPBoogqTvoa
8/8n30BlEFG3GVi9sn2/O+HBsShrfgvmWk91dlH77Jg8koE0L9Qigv8VGltQmpbd
bWt39re8AQ8i52wlsp5tudhO9q+lWwMN3PrX14PZqKk3sjsOxUa8nDU5Uq63sQID
AQABo4ICAzCCAf8wgbQGA1UdEQSBrDCBqYITYWNjb3VudC5uZXRmbGl4LmNvbYIO
Y2EubmV0ZmxpeC5jb22CCm5ldGZsaXguY2GCC25ldGZsaXguY29tghJzaWdudXAu
bmV0ZmxpeC5jb22CDnd3dy5uZXRmbGl4LmNhgg93d3cubmV0ZmxpeC5jb22CEHd3
dzEubmV0ZmxpeC5jb22CEHd3dzIubmV0ZmxpeC5jb22CEHd3dzMubmV0ZmxpeC5j
b20wCQYDVR0TBAIwADAOBgNVHQ8BAf8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUH
AwEGCCsGAQUFBwMCMGUGA1UdIAReMFwwWgYKYIZIAYb4RQEHNjBMMCMGCCsGAQUF
BwIBFhdodHRwczovL2Quc3ltY2IuY29tL2NwczAlBggrBgEFBQcCAjAZGhdodHRw
czovL2Quc3ltY2IuY29tL3JwYTAfBgNVHSMEGDAWgBRfYM9hkFXfhEMUimAqsvV6
9EMY7zArBgNVHR8EJDAiMCCgHqAchhpodHRwOi8vc3Muc3ltY2IuY29tL3NzLmNy
bDBXBggrBgEFBQcBAQRLMEkwHwYIKwYBBQUHMAGGE2h0dHA6Ly9zcy5zeW1jZC5j
b20wJgYIKwYBBQUHMAKGGmh0dHA6Ly9zcy5zeW1jYi5jb20vc3MuY3J0MA0GCSqG
SIb3DQEBCwUAA4IBAQCjzCPCZ0QQFwU/ehGm970LQVN/CXtuFI6UvJCMsFXeAaS1
8qDkl9tW/9ihpaUvy7GabfCEglBnnhYlWhcu1jGYVdoJH6fBYWKH6cKGS/NQpRu/
647cpvCVS1STW0vYJF5beKDeP0Rik9YMbiDAOjK3/z0bBxpNFf/xTRlbTOfJeJJa
ZkLvqIuRidMdyvZ6Pw4FkpYLyqSrTA49fs6zutp76ek+KhvHr9nGylKWWm+mg2RP
DM880iAq7A0VQY/eHt3PJCmPyEdO5Q0UG2UQ12OhYXIwpr8ZnwjhtxPMYY/eYdGE
DWkrV+u0kzRIg6UcDlgT44Avd56+e5v7Z8IM+ZTU
-----END CERTIFICATE-----
subject=/C=US/ST=CALIFORNIA/L=Los Gatos/O=Netflix, Inc./OU=Operations/CN=www.netflix.com
issuer=/C=US/O=Symantec Corporation/OU=Symantec Trust Network/CN=Symantec Class 3 Secure Server CA - G4
No client certificate CA names sent
SSL handshake has read 3400 bytes and written 441 bytes
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-GCM-SHA256
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol  : TLSv1.2
Cipher    : ECDHE-RSA-AES128-GCM-SHA256
Session-ID: 0E466D3C8E960ABD5125711066609753DC5986DB11AA11E2E108F056287A63B7
Session-ID-ctx:
Master-Key: 38F1F5EFBD7F80D05656CE95B2904C3462EFE1CD5C7C266F3630DF9B448D05A741B5AED34FC5918C2DC7222EF3137EDB
Key-Arg   : None
PSK identity: None
PSK identity hint: None
SRP username: None
TLS session ticket lifetime hint: 300 (seconds)
TLS session ticket:
0000 - 29 10 ac 33 dd e0 71 5c-0f b7 dc 05 32 d0 ad 80   )..3..q....2...
0010 - 35 61 4b 1d 75 95 8e 7b-9c 06 a0 e6 1c f1 ca a7   5aK.u..{........
0020 - d8 56 f4 ec 3c 32 ba ee-11 aa db 0d b8 4e d5 cf   .V..<2.......N..
0030 - 05 0c 71 72 95 7c 64 78-0a 10 f5 f5 f1 94 50 bb   ..qr.|dx......P.
0040 - 7c 77 be fd a7 a3 b0 03-ad a3 1a ab 2a ef 12 fe   |w..........*...
0050 - 40 b0 d8 07 79 06 64 7a-bb 41 c3 be 9b 43 d8 14   @...y.dz.A...C..
0060 - a0 e3 51 47 77 18 aa 66-61 c6 34 21 36 0e 88 35   ..QGw..fa.4!6..5
0070 - 42 d8 1a 8b d9 27 d3 b6-41 5c 85 a5 7a b6 51 bb   B....'..A..z.Q.
0080 - be 9b d8 2d 74 05 97 35-0c 39 d8 0d ac 9b 11 f4   ...-t..5.9......
0090 - ab d3 52 8f d3 e1 40 0b-cd 7e 39 b0 38 6f e0 71<EMAIL_ADDRESS>00a0 - 24 1c 3e 18 60 01 7c 04-63 6f 93 ec 3a 7c 5e b7   $.>.`.|.co..:|^.
Start Time:<PHONE_NUMBER>
Timeout   : 300 (sec)
Verify return code: 0 (ok)

DONE
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
100 91552    0 91552    0     0  13362      0 --:--:--  0:00:06 --:--:-- 13362
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
/opt/netflix-proxy

#!/usr/bin/env bash
Note, this script assumes Ubuntu or Debian Linux and it will most likely fail on any other distribution.
bomb on any error
set -e
fix terminfo
http://ashberlin.co.uk/blog/2010/08/24/color-in-ubuntu-init-scripts/
if [[ $(infocmp | grep 'hpa=') == "" ]]; then
(infocmp; printf '\thpa=\E[%sG,\n' %i%p1%d) > tmp-${$}.tic &&
tic -s tmp-$$.tic -o /etc/terminfo &&
rm tmp-$$.tic &&
exec ${0} $@
fi
gobals
VERSION=2.4
TIMEOUT=10
BUILD_ROOT=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
SDNS_ADMIN_PORT=43867
HE_TUNNEL_INDEX=1
HE_IFACE=he-ipv6
NETFLIX_HOST=netflix.com
import functions
[ -e "/lib/lsb/init-functions" ] && . /lib/lsb/init-functions
[ -e "${BUILD_ROOT}/scripts/functions" ] && . ${BUILD_ROOT}/scripts/functions
obtain the interface with the default gateway
IFACE=$(get_iface)
obtain IP address of the Internet facing interface
IPADDR=$(get_ipaddr)
EXTIP=$(get_ext_ipaddr)
obtain client (home) ip address
CLIENTIP=$(get_client_ipaddr)
get the current date
DATE=$(/bin/date +'%Y%m%d')
display usage
usage() {
echo "Usage: $0 [-r 0|1] [-b 0|1] [-c ] [-z 0|1] [-u ] [-p ] [-k ] [-n <1..N>] [-s ]" 1>&2;
printf "\t-r\tenable (1) or disable (0) DNS recursion (default: 1)\n";
printf "\t-b\tgrab docker images from repository (0) or build locally (1) (default: 0)\n";
printf "\t-c\tspecify client-ip instead of being taken from ssh_connection\n";
printf "\t-s\tspecify IPv6 subnet for Docker (e.g. 2001:470:abcd:123::/64)\n";
printf "\t-z\tenable caching resolver (default: 0)\n";
printf "\t-u\tHE tunnel broker username\n";
printf "\t-p\tHE tunnel broker password\n";
printf "\t-k\tHE tunnel broker update key\n";
printf "\t-n\tHE tunnel index (default: ${HE_TUNNEL_INDEX})\n";
exit 1;
}
process options
while getopts ":r:b:c:z:s:u:p:n:k:v" o; do
case "${o}" in
v)
printf "${VERSION}\n"
exit
;;
r)
r=${OPTARG}
((r == 0|| r == 1)) || usage
;;
b)
b=${OPTARG}
((b == 0|| b == 1)) || usage
;;
z)
z=${OPTARG}
((z == 0|| z == 1)) || usage
;;
c)
c=${OPTARG}
;;
s)
s=${OPTARG}
;;
u)
u=${OPTARG}
;;
p)
p=${OPTARG}
;;
k)
k=${OPTARG}
;;
n)
n=${OPTARG}
;;
*)
usage
;;
esac
done
shift $((OPTIND-1))
if [[ -z "${r}" ]]; then
r=1
fi
if [[ -z "${b}" ]]; then
b=0
fi
if [[ -z "${z}" ]]; then
z=0
fi
if [[ -n "${c}" ]]; then
CLIENTIP="${c}"
fi
if [[ -n "${s}" ]]; then
IPV6_SUBNET="${s}"
fi
if [[ -n "${u}" ]]; then
HE_TB_UNAME="${u}"
fi
if [[ -n "${p}" ]]; then
HE_TB_PASSWD="${p}"
fi
if [[ -n "${k}" ]]; then
HE_TB_UPDATE_KEY="${k}"
fi
if [[ -n "${n}" ]]; then
HE_TUNNEL_INDEX="${n}"
fi
diagnostics info
sudo touch ${BUILD_ROOT}/netflix-proxy.log
printf "resolved params: clientip=${CLIENTIP} ipaddr=${IPADDR} extip=${EXTIP}\n"
printf "cmd: $0 -r=${r} -b=${b} -s=${IPV6_SUBNET} -z=${z} -n=${HE_TUNNEL_INDEX} -u=${HE_TB_UNAME} -p [secret] -k [secret]\n\n"
automatically enable IPv6 (tunnel)
if [[ -n "${HE_TB_UNAME}" ]] && [[ -n "${HE_TB_PASSWD}" ]]; then
log_action_begin_msg "disabling native IPv6 on ${IFACE}"
sudo sysctl -w net.ipv6.conf.${IFACE}.disable_ipv6=1 &>> ${BUILD_ROOT}/netflix-proxy.log &&
printf "net.ipv6.conf.${IFACE}.disable_ipv6=1\n" | sudo tee -a /etc/sysctl.conf &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo sysctl -p &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
log_action_begin_msg "installing XPath"
apt-get -y install libxml-xpath-perl &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?

log_action_begin_msg "enabling ${HE_IFACE} interface"
mkdir -p /etc/network/interfaces.d &>> ${BUILD_ROOT}/netflix-proxy.log && \
  printf "source-directory interfaces.d\n" | sudo tee -a /etc/network/interfaces &>> ${BUILD_ROOT}/netflix-proxy.log && \
  add_tunnel_iface_config ${HE_TB_UNAME} ${HE_TB_PASSWD} ${HE_TUNNEL_INDEX} &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?

IPV6_SUBNET=$(get_tunnel_routed64 ${HE_TUNNEL_INDEX})
CLIENTV4=$(get_tunnel_clientv4 ${HE_TUNNEL_INDEX})
if [[ ${EXTIP} == ${CLIENTV4} ]]; then
    log_action_cont_msg "bringing up IPv6 tunnel"
    sudo ifup ${HE_IFACE} &>> ${BUILD_ROOT}/netflix-proxy.log
    log_action_end_msg $?
else
    log_action_cont_msg "tunnel endpoint clientv4=${CLIENTV4} does not match extip=${EXTIP}"
    if [[ -n "${HE_TB_UPDATE_KEY}" ]]; then
        log_action_cont_msg "attempting to update tunnel configuration"
        TUNNEL_ID=$(get_tunnel_id ${HE_TUNNEL_INDEX})
        # https://forums.he.net/index.php?topic=3153.0
        with_backoff $(which curl) -4 --fail \
          "https://${HE_TB_UNAME}:${HE_TB_UPDATE_KEY}@ipv4.tunnelbroker.net/nic/update?hostname=${TUNNEL_ID}" &>> ${BUILD_ROOT}/netflix-proxy.log
        log_action_end_msg $?

        log_action_cont_msg "bringing up IPv6 tunnel"
        add_tunnel_iface_config ${HE_TB_UNAME} ${HE_TB_PASSWD} ${HE_TUNNEL_INDEX} &>> ${BUILD_ROOT}/netflix-proxy.log && \
          sudo ifup ${HE_IFACE} &>> ${BUILD_ROOT}/netflix-proxy.log
        log_action_end_msg $?
    else
        log_action_cont_msg "unable to update clientv4 without update key"
        exit 1
    fi
fi
log_action_cont_msg "testing IPv6 tunnel (this may take a while)"
with_backoff $(which curl) -6 --fail -L ${NETFLIX_HOST} &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?

fi
prepare BIND config
if [[ ${r} == 0 ]]; then
log_action_begin_msg "disabling DNS recursion"
printf "\t\tallow-recursion { none; };\n\t\trecursion no;\n\t\tadditional-from-auth no;\n\t\tadditional-from-cache no;\n" |
sudo tee ${BUILD_ROOT}/docker-bind/named.recursion.conf &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
else
log_action_begin_msg "enabling DNS recursion"
printf "\t\tallow-recursion { trusted; };\n\t\trecursion yes;\n\t\tadditional-from-auth yes;\n\t\tadditional-from-cache yes;\n" |
sudo tee ${BUILD_ROOT}/docker-bind/named.recursion.conf &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
fi
switch to working directory
pushd ${BUILD_ROOT} &>> ${BUILD_ROOT}/netflix-proxy.log
configure iptables
if [[ -n "${CLIENTIP}" ]]; then
log_action_begin_msg "authorising clientip=${CLIENTIP} on iface=${IFACE}"
sudo iptables -t nat -A PREROUTING -s ${CLIENTIP}/32 -i ${IFACE} -j ACCEPT
log_action_end_msg $?
else
log_action_cont_msg "unable to resovle and authorise client ip"
fi
log_action_begin_msg "adding IPv4 iptables rules"
sudo iptables -t nat -A PREROUTING -i ${IFACE} -p tcp --dport 80 -j REDIRECT --to-port 8080 &&
sudo iptables -t nat -A PREROUTING -i ${IFACE} -p tcp --dport 443 -j REDIRECT --to-port 8080  &&
sudo iptables -t nat -A PREROUTING -i ${IFACE} -p udp --dport 53 -j REDIRECT --to-port 5353 &&
sudo iptables -A INPUT -p icmp -j ACCEPT &&
sudo iptables -A INPUT -i lo -j ACCEPT &&
sudo iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT &&
sudo iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT &&
sudo iptables -A INPUT -p udp -m udp --dport 53 -j ACCEPT &&
sudo iptables -A INPUT -p udp -m udp --dport 5353 -j ACCEPT &&
sudo iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT &&
sudo iptables -A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT &&
sudo iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT &&
sudo iptables -A INPUT -j REJECT --reject-with icmp-host-prohibited
log_action_end_msg $?
check if public IPv6 access is available
log_action_begin_msg "creating Docker and sniproxy configuration templates"
sudo cp ${BUILD_ROOT}/data/conf/sniproxy.conf.template ${BUILD_ROOT}/data/conf/sniproxy.conf &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo cp ${BUILD_ROOT}/docker-compose/netflix-proxy.yaml.template ${BUILD_ROOT}/docker-compose/netflix-proxy.yaml &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
log_action_begin_msg "checking IPv6 connectivity"
if [[ ! $(cat /proc/net/if_inet6 | grep -v lo | grep -v fe80) =~ ^$ ]]; then
if [[ ! $($(which curl) v6.ident.me 2> /dev/null)  =~ ^$ ]]; then
# disable Docker iptables control and enable ipv6 dual-stack support
# http://unix.stackexchange.com/a/164092/78029
# https://github.com/docker/docker/issues/9889
IPV6=1
log_action_begin_msg "enabling sniproxy IPv6 priority"
printf "\nresolver {\n  nameserver <IP_ADDRESS>\n  mode ipv6_first\n}\n" |
sudo tee -a ${BUILD_ROOT}/data/conf/sniproxy.conf &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
    log_action_begin_msg "installing sipcalc"
    sudo apt-get -y install sipcalc &>> ${BUILD_ROOT}/netflix-proxy.log
    log_action_end_msg $?

    if [[ -z "${IPV6_SUBNET}" ]]; then
        log_action_cont_msg "automatically calculating IPv6 subnet"
        IPV6_SUBNET=$(get_docker_ipv6_subnet)
        printf "net.ipv6.conf.${IFACE}.proxy_ndp=1\n" | sudo tee -a /etc/sysctl.conf &>> ${BUILD_ROOT}/netflix-proxy.log && \
        printf "net.ipv6.conf.${IFACE}.accept_ra=2\n" | sudo tee -a /etc/sysctl.conf &>> ${BUILD_ROOT}/netflix-proxy.log && \
          sudo sysctl -p &>> ${BUILD_ROOT}/netflix-proxy.log
        log_action_end_msg $?
    fi

    log_action_begin_msg "enabling Docker IPv6 dual-stack support with fixed-cidr-v6=${IPV6_SUBNET}"
    printf "DOCKER_OPTS='--iptables=false --ipv6 --fixed-cidr-v6=\"${IPV6_SUBNET}\"'\n" | \
      sudo tee -a /etc/default/docker &>> ${BUILD_ROOT}/netflix-proxy.log
    log_action_end_msg $?

    log_action_begin_msg "adding IPv6 iptables rules"
    sudo ip6tables -A INPUT -p icmpv6 -j ACCEPT && \
      sudo ip6tables -A INPUT -i lo -j ACCEPT && \
      sudo ip6tables -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT && \
      sudo ip6tables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT && \
      sudo ip6tables -A INPUT -j REJECT --reject-with icmp6-adm-prohibited
    log_action_end_msg $?
fi

else
log_action_end_msg $?
IPV6=0
log_action_begin_msg "configuring sniproxy and Docker"
printf "\nresolver {\n  nameserver <IP_ADDRESS>\n}\n" | sudo tee -a ${BUILD_ROOT}/data/conf/sniproxy.conf &>> ${BUILD_ROOT}/netflix-proxy.log &&
printf "DOCKER_OPTS="--iptables=false"\n" | sudo tee -a /etc/default/docker &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
fi
if [[ ${z} == 1 ]]; then
log_action_begin_msg "enabling caching-resolver support"
printf "  links:\n    - caching-resolver\n" |
sudo tee -a ${BUILD_ROOT}/docker-compose/netflix-proxy.yaml &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
fi
log_action_begin_msg "installing iptables|netfilter-persistent service"
echo iptables-persistent iptables-persistent/autosave_v4 boolean true | sudo debconf-set-selections &>> ${BUILD_ROOT}/netflix-proxy.log &&
echo iptables-persistent iptables-persistent/autosave_v6 boolean true | sudo debconf-set-selections &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo apt-get -y install iptables-persistent &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
Ubuntu and Debian have different service names for iptables-persistent service
if [ -f "/etc/init.d/iptables-persistent" ]; then
SERVICE=iptables
elif [ -f "/etc/init.d/netfilter-persistent" ]; then
SERVICE=netfilter
fi
socialise Docker with iptables-persistent
https://groups.google.com/forum/#!topic/docker-dev/4SfOwCOmw-E
if [ ! -f "/etc/init/docker.conf.bak" ]; then
log_action_begin_msg "socialising Docker with iptables-persistent service"
sudo $(which sed) -i.bak "s/ and net-device-up IFACE!=lo)/ and net-device-up IFACE!=lo and started ${SERVICE}-persistent)/" /etc/init/docker.conf &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
fi
if [[ ${SERVICE} == "iptables" ]]; then
if [ ! -f "/etc/init.d/iptables-persistent.bak" ]; then
log_action_begin_msg "updating iptables-persistent init script"
sudo $(which sed) -i.bak '/load_rules$/{N;s/load_rules\n\t;;/load_rules\n\tinitctl emit -n started JOB=iptables-persistent\n\t;;/}' /etc/init.d/iptables-persistent &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo $(which sed) -i'' 's/stop)/stop)\n\tinitctl emit stopping JOB=iptables-persistent/' /etc/init.d/iptables-persistent &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
fi
fi
log_action_begin_msg "saving iptables rules"
sudo service ${SERVICE}-persistent save &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
log_action_begin_msg "creating zones.override from template"
sudo cp ${BUILD_ROOT}/data/conf/zones.override.template ${BUILD_ROOT}/data/conf/zones.override &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
log_action_begin_msg "updating db.override with extip=${EXTIP} and date=${DATE}"
sudo cp ${BUILD_ROOT}/data/conf/db.override.template ${BUILD_ROOT}/data/conf/db.override &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo $(which sed) -i "s/<IP_ADDRESS>/${EXTIP}/g" ${BUILD_ROOT}/data/conf/db.override &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo $(which sed) -i "s/YYYYMMDD/${DATE}/g" ${BUILD_ROOT}/data/conf/db.override &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
log_action_begin_msg "installing python-pip and docker-compose"
sudo apt-get -y update &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo apt-get -y install python-pip sqlite3 &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo pip install --upgrade pip &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo pip install docker-compose &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
log_action_begin_msg "configuring netflix-proxy-admin backend"
sudo $(which pip) install -r ${BUILD_ROOT}/auth/requirements.txt &>> ${BUILD_ROOT}/netflix-proxy.log &&
PLAINTEXT=$(${BUILD_ROOT}/auth/pbkdf2_sha256_hash.py | awk '{print $1}') &&
HASH=$(${BUILD_ROOT}/auth/pbkdf2_sha256_hash.py ${PLAINTEXT} | awk '{print $2}') &&
sudo cp ${BUILD_ROOT}/auth/db/auth.default.db ${BUILD_ROOT}/auth/db/auth.db &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo $(which sqlite3) ${BUILD_ROOT}/auth/db/auth.db "UPDATE users SET password = '${HASH}' WHERE ID = 1;" &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
log_action_begin_msg "configuring netflix-proxy-admin reverse-proxy"
sudo cp ${BUILD_ROOT}/Caddyfile.template ${BUILD_ROOT}/Caddyfile &>> ${BUILD_ROOT}/netflix-proxy.log &&
printf "proxy / localhost:${SDNS_ADMIN_PORT} {\n    except /static\n    proxy_header Host {host}\n    proxy_header X-Forwarded-For {remote}\n    proxy_header X-Real-IP {remote}\n    proxy_header X-Forwarded-Proto {scheme}\n}\n" | sudo tee -a ${BUILD_ROOT}/Caddyfile &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
if [[ "${b}" == "1" ]]; then
log_action_begin_msg "building docker containers from source"
sudo $(which docker) build -t ab77/bind docker-bind &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo $(which docker) build -t ab77/sniproxy docker-sniproxy &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
fi
log_action_begin_msg "creating and starting Docker containers"
sudo BUILD_ROOT=${BUILD_ROOT} EXTIP=${EXTIP} $(which docker-compose) -f ${BUILD_ROOT}/docker-compose/netflix-proxy.yaml up -d &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
configure appropriate init system
if [[ /sbin/init --version =~ upstart ]]; then
log_action_begin_msg "configuring upstart"
sudo cp ./upstart/* /etc/init/ &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo $(which sed) -i'' "s#{{BUILD_ROOT}}#${BUILD_ROOT}#g" /etc/init/ndp-proxy-helper.conf &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo service docker restart &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo service netflix-proxy-admin start &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo service ndp-proxy-helper start &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
elif [[ systemctl =~ -.mount ]]; then
log_action_begin_msg "configuring systemd"
sudo mkdir -p /lib/systemd/system/docker.service.d &>> ${BUILD_ROOT}/netflix-proxy.log &&
printf '[Service]\nEnvironmentFile=-/etc/default/docker\nExecStart=\nExecStart=/usr/bin/docker daemon $DOCKER_OPTS -H fd://\n' |
sudo tee /lib/systemd/system/docker.service.d/custom.conf &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo cp ./systemd/* /lib/systemd/system/ &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo $(which sed) -i'' "s#{{BUILD_ROOT}}#${BUILD_ROOT}#g" /lib/systemd/system/ndp-proxy-helper.service &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo systemctl daemon-reload &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo systemctl restart docker &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo systemctl enable netflix-proxy-admin &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo systemctl enable ndp-proxy-helper &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo systemctl enable systemd-networkd &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo systemctl enable systemd-networkd-wait-online &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo systemctl start netflix-proxy-admin &>> ${BUILD_ROOT}/netflix-proxy.log &&
sudo systemctl start ndp-proxy-helper &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
fi
log_action_begin_msg "reloading ipables rules"
sudo service ${SERVICE}-persistent reload &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
OS specific steps
if [[ cat /etc/os-release | grep '^ID=' =~ ubuntu ]]; then
log_action_begin_msg "no specific steps to execute for Ubuntu at this time"
log_action_end_msg $?
elif [[ cat /etc/os-release | grep '^ID=' =~ debian ]]; then
log_action_begin_msg "no specific steps to execute for Debian at this time"
log_action_end_msg $?
fi
log_action_begin_msg "testing DNS"
with_backoff $(which dig) +time=${TIMEOUT} ${NETFLIX_HOST} @${EXTIP} &>> ${BUILD_ROOT}/netflix-proxy.log ||
with_backoff $(which dig) +time=${TIMEOUT} ${NETFLIX_HOST} @${IPADDR} &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
log_action_begin_msg "testing proxy (OpenSSL)"
printf "GET / HTTP/1.1\n" | with_backoff $(which timeout) ${TIMEOUT} $(which openssl) s_client -CApath /etc/ssl/certs -servername ${NETFLIX_HOST} -connect ${EXTIP}:443 &>> ${BUILD_ROOT}/netflix-proxy.log ||
printf "GET / HTTP/1.1\n" | with_backoff $(which timeout) ${TIMEOUT} $(which openssl) s_client -CApath /etc/ssl/certs -servername ${NETFLIX_HOST} -connect ${IPADDR}:443 &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
log_action_begin_msg "testing proxy (cURL)"
with_backoff $(which curl) --fail -o /dev/null -L -H "Host: ${NETFLIX_HOST}" http://${EXTIP} &>> ${BUILD_ROOT}/netflix-proxy.log ||
with_backoff $(which curl) --fail -o /dev/null -L -H "Host: ${NETFLIX_HOST}" http://${IPADDR} &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
log_action_begin_msg "testing netflix-proxy admin site"
(with_backoff $(which curl) --fail http://${EXTIP}:8080/ &>> ${BUILD_ROOT}/netflix-proxy.log || with_backoff $(which curl) --fail http://${IPADDR}:8080/) &>> ${BUILD_ROOT}/netflix-proxy.log &&
with_backoff $(which curl) --fail http://localhost:${SDNS_ADMIN_PORT}/ &>> ${BUILD_ROOT}/netflix-proxy.log
log_action_end_msg $?
printf "\nnetflix-proxy-admin site=http://${EXTIP}:8080/ credentials=\e[1madmin:${PLAINTEXT}\033[0m\n"
change back to original directory
popd &>> ${BUILD_ROOT}/netflix-proxy.log
if [[ ${IPV6} == 1 ]]; then
printf "IPv6=\e[32mEnabled\033[0m\n"
else
printf "\e[1mWARNING:\033[0m IPv6=\e[31mDisabled\033[0m\n"
fi
if [[ ${z} == 1 ]]; then
printf "caching-resolver=\e[32mEnabled\033[0m\n"
else
printf "caching-resolver=\e[33mDisabled\033[0m\n"
fi
https://www.lowendtalk.com/discussion/40101/recommended-vps-provider-to-watch-hulu
printf "Hulu region(s) available to you: $(with_backoff $(which curl) -H 'Host: s.hulu.com' 'http://s.hulu.com/gc?regions=US,JP&callback=Hulu.Controls.Intl.onGeoCheckResult' 2> /dev/null | grep -Po '{(.*)}')\n"
printf "Change your DNS to ${EXTIP} and start watching Netflix out of region.\n"
printf "Done!\n"

Wow. You need to read up how to quote code blocks properly in markup, I don't anyone can read that..
Try destroying your server and re-provision it from scratch (new OS install), then re-run and paste the log (not the contents of build.sh).

 Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bind9-host git-man libbind9-90 libcurl3 libdns100 liberror-perl libgpm2
libisc95 libisccfg90 liblwres90 libpython2.7 libpython2.7-minimal
libpython2.7-stdlib patch python2.7 python2.7-minimal vim-runtime
Suggested packages:
rblcheck git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui
gitk gitweb git-arch git-bzr git-cvs git-mediawiki git-svn gpm diffutils-doc
python2.7-doc binutils binfmt-support ctags vim-doc vim-scripts
The following NEW packages will be installed:
curl git git-man libcurl3 liberror-perl libgpm2 libpython2.7 patch vim
vim-runtime
The following packages will be upgraded:
bind9-host dnsutils libbind9-90 libdns100 libisc95 libisccfg90 liblwres90
libpython2.7-minimal libpython2.7-stdlib python2.7 python2.7-minimal sudo
12 upgraded, 10 newly installed, 0 to remove and 175 not upgraded.
Need to get 15.5 MB of archives.
After this operation, 54.7 MB of additional disk space will be used.

(Reading database ... 54217 files and directories currently installed.)
Preparing to unpack .../libcurl3_7.35.0-1ubuntu2.6_amd64.deb ...
Unpacking libcurl3:amd64 (7.35.0-1ubuntu2.6) ...
Selecting previously unselected package libgpm2:amd64.
Preparing to unpack .../libgpm2_1.20.4-6.1_amd64.deb ...
Unpacking libgpm2:amd64 (1.20.4-6.1) ...
Preparing to unpack .../python2.7_2.7.6-8ubuntu0.2_amd64.deb ...
Unpacking python2.7 (2.7.6-8ubuntu0.2) over (2.7.6-8) ...
Preparing to unpack .../python2.7-minimal_2.7.6-8ubuntu0.2_amd64.deb ...
Unpacking python2.7-minimal (2.7.6-8ubuntu0.2) over (2.7.6-8) ...
Preparing to unpack .../libpython2.7-stdlib_2.7.6-8ubuntu0.2_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.6-8ubuntu0.2) over (2.7.6-8) ...
Preparing to unpack .../libpython2.7-minimal_2.7.6-8ubuntu0.2_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.6-8ubuntu0.2) over (2.7.6-8) ...
Selecting previously unselected package libpython2.7:amd64.
Preparing to unpack .../libpython2.7_2.7.6-8ubuntu0.2_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.6-8ubuntu0.2) ...
Preparing to unpack .../sudo_1.8.9p5-1ubuntu1.2_amd64.deb ...
Unpacking sudo (1.8.9p5-1ubuntu1.2) over (1.8.9p5-1ubuntu1) ...
Preparing to unpack .../dnsutils_1%3a9.9.5.dfsg-3ubuntu0.8_amd64.deb ...
Unpacking dnsutils (1:9.9.5.dfsg-3ubuntu0.8) over (1:9.9.5.dfsg-3) ...
Preparing to unpack .../bind9-host_1%3a9.9.5.dfsg-3ubuntu0.8_amd64.deb ...
Unpacking bind9-host (1:9.9.5.dfsg-3ubuntu0.8) over (1:9.9.5.dfsg-3) ...
Preparing to unpack .../libisc95_1%3a9.9.5.dfsg-3ubuntu0.8_amd64.deb ...
Unpacking libisc95 (1:9.9.5.dfsg-3ubuntu0.8) over (1:9.9.5.dfsg-3) ...
Preparing to unpack .../libdns100_1%3a9.9.5.dfsg-3ubuntu0.8_amd64.deb ...
Unpacking libdns100 (1:9.9.5.dfsg-3ubuntu0.8) over (1:9.9.5.dfsg-3) ...
Preparing to unpack .../libisccfg90_1%3a9.9.5.dfsg-3ubuntu0.8_amd64.deb ...
Unpacking libisccfg90 (1:9.9.5.dfsg-3ubuntu0.8) over (1:9.9.5.dfsg-3) ...
Preparing to unpack .../liblwres90_1%3a9.9.5.dfsg-3ubuntu0.8_amd64.deb ...
Unpacking liblwres90 (1:9.9.5.dfsg-3ubuntu0.8) over (1:9.9.5.dfsg-3) ...
Preparing to unpack .../libbind9-90_1%3a9.9.5.dfsg-3ubuntu0.8_amd64.deb ...
Unpacking libbind9-90 (1:9.9.5.dfsg-3ubuntu0.8) over (1:9.9.5.dfsg-3) ...
Selecting previously unselected package curl.
Preparing to unpack .../curl_7.35.0-1ubuntu2.6_amd64.deb ...
Unpacking curl (7.35.0-1ubuntu2.6) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.3_all.deb ...
Unpacking git-man (1:1.9.1-1ubuntu0.3) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a1.9.1-1ubuntu0.3_amd64.deb ...
Unpacking git (1:1.9.1-1ubuntu0.3) ...
Selecting previously unselected package patch.
Preparing to unpack .../patch_2.7.1-4ubuntu2.3_amd64.deb ...
Unpacking patch (2.7.1-4ubuntu2.3) ...
Selecting previously unselected package vim-runtime.
Preparing to unpack .../vim-runtime_2%3a7.4.052-1ubuntu3_all.deb ...
Adding 'diversion of /usr/share/vim/vim74/doc/help.txt to /usr/share/vim/vim74/doc/help.txt.vim-tiny by vim-runtime'
Adding 'diversion of /usr/share/vim/vim74/doc/tags to /usr/share/vim/vim74/doc/tags.vim-tiny by vim-runtime'
Unpacking vim-runtime (2:7.4.052-1ubuntu3) ...
Selecting previously unselected package vim.
Preparing to unpack .../vim_2%3a7.4.052-1ubuntu3_amd64.deb ...
Unpacking vim (2:7.4.052-1ubuntu3) ...
Processing triggers for man-db (<IP_ADDRESS>-1) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Setting up libcurl3:amd64 (7.35.0-1ubuntu2.6) ...
Setting up libgpm2:amd64 (1.20.4-6.1) ...
Setting up libpython2.7-minimal:amd64 (2.7.6-8ubuntu0.2) ...
Setting up python2.7-minimal (2.7.6-8ubuntu0.2) ...
Setting up libpython2.7-stdlib:amd64 (2.7.6-8ubuntu0.2) ...
Setting up python2.7 (2.7.6-8ubuntu0.2) ...
Setting up libpython2.7:amd64 (2.7.6-8ubuntu0.2) ...
Setting up sudo (1.8.9p5-1ubuntu1.2) ...
Setting up libisc95 (1:9.9.5.dfsg-3ubuntu0.8) ...
Setting up libdns100 (1:9.9.5.dfsg-3ubuntu0.8) ...
Setting up libisccfg90 (1:9.9.5.dfsg-3ubuntu0.8) ...
Setting up libbind9-90 (1:9.9.5.dfsg-3ubuntu0.8) ...
Setting up liblwres90 (1:9.9.5.dfsg-3ubuntu0.8) ...
Setting up bind9-host (1:9.9.5.dfsg-3ubuntu0.8) ...
Setting up dnsutils (1:9.9.5.dfsg-3ubuntu0.8) ...
Setting up curl (7.35.0-1ubuntu2.6) ...
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1ubuntu0.3) ...
Setting up git (1:1.9.1-1ubuntu0.3) ...
Setting up patch (2.7.1-4ubuntu2.3) ...
Setting up vim-runtime (2:7.4.052-1ubuntu3) ...
 Done
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
aufs-tools cgroup-lite libsystemd-journal0
The following NEW packages will be installed:
aufs-tools cgroup-lite docker-engine libsystemd-journal0
0 upgraded, 4 newly installed, 0 to remove and 175 not upgraded.
Need to get 14.4 MB of archives.
After this operation, 73.1 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libsystemd-journal0 amd64 204-5ubuntu20.19 [50.1 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty/universe aufs-tools amd64 1:3.2+20130722-1.1 [92.3 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty/main cgroup-lite all 1.9 [3,918 B]
Fetched 14.4 MB in 1s (9,595 kB/s)
Selecting previously unselected package libsystemd-journal0:amd64.
(Reading database ... 56625 files and directories currently installed.)
Preparing to unpack .../libsystemd-journal0_204-5ubuntu20.19_amd64.deb ...
Unpacking libsystemd-journal0:amd64 (204-5ubuntu20.19) ...
Selecting previously unselected package aufs-tools.
Preparing to unpack .../aufs-tools_1%3a3.2+20130722-1.1_amd64.deb ...
Unpacking aufs-tools (1:3.2+20130722-1.1) ...
Selecting previously unselected package docker-engine.
Preparing to unpack .../docker-engine_1.11.0-0~trusty_amd64.deb ...
Unpacking docker-engine (1.11.0-0~trusty) ...
Selecting previously unselected package cgroup-lite.
Preparing to unpack .../cgroup-lite_1.9_all.deb ...
Unpacking cgroup-lite (1.9) ...
Processing triggers for man-db (<IP_ADDRESS>-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libsystemd-journal0:amd64 (204-5ubuntu20.19) ...
Setting up aufs-tools (1:3.2+20130722-1.1) ...
Setting up docker-engine (1.11.0-0~trusty) ...
docker start/running, process 3127
Setting up cgroup-lite (1.9) ...
cgroup-lite start/running
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Processing triggers for ureadahead (0.100.0-16) ...
sh -c docker version
Client:
Version:      1.11.0
API version:  1.23
Go version:   go1.5.4
Git commit:   4dc5990
Built:        Wed Apr 13 18:34:23 2016
OS/Arch:      linux/amd64

Server:
Version:      1.11.0
API version:  1.23
Go version:   go1.5.4
Git commit:   4dc5990
Built:        Wed Apr 13 18:34:23 2016
OS/Arch:      linux/amd64
If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:
sudo usermod -aG docker your-user
Remember that you will have to log out and back in for this to take effect!
Cloning into '/opt/netflix-proxy'...
remote: Counting objects: 2564, done.
remote: Compressing objects: 100% (152/152), done.
remote: Total 2564 (delta 57), reused 0 (delta 0), pack-reused 2381
Receiving objects: 100% (2564/2564), 28.13 MiB | 5.90 MiB/s, done.
Resolving deltas: 100% (1445/1445), done.
Checking connectivity... done.
resolved params: clientip=<IP_ADDRESS> ipaddr=<IP_ADDRESS> extip=<IP_ADDRESS>
cmd: ./build.sh -r=1 -b=0 -s= -z=0 -n=1 -u=daige12 -p [secret] -k [secret]

disabling native IPv6 on eth0...                                      [ OK ]
installing XPath...                                                   [ OK ]
enabling he-ipv6 interface...                                         [ OK ]
bringing up IPv6 tunnel...                                            [ OK ]
testing IPv6 tunnel (this may take a while)...                        [ OK ]
enabling DNS recursion...                                             [ OK ]
authorising clientip=<IP_ADDRESS> on iface=eth0...                   [ OK ]
adding IPv4 iptables rules...                                         [ OK ]
creating Docker and sniproxy configuration templates...               [ OK ]
checking IPv6 connectivity...                                                 * enabling sniproxy IPv6 priority...                                    [ OK ]
installing sipcalc...                                                 [ OK ]
enabling Docker IPv6 dual-stack support with fixed-cidr-v6=2001:470:1f19:ca::/64...                                                                   [ OK ]
adding IPv6 iptables rules...                                         [ OK ]
installing iptables|netfilter-persistent service...                   [ OK ]
socialising Docker with iptables-persistent service...                [ OK ]
updating iptables-persistent init script...                           [ OK ]
saving iptables rules...                                              [ OK ]
creating zones.override from template...                              [ OK ]
updating db.override with extip=<IP_ADDRESS> and date=20160416...      [ OK ]
installing python-pip and docker-compose...                           [ OK ]
configuring netflix-proxy-admin backend...                            [ OK ]
configuring netflix-proxy-admin reverse-proxy...                      [ OK ]
creating and starting Docker containers...                            [ OK ]
configuring upstart...                                                [ OK ]
reloading ipables rules...                                            [ OK ]
no specific steps to execute for Ubuntu at this time...               [ OK ]
testing DNS...                                                        [ OK ]
testing proxy (OpenSSL)...                                            [ OK ]
testing proxy (cURL)...                                               [ OK ]
testing netflix-proxy admin site...                                   [ OK ]

netflix-proxy-admin site=http://xxxxx8080/ credentials=xxxxx
IPv6=Enabled
caching-resolver=Disabled
Hulu region(s) available to you: {'JP': false, 'US': true}
Change your DNS to xxxxxx and start watching Netflix out of region.
Done!

net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6=1
net.ipv6.conf.eth0.disable_ipv6 = 1
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libauthen-sasl-perl libencode-locale-perl libfile-listing-perl
libfont-afm-perl libhtml-form-perl libhtml-format-perl libhtml-parser-perl
libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
libhttp-negotiate-perl libio-html-perl libio-socket-inet6-perl
libio-socket-ssl-perl liblwp-mediatypes-perl liblwp-protocol-https-perl
libmailtools-perl libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl
libsocket6-perl liburi-perl libwww-perl libwww-robotrules-perl
libxml-parser-perl
Suggested packages:
libdigest-hmac-perl libgssapi-perl libdata-dump-perl libcrypt-ssleay-perl
libauthen-ntlm-perl
The following NEW packages will be installed:
libauthen-sasl-perl libencode-locale-perl libfile-listing-perl
libfont-afm-perl libhtml-form-perl libhtml-format-perl libhtml-parser-perl
libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
libhttp-negotiate-perl libio-html-perl libio-socket-inet6-perl
libio-socket-ssl-perl liblwp-mediatypes-perl liblwp-protocol-https-perl
libmailtools-perl libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl
libsocket6-perl liburi-perl libwww-perl libwww-robotrules-perl
libxml-parser-perl libxml-xpath-perl
0 upgraded, 29 newly installed, 0 to remove and 175 not upgraded.
Need to get 1,766 kB of archives.
After this operation, 5,762 kB of additional disk space will be used.

(Reading database ... 56796 files and directories currently installed.)
Preparing to unpack .../libencode-locale-perl_1.03-1_all.deb ...
Unpacking libencode-locale-perl (1.03-1) ...
Selecting previously unselected package libhttp-date-perl.
Preparing to unpack .../libhttp-date-perl_6.02-1_all.deb ...
Unpacking libhttp-date-perl (6.02-1) ...
Selecting previously unselected package libfile-listing-perl.
Preparing to unpack .../libfile-listing-perl_6.04-1_all.deb ...
Unpacking libfile-listing-perl (6.04-1) ...
Selecting previously unselected package libfont-afm-perl.
Preparing to unpack .../libfont-afm-perl_1.20-1_all.deb ...
Unpacking libfont-afm-perl (1.20-1) ...
Selecting previously unselected package liburi-perl.
Preparing to unpack .../liburi-perl_1.60-1_all.deb ...
Unpacking liburi-perl (1.60-1) ...
Selecting previously unselected package libhtml-tagset-perl.
Preparing to unpack .../libhtml-tagset-perl_3.20-2_all.deb ...
Unpacking libhtml-tagset-perl (3.20-2) ...
Selecting previously unselected package libhtml-parser-perl.
Preparing to unpack .../libhtml-parser-perl_3.71-1build1_amd64.deb ...
Unpacking libhtml-parser-perl (3.71-1build1) ...
Selecting previously unselected package libio-html-perl.
Preparing to unpack .../libio-html-perl_1.00-1_all.deb ...
Unpacking libio-html-perl (1.00-1) ...
Selecting previously unselected package liblwp-mediatypes-perl.
Preparing to unpack .../liblwp-mediatypes-perl_6.02-1_all.deb ...
Unpacking liblwp-mediatypes-perl (6.02-1) ...
Selecting previously unselected package libhttp-message-perl.
Preparing to unpack .../libhttp-message-perl_6.06-1_all.deb ...
Unpacking libhttp-message-perl (6.06-1) ...
Selecting previously unselected package libhtml-form-perl.
Preparing to unpack .../libhtml-form-perl_6.03-1_all.deb ...
Unpacking libhtml-form-perl (6.03-1) ...
Selecting previously unselected package libhtml-tree-perl.
Preparing to unpack .../libhtml-tree-perl_5.03-1_all.deb ...
Unpacking libhtml-tree-perl (5.03-1) ...
Selecting previously unselected package libhtml-format-perl.
Preparing to unpack .../libhtml-format-perl_2.11-1_all.deb ...
Unpacking libhtml-format-perl (2.11-1) ...
Selecting previously unselected package libhttp-cookies-perl.
Preparing to unpack .../libhttp-cookies-perl_6.00-2_all.deb ...
Unpacking libhttp-cookies-perl (6.00-2) ...
Selecting previously unselected package libhttp-daemon-perl.
Preparing to unpack .../libhttp-daemon-perl_6.01-1_all.deb ...
Unpacking libhttp-daemon-perl (6.01-1) ...
Selecting previously unselected package libhttp-negotiate-perl.
Preparing to unpack .../libhttp-negotiate-perl_6.00-2_all.deb ...
Unpacking libhttp-negotiate-perl (6.00-2) ...
Selecting previously unselected package libsocket6-perl.
Preparing to unpack .../libsocket6-perl_0.25-1_amd64.deb ...
Unpacking libsocket6-perl (0.25-1) ...
Selecting previously unselected package libio-socket-inet6-perl.
Preparing to unpack .../libio-socket-inet6-perl_2.71-1_all.deb ...
Unpacking libio-socket-inet6-perl (2.71-1) ...
Selecting previously unselected package libnet-ssleay-perl.
Preparing to unpack .../libnet-ssleay-perl_1.58-1_amd64.deb ...
Unpacking libnet-ssleay-perl (1.58-1) ...
Selecting previously unselected package libio-socket-ssl-perl.
Preparing to unpack .../libio-socket-ssl-perl_1.965-1ubuntu1_all.deb ...
Unpacking libio-socket-ssl-perl (1.965-1ubuntu1) ...
Selecting previously unselected package libnet-http-perl.
Preparing to unpack .../libnet-http-perl_6.06-1_all.deb ...
Unpacking libnet-http-perl (6.06-1) ...
Selecting previously unselected package libwww-robotrules-perl.
Preparing to unpack .../libwww-robotrules-perl_6.01-1_all.deb ...
Unpacking libwww-robotrules-perl (6.01-1) ...
Selecting previously unselected package libwww-perl.
Preparing to unpack .../libwww-perl_6.05-2_all.deb ...
Unpacking libwww-perl (6.05-2) ...
Selecting previously unselected package liblwp-protocol-https-perl.
Preparing to unpack .../liblwp-protocol-https-perl_6.04-2ubuntu0.1_all.deb ...
Unpacking liblwp-protocol-https-perl (6.04-2ubuntu0.1) ...
Selecting previously unselected package libnet-smtp-ssl-perl.
Preparing to unpack .../libnet-smtp-ssl-perl_1.01-3_all.deb ...
Unpacking libnet-smtp-ssl-perl (1.01-3) ...
Selecting previously unselected package libmailtools-perl.
Preparing to unpack .../libmailtools-perl_2.12-1_all.deb ...
Unpacking libmailtools-perl (2.12-1) ...
Selecting previously unselected package libxml-parser-perl.
Preparing to unpack .../libxml-parser-perl_2.41-1build3_amd64.deb ...
Unpacking libxml-parser-perl (2.41-1build3) ...
Selecting previously unselected package libxml-xpath-perl.
Preparing to unpack .../libxml-xpath-perl_1.13-7_all.deb ...
Unpacking libxml-xpath-perl (1.13-7) ...
Selecting previously unselected package libauthen-sasl-perl.
Preparing to unpack .../libauthen-sasl-perl_2.1500-1_all.deb ...
Unpacking libauthen-sasl-perl (2.1500-1) ...
Processing triggers for man-db (<IP_ADDRESS>-1) ...
Setting up libencode-locale-perl (1.03-1) ...
Setting up libhttp-date-perl (6.02-1) ...
Setting up libfile-listing-perl (6.04-1) ...
Setting up libfont-afm-perl (1.20-1) ...
Setting up liburi-perl (1.60-1) ...
Setting up libhtml-tagset-perl (3.20-2) ...
Setting up libhtml-parser-perl (3.71-1build1) ...
Setting up libio-html-perl (1.00-1) ...
Setting up liblwp-mediatypes-perl (6.02-1) ...
Setting up libhttp-message-perl (6.06-1) ...
Setting up libhtml-form-perl (6.03-1) ...
Setting up libhtml-tree-perl (5.03-1) ...
Setting up libhtml-format-perl (2.11-1) ...
Setting up libhttp-cookies-perl (6.00-2) ...
Setting up libhttp-daemon-perl (6.01-1) ...
Setting up libhttp-negotiate-perl (6.00-2) ...
Setting up libsocket6-perl (0.25-1) ...
Setting up libio-socket-inet6-perl (2.71-1) ...
Setting up libnet-ssleay-perl (1.58-1) ...
Setting up libio-socket-ssl-perl (1.965-1ubuntu1) ...
Setting up libnet-http-perl (6.06-1) ...
Setting up libwww-robotrules-perl (6.01-1) ...
Setting up libnet-smtp-ssl-perl (1.01-3) ...
Setting up libmailtools-perl (2.12-1) ...
Setting up libauthen-sasl-perl (2.1500-1) ...
Setting up libwww-perl (6.05-2) ...
Setting up liblwp-protocol-https-perl (6.04-2ubuntu0.1) ...
Setting up libxml-parser-perl (2.41-1build3) ...
Setting up libxml-xpath-perl (1.13-7) ...
source-directory interfaces.d
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   323  100   323    0     0   1200      0 --:--:-- --:--:-- --:--:--  1205

<IP_ADDRESS>
<IP_ADDRESS>
2001:470:1f18:ca::1
2001:470:1f18:ca::2
2001:470:1f19:ca::/64

auto he-ipv6
iface he-ipv6 inet6 v4tunnel
        address 2001:470:1f18:ca::2
        netmask 64
        endpoint <IP_ADDRESS>
        local <IP_ADDRESS>
        ttl 255
        gateway 2001:470:1f18:ca::1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:07 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:08 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:09 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:10 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:11 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:12 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:13 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:14 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:15 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:15 --:--:--     0<!doctype html>Netflix - Watch TV Shows Online, Watch Movies Online		allow-recursion { trusted; };
recursion yes;
additional-from-auth yes;
additional-from-cache yes;
/opt/netflix-proxy /opt/netflix-proxy
resolver {
nameserver <IP_ADDRESS>
mode ipv6_first
}
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
sipcalc
0 upgraded, 1 newly installed, 0 to remove and 175 not upgraded.
Need to get 33.1 kB of archives.
After this operation, 101 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/universe sipcalc amd64 1.1.5-1 [33.1 kB]
Fetched 33.1 kB in 0s (58.4 kB/s)
Selecting previously unselected package sipcalc.
(Reading database ... 57490 files and directories currently installed.)
Preparing to unpack .../sipcalc_1.1.5-1_amd64.deb ...
Unpacking sipcalc (1.1.5-1) ...
Processing triggers for man-db (<IP_ADDRESS>-1) ...
Setting up sipcalc (1.1.5-1) ...
DOCKER_OPTS='--iptables=false --ipv6 --fixed-cidr-v6="2001:470:1f19:ca::/64"'
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
iptables-persistent
0 upgraded, 1 newly installed, 0 to remove and 175 not upgraded.
Need to get 10.2 kB of archives.
After this operation, 62.5 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/universe iptables-persistent all 0.5.7 [10.2 kB]
Preconfiguring packages ...
Fetched 10.2 kB in 0s (14.0 kB/s)
Selecting previously unselected package iptables-persistent.
(Reading database ... 57500 files and directories currently installed.)
Preparing to unpack .../iptables-persistent_0.5.7_all.deb ...
Removing any system startup links for /etc/init.d/iptables-persistent ...
Unpacking iptables-persistent (0.5.7) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up iptables-persistent (0.5.7) ...

Loading iptables rules...
IPv4...
IPv6...
...done.
Processing triggers for ureadahead (0.100.0-16) ...
Saving rules...
IPv4...
IPv6...
...done.

Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
gcc-4.8 gcc-4.8-base libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6 libc6-dev
libcloog-isl4 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev
libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libquadmath0
libsqlite3-0 libstdc++-4.8-dev libstdc++6 libtsan0 linux-libc-dev make
manpages-dev python-chardet-whl python-colorama python-colorama-whl
python-distlib python-distlib-whl python-html5lib python-html5lib-whl
python-pip-whl python-pkg-resources python-requests-whl python-setuptools
python-setuptools-whl python-six-whl python-urllib3-whl python-wheel
python3-pkg-resources
Suggested packages:
binutils-doc cpp-doc gcc-4.8-locales debian-keyring g++-multilib
g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib autoconf
automake1.9 libtool flex bison gdb gcc-doc gcc-4.8-multilib libgcc1-dbg
libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg
libquadmath0-dbg glibc-doc libstdc++-4.8-doc make-doc python-genshi
python-lxml python-distribute python-distribute-doc python3-setuptools
sqlite3-doc
Recommended packages:
python-dev-all
The following NEW packages will be installed:
binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev
libcloog-isl4 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev
libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libquadmath0
libstdc++-4.8-dev libtsan0 linux-libc-dev make manpages-dev
python-chardet-whl python-colorama python-colorama-whl python-distlib
python-distlib-whl python-html5lib python-html5lib-whl python-pip
python-pip-whl python-pkg-resources python-requests-whl python-setuptools
python-setuptools-whl python-six-whl python-urllib3-whl python-wheel
python3-pkg-resources sqlite3
The following packages will be upgraded:
gcc-4.8-base libc6 libsqlite3-0 libstdc++6
4 upgraded, 52 newly installed, 0 to remove and 171 not upgraded.
Need to get 46.8 MB of archives.
After this operation, 120 MB of additional disk space will be used.

Fetched 46.8 MB in 8s (5,553 kB/s)
(Reading database ... 57506 files and directories currently installed.)
Preparing to unpack .../gcc-4.8-base_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
Unpacking gcc-4.8-base:amd64 (4.8.4-2ubuntu1~14.04.1) over (4.8.2-19ubuntu1) ...
Setting up gcc-4.8-base:amd64 (4.8.4-2ubuntu1~14.04.1) ...
(Reading database ... 57506 files and directories currently installed.)
Preparing to unpack .../libstdc++6_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
Unpacking libstdc++6:amd64 (4.8.4-2ubuntu1~14.04.1) over (4.8.2-19ubuntu1) ...
Preparing to unpack .../libc6_2.19-0ubuntu6.7_amd64.deb ...
Unpacking libc6:amd64 (2.19-0ubuntu6.7) over (2.19-0ubuntu6) ...
Setting up libc6:amd64 (2.19-0ubuntu6.7) ...
Setting up libstdc++6:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
(Reading database ... 57519 files and directories currently installed.)
Preparing to unpack .../libsqlite3-0_3.8.2-1ubuntu2.1_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.8.2-1ubuntu2.1) over (3.8.2-1ubuntu2) ...
Selecting previously unselected package libasan0:amd64.
Preparing to unpack .../libasan0_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
Unpacking libasan0:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
Unpacking libatomic1:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../libgmp10_2%3a5.1.3+dfsg-1ubuntu1_amd64.deb ...
Unpacking libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Selecting previously unselected package libisl10:amd64.
Preparing to unpack .../libisl10_0.12.2-1_amd64.deb ...
Unpacking libisl10:amd64 (0.12.2-1) ...
Selecting previously unselected package libcloog-isl4:amd64.
Preparing to unpack .../libcloog-isl4_0.18.2-1_amd64.deb ...
Unpacking libcloog-isl4:amd64 (0.18.2-1) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../libgomp1_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
Unpacking libgomp1:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
Unpacking libitm1:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Selecting previously unselected package libmpfr4:amd64.
Preparing to unpack .../libmpfr4_3.1.2-1_amd64.deb ...
Unpacking libmpfr4:amd64 (3.1.2-1) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../libquadmath0_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
Unpacking libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
Unpacking libtsan0:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../libmpc3_1.0.1-1ubuntu1_amd64.deb ...
Unpacking libmpc3:amd64 (1.0.1-1ubuntu1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../binutils_2.24-5ubuntu14_amd64.deb ...
Unpacking binutils (2.24-5ubuntu14) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.19-0ubuntu6.7_amd64.deb ...
Unpacking libc-dev-bin (2.19-0ubuntu6.7) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../linux-libc-dev_3.13.0-85.129_amd64.deb ...
Unpacking linux-libc-dev:amd64 (3.13.0-85.129) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../libc6-dev_2.19-0ubuntu6.7_amd64.deb ...
Unpacking libc6-dev:amd64 (2.19-0ubuntu6.7) ...
Selecting previously unselected package cpp-4.8.
Preparing to unpack .../cpp-4.8_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
Unpacking cpp-4.8 (4.8.4-2ubuntu1~14.04.1) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking cpp (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libgcc-4.8-dev:amd64.
Preparing to unpack .../libgcc-4.8-dev_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
Unpacking libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Selecting previously unselected package gcc-4.8.
Preparing to unpack .../gcc-4.8_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
Unpacking gcc-4.8 (4.8.4-2ubuntu1~14.04.1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking gcc (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libstdc++-4.8-dev:amd64.
Preparing to unpack .../libstdc++-4.8-dev_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
Unpacking libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Selecting previously unselected package g++-4.8.
Preparing to unpack .../g++-4.8_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
Unpacking g++-4.8 (4.8.4-2ubuntu1~14.04.1) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking g++ (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package make.
Preparing to unpack .../make_3.81-8.2ubuntu3_amd64.deb ...
Unpacking make (3.81-8.2ubuntu3) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.17.5ubuntu5.5_all.deb ...
Unpacking libdpkg-perl (1.17.5ubuntu5.5) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.5_all.deb ...
Unpacking dpkg-dev (1.17.5ubuntu5.5) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.6ubuntu6_amd64.deb ...
Unpacking build-essential (11.6ubuntu6) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20-3ubuntu2) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking fakeroot (1.20-3ubuntu2) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.02-3) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-2build4) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-2) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../libfile-fcntllock-perl_0.14-2build1_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.14-2build1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../manpages-dev_3.54-1ubuntu1_all.deb ...
Unpacking manpages-dev (3.54-1ubuntu1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../python3-pkg-resources_3.3-1ubuntu2_all.deb ...
Unpacking python3-pkg-resources (3.3-1ubuntu2) ...
Selecting previously unselected package python-chardet-whl.
Preparing to unpack .../python-chardet-whl_2.2.1-2~ubuntu1_all.deb ...
Unpacking python-chardet-whl (2.2.1-2~ubuntu1) ...
Selecting previously unselected package python-colorama.
Preparing to unpack .../python-colorama_0.2.5-0.1ubuntu2_all.deb ...
Unpacking python-colorama (0.2.5-0.1ubuntu2) ...
Selecting previously unselected package python-colorama-whl.
Preparing to unpack .../python-colorama-whl_0.2.5-0.1ubuntu2_all.deb ...
Unpacking python-colorama-whl (0.2.5-0.1ubuntu2) ...
Selecting previously unselected package python-distlib.
Preparing to unpack .../python-distlib_0.1.8-1ubuntu1_all.deb ...
Unpacking python-distlib (0.1.8-1ubuntu1) ...
Selecting previously unselected package python-distlib-whl.
Preparing to unpack .../python-distlib-whl_0.1.8-1ubuntu1_all.deb ...
Unpacking python-distlib-whl (0.1.8-1ubuntu1) ...
Selecting previously unselected package python-html5lib.
Preparing to unpack .../python-html5lib_0.999-3~ubuntu1_all.deb ...
Unpacking python-html5lib (0.999-3~ubuntu1) ...
Selecting previously unselected package python-html5lib-whl.
Preparing to unpack .../python-html5lib-whl_0.999-3~ubuntu1_all.deb ...
Unpacking python-html5lib-whl (0.999-3~ubuntu1) ...
Selecting previously unselected package python-six-whl.
Preparing to unpack .../python-six-whl_1.5.2-1ubuntu1_all.deb ...
Unpacking python-six-whl (1.5.2-1ubuntu1) ...
Selecting previously unselected package python-urllib3-whl.
Preparing to unpack .../python-urllib3-whl_1.7.1-1ubuntu4_all.deb ...
Unpacking python-urllib3-whl (1.7.1-1ubuntu4) ...
Selecting previously unselected package python-requests-whl.
Preparing to unpack .../python-requests-whl_2.2.1-1ubuntu0.3_all.deb ...
Unpacking python-requests-whl (2.2.1-1ubuntu0.3) ...
Selecting previously unselected package python-setuptools-whl.
Preparing to unpack .../python-setuptools-whl_3.3-1ubuntu2_all.deb ...
Unpacking python-setuptools-whl (3.3-1ubuntu2) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../python-pip-whl_1.5.4-1ubuntu3_all.deb ...
Unpacking python-pip-whl (1.5.4-1ubuntu3) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../python-pkg-resources_3.3-1ubuntu2_all.deb ...
Unpacking python-pkg-resources (3.3-1ubuntu2) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_3.3-1ubuntu2_all.deb ...
Unpacking python-setuptools (3.3-1ubuntu2) ...
Selecting previously unselected package python-pip.
Preparing to unpack .../python-pip_1.5.4-1ubuntu3_all.deb ...
Unpacking python-pip (1.5.4-1ubuntu3) ...
Selecting previously unselected package python-wheel.
Preparing to unpack .../python-wheel_0.24.0-1~ubuntu1_all.deb ...
Unpacking python-wheel (0.24.0-1~ubuntu1) ...
Selecting previously unselected package sqlite3.
Preparing to unpack .../sqlite3_3.8.2-1ubuntu2.1_amd64.deb ...
Unpacking sqlite3 (3.8.2-1ubuntu2.1) ...
Processing triggers for man-db (<IP_ADDRESS>-1) ...
Setting up libsqlite3-0:amd64 (3.8.2-1ubuntu2.1) ...
Setting up libasan0:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Setting up libatomic1:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Setting up libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Setting up libisl10:amd64 (0.12.2-1) ...
Setting up libcloog-isl4:amd64 (0.18.2-1) ...
Setting up libgomp1:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Setting up libitm1:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Setting up libmpfr4:amd64 (3.1.2-1) ...
Setting up libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Setting up libtsan0:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Setting up libmpc3:amd64 (1.0.1-1ubuntu1) ...
Setting up binutils (2.24-5ubuntu14) ...
Setting up libc-dev-bin (2.19-0ubuntu6.7) ...
Setting up linux-libc-dev:amd64 (3.13.0-85.129) ...
Setting up libc6-dev:amd64 (2.19-0ubuntu6.7) ...
Setting up cpp-4.8 (4.8.4-2ubuntu1~14.04.1) ...
Setting up cpp (4:4.8.2-1ubuntu6) ...
Setting up libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Setting up gcc-4.8 (4.8.4-2ubuntu1~14.04.1) ...
Setting up gcc (4:4.8.2-1ubuntu6) ...
Setting up libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.1) ...
Setting up g++-4.8 (4.8.4-2ubuntu1~14.04.1) ...
Setting up g++ (4:4.8.2-1ubuntu6) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up make (3.81-8.2ubuntu3) ...
Setting up libdpkg-perl (1.17.5ubuntu5.5) ...
Setting up dpkg-dev (1.17.5ubuntu5.5) ...
Setting up build-essential (11.6ubuntu6) ...
Setting up libfakeroot:amd64 (1.20-3ubuntu2) ...
Setting up fakeroot (1.20-3ubuntu2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libalgorithm-diff-perl (1.19.02-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-2build4) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libfile-fcntllock-perl (0.14-2build1) ...
Setting up manpages-dev (3.54-1ubuntu1) ...
Setting up python3-pkg-resources (3.3-1ubuntu2) ...
Setting up python-chardet-whl (2.2.1-2~ubuntu1) ...
Setting up python-colorama (0.2.5-0.1ubuntu2) ...
Setting up python-colorama-whl (0.2.5-0.1ubuntu2) ...
Setting up python-distlib (0.1.8-1ubuntu1) ...
Setting up python-distlib-whl (0.1.8-1ubuntu1) ...
Setting up python-html5lib (0.999-3~ubuntu1) ...
Setting up python-html5lib-whl (0.999-3~ubuntu1) ...
Setting up python-six-whl (1.5.2-1ubuntu1) ...
Setting up python-urllib3-whl (1.7.1-1ubuntu4) ...
Setting up python-requests-whl (2.2.1-1ubuntu0.3) ...
Setting up python-setuptools-whl (3.3-1ubuntu2) ...
Setting up python-pip-whl (1.5.4-1ubuntu3) ...
Setting up python-pkg-resources (3.3-1ubuntu2) ...
Setting up python-setuptools (3.3-1ubuntu2) ...
Setting up python-pip (1.5.4-1ubuntu3) ...
Setting up python-wheel (0.24.0-1~ubuntu1) ...
Setting up sqlite3 (3.8.2-1ubuntu2.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Downloading/unpacking pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-8.1.1-py2.py3-none-any.whl#md5=22db7b6a517a09c29d54a76650f170eb
Installing collected packages: pip
Found existing installation: pip 1.5.4
Not uninstalling pip at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installed pip
Cleaning up...
Collecting docker-compose
/usr/local/lib/python2.7/dist-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading docker-compose-1.7.0.tar.gz (141kB)
Collecting cached-property<2,>=1.2.0 (from docker-compose)
Downloading cached_property-1.3.0-py2.py3-none-any.whl
Collecting docopt<0.7,>=0.6.1 (from docker-compose)
Downloading docopt-0.6.2.tar.gz
Collecting PyYAML<4,>=3.10 (from docker-compose)
Downloading PyYAML-3.11.tar.gz (248kB)
Collecting requests<2.8,>=2.6.1 (from docker-compose)
Downloading requests-2.7.0-py2.py3-none-any.whl (470kB)
Collecting texttable<0.9,>=0.8.1 (from docker-compose)
Downloading texttable-0.8.4.tar.gz
Collecting websocket-client<1.0,>=0.32.0 (from docker-compose)
Downloading websocket_client-0.37.0.tar.gz (194kB)
Collecting docker-py<2,>1.7.2 (from docker-compose)
Downloading docker_py-1.8.0-py2.py3-none-any.whl (41kB)
Collecting dockerpty<0.5,>=0.4.1 (from docker-compose)
Downloading dockerpty-0.4.1.tar.gz
Requirement already satisfied (use --upgrade to upgrade): six<2,>=1.3.0 in /usr/lib/python2.7/dist-packages (from docker-compose)
Collecting jsonschema<3,>=2.5.1 (from docker-compose)
Downloading jsonschema-2.5.1-py2.py3-none-any.whl
Collecting enum34<2,>=1.0.4 (from docker-compose)
Downloading enum34-1.1.3-py2.py3-none-any.whl (61kB)
Collecting backports.ssl-match-hostname (from websocket-client<1.0,>=0.32.0->docker-compose)
Downloading backports.ssl_match_hostname-<IP_ADDRESS>.tar.gz
Collecting py2-ipaddress>=3.4.1 (from docker-py<2,>1.7.2->docker-compose)
Downloading py2-ipaddress-3.4.1.tar.gz
Collecting functools32 (from jsonschema<3,>=2.5.1->docker-compose)
Downloading functools32-3.2.3-2.tar.gz
Building wheels for collected packages: docker-compose, docopt, PyYAML, texttable, websocket-client, dockerpty, backports.ssl-match-hostname, py2-ipaddress, functools32
Running setup.py bdist_wheel for docker-compose: started
Running setup.py bdist_wheel for docker-compose: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/dd/76/fb/1ac77a863ae8c358460476b85b70265929f39654ca6644992a
Running setup.py bdist_wheel for docopt: started
Running setup.py bdist_wheel for docopt: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/0d/5c/a7/cb986749520c1950217b5d8405def5c18541322dbc411a80d1
Running setup.py bdist_wheel for PyYAML: started
Running setup.py bdist_wheel for PyYAML: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/fa/db/f6/dee55793d344f1706dc4a5a693298f0115241d1085cc212364
Running setup.py bdist_wheel for texttable: started
Running setup.py bdist_wheel for texttable: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/ab/74/7f/2b7fc041492ad26d80779955f8fbc596c948f13e2dbb33bf6d
Running setup.py bdist_wheel for websocket-client: started
Running setup.py bdist_wheel for websocket-client: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/3e/82/ad/d941b5ca7bb6a0b613baed947cb099d6f68f5d3b84024ac0c7
Running setup.py bdist_wheel for dockerpty: started
Running setup.py bdist_wheel for dockerpty: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/05/8c/84/a3085d476576abe6b39eddd7886f14eea7f346321a98e6c3fd
Running setup.py bdist_wheel for backports.ssl-match-hostname: started
Running setup.py bdist_wheel for backports.ssl-match-hostname: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/ca/e4/ff/d57f7b2052ddfcf76644f59ad355808f8584d79d4d922601e1
Running setup.py bdist_wheel for py2-ipaddress: started
Running setup.py bdist_wheel for py2-ipaddress: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/67/27/9d/03c7c02d09d59460280a824af941f7ebd0c9fb69c429f54cd2
Running setup.py bdist_wheel for functools32: started
Running setup.py bdist_wheel for functools32: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/38/c6/c7/ee17acd621120c302e25c2fa8b3a8b235d5d1137c6ab4c9728
Successfully built docker-compose docopt PyYAML texttable websocket-client dockerpty backports.ssl-match-hostname py2-ipaddress functools32
Installing collected packages: cached-property, docopt, PyYAML, requests, texttable, backports.ssl-match-hostname, websocket-client, py2-ipaddress, docker-py, dockerpty, functools32, jsonschema, enum34, docker-compose
Found existing installation: requests 2.2.1
DEPRECATION: Uninstalling a distutils installed project (requests) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling requests-2.2.1:
Successfully uninstalled requests-2.2.1
Successfully installed PyYAML-3.11 backports.ssl-match-hostname-<IP_ADDRESS> cached-property-1.3.0 docker-compose-1.7.0 docker-py-1.8.0 dockerpty-0.4.1 docopt-0.6.2 enum34-1.1.3 functools32-3.2.3-2 jsonschema-2.5.1 py2-ipaddress-3.4.1 requests-2.7.0 texttable-0.8.4 websocket-client-0.37.0
/usr/local/lib/python2.7/dist-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Collecting dnspython (from -r /opt/netflix-proxy/auth/requirements.txt (line 1))
/usr/local/lib/python2.7/dist-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading dnspython-1.12.0.zip (230kB)
Collecting web.py (from -r /opt/netflix-proxy/auth/requirements.txt (line 2))
Downloading web.py-0.37.tar.gz (90kB)
Collecting passlib (from -r /opt/netflix-proxy/auth/requirements.txt (line 3))
Downloading passlib-1.6.5-py2.py3-none-any.whl (317kB)
Building wheels for collected packages: dnspython, web.py
Running setup.py bdist_wheel for dnspython: started
Running setup.py bdist_wheel for dnspython: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/e0/58/e2/981145033fb65602c3c004d5dd92fb360c02f3b05ba654a336
Running setup.py bdist_wheel for web.py: started
Running setup.py bdist_wheel for web.py: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/4c/5b/21/80edc384b01b28f4c3f6a310b4aa27f50feafe4a97327fdfd4
Successfully built dnspython web.py
Installing collected packages: dnspython, web.py, passlib
Successfully installed dnspython-1.12.0 passlib-1.6.5 web.py-0.37
proxy / localhost:43867 {
except /static
proxy_header Host {host}
proxy_header X-Forwarded-For {remote}
proxy_header X-Real-IP {remote}
proxy_header X-Forwarded-Proto {scheme}
}
Pulling reverse-proxy (abiosoft/caddy:latest)...
latest: Pulling from abiosoft/caddy
Digest: sha256:3946e9e66aff4dd35fe1c782f448a46b6c151463ade45e45c70eaa09fdad5000
Status: Downloaded newer image for abiosoft/caddy:latest
Pulling bind (ab77/bind:latest)...
latest: Pulling from ab77/bind
Digest: sha256:235b0707e21e92bb01d6db5bbe7029a3aa5ce98506010a7c05e52af5a0d60267
Status: Downloaded newer image for ab77/bind:latest
Pulling dnsmasq (andyshinn/dnsmasq:latest)...
latest: Pulling from andyshinn/dnsmasq
Digest: sha256:8b765ee9ba2e6bed56728f7c2ff7c2a40ce049dda98cd454e59f1f8386cd50dd
Status: Downloaded newer image for andyshinn/dnsmasq:latest
Pulling sniproxy (ab77/sniproxy:latest)...
latest: Pulling from ab77/sniproxy
Digest: sha256:191fdc8d7ef978c8cbb65fac04643496bbe47efd55891a3f032834130d0b8e6f
Status: Downloaded newer image for ab77/sniproxy:latest
Creating caddy
Creating bind
Creating sniproxy
Creating dnsmasq
Creating caching-resolver
docker stop/waiting
docker start/running, process 11297
netflix-proxy-admin start/running, process 11322
ndp-proxy-helper start/running, process 11332

Loading iptables rules...
IPv4...
 Retrying in 10..
depth=2 C = US, O = "VeriSign, Inc.", OU = VeriSign Trust Network, OU = "(c) 1999 VeriSign, Inc. - For authorized use only", CN = VeriSign Class 3 Public Primary Certification Authority - G3
verify return:1
depth=1 C = US, O = Symantec Corporation, OU = Symantec Trust Network, CN = Symantec Class 3 Secure Server CA - G4
verify return:1
depth=0 C = US, ST = CALIFORNIA, L = Los Gatos, O = "Netflix, Inc.", OU = Operations, CN = www.netflix.com
verify return:1
CONNECTED(00000003)
Certificate chain
0 s:/C=US/ST=CALIFORNIA/L=Los Gatos/O=Netflix, Inc./OU=Operations/CN=www.netflix.com
i:/C=US/O=Symantec Corporation/OU=Symantec Trust Network/CN=Symantec Class 3 Secure Server CA - G4
1 s:/C=US/O=Symantec Corporation/OU=Symantec Trust Network/CN=Symantec Class 3 Secure Server CA - G4
i:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 1999 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G3
Server certificate
-----BEGIN CERTIFICATE-----
MIIFijCCBHKgAwIBAgIQQ9vZa/gIJmgo9kj2egocUjANBgkqhkiG9w0BAQsFADB+
MQswCQYDVQQGEwJVUzEdMBsGA1UEChMUU3ltYW50ZWMgQ29ycG9yYXRpb24xHzAd
BgNVBAsTFlN5bWFudGVjIFRydXN0IE5ldHdvcmsxLzAtBgNVBAMTJlN5bWFudGVj
IENsYXNzIDMgU2VjdXJlIFNlcnZlciBDQSAtIEc0MB4XDTE1MDQxNDAwMDAwMFoX
DTE3MDQxMjIzNTk1OVowfTELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNBTElGT1JO
SUExEjAQBgNVBAcMCUxvcyBHYXRvczEWMBQGA1UECgwNTmV0ZmxpeCwgSW5jLjET
MBEGA1UECwwKT3BlcmF0aW9uczEYMBYGA1UEAwwPd3d3Lm5ldGZsaXguY29tMIIB
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuahXKETW08vuetLrBeK6Ldf5
SssEHYoJDTkj/CNX+h9jCkJLuU35kYpHHeIBSQFM1nOf6VTLBI6EwRSoaJYZeUfL
kjV/0SSFLpCyxWIeiqRxoZPJi8e+GyAedP8//B6pgJEX/Xqv0twe3OG2IQ1vVX0J
vbzTWl7in6xOUfN0XN6H9blqCSWJdRnIQE511xnJn8GfjbHm2hVbeuPBoogqTvoa
8/8n30BlEFG3GVi9sn2/O+HBsShrfgvmWk91dlH77Jg8koE0L9Qigv8VGltQmpbd
bWt39re8AQ8i52wlsp5tudhO9q+lWwMN3PrX14PZqKk3sjsOxUa8nDU5Uq63sQID
AQABo4ICAzCCAf8wgbQGA1UdEQSBrDCBqYITYWNjb3VudC5uZXRmbGl4LmNvbYIO
Y2EubmV0ZmxpeC5jb22CCm5ldGZsaXguY2GCC25ldGZsaXguY29tghJzaWdudXAu
bmV0ZmxpeC5jb22CDnd3dy5uZXRmbGl4LmNhgg93d3cubmV0ZmxpeC5jb22CEHd3
dzEubmV0ZmxpeC5jb22CEHd3dzIubmV0ZmxpeC5jb22CEHd3dzMubmV0ZmxpeC5j
b20wCQYDVR0TBAIwADAOBgNVHQ8BAf8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUH
AwEGCCsGAQUFBwMCMGUGA1UdIAReMFwwWgYKYIZIAYb4RQEHNjBMMCMGCCsGAQUF
BwIBFhdodHRwczovL2Quc3ltY2IuY29tL2NwczAlBggrBgEFBQcCAjAZGhdodHRw
czovL2Quc3ltY2IuY29tL3JwYTAfBgNVHSMEGDAWgBRfYM9hkFXfhEMUimAqsvV6
9EMY7zArBgNVHR8EJDAiMCCgHqAchhpodHRwOi8vc3Muc3ltY2IuY29tL3NzLmNy
bDBXBggrBgEFBQcBAQRLMEkwHwYIKwYBBQUHMAGGE2h0dHA6Ly9zcy5zeW1jZC5j
b20wJgYIKwYBBQUHMAKGGmh0dHA6Ly9zcy5zeW1jYi5jb20vc3MuY3J0MA0GCSqG
SIb3DQEBCwUAA4IBAQCjzCPCZ0QQFwU/ehGm970LQVN/CXtuFI6UvJCMsFXeAaS1
8qDkl9tW/9ihpaUvy7GabfCEglBnnhYlWhcu1jGYVdoJH6fBYWKH6cKGS/NQpRu/
647cpvCVS1STW0vYJF5beKDeP0Rik9YMbiDAOjK3/z0bBxpNFf/xTRlbTOfJeJJa
ZkLvqIuRidMdyvZ6Pw4FkpYLyqSrTA49fs6zutp76ek+KhvHr9nGylKWWm+mg2RP
DM880iAq7A0VQY/eHt3PJCmPyEdO5Q0UG2UQ12OhYXIwpr8ZnwjhtxPMYY/eYdGE
DWkrV+u0kzRIg6UcDlgT44Avd56+e5v7Z8IM+ZTU
-----END CERTIFICATE-----
subject=/C=US/ST=CALIFORNIA/L=Los Gatos/O=Netflix, Inc./OU=Operations/CN=www.netflix.com
issuer=/C=US/O=Symantec Corporation/OU=Symantec Trust Network/CN=Symantec Class 3 Secure Server CA - G4
No client certificate CA names sent
SSL handshake has read 3400 bytes and written 463 bytes
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-GCM-SHA256
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol  : TLSv1.2
Cipher    : ECDHE-RSA-AES128-GCM-SHA256
Session-ID: DF27EE827CA936E0B3CD8F3C15285FD271B0977EEEC6BCBB521CB3D97D453F17
Session-ID-ctx:
Master-Key: C48E7EA868DC97DBE385809897DE618984F2C090915A213964551B49470074488B03C66AE246BB708C8987ED15D1B906
Key-Arg   : None
PSK identity: None
PSK identity hint: None
SRP username: None
TLS session ticket lifetime hint: 300 (seconds)
TLS session ticket:
0000 - 41 e8 f4 d8 a4 42 0c 6b-e4 8b b9 65 05 eb 2c f2   A....B.k...e..,.
0010 - 74 94 50 27 45 a3 58 15-44 1b 6f c8 b1 e5 d0 0e   t.P'E.X.D.o.....
0020 - e6 25 95 c0 bd 0b 7a 4e-38 85 aa 13 6c f3 0e 48   .%....zN8...l..H
0030 - 59 c8 3c 00 69 bb ff 38-4c 93 6c d1 21 59 d2 b5   Y.<.i..8L.l.!Y..
0040 - f5 d8 3a 43 aa 5a e8 4d-ba 96 52 49 4b 8b 86 fb   ..:C.Z.M..RIK...
0050 - e3 68 6e 23 6d 7b 60 dc-7d 53 db 4d 11 9c e1 37   .hn#m{.}S.M...7     0060 - 00 55 6f 0c 44 ee 19 5d-13 e9 1d 44 0a e4 c4 97   .Uo.D..]...D....     0070 - 31 4f e4 02 a0 f2 88 ad-96 7b 2d 75 1f 85 00 dd   1O.......{-u....     0080 - 27 c7 a4 d6 6d 93 62 e9-5a 0c 1e cd de 4b 7e 45   '...m.b.Z....K~E     0090 - d1 d6 46 01 b8 c7 a8 3f-4d 0d 42 9b f8 8b 73 47   ..F....?M.B...sG     00a0 - aa 60 47 0b cd 9c 9d df-b6 2f 74 77 cd f3 be 6b   .G....../tw...k
Start Time:<PHONE_NUMBER>
Timeout   : 300 (sec)
Verify return code: 0 (ok)

DONE
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0 91551    0     0   131k      0 --:--:-- --:--:-- --:--:--  204k
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
/opt/netflix-proxy

net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6=1
net.ipv6.conf.eth0.disable_ipv6 = 1
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libauthen-sasl-perl libencode-locale-perl libfile-listing-perl
libfont-afm-perl libhtml-form-perl libhtml-format-perl libhtml-parser-perl
libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
libhttp-negotiate-perl libio-html-perl libio-socket-inet6-perl
libio-socket-ssl-perl liblwp-mediatypes-perl liblwp-protocol-https-perl
libmailtools-perl libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl
libsocket6-perl liburi-perl libwww-perl libwww-robotrules-perl
libxml-parser-perl
Suggested packages:
libdigest-hmac-perl libgssapi-perl libdata-dump-perl libcrypt-ssleay-perl
libauthen-ntlm-perl
The following NEW packages will be installed:
libauthen-sasl-perl libencode-locale-perl libfile-listing-perl
libfont-afm-perl libhtml-form-perl libhtml-format-perl libhtml-parser-perl
libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
libhttp-negotiate-perl libio-html-perl libio-socket-inet6-perl
libio-socket-ssl-perl liblwp-mediatypes-perl liblwp-protocol-https-perl
libmailtools-perl libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl
libsocket6-perl liburi-perl libwww-perl libwww-robotrules-perl
libxml-parser-perl libxml-xpath-perl
0 upgraded, 29 newly installed, 0 to remove and 175 not upgraded.
Need to get 1,766 kB of archives.
After this operation, 5,762 kB of additional disk space will be used.

(Reading database ... 56796 files and directories currently installed.)
Preparing to unpack .../libencode-locale-perl_1.03-1_all.deb ...
Unpacking libencode-locale-perl (1.03-1) ...
Selecting previously unselected package libhttp-date-perl.
Preparing to unpack .../libhttp-date-perl_6.02-1_all.deb ...
Unpacking libhttp-date-perl (6.02-1) ...
Selecting previously unselected package libfile-listing-perl.
Preparing to unpack .../libfile-listing-perl_6.04-1_all.deb ...
Unpacking libfile-listing-perl (6.04-1) ...
Selecting previously unselected package libfont-afm-perl.
Preparing to unpack .../libfont-afm-perl_1.20-1_all.deb ...
Unpacking libfont-afm-perl (1.20-1) ...
Selecting previously unselected package liburi-perl.
Preparing to unpack .../liburi-perl_1.60-1_all.deb ...
Unpacking liburi-perl (1.60-1) ...
Selecting previously unselected package libhtml-tagset-perl.
Preparing to unpack .../libhtml-tagset-perl_3.20-2_all.deb ...
Unpacking libhtml-tagset-perl (3.20-2) ...
Selecting previously unselected package libhtml-parser-perl.
Preparing to unpack .../libhtml-parser-perl_3.71-1build1_amd64.deb ...
Unpacking libhtml-parser-perl (3.71-1build1) ...
Selecting previously unselected package libio-html-perl.
Preparing to unpack .../libio-html-perl_1.00-1_all.deb ...
Unpacking libio-html-perl (1.00-1) ...
Selecting previously unselected package liblwp-mediatypes-perl.
Preparing to unpack .../liblwp-mediatypes-perl_6.02-1_all.deb ...
Unpacking liblwp-mediatypes-perl (6.02-1) ...
Selecting previously unselected package libhttp-message-perl.
Preparing to unpack .../libhttp-message-perl_6.06-1_all.deb ...
Unpacking libhttp-message-perl (6.06-1) ...
Selecting previously unselected package libhtml-form-perl.
Preparing to unpack .../libhtml-form-perl_6.03-1_all.deb ...
Unpacking libhtml-form-perl (6.03-1) ...
Selecting previously unselected package libhtml-tree-perl.
Preparing to unpack .../libhtml-tree-perl_5.03-1_all.deb ...
Unpacking libhtml-tree-perl (5.03-1) ...
Selecting previously unselected package libhtml-format-perl.
Preparing to unpack .../libhtml-format-perl_2.11-1_all.deb ...
Unpacking libhtml-format-perl (2.11-1) ...
Selecting previously unselected package libhttp-cookies-perl.
Preparing to unpack .../libhttp-cookies-perl_6.00-2_all.deb ...
Unpacking libhttp-cookies-perl (6.00-2) ...
Selecting previously unselected package libhttp-daemon-perl.
Preparing to unpack .../libhttp-daemon-perl_6.01-1_all.deb ...
Unpacking libhttp-daemon-perl (6.01-1) ...
Selecting previously unselected package libhttp-negotiate-perl.
Preparing to unpack .../libhttp-negotiate-perl_6.00-2_all.deb ...
Unpacking libhttp-negotiate-perl (6.00-2) ...
Selecting previously unselected package libsocket6-perl.
Preparing to unpack .../libsocket6-perl_0.25-1_amd64.deb ...
Unpacking libsocket6-perl (0.25-1) ...
Selecting previously unselected package libio-socket-inet6-perl.
Preparing to unpack .../libio-socket-inet6-perl_2.71-1_all.deb ...
Unpacking libio-socket-inet6-perl (2.71-1) ...
Selecting previously unselected package libnet-ssleay-perl.
Preparing to unpack .../libnet-ssleay-perl_1.58-1_amd64.deb ...
Unpacking libnet-ssleay-perl (1.58-1) ...
Selecting previously unselected package libio-socket-ssl-perl.
Preparing to unpack .../libio-socket-ssl-perl_1.965-1ubuntu1_all.deb ...
Unpacking libio-socket-ssl-perl (1.965-1ubuntu1) ...
Selecting previously unselected package libnet-http-perl.
Preparing to unpack .../libnet-http-perl_6.06-1_all.deb ...
Unpacking libnet-http-perl (6.06-1) ...
Selecting previously unselected package libwww-robotrules-perl.
Preparing to unpack .../libwww-robotrules-perl_6.01-1_all.deb ...
Unpacking libwww-robotrules-perl (6.01-1) ...
Selecting previously unselected package libwww-perl.
Preparing to unpack .../libwww-perl_6.05-2_all.deb ...
Unpacking libwww-perl (6.05-2) ...
Selecting previously unselected package liblwp-protocol-https-perl.
Preparing to unpack .../liblwp-protocol-https-perl_6.04-2ubuntu0.1_all.deb ...
Unpacking liblwp-protocol-https-perl (6.04-2ubuntu0.1) ...
Selecting previously unselected package libnet-smtp-ssl-perl.
Preparing to unpack .../libnet-smtp-ssl-perl_1.01-3_all.deb ...
Unpacking libnet-smtp-ssl-perl (1.01-3) ...
Selecting previously unselected package libmailtools-perl.
Preparing to unpack .../libmailtools-perl_2.12-1_all.deb ...
Unpacking libmailtools-perl (2.12-1) ...
Selecting previously unselected package libxml-parser-perl.
Preparing to unpack .../libxml-parser-perl_2.41-1build3_amd64.deb ...
Unpacking libxml-parser-perl (2.41-1build3) ...
Selecting previously unselected package libxml-xpath-perl.
Preparing to unpack .../libxml-xpath-perl_1.13-7_all.deb ...
Unpacking libxml-xpath-perl (1.13-7) ...
Selecting previously unselected package libauthen-sasl-perl.
Preparing to unpack .../libauthen-sasl-perl_2.1500-1_all.deb ...
Unpacking libauthen-sasl-perl (2.1500-1) ...
Processing triggers for man-db (<IP_ADDRESS>-1) ...
Setting up libencode-locale-perl (1.03-1) ...
Setting up libhttp-date-perl (6.02-1) ...
Setting up libfile-listing-perl (6.04-1) ...
Setting up libfont-afm-perl (1.20-1) ...
Setting up liburi-perl (1.60-1) ...
Setting up libhtml-tagset-perl (3.20-2) ...
Setting up libhtml-parser-perl (3.71-1build1) ...
Setting up libio-html-perl (1.00-1) ...
Setting up liblwp-mediatypes-perl (6.02-1) ...
Setting up libhttp-message-perl (6.06-1) ...
Setting up libhtml-form-perl (6.03-1) ...
Setting up libhtml-tree-perl (5.03-1) ...
Setting up libhtml-format-perl (2.11-1) ...
Setting up libhttp-cookies-perl (6.00-2) ...
Setting up libhttp-daemon-perl (6.01-1) ...
Setting up libhttp-negotiate-perl (6.00-2) ...
Setting up libsocket6-perl (0.25-1) ...
Setting up libio-socket-inet6-perl (2.71-1) ...
Setting up libnet-ssleay-perl (1.58-1) ...
Setting up libio-socket-ssl-perl (1.965-1ubuntu1) ...
Setting up libnet-http-perl (6.06-1) ...
Setting up libwww-robotrules-perl (6.01-1) ...
Setting up libnet-smtp-ssl-perl (1.01-3) ...
Setting up libmailtools-perl (2.12-1) ...
Setting up libauthen-sasl-perl (2.1500-1) ...
Setting up libwww-perl (6.05-2) ...
Setting up liblwp-protocol-https-perl (6.04-2ubuntu0.1) ...
Setting up libxml-parser-perl (2.41-1build3) ...
Setting up libxml-xpath-perl (1.13-7) ...
source-directory interfaces.d
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   323  100   323    0     0   1200      0 --:--:-- --:--:-- --:--:--  1205

<IP_ADDRESS>
<IP_ADDRESS>
2001:470:1f18:ca::1
2001:470:1f18:ca::2
2001:470:1f19:ca::/64

auto he-ipv6
iface he-ipv6 inet6 v4tunnel
        address 2001:470:1f18:ca::2
        netmask 64
        endpoint <IP_ADDRESS>
        local <IP_ADDRESS>
        ttl 255
        gateway 2001:470:1f18:ca::1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:07 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:08 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:09 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:10 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:11 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:12 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:13 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:14 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:15 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:15 --:--:--     0<!doctype html>Netflix - Watch TV Shows Online, Watch Movies Online		allow-recursion { trusted; };
recursion yes;
additional-from-auth yes;
additional-from-cache yes;
/opt/netflix-proxy /opt/netflix-proxy
resolver {
nameserver <IP_ADDRESS>
mode ipv6_first
}
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
sipcalc
0 upgraded, 1 newly installed, 0 to remove and 175 not upgraded.
Need to get 33.1 kB of archives.
After this operation, 101 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/universe sipcalc amd64 1.1.5-1 [33.1 kB]
Fetched 33.1 kB in 0s (58.4 kB/s)
Selecting previously unselected package sipcalc.
(Reading database ... 57490 files and directories currently installed.)
Preparing to unpack .../sipcalc_1.1.5-1_amd64.deb ...
Unpacking sipcalc (1.1.5-1) ...
Processing triggers for man-db (<IP_ADDRESS>-1) ...
Setting up sipcalc (1.1.5-1) ...
DOCKER_OPTS='--iptables=false --ipv6 --fixed-cidr-v6="2001:470:1f19:ca::/64"'
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
iptables-persistent
0 upgraded, 1 newly installed, 0 to remove and 175 not upgraded.
Need to get 10.2 kB of archives.
After this operation, 62.5 kB of additional disk space will be used.