bug-httptunnel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

couldn't write GET header


From: jan
Subject: couldn't write GET header
Date: Wed, 26 Mar 2014 14:19:59 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

I run hts on gentoo linux as /usr/bin/hts -w -F localhost:22 8082

on a second linux PC, I run
htc -F 6565 remote:8082
ssh -p 6565 localhost

ssh hangs waiting for a connection, and on 'remote', the log tells me


Mar 26 13:49:57 [hts] hts (httptunnel) 3.3 started with arguments:
Mar 26 13:49:57 [hts] me = /usr/bin/hts
Mar 26 13:49:57 [hts] device = (null)
Mar 26 13:49:57 [hts] port = 8082
Mar 26 13:49:57 [hts] forward_port = 22
Mar 26 13:49:57 [hts] forward_host = localhost
Mar 26 13:49:57 [hts] content_length = 102400
Mar 26 13:49:57 [hts] strict_content_length = 0
Mar 26 13:49:57 [hts] use_std = 0
Mar 26 13:49:57 [hts] debug_level = 0
Mar 26 13:49:57 [hts] pid_filename = (null)
Mar 26 13:50:56 [hts] connection from 192.168.4.62:38390
Mar 26 13:50:56 [hts] connection from 192.168.4.62:38391
Mar 26 13:50:56 [hts] tunnel_accept: couldn't write GET header: Invalid argument
Mar 26 13:51:06 [hts] tunnel_accept: poll timed out
Mar 26 13:51:06 [hts] tunnel_accept: in_fd = 5, out_fd = -1
Mar 26 13:51:06 [hts] couldn't accept connection: Invalid argument


I also tried to gather some additional info using

strace /usr/bin/hts -w -F localhost:22 8082

execve("/usr/bin/hts", ["/usr/bin/hts", "-w", "-F", "localhost:22", "8082"], [/* 50 vars */]) = 0
brk(0)                                  = 0x95ab000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7725000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=152909, ...}) = 0
mmap2(NULL, 152909, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb76ff000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \231\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1738040, ...}) = 0
mmap2(NULL, 1747668, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7554000
mmap2(0xb76f9000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a5000) = 0xb76f9000
mmap2(0xb76fc000, 10964, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76fc000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7553000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb75536c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb76f9000, 8192, PROT_READ)   = 0
mprotect(0x8050000, 4096, PROT_READ)    = 0
mprotect(0xb7747000, 4096, PROT_READ)   = 0
munmap(0xb76ff000, 152909)              = 0
brk(0)                                  = 0x95ab000
brk(0x95cc000)                          = 0x95cc000
time(NULL)                              = 1395839795
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
fcntl64(3, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
fstat64(3, {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7724000
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\n\0\0\0\n\0\0\0\0"..., 4096) = 2944
_llseek(3, -28, [2916], SEEK_CUR)       = 0
read(3, "\nCET-1CEST,M3.5.0,M10.5.0/3\n", 4096) = 28
close(3)                                = 0
munmap(0xb7724000, 4096)                = 0
getpid()                                = 13899
socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 110) = 0
send(3, "<29>Mar 26 14:16:35 hts[13899]: "..., 76, MSG_NOSIGNAL) = 76
time(NULL)                              = 1395839795
send(3, "<29>Mar 26 14:16:35 hts[13899]: "..., 51, MSG_NOSIGNAL) = 51
time(NULL)                              = 1395839795
send(3, "<29>Mar 26 14:16:35 hts[13899]: "..., 49, MSG_NOSIGNAL) = 49
time(NULL)                              = 1395839795
send(3, "<29>Mar 26 14:16:35 hts[13899]: "..., 45, MSG_NOSIGNAL) = 45
time(NULL)                              = 1395839795
send(3, "<29>Mar 26 14:16:35 hts[13899]: "..., 51, MSG_NOSIGNAL) = 51
time(NULL)                              = 1395839795
send(3, "<29>Mar 26 14:16:35 hts[13899]: "..., 58, MSG_NOSIGNAL) = 58
time(NULL)                              = 1395839795
send(3, "<29>Mar 26 14:16:35 hts[13899]: "..., 57, MSG_NOSIGNAL) = 57
time(NULL)                              = 1395839795
send(3, "<29>Mar 26 14:16:35 hts[13899]: "..., 59, MSG_NOSIGNAL) = 59
time(NULL)                              = 1395839795
send(3, "<29>Mar 26 14:16:35 hts[13899]: "..., 45, MSG_NOSIGNAL) = 45
time(NULL)                              = 1395839795
send(3, "<29>Mar 26 14:16:35 hts[13899]: "..., 49, MSG_NOSIGNAL) = 49
time(NULL)                              = 1395839795
send(3, "<29>Mar 26 14:16:35 hts[13899]: "..., 55, MSG_NOSIGNAL) = 55
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(4, {sa_family=AF_INET, sin_port=htons(8082), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
listen(4, 1)                            = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
poll([{fd=4, events=POLLIN}], 1, -1)    = 1 ([{fd=4, revents=POLLIN}])
accept(4, {sa_family=AF_INET, sin_port=htons(38397), sin_addr=inet_addr("192.168.4.62")}, [16]) = 5
time(NULL)                              = 1395839811
send(3, "<29>Mar 26 14:16:51 hts[13899]: "..., 66, MSG_NOSIGNAL) = 66
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "P", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "O", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "S", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "T", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, " ", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "/", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "i", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "n", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "d", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "e", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "x", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, ".", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "h", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "t", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "m", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "l", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "?", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "c", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "r", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "a", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "p", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "=", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "1", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "3", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "9", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "5", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "8", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "3", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "5", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "9", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "9", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "1", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, " ", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "H", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "T", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "T", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "P", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "/", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "1", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, ".", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "1", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "\r", 1)                        = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "\n", 1)                        = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "Ho", 2)                        = 2
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "s", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "t", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, ":", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, " ", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "H", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "e", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "r", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "m", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "e", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "s", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, ":", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "8", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "0", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "8", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "2", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "\r", 1)                        = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "\n", 1)                        = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "Co", 2)                        = 2
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "n", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "t", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "e", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "n", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "t", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "-", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "L", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "e", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "n", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "g", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "t", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "h", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, ":", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, " ", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "1", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "0", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "2", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "4", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "0", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "0", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "\r", 1)                        = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "\n", 1)                        = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "Co", 2)                        = 2
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "n", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "n", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "e", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "c", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "t", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "i", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "o", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "n", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, ":", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, " ", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "c", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "l", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "o", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "s", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "e", 1)                         = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "\r", 1)                        = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "\n", 1)                        = 1
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR)             = 0
read(5, "\r\n", 2)                      = 2
fcntl64(5, F_SETFL, O_RDWR)             = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=508, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7724000
read(6, "# /etc/nsswitch.conf:\n# $Header:"..., 4096) = 508
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0xb7724000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=152909, ...}) = 0
mmap2(NULL, 152909, PROT_READ, MAP_PRIVATE, 6, 0) = 0xb76ff000
close(6)                                = 0
open("/lib/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = 6
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\22\0\0004\0\0\0"..., 512) = 512
fstat64(6, {st_mode=S_IFREG|0755, st_size=26028, ...}) = 0
mmap2(NULL, 29132, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0xb754b000
mmap2(0xb7551000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x5000) = 0xb7551000
close(6)                                = 0
open("/lib/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 6
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\32\0\0004\0\0\0"..., 512) = 512
fstat64(6, {st_mode=S_IFREG|0755, st_size=50652, ...}) = 0
mmap2(NULL, 49868, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0xb753e000
mmap2(0xb7549000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0xb000) = 0xb7549000
close(6)                                = 0
mprotect(0xb7549000, 4096, PROT_READ)   = 0
mprotect(0xb7551000, 4096, PROT_READ)   = 0
munmap(0xb76ff000, 152909)              = 0
open("/var/db/protocols.db", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fcntl64(6, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
fstat64(6, {st_mode=S_IFREG|0644, st_size=6108, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7724000
read(6, "# /etc/protocols\n#\n# Internet (I"..., 4096) = 4096
close(6)                                = 0
munmap(0xb7724000, 4096)                = 0
setsockopt(5, SOL_TCP, 0x12 /* TCP_??? */, [1], 4) = 0
getsockopt(5, SOL_TCP, 0x12 /* TCP_??? */, [1], [4]) = 0
poll([{fd=4, events=POLLIN}], 1, 10000) = 1 ([{fd=4, revents=POLLIN}])
accept(4, {sa_family=AF_INET, sin_port=htons(38398), sin_addr=inet_addr("192.168.4.62")}, [16]) = 6
time(NULL)                              = 1395839812
send(3, "<29>Mar 26 14:16:52 hts[13899]: "..., 66, MSG_NOSIGNAL) = 66
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "G", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "E", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "T", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, " ", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "/", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "i", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "n", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "d", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "e", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "x", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, ".", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "h", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "t", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "m", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "l", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "?", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "c", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "r", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "a", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "p", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "=", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "1", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "3", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "9", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "5", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "8", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "3", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "5", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "9", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "9", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "1", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, " ", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "H", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "T", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "T", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "P", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "/", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "1", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, ".", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "1", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "\r", 1)                        = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "\n", 1)                        = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "Ho", 2)                        = 2
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "s", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "t", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, ":", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, " ", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "H", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "e", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "r", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "m", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "e", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "s", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, ":", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "8", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "0", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "8", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "2", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "\r", 1)                        = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "\n", 1)                        = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "Co", 2)                        = 2
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "n", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "n", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "e", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "c", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "t", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "i", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "o", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "n", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, ":", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, " ", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "c", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "l", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "o", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "s", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "e", 1)                         = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "\r", 1)                        = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "\n", 1)                        = 1
fcntl64(6, F_SETFL, O_RDWR)             = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR)             = 0
read(6, "\r\n", 2)                      = 2
fcntl64(6, F_SETFL, O_RDWR)             = 0
open("/var/db/protocols.db", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=6108, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7724000
read(7, "# /etc/protocols\n#\n# Internet (I"..., 4096) = 4096
close(7)                                = 0
munmap(0xb7724000, 4096)                = 0
setsockopt(6, SOL_TCP, 0x13 /* TCP_??? */, [1], 4) = 0
getsockopt(6, SOL_TCP, 0x13 /* TCP_??? */, [1], [4]) = 0
setsockopt(6, SOL_SOCKET, SO_LINGER, {_onoff_=1, linger=2000}, 8) = 0
getsockopt(6, SOL_SOCKET, SO_LINGER, {_onoff_=1, linger=2000}, [8]) = 0
open("/var/db/protocols.db", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=6108, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7724000
read(7, "# /etc/protocols\n#\n# Internet (I"..., 4096) = 4096
close(7)                                = 0
munmap(0xb7724000, 4096)                = 0
setsockopt(6, SOL_TCP, TCP_NODELAY, [1], 4) = 0
getsockopt(6, SOL_TCP, TCP_NODELAY, [1], [4]) = 0
setsockopt(6, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
getsockopt(6, SOL_SOCKET, SO_KEEPALIVE, [1], [4]) = 0
write(6, "HTTP/1.1 200 OK\r\nContent-Length:"..., 169) = -1 EINVAL (Invalid argument)
time(NULL)                              = 1395839812
send(3, "<27>Mar 26 14:16:52 hts[13899]: "..., 90, MSG_NOSIGNAL) = 90
close(6)                                = 0
poll([{fd=4, events=POLLIN}], 1, 10000) = 0 (Timeout)
time(NULL)                              = 1395839822
send(3, "<27>Mar 26 14:17:02 hts[13899]: "..., 61, MSG_NOSIGNAL) = 61
time(NULL)                              = 1395839822
send(3, "<27>Mar 26 14:17:02 hts[13899]: "..., 69, MSG_NOSIGNAL) = 69
close(5)                                = 0
time(NULL)                              = 1395839822
send(3, "<29>Mar 26 14:17:02 hts[13899]: "..., 76, MSG_NOSIGNAL) = 76
poll([{fd=4, events=POLLIN}], 1, -1


reply via email to

[Prev in Thread] Current Thread [Next in Thread]