Advertisement
Guest User

iptables-save

a guest
Oct 16th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.47 KB | None | 0 0
  1. # strace iptables-save
  2. execve("/usr/sbin/iptables-save", ["iptables-save"], [/* 14 vars */]) = 0
  3. readlinkat(AT_FDCWD, "/proc/self/exe", "/usr/sbin/xtables-multi", 4096) = 23
  4. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0xb6f50000
  5. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libip4tc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
  6. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libip4tc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
  7. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libip4tc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
  8. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libip4tc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
  9. open("/lib/libip4tc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
  10. open("/lib/libip4tc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
  11. open("/usr/lib/libip4tc.so.0", O_RDONLY) = 3
  12. fstat(3, {st_mode=S_IFREG|0755, st_size=19480, ...}) = 0
  13. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0xb6f4f000
  14. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\374\16\0\0004\0\0\0"..., 4096) = 4096
  15. mmap2(NULL, 53248, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f38000
  16. mmap2(0xb6f38000, 17592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xb6f38000
  17. mmap2(0xb6f44000, 2000, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0xb6f44000
  18. close(3) = 0
  19. munmap(0xb6f4f000, 4096) = 0
  20. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libip6tc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
  21. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libip6tc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
  22. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libip6tc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
  23. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libip6tc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
  24. open("/lib/libip6tc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
  25. open("/lib/libip6tc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
  26. open("/usr/lib/libip6tc.so.0", O_RDONLY) = 3
  27. fstat(3, {st_mode=S_IFREG|0755, st_size=20396, ...}) = 0
  28. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0xb6f4f000
  29. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\254\20\0\0004\0\0\0"..., 4096) = 4096
  30. mmap2(NULL, 53248, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f2b000
  31. mmap2(0xb6f2b000, 18484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xb6f2b000
  32. mmap2(0xb6f37000, 2916, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0xb6f37000
  33. close(3) = 0
  34. munmap(0xb6f4f000, 4096) = 0
  35. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libxtables.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
  36. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libxtables.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
  37. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libxtables.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
  38. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libxtables.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
  39. open("/lib/libxtables.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
  40. open("/lib/libxtables.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
  41. open("/usr/lib/libxtables.so.11", O_RDONLY) = 3
  42. fstat(3, {st_mode=S_IFREG|0755, st_size=39088, ...}) = 0
  43. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0xb6f4f000
  44. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0d\"\0\0004\0\0\0"..., 4096) = 4096
  45. mmap2(NULL, 73728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f19000
  46. mmap2(0xb6f19000, 36796, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xb6f19000
  47. mmap2(0xb6f2a000, 1076, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x9000) = 0xb6f2a000
  48. close(3) = 0
  49. munmap(0xb6f4f000, 4096) = 0
  50. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libdl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  51. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libdl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  52. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libdl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  53. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libdl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  54. open("/lib/libdl.so.1", O_RDONLY) = 3
  55. fstat(3, {st_mode=S_IFREG|0755, st_size=13212, ...}) = 0
  56. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0xb6f4f000
  57. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\254\v\0\0004\0\0\0"..., 4096) = 4096
  58. mmap2(NULL, 49152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f0d000
  59. mmap2(0xb6f0d000, 8153, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xb6f0d000
  60. mmap2(0xb6f17000, 4120, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0xb6f17000
  61. close(3) = 0
  62. munmap(0xb6f4f000, 4096) = 0
  63. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libm.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  64. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libm.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  65. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libm.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  66. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libm.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  67. open("/lib/libm.so.1", O_RDONLY) = 3
  68. fstat(3, {st_mode=S_IFREG|0755, st_size=62248, ...}) = 0
  69. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0xb6f4f000
  70. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\214\26\0\0004\0\0\0"..., 4096) = 4096
  71. mmap2(NULL, 98304, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6ef5000
  72. mmap2(0xb6ef5000, 58692, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xb6ef5000
  73. mmap2(0xb6f0b000, 4100, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xe000) = 0xb6f0b000
  74. close(3) = 0
  75. munmap(0xb6f4f000, 4096) = 0
  76. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  77. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  78. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  79. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  80. open("/lib/libc.so.1", O_RDONLY) = 3
  81. fstat(3, {st_mode=S_IFREG|0755, st_size=411364, ...}) = 0
  82. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0xb6f4f000
  83. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\260\277\0\0004\0\0\0"..., 4096) = 4096
  84. mmap2(NULL, 462848, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e84000
  85. mmap2(0xb6e84000, 407156, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xb6e84000
  86. mmap2(0xb6eef000, 4808, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x63000) = 0xb6eef000
  87. mmap2(0xb6ef1000, 13560, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6ef1000
  88. close(3) = 0
  89. munmap(0xb6f4f000, 4096) = 0
  90. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  91. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  92. open("/lib/libc.so.1", O_RDONLY) = 3
  93. fstat(3, {st_mode=S_IFREG|0755, st_size=411364, ...}) = 0
  94. close(3) = 0
  95. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  96. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  97. open("/lib/libc.so.1", O_RDONLY) = 3
  98. fstat(3, {st_mode=S_IFREG|0755, st_size=411364, ...}) = 0
  99. close(3) = 0
  100. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libdl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  101. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libdl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  102. open("/lib/libdl.so.1", O_RDONLY) = 3
  103. fstat(3, {st_mode=S_IFREG|0755, st_size=13212, ...}) = 0
  104. close(3) = 0
  105. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  106. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  107. open("/lib/libc.so.1", O_RDONLY) = 3
  108. fstat(3, {st_mode=S_IFREG|0755, st_size=411364, ...}) = 0
  109. close(3) = 0
  110. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  111. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  112. open("/lib/libc.so.1", O_RDONLY) = 3
  113. fstat(3, {st_mode=S_IFREG|0755, st_size=411364, ...}) = 0
  114. close(3) = 0
  115. stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=28554, ...}) = 0
  116. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libiptc/.libs/libc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  117. open("/home/misaki/devel/nuc/buildroot-2016.02-sk/output/build/iptables-1.6.0/libxtables/.libs/libc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
  118. open("/lib/libc.so.1", O_RDONLY) = 3
  119. fstat(3, {st_mode=S_IFREG|0755, st_size=411364, ...}) = 0
  120. close(3) = 0
  121. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0xb6f4f000
  122. set_tls(0xb6f4f490, 0xb6f4f000, 0xb6f4fb38, 0xb6f4f490, 0xb6f52f70) = 0
  123. mprotect(0xb6f17000, 4096, PROT_READ) = 0
  124. mprotect(0xb6f0b000, 4096, PROT_READ) = 0
  125. mprotect(0xb6eef000, 4096, PROT_READ) = 0
  126. mprotect(0xb6f52000, 4096, PROT_READ) = 0
  127. ioctl(0, TCGETS, {B115200 opost isig icanon echo ...}) = 0
  128. ioctl(1, TCGETS, {B115200 opost isig icanon echo ...}) = 0
  129. brk(NULL) = 0x14bb000
  130. brk(0x14bc000) = 0x14bc000
  131. open("/proc/net/ip_tables_names", O_RDONLY|O_LARGEFILE) = 3
  132. ioctl(3, TCGETS, 0xbeaa9b9c) = -1 ENOTTY (Inappropriate ioctl for device)
  133. brk(0x14bd000) = 0x14bd000
  134. read(3, "filter\n", 4096) = 7
  135. socket(PF_INET, SOCK_RAW, IPPROTO_RAW) = 4
  136. fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
  137. getsockopt(4, SOL_IP, IPT_SO_GET_INFO, "filter\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"..., [84]) = 0
  138. getsockopt(4, SOL_IP, IPT_SO_GET_ENTRIES, "filter\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"..., [672]) = 0
  139. gettimeofday({1104620825, 164465}, NULL) = 0
  140. open("/etc/TZ", O_RDONLY) = -1 ENOENT (No such file or directory)
  141. open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file or directory)
  142. write(1, "# Generated by iptables-save v1."..., 64# Generated by iptables-save v1.6.0 on Sat Jan 1 23:07:05 2005
  143. ) = 64
  144. write(1, "*filter\n", 8*filter
  145. ) = 8
  146. write(1, ":INPUT ACCEPT [2:140]\n", 22:INPUT ACCEPT [2:140]
  147. ) = 22
  148. write(1, ":FORWARD ACCEPT [0:0]\n", 22:FORWARD ACCEPT [0:0]
  149. ) = 22
  150. write(1, ":OUTPUT ACCEPT [2:140]\n", 23:OUTPUT ACCEPT [2:140]
  151. ) = 23
  152. gettimeofday({1104620825, 175257}, NULL) = 0
  153. write(1, "COMMIT\n", 7COMMIT
  154. ) = 7
  155. open("/etc/TZ", O_RDONLY) = -1 ENOENT (No such file or directory)
  156. open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file or directory)
  157. write(1, "# Completed on Sat Jan 1 23:07:"..., 40# Completed on Sat Jan 1 23:07:05 2005
  158. ) = 40
  159. close(4) = 0
  160. read(3, "", 4096) = 0
  161. close(3) = 0
  162. exit_group(0) = ?
  163. +++ exited with 0 +++
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement