-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
# strace ./trcroute 8.8.8.8
execve("./trcroute", ["./trcroute", "8.8.8.8"], [/* 35 vars */]) = 0
write(1, "Target ip-address: ", 19Target ip-address: ) = 19
write(1, "8", 18) = 1
write(1, ".", 1.) = 1
write(1, "8", 18) = 1
write(1, ".", 1.) = 1
write(1, "8", 18) = 1
write(1, ".", 1.) = 1
write(1, "8", 18) = 1
write(1, "\n", 1
) = 1
socket(PF_INET, SOCK_RAW, IPPROTO_ICMP) = 3
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
getpid() = 3475
bind(4, {sa_family=AF_INET, sin_port=htons(54029), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
write(1, "1", 11) = 1
write(1, " ", 3 ) = 3
setsockopt(4, SOL_IP, IP_TTL, [1], 4) = 0
gettimeofday({1363546918, 957612}, NULL) = 0
sendto(4, "\1\0\0\0", 4, 0, {sa_family=AF_INET, sin_port=htons(43691), sin_addr=inet_addr("8.8.8.8")}, 16) = -1 EPERM (Operation not permitted)
signal(SIGALRM, 0x8048100) = 0 (SIG_DFL)
alarm(3) = 0
recvfrom(3, 0xff933174, 4096, 0, 0xff934178, 0xff934174) = ? ERESTARTSYS (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
signal(SIGALRM, SIG_IGN) = 0 (SIG_DFL)
write(1, "* ", 2* ) = 2
setsockopt(4, SOL_IP, IP_TTL, [1], 4) = 0
gettimeofday({1363546921, 958620}, NULL) = 0
sendto(4, "\1\0\0\0", 4, 0, {sa_family=AF_INET, sin_port=htons(43692), sin_addr=inet_addr("8.8.8.8")}, 16) = -1 EPERM (Operation not permitted)
signal(SIGALRM, 0x8048100) = 0x1 (SIG_IGN)
alarm(3) = 0
recvfrom(3, <unfinished ...>