Skip to content

Instantly share code, notes, and snippets.

@nathanleclaire
Created September 16, 2016 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathanleclaire/82f994f9cddf0b3abe956195565aac55 to your computer and use it in GitHub Desktop.
Save nathanleclaire/82f994f9cddf0b3abe956195565aac55 to your computer and use it in GitHub Desktop.
/ # strace wget https://get.docker.com
execve("/usr/bin/wget", ["wget", "https://get.docker.com"], [/* 6 vars */]) = 0
arch_prctl(ARCH_SET_FS, 0x7f91a6059c28) = 0
set_tid_address(0x7f91a6059c60)         = 27
mprotect(0x7f91a6056000, 4096, PROT_READ) = 0
mprotect(0x556817c8d000, 16384, PROT_READ) = 0
getuid()                                = 0
brk(NULL)                               = 0x556818b84000
brk(0x556818b89000)                     = 0x556818b89000
rt_sigprocmask(SIG_UNBLOCK, [RT_1 RT_2], NULL, 8) = 0
rt_sigaction(SIGALRM, {0x5568179fd260, [], SA_RESTORER|SA_RESTART, 0x7f91a5e14c4e}, {SIG_DFL, [], 0}, 8) = 0
open("/etc/services", O_RDONLY|O_CLOEXEC) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
readv(3, [{"", 0}, {"# /etc/services\n#\n# Network serv"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"try\nrje\t\t5/udp\necho\t\t7/tcp\t\t\t\t# "..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"p\n# private\t35/tcp\t\t\t\t# any priv"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"ns-auth\t56/udp\n# private\t57/tcp\t"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {" private\t77/tcp\t\t\t\t# any private"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"\t\t94/udp\nsupdup\t\t95/tcp\t\t\t\t# SUP"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"rsion 2\npop2\t\t109/udp\t\tpop-2\npop"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"p\nnxedit\t\t126/tcp\t\tunitary\t\t# NX"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"e\nemfis-cntl\t141/udp\nimap\t\t143/t"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"/udp\nsnmptrap\t162/tcp\t\tsnmp-trap"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"179/udp\nris\t\t180/tcp\t\t\t\t# Interg"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"y Location Service\ndls\t\t197/udp\n"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"dialog\t360/tcp\t\t\t\t# scoi2odialog"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"rosoft-ds\t445/tcp\t\tMicrosoft-DS\n"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"p\nntalk\t\t518/tcp\nntalk\t\t518/udp\n"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"h' (v5)\nkshell\t\t544/udp\t\tkrcmd\na"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"\t\tdqs313_intercell\ncryptoadmin\t6"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"erberos-iv\t750/tcp\t\tkerberos4 kd"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"r TLS/SSL\nircs\t\t994/udp\npop3s\t\t9"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"e\t1120/tcp\t\t\t# Battle.net File T"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"# Citrix ICA Client\nica\t\t1494/ud"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"tocol\nmtp\t\t1911/udp\negs\t\t1926/tc"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"x25-svc-port\t1998/udp\ntcp-id-por"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"API\nrapi\t\t2176/udp\nqwave\t\t2177/t"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"05/udp\nlstp\t\t2559/tcp\t\t\t# \nlstp\t"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"ds_db\t\t3050/tcp\t\t\t# InterBase se"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"udp\nblizwow\t\t3724/tcp\t\t\t# World "..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"24\t\t4444/udp\nipsec-nat-t\t4500/tc"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"t-pmp\t\t5351/udp\ndns-llq\t\t5352/tc"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"/udp\ngnutella-rtr\t6347/tcp\ngnute"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"t Service\nfont-service\t7100/udp\t"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"tcp\t\t\t# WAP vCard\nwap-vcard\t9204"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"p\t\t\t# OpenPGP HTTP Keyserver\nhkp"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"aceroute\t33434/tcp\t\t\t# tracerout"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"ration tool\nrndc\t\t953/tcp\t\t\t\t# r"..., 1024}], 2) = 1024
readv(3, [{"", 0}, {"/tcp\twnn6_Cn\t\t# Wnn (Chinese inp"..., 1024}], 2) = 301
readv(3, [{"", 0}, {"/tcp\twnn6_Cn\t\t# Wnn (Chinese inp"..., 1024}], 2) = 0
close(3)                                = 0
open("/etc/hosts", O_RDONLY|O_CLOEXEC)  = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
readv(3, [{"", 0}, {"127.0.0.1\tlocalhost\n::1\tlocalhos"..., 1024}], 2) = 174
readv(3, [{"", 0}, {"127.0.0.1\tlocalhost\n::1\tlocalhos"..., 1024}], 2) = 0
close(3)                                = 0
open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
readv(3, [{"", 0}, {"# Dynamic resolv.conf(5) file fo"..., 248}], 2) = 207
readv(3, [{"", 0}, {"# Dynamic resolv.conf(5) file fo"..., 248}], 2) = 0
close(3)                                = 0
clock_gettime(CLOCK_REALTIME, {1474066699, 999512830}) = 0
clock_gettime(CLOCK_REALTIME, {1474066699, 999615612}) = 0
socket(PF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 3
bind(3, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
clock_gettime(CLOCK_REALTIME, {1474066699, 999962015}) = 0
sendto(3, "\226\221\1\0\0\1\0\0\0\0\0\0\3get\6docker\3com\0\0\1\0\1", 32, MSG_NOSIGNAL, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("172.31.0.2")}, 16) = 32
sendto(3, "(\20\1\0\0\1\0\0\0\0\0\0\3get\6docker\3com\0\0\34\0\1", 32, MSG_NOSIGNAL, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("172.31.0.2")}, 16) = 32
poll([{fd=3, events=POLLIN}], 1, 2500)  = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "\226\221\201\200\0\1\0\t\0\0\0\0\3get\6docker\3com\0\0\1\0\1"..., 512, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("172.31.0.2")}, [16]) = 203
recvfrom(3, "(\20\201\200\0\1\0\1\0\1\0\0\3get\6docker\3com\0\0\34\0\1"..., 512, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("172.31.0.2")}, [16]) = 152
close(3)                                = 0
socket(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_UDP) = 3
connect(3, {sa_family=AF_INET6, sin6_port=htons(65535), inet_pton(AF_INET6, "::ffff:54.192.119.11", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
getsockname(3, {sa_family=AF_INET6, sin6_port=htons(44951), inet_pton(AF_INET6, "::ffff:172.17.0.4", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
close(3)                                = 0
socket(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_UDP) = 3
connect(3, {sa_family=AF_INET6, sin6_port=htons(65535), inet_pton(AF_INET6, "::ffff:54.192.119.60", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
getsockname(3, {sa_family=AF_INET6, sin6_port=htons(54711), inet_pton(AF_INET6, "::ffff:172.17.0.4", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
close(3)                                = 0
socket(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_UDP) = 3
connect(3, {sa_family=AF_INET6, sin6_port=htons(65535), inet_pton(AF_INET6, "::ffff:54.192.119.93", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
getsockname(3, {sa_family=AF_INET6, sin6_port=htons(40308), inet_pton(AF_INET6, "::ffff:172.17.0.4", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
close(3)                                = 0
socket(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_UDP) = 3
connect(3, {sa_family=AF_INET6, sin6_port=htons(65535), inet_pton(AF_INET6, "::ffff:54.192.119.116", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
getsockname(3, {sa_family=AF_INET6, sin6_port=htons(42611), inet_pton(AF_INET6, "::ffff:172.17.0.4", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
close(3)                                = 0
socket(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_UDP) = 3
connect(3, {sa_family=AF_INET6, sin6_port=htons(65535), inet_pton(AF_INET6, "::ffff:54.192.119.129", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
getsockname(3, {sa_family=AF_INET6, sin6_port=htons(57815), inet_pton(AF_INET6, "::ffff:172.17.0.4", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
close(3)                                = 0
socket(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_UDP) = 3
connect(3, {sa_family=AF_INET6, sin6_port=htons(65535), inet_pton(AF_INET6, "::ffff:54.192.119.185", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
getsockname(3, {sa_family=AF_INET6, sin6_port=htons(48224), inet_pton(AF_INET6, "::ffff:172.17.0.4", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
close(3)                                = 0
socket(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_UDP) = 3
connect(3, {sa_family=AF_INET6, sin6_port=htons(65535), inet_pton(AF_INET6, "::ffff:54.192.119.239", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
getsockname(3, {sa_family=AF_INET6, sin6_port=htons(35959), inet_pton(AF_INET6, "::ffff:172.17.0.4", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
close(3)                                = 0
socket(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_UDP) = 3
connect(3, {sa_family=AF_INET6, sin6_port=htons(65535), inet_pton(AF_INET6, "::ffff:54.192.119.249", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
getsockname(3, {sa_family=AF_INET6, sin6_port=htons(54052), inet_pton(AF_INET6, "::ffff:172.17.0.4", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
close(3)                                = 0
writev(2, [{"Connecting to get.docker.com (54"..., 49}, {NULL, 0}], 2Connecting to get.docker.com (54.192.119.11:443)
) = 49
socketpair(PF_LOCAL, SOCK_STREAM, 0, [3, 4]) = 0
vfork()                                 = 28
close(4)                                = 0
ioctl(3, TIOCGWINSZ, 0x7fffc2f2e5e8)    = -1 ENOTTY (Not a tty)
writev(3, [{"GET / HTTP/1.1\r\nHost: get.docker"..., 77}, {NULL, 0}], 2) = 77
readv(3, 0x7fffc2f2e540, 2)             = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=28, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
readv(3, 0x7fffc2f2e540, 2)             = -1 ECONNRESET (Connection reset by peer)
write(2, "wget: error getting response: Co"..., 55wget: error getting response: Connection reset by peer
) = 55
exit_group(1)                           = ?
+++ exited with 1 +++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment