Advertisement
joshuapl

Untitled

Oct 5th, 2012
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@oscar ~> strace -s 1024 netstat -an
  2. execve("/bin/netstat", ["netstat", "-an"], [/* 24 vars */]) = 0
  3. brk(0)                                  = 0x1bb4000
  4. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f78a1b0f000
  5. access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
  6. open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  7. fstat(3, {st_mode=S_IFREG|0644, st_size=17362, ...}) = 0
  8. mmap(NULL, 17362, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f78a1b0a000
  9. close(3)                                = 0
  10. open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  11. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\31\2\0\0\0\0\0@\0\0\0\0\0\0\0\260h\32\0\0\0\0\0\0\0\0\0@\0008\0\v\0@\0\"\0!\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0h\2\0\0\0\0\0\0h\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0`\0\27\0\0\0\0\0`\0\27\0\0\0\0\0`\0\27\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\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\0x\7\32\0\0\0\0\0x\7\32\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\320\26\32\0\0\0\0\0\320\26:\0\0\0\0\0\320\26:\0\0\0\0\0hP\0\0\0\0\0\0\260\225\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0 K\32\0\0\0\0\0 K:\0\0\0\0\0 K:\0\0\0\0\0\360\1\0\0\0\0\0\0\360\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\250\2\0\0\0\0\0\0\250\2\0\0\0\0\0\0\250\2\0\0\0\0\0\0D\0\0\0\0\0\0\0D\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\7\0\0\0\4\0\0\0\320\26\32\0\0\0\0\0\320\26:\0\0\0\0\0\320\26:\0\0\0\0\0\20\0\0\0\0\0\0\0h\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0|\0\27\0\0\0\0\0|\0\27\0\0\0\0\0|\0\27\0\0\0\0\0\354j\0\0\0\0\0\0\354j\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\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\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0R\345td\4\0\0\0\320\26\32\0\0\0\0\0\320\26:\0\0\0\0\0\320\26:\0\0\0\0\00009\0\0\0\0\0\00009\0\0\0\0\0\0\1\0\0\0\0\0\0\0\200\25\4e\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\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\331\273\225\357\4\212`\260\323\323!\32\255Q\3544u1N\206\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\6\0\0\0\f\0\0\0\0\0\0\0\363\3\0\0\t\0\0\0\0\1\0\0\16\0\0\0\0000\20D\240 \2\1\210\3\346\220\305E\214\0\300\0\10\0\5\200\0`\300\200\0\r\212\f\0\4\20\0\210D2\10.@\210P4, \16\"H&\204\300\214\4\10\0\2\2\16\241\254\32\4f\300", 832) = 832
  12. fstat(3, {st_mode=S_IFREG|0755, st_size=1732912, ...}) = 0
  13. mmap(NULL, 3845248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f78a1544000
  14. mprotect(0x7f78a16e5000, 2097152, PROT_NONE) = 0
  15. mmap(0x7f78a18e5000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a1000) = 0x7f78a18e5000
  16. mmap(0x7f78a18eb000, 15488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f78a18eb000
  17. close(3)                                = 0
  18. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f78a1b09000
  19. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f78a1b08000
  20. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f78a1b07000
  21. arch_prctl(ARCH_SET_FS, 0x7f78a1b08700) = 0
  22. mprotect(0x7f78a18e5000, 16384, PROT_READ) = 0
  23. mprotect(0x7f78a1b10000, 4096, PROT_READ) = 0
  24. munmap(0x7f78a1b0a000, 17362)           = 0
  25. brk(0)                                  = 0x1bb4000
  26. brk(0x1bd5000)                          = 0x1bd5000
  27. open("/usr/lib64/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
  28. fstat(3, {st_mode=S_IFREG|0644, st_size=115934000, ...}) = 0
  29. mmap(NULL, 115934000, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f789a6b3000
  30. close(3)                                = 0
  31. open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
  32. fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
  33. fstat(3, {st_mode=S_IFREG|0644, st_size=2868, ...}) = 0
  34. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f78a1b0e000
  35. read(3, "# Locale name alias data base.\n# Copyright (C) 1996-2001,2003,2007 Free Software Foundation, Inc.\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation; either version 2, or (at your option)\n# any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, see <http://www.gnu.org/licenses/>.\n\n# The format of this file is the same as for the corresponding file of\n# the X Window System, which normally can be found in\n#\t/usr/lib/X11/locale/locale.alias\n# A single line contains two fields: an alias and a substitution value.\n# All entries are case independent.\n\n# Note: This file is obsolete and is"..., 4096) = 2868
  36. read(3, "", 4096)                       = 0
  37. close(3)                                = 0
  38. munmap(0x7f78a1b0e000, 4096)            = 0
  39. open("/usr/share/locale/pl_PL.UTF-8/LC_MESSAGES/net-tools.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  40. open("/usr/share/locale/pl_PL.utf8/LC_MESSAGES/net-tools.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  41. open("/usr/share/locale/pl_PL/LC_MESSAGES/net-tools.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  42. open("/usr/share/locale/pl.UTF-8/LC_MESSAGES/net-tools.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  43. open("/usr/share/locale/pl.utf8/LC_MESSAGES/net-tools.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  44. open("/usr/share/locale/pl/LC_MESSAGES/net-tools.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  45. fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
  46. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f78a1b0e000
  47. write(1, "Active Internet connections (servers and established)\n", 54Active Internet connections (servers and established)
  48. ) = 54
  49. write(1, "Proto Recv-Q Send-Q Local Address           Foreign Address         State      \n", 80Proto Recv-Q Send-Q Local Address           Foreign Address         State      
  50. ) = 80
  51. socket(PF_NETLINK, SOCK_RAW, 4)         = 3
  52. sendmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"L\0\0\0\22\0\1\3@\342\1\0\0\0\0\0\2\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\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\377\17\0\0\0\0\0\0", 76}], msg_controllen=0, msg_flags=0}, 0) = 76
  53. recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"`\0\0\0\2\0\0\0@\342\1\0\16v\0\0\241\377\377\377L\0\0\0\22\0\1\3@\342\1\0\0\0\0\0\2\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\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\377\17\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\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\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\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\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\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\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\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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\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\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\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\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\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\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\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\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\0\0\0\0\0\0"..., 8192}], msg_controllen=0, msg_flags=0}, 0) = 96
  54. close(3)                                = 0
  55. exit_group(-1)                          = ?
  56. root@oscar ~>
  57. root@oscar ~>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement