Paste: This is socat openvp2openvpn.
Author: | Mike Mestnik |
Mode: | c |
Date: | Thu, 16 Sep 2010 19:16:36 |
Plain Text |
execve("/usr/bin/socat", ["socat", "TCP4-LISTEN:3002", "TCP4:127.0.0.1:1194"], []) = 0
brk(0) = 0x80c8000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f38000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=82915, ...}) = 0
mmap2(NULL, 82915, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f23000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libwrap.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=31360, ...}) = 0
mmap2(NULL, 32036, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f1b000
mmap2(0xb7f22000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0xb7f22000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libutil.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\n\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9748, ...}) = 0
mmap2(NULL, 12424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f17000
mmap2(0xb7f19000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7f19000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libreadline.so.5", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 512) = 512
lseek(3, 130864, SEEK_SET) = 130864
read(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\30\2255ka?\346|Q%\372\352\326IC\4"..., 36) = 36
fstat64(3, {st_mode=S_IFREG|0644, st_size=205204, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f16000
mmap2(NULL, 208244, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ee3000
mmap2(0xb7f11000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2e) = 0xb7f11000
mmap2(0xb7f15000, 3444, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f15000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libssl.so.0.9.8", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\344\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=302032, ...}) = 0
mmap2(NULL, 300792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e99000
mmap2(0xb7edf000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x46) = 0xb7edf000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320m\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1323460, ...}) = 0
mmap2(NULL, 1333608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d53000
mmap2(0xb7e93000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13f) = 0xb7e93000
mmap2(0xb7e96000, 10600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e96000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libcrypto.so.0.9.8", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0x\4\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1392124, ...}) = 0
mmap2(NULL, 1407832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7bfb000
mmap2(0xb7d38000, 98304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13c) = 0xb7d38000
mmap2(0xb7d50000, 11096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7d50000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libnsl.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2201\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=79676, ...}) = 0
mmap2(NULL, 92136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7be4000
mmap2(0xb7bf7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xb7bf7000
mmap2(0xb7bf9000, 6120, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7bf9000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libncurses.so.5", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\246\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=231480, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7be3000
mmap2(NULL, 235248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ba9000
mmap2(0xb7be0000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x36) = 0xb7be0000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P#\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=116600, ...}) = 0
mmap2(NULL, 119656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7b8b000
mmap2(0xb7ba8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c) = 0xb7ba8000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\n\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9736, ...}) = 0
mmap2(NULL, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7b87000
mmap2(0xb7b89000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7b89000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\31\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=79980, ...}) = 0
mmap2(NULL, 78560, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7b73000
mmap2(0xb7b86000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xb7b86000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7b72000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7b71000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7b716c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
open("/dev/urandom", O_RDONLY) = 3
read(3, "5\225\26", 3) = 3
close(3) = 0
mprotect(0xb7b89000, 4096, PROT_READ) = 0
mprotect(0xb7bf7000, 4096, PROT_READ) = 0
mprotect(0xb7e93000, 8192, PROT_READ) = 0
mprotect(0xb7f19000, 4096, PROT_READ) = 0
mprotect(0xb7f55000, 4096, PROT_READ) = 0
munmap(0xb7f23000, 82915) = 0
brk(0) = 0x80c8000
brk(0x80e9000) = 0x80e9000
getpid() = 12287
uname({sys="Linux", node="commestnik.local", ...}) = 0
rt_sigaction(SIGHUP, {0x804bf10, [HUP], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x804bf10, [INT], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {0x804bf10, [QUIT], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGILL, {0x804bf10, [ILL], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGBUS, {0x804bf10, [BUS], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGFPE, {0x804bf10, [FPE], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSEGV, {0x804bf10, [SEGV], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x804bf10, [TERM], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
bind(3, {sa_family=AF_INET, sin_port=htons(3002), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
getsockname(3, {sa_family=AF_INET, sin_port=htons(3002), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
listen(3, 5) = 0
accept(3, {sa_family=AF_INET, sin_port=htons(43024), sin_addr=inet_addr("127.0.0.1")}, [16]) = 4
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
getpeername(4, {sa_family=AF_INET, sin_port=htons(43024), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
getsockname(4, {sa_family=AF_INET, sin_port=htons(3002), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
close(3) = 0
socket(PF_NETLINK, SOCK_RAW, 0) = 3
bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(3, {sa_family=AF_NETLINK, pid=12287, groups=00000000}, [12]) = 0
time(NULL) = 1284663477
sendto(3, "\24\0\0\0\26\0\1\3\265h\222L\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0\265h\222L\377/\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 224
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\265h\222L\377/\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 192
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\265h\222L\377/\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(3) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(1194), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
getsockname(3, {sa_family=AF_INET, sin_port=htons(59938), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
select(5, [3 4], [3 4], [], NULL) = 3 (in [4], out [3 4])
read(4, "\0\0168\4_\330\360\3770B\270\0\0\0\0\0", 8192) = 16
write(3, "\0\0168\4_\330\360\3770B\270\0\0\0\0\0", 16) = 16
select(5, [3 4], [3], [], NULL) = 1 (out [3])
select(5, [3 4], [], [], NULL) = 1 (in [3])
read(3, "\0\32@\362|\265c\32&\vo\1\0\0\0\0\4_\330\360\3770B\270\0\0\0\0", 8192) = 28
write(4, "\0\32@\362|\265c\32&\vo\1\0\0\0\0\4_\330\360\3770B\270\0\0\0\0", 28) = 28
select(5, [3 4], [4], [], NULL) = 1 (out [4])
select(5, [3 4], [], [], NULL) = 1 (in [4])
read(4, "\0\26(\4_\330\360\3770B\270\1\0\0\0\0\362|\265c\32&\vo\0m \4_\330\360\377"..., 8192) = 135
write(3, "\0\26(\4_\330\360\3770B\270\1\0\0\0\0\362|\265c\32&\vo\0m \4_\330\360\377"..., 135) = 135
select(5, [3 4], [3], [], NULL) = 1 (out [3])
select(5, [3 4], [], [], NULL) = 1 (in [3])
read(3, "\0~ \362|\265c\32&\vo\1\0\0\0\1\4_\330\360\3770B\270\0\0\0\1\26\3\1\0"..., 8192) = 128
write(4, "\0~ \362|\265c\32&\vo\1\0\0\0\1\4_\330\360\3770B\270\0\0\0\1\26\3\1\0"..., 128) = 128
select(5, [3 4], [4], [], NULL) = 1 (out [4])
select(5, [3 4], [], [], NULL) = 1 (in [4])
read(4, "\0\26(\4_\330\360\3770B\270\1\0\0\0\1\362|\265c\32&\vo", 8192) = 24
write(3, "\0\26(\4_\330\360\3770B\270\1\0\0\0\1\362|\265c\32&\vo", 24) = 24
select(5, [3 4], [3], [], NULL) = 1 (out [3])
select(5, [3 4], [], [], NULL) = 1 (in [3])
read(3, "\0r \362|\265c\32&\vo\0\0\0\0\2\1\5\5\0000\0331\0310\27\6\3U\4\3\f"..., 8192) = 116
write(4, "\0r \362|\265c\32&\vo\0\0\0\0\2\1\5\5\0000\0331\0310\27\6\3U\4\3\f"..., 116) = 116
select(5, [3 4], [4], [], NULL) = 1 (out [4])
select(5, [3 4], [], [], NULL) = 1 (in [4])
read(4, "\0\26(\4_\330\360\3770B\270\1\0\0\0\2\362|\265c\32&\vo", 8192) = 24
write(3, "\0\26(\4_\330\360\3770B\270\1\0\0\0\2\362|\265c\32&\vo", 24) = 24
select(5, [3 4], [3], [], NULL) = 1 (out [3])
select(5, [3 4], [], [], NULL) = 1 (in [3])
read(3, "\0r \362|\265c\32&\vo\0\0\0\0\3\t*\206H\206\367\r\1\1\1\5\0\3\201\215\0"..., 8192) = 116
write(4, "\0r \362|\265c\32&\vo\0\0\0\0\3\t*\206H\206\367\r\1\1\1\5\0\3\201\215\0"..., 116) = 116
select(5, [3 4], [4], [], NULL) = 1 (out [4])
select(5, [3 4], [], [], NULL) = 1 (in [4])
read(4, "\0\26(\4_\330\360\3770B\270\1\0\0\0\3\362|\265c\32&\vo", 8192) = 24
write(3, "\0\26(\4_\330\360\3770B\270\1\0\0\0\3\362|\265c\32&\vo", 24) = 24
select(5, [3 4], [3], [], NULL) = 1 (out [3])
select(5, [3 4], [], [], NULL) = 1 (in [3])
read(3, "\0r \362|\265c\32&\vo\0\0\0\0\4\317\5Pn{\376\322V\27/\343\335^\230\365R"..., 8192) = 116
write(4, "\0r \362|\265c\32&\vo\0\0\0\0\4\317\5Pn{\376\322V\27/\343\335^\230\365R"..., 116) = 116
select(5, [3 4], [4], [], NULL) = 1 (out [4])
select(5, [3 4], [], [], NULL) = 1 (in [4])
read(4, "\0\26(\4_\330\360\3770B\270\1\0\0\0\4\362|\265c\32&\vo", 8192) = 24
write(3, "\0\26(\4_\330\360\3770B\270\1\0\0\0\4\362|\265c\32&\vo", 24) = 24
select(5, [3 4], [3], [], NULL) = 1 (out [3])
select(5, [3 4], [], [], NULL) = 1 (in [3])
read(3, "\0r \362|\265c\32&\vo\0\0\0\0\5erated Certifica"..., 8192) = 116
write(4, "\0r \362|\265c\32&\vo\0\0\0\0\5erated Certifica"..., 116) = 116
select(5, [3 4], [4], [], NULL) = 1 (out [4])
select(5, [3 4], [], [], NULL) = 1 (in [4])
read(4, "\0\26(\4_\330\360\3770B\270\1\0\0\0\5\362|\265c\32&\vo", 8192) = 24
write(3, "\0\26(\4_\330\360\3770B\270\1\0\0\0\5\362|\265c\32&\vo", 24) = 24
select(5, [3 4], [3], [], NULL) = 1 (out [3])
select(5, [3 4], [], [], NULL) = 1 (in [3])
read(3, "\0r \362|\265c\32&\vo\0\0\0\0\6\302uh\36\27\245\264\244$_(\21:W\213\313"..., 8192) = 116
write(4, "\0r \362|\265c\32&\vo\0\0\0\0\6\302uh\36\27\245\264\244$_(\21:W\213\313"..., 116) = 116
select(5, [3 4], [4], [], NULL) = 1 (out [4])
select(5, [3 4], [], [], NULL) = 1 (in [4])
read(4, "\0\26(\4_\330\360\3770B\270\1\0\0\0\6\362|\265c\32&\vo", 8192) = 24
<SNIP>
New Annotation