Advertisement
Guest User

Untitled

a guest
Apr 17th, 2012
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.67 KB | None | 0 0
  1. noc@noc:/opt/noc> ./noc debug-script get_arp shaper-3
  2. 2012-04-17 14:31:51,176 SSH: Using gmpy
  3. 2012-04-17 14:31:51,436 Using JSON library: cjson
  4. 2012-04-17 14:31:51,477 Loading PeriodicRegistry
  5. 2012-04-17 14:31:51,494 Loading DownloaderRegistry
  6. 2012-04-17 14:31:51,543 Loading ProfileRegistry
  7. 2012-04-17 14:31:51,924 Loading ScriptRegistry
  8. 2012-04-17 14:31:52,171 Setting up 'select' polling method
  9. 2012-04-17 14:31:52,172 Set up select() poller
  10. 2012-04-17 14:31:52,172 Loading private ssh key from 'etc/ssh/id_rsa'
  11. 2012-04-17 14:31:52,173 Loading public ssh key from 'etc/ssh/id_rsa.pub'
  12. access_profile {
  13. profile: "OS.FreeBSD"
  14. scheme: SSH
  15. address: "10.22.0.57"
  16. port: 666
  17. user: "root"
  18. password: "xxxxxxx"
  19. }
  20. script: "OS.FreeBSD.get_arp"
  21.  
  22. 2012-04-17 14:31:52,176 Running socket factory
  23. 2012-04-17 14:31:52,176 Running script thread
  24. 2012-04-17 14:31:52,176 Creating transaction id=335629988 method=None callback=None
  25. 2012-04-17 14:31:52,177 [script-10.22.0.57-OS.FreeBSD.get_arp] Running
  26. 2012-04-17 14:31:52,177 [script-10.22.0.57-OS.FreeBSD.get_arp] Running script: OS.FreeBSD.get_arp ({})
  27. 2012-04-17 14:31:52,178 [script-10.22.0.57-OS.FreeBSD.get_arp] cli(arp -an)
  28. 2012-04-17 14:31:52,178 [script-10.22.0.57-OS.FreeBSD.get_arp] Running new provider
  29. 2012-04-17 14:31:52,178 [SSH: 10.22.0.57] ==> SSH_START
  30. 2012-04-17 14:31:52,179 [SSH: 10.22.0.57] set_timeout(30)
  31. 2012-04-17 14:31:52,179 register_socket(<noc.sa.script.ssh.transport.CLISSHSocket object at 0x7ff39f5a5850>,None)
  32. 2012-04-17 14:31:53,177 Tick
  33. 2012-04-17 14:31:53,178 3 TICKS TO EXIT
  34. 2012-04-17 14:31:53,178 [SSH: 10.22.0.57] Initializing socket
  35. 2012-04-17 14:31:53,178 [SSH: 10.22.0.57] Connecting 10.22.0.57:666
  36. 2012-04-17 14:31:53,204 [SSH: 10.22.0.57] event(SSH_VERSION)
  37. 2012-04-17 14:31:53,205 [SSH: 10.22.0.57] ==> SSH_VERSION
  38. 2012-04-17 14:31:53,205 [SSH: 10.22.0.57] Remote protocol version 2.0, remote software version OpenSSH_4.5p1 FreeBSD-20061110
  39. 2012-04-17 14:31:53,206 [SSH: 10.22.0.57] Setting SSH transforms to: in=none none, out=none none
  40. 2012-04-17 14:31:53,206 [SSH: 10.22.0.57] Setting SSH transform keys
  41. 2012-04-17 14:31:53,206 [SSH: 10.22.0.57] Sending message type MSG_KEXINIT (20)
  42. 2012-04-17 14:31:53,206 [SSH: 10.22.0.57] event(SSH_KEY_EXCHANGE)
  43. 2012-04-17 14:31:53,207 [SSH: 10.22.0.57] ==> SSH_KEY_EXCHANGE
  44. 2012-04-17 14:31:53,209 [SSH: 10.22.0.57] Receiving message type MSG_KEXINIT (20)
  45. 2012-04-17 14:31:53,210 [SSH: 10.22.0.57] Receiving server proposals: kex=['diffie-hellman-group-exchange-sha256', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] key=['ssh-dss'] enc_cs=['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256', 'arcfour', 'aes192-cbc', 'aes256-cbc', 'rijndael-cbc@lysator.liu.se', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr'] enc_sc=['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256', 'arcfour', 'aes192-cbc', 'aes256-cbc', 'rijndael-cbc@lysator.liu.se', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr'] mac_cs=['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 'hmac-ripemd160@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] mac_sc=['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 'hmac-ripemd160@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] comp_cs=['none', 'zlib@openssh.com'] comp_sc['none', 'zlib@openssh.com']
  46. 2012-04-17 14:31:53,210 [SSH: 10.22.0.57] Setting SSH transforms to: in=aes256-ctr hmac-sha1, out=aes256-ctr hmac-sha1
  47. 2012-04-17 14:31:53,210 [SSH: 10.22.0.57] Selecting diffie-hellman-group-exchange-sha1 ssh-dss, in=(aes256-ctr hmac-sha1 none) out=(aes256-ctr hmac-sha1 none)
  48. 2012-04-17 14:31:53,211 [SSH: 10.22.0.57] Sending message type MSG_KEX_DH_GEX_REQUEST_OLD (30)
  49. 2012-04-17 14:31:53,217 [SSH: 10.22.0.57] Receiving message type MSG_KEXDH_REPLY (31)
  50. 2012-04-17 14:31:53,218 [SSH: 10.22.0.57] Sending message type MSG_KEX_DH_GEX_INIT (32)
  51. 2012-04-17 14:31:53,242 [SSH: 10.22.0.57] Receiving message type MSG_KEX_DH_GEX_REPLY (33)
  52. 2012-04-17 14:31:53,243 [SSH: 10.22.0.57] Server PK fingerprint: c1:e1:73:82:44:84:91:04:bc:5f:6b:9b:ff:b9:e0:11
  53. 2012-04-17 14:31:53,245 [SSH: 10.22.0.57] Setting SSH transform keys
  54. 2012-04-17 14:31:53,245 [SSH: 10.22.0.57] Sending message type MSG_NEWKEYS (21)
  55. 2012-04-17 14:31:53,246 [SSH: 10.22.0.57] Receiving message type MSG_NEWKEYS (21)
  56. 2012-04-17 14:31:53,246 [SSH: 10.22.0.57] Using new keys
  57. 2012-04-17 14:31:53,246 [SSH: 10.22.0.57] event(SSH_AUTH)
  58. 2012-04-17 14:31:53,246 [SSH: 10.22.0.57] ==> SSH_AUTH
  59. 2012-04-17 14:31:53,246 [SSH: 10.22.0.57] Requesting service ssh-userauth
  60. 2012-04-17 14:31:53,247 [SSH: 10.22.0.57] Sending message type MSG_SERVICE_REQUEST (5)
  61. 2012-04-17 14:31:53,250 [SSH: 10.22.0.57] Receiving message type MSG_SERVICE_ACCEPT (6)
  62. 2012-04-17 14:31:53,250 [SSH: 10.22.0.57] Starting service ssh-userauth
  63. 2012-04-17 14:31:53,250 [SSH: 10.22.0.57] event(SSH_AUTH_PASSWORD)
  64. 2012-04-17 14:31:53,250 [SSH: 10.22.0.57] ==> SSH_AUTH_PASSWORD
  65. 2012-04-17 14:31:53,251 [SSH: 10.22.0.57] Authenticating with 'none' method
  66. 2012-04-17 14:31:53,251 [SSH: 10.22.0.57] Sending message type MSG_USERAUTH_REQUEST (50)
  67. 2012-04-17 14:31:53,256 [SSH: 10.22.0.57] Receiving message type MSG_USERAUTH_FAILURE (51)
  68. 2012-04-17 14:31:53,256 [SSH: 10.22.0.57] Authentication method 'none' has been failed. Trying next method (publickey,keyboard-interactive)
  69. 2012-04-17 14:31:53,256 [SSH: 10.22.0.57] Partially authenticated with 'none'. Trying next method
  70. 2012-04-17 14:31:53,257 [SSH: 10.22.0.57] Authenticating with 'publickey' method
  71. 2012-04-17 14:31:53,257 [SSH: 10.22.0.57] Sending message type MSG_USERAUTH_REQUEST (50)
  72. 2012-04-17 14:31:53,262 [SSH: 10.22.0.57] Receiving message type MSG_USERAUTH_FAILURE (51)
  73. 2012-04-17 14:31:53,262 [SSH: 10.22.0.57] Authentication method 'publickey' has been failed. Trying next method (publickey,keyboard-interactive)
  74. 2012-04-17 14:31:53,262 [SSH: 10.22.0.57] Partially authenticated with 'publickey'. Trying next method
  75. 2012-04-17 14:31:53,262 [SSH: 10.22.0.57] Authenticating with 'keyboard-interactive' method
  76. 2012-04-17 14:31:53,263 [SSH: 10.22.0.57] Sending message type MSG_USERAUTH_REQUEST (50)
  77. 2012-04-17 14:31:53,268 [SSH: 10.22.0.57] Receiving message type MSG_USERAUTH_PK_OK (60)
  78. 2012-04-17 14:31:53,268 [SSH: 10.22.0.57] keyboard-interactive instruction:
  79. 2012-04-17 14:31:53,269 [SSH: 10.22.0.57] keyboard-interactive prompts: [('Password:', False)]
  80. 2012-04-17 14:31:53,269 [SSH: 10.22.0.57] Sending message type MSG_USERAUTH_INFO_RESPONSE (61)
  81. 2012-04-17 14:31:53,273 [SSH: 10.22.0.57] Receiving message type MSG_USERAUTH_PK_OK (60)
  82. 2012-04-17 14:31:53,273 [SSH: 10.22.0.57] keyboard-interactive instruction:
  83. 2012-04-17 14:31:53,273 [SSH: 10.22.0.57] keyboard-interactive prompts: []
  84. 2012-04-17 14:31:53,274 [SSH: 10.22.0.57] Sending message type MSG_USERAUTH_INFO_RESPONSE (61)
  85. 2012-04-17 14:31:53,276 [SSH: 10.22.0.57] Receiving message type MSG_USERAUTH_SUCCESS (52)
  86. 2012-04-17 14:31:53,277 [SSH: 10.22.0.57] event(SSH_CHANNEL)
  87. 2012-04-17 14:31:53,277 [SSH: 10.22.0.57] ==> SSH_CHANNEL
  88. 2012-04-17 14:31:53,277 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_OPEN (90)
  89. 2012-04-17 14:31:53,280 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_OPEN_CONFIRMATION (91)
  90. 2012-04-17 14:31:53,280 [SSH: 10.22.0.57] Opening channel. local=0 remote=0
  91. 2012-04-17 14:31:53,280 [SSH: 10.22.0.57] event(SSH_PTY)
  92. 2012-04-17 14:31:53,280 [SSH: 10.22.0.57] ==> SSH_PTY
  93. 2012-04-17 14:31:53,281 [SSH: 10.22.0.57] Requesting PTY
  94. 2012-04-17 14:31:53,281 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_REQUEST (98)
  95. 2012-04-17 14:31:53,284 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_SUCCESS (99)
  96. 2012-04-17 14:31:53,285 [SSH: 10.22.0.57] event(SSH_SHELL)
  97. 2012-04-17 14:31:53,285 [SSH: 10.22.0.57] ==> SSH_SHELL
  98. 2012-04-17 14:31:53,285 [SSH: 10.22.0.57] Requesting shell
  99. 2012-04-17 14:31:53,285 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_REQUEST (98)
  100. 2012-04-17 14:31:53,288 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_WINDOW_ADJUST (93)
  101. 2012-04-17 14:31:53,288 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_SUCCESS (99)
  102. 2012-04-17 14:31:53,288 [SSH: 10.22.0.57] event(START)
  103. 2012-04-17 14:31:53,289 [SSH: 10.22.0.57] ==> START
  104. 2012-04-17 14:31:53,289 [SSH: 10.22.0.57] set_patterns([('([Uu]sername|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('^\\S*?(%|\\$)', 'UNPRIVELEGED_PROMPT'), ('^(?P<hostname>\\S*)#', 'PROMPT'), ('(^---MORE---)', 'PAGER')])
  105. 2012-04-17 14:31:53,291 [SSH: 10.22.0.57] on_read: 'Last login: Tue Apr 17 15:23:50 2012 from 10.22.0.85\r\r\nCopyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994\r\n\tThe Regents of the University of California. All rights reserved.\r\n'
  106. 2012-04-17 14:31:53,292 [SSH: 10.22.0.57] match '([Uu]sername|[Ll]ogin):'
  107. 2012-04-17 14:31:53,292 [SSH: 10.22.0.57] event(USERNAME)
  108. 2012-04-17 14:31:53,292 [SSH: 10.22.0.57] ==> USERNAME
  109. 2012-04-17 14:31:53,293 [SSH: 10.22.0.57] set_patterns([('[Pp]assword:', 'PASSWORD'), ('^(?P<hostname>\\S*)#', 'PROMPT')])
  110. 2012-04-17 14:31:53,293 [SSH: 10.22.0.57] submit(u'root',bulk_lines=None)
  111. 2012-04-17 14:31:53,293 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_DATA (94)
  112. 2012-04-17 14:31:53,294 [SSH: 10.22.0.57] on_read: '\r\nFreeBSD 6.3-PRERELEASE (WHITESMP_IPSTEALTH) #0: Sat Mar 6 14:12:29 EET 2010\r\n'
  113. 2012-04-17 14:31:53,298 [SSH: 10.22.0.57] on_read: '[root@OneShaper-3 ~]# '
  114. 2012-04-17 14:31:53,299 [SSH: 10.22.0.57] on_read: 'r'
  115. 2012-04-17 14:31:53,300 [SSH: 10.22.0.57] on_read: 'oot\r\n'
  116. 2012-04-17 14:31:53,300 [SSH: 10.22.0.57] on_read: '-bash: root: command not found\r\n'
  117. 2012-04-17 14:31:53,300 [SSH: 10.22.0.57] on_read: '[root@OneShaper-3 ~]# '
  118. 2012-04-17 14:31:54,301 Tick
  119. 2012-04-17 14:31:54,302 Resetting wait ticks
  120. 2012-04-17 14:31:55,298 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
  121. 2012-04-17 14:31:55,299 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
  122. 2012-04-17 14:31:56,301 Tick
  123. 2012-04-17 14:31:56,301 Resetting wait ticks
  124. 2012-04-17 14:31:57,301 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
  125. 2012-04-17 14:31:57,302 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
  126. 2012-04-17 14:31:57,302 Tick
  127. 2012-04-17 14:31:57,302 Resetting wait ticks
  128. 2012-04-17 14:31:58,304 Tick
  129. 2012-04-17 14:31:58,304 Resetting wait ticks
  130. 2012-04-17 14:31:59,305 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
  131. 2012-04-17 14:31:59,305 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
  132. 2012-04-17 14:31:59,306 Tick
  133. 2012-04-17 14:31:59,306 Resetting wait ticks
  134. 2012-04-17 14:32:00,307 Tick
  135. 2012-04-17 14:32:00,307 Resetting wait ticks
  136. 2012-04-17 14:32:01,309 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
  137. 2012-04-17 14:32:01,309 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
  138. 2012-04-17 14:32:01,310 Tick
  139. 2012-04-17 14:32:01,310 Resetting wait ticks
  140. 2012-04-17 14:32:02,312 Tick
  141. 2012-04-17 14:32:02,312 Resetting wait ticks
  142. 2012-04-17 14:32:03,314 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
  143. 2012-04-17 14:32:03,314 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
  144. 2012-04-17 14:32:03,315 Tick
  145. 2012-04-17 14:32:03,315 Resetting wait ticks
  146. 2012-04-17 14:32:04,316 Tick
  147. 2012-04-17 14:32:04,316 Resetting wait ticks
  148. 2012-04-17 14:32:05,317 Tick
  149. 2012-04-17 14:32:05,317 Resetting wait ticks
  150. 2012-04-17 14:32:05,318 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
  151. 2012-04-17 14:32:05,318 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
  152. 2012-04-17 14:32:06,319 Tick
  153. 2012-04-17 14:32:06,319 Resetting wait ticks
  154. 2012-04-17 14:32:07,320 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
  155. 2012-04-17 14:32:07,321 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
  156. 2012-04-17 14:32:07,321 Tick
  157. 2012-04-17 14:32:07,321 Resetting wait ticks
  158. 2012-04-17 14:32:08,323 Tick
  159. 2012-04-17 14:32:08,323 Resetting wait ticks
  160. 2012-04-17 14:32:09,325 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
  161. 2012-04-17 14:32:09,325 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
  162. 2012-04-17 14:32:09,325 Tick
  163. 2012-04-17 14:32:09,325 Resetting wait ticks
  164. 2012-04-17 14:32:10,326 Tick
  165. 2012-04-17 14:32:10,326 Resetting wait ticks
  166. 2012-04-17 14:32:11,327 Tick
  167. 2012-04-17 14:32:11,327 Resetting wait ticks
  168. 2012-04-17 14:32:11,329 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
  169. 2012-04-17 14:32:11,329 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
  170. 2012-04-17 14:32:12,331 Tick
  171. 2012-04-17 14:32:12,331 Resetting wait ticks
  172. 2012-04-17 14:32:13,333 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
  173. 2012-04-17 14:32:13,333 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
  174. 2012-04-17 14:32:13,334 Tick
  175. 2012-04-17 14:32:13,334 Resetting wait ticks
  176. 2012-04-17 14:32:14,336 Tick
  177. 2012-04-17 14:32:14,336 Resetting wait ticks
  178. 2012-04-17 14:32:15,337 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
  179. 2012-04-17 14:32:15,338 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
  180. 2012-04-17 14:32:15,338 Tick
  181. 2012-04-17 14:32:15,338 Resetting wait ticks
  182. 2012-04-17 14:32:16,340 Tick
  183. 2012-04-17 14:32:16,340 Resetting wait ticks
  184. 2012-04-17 14:32:17,341 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
  185. 2012-04-17 14:32:17,342 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
  186. 2012-04-17 14:32:17,343 Tick
  187. 2012-04-17 14:32:17,343 Resetting wait ticks
  188. 2012-04-17 14:32:18,346 Tick
  189. 2012-04-17 14:32:18,346 Resetting wait ticks
  190. 2012-04-17 14:32:19,346 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
  191. 2012-04-17 14:32:19,346 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
  192. 2012-04-17 14:32:19,347 Tick
  193. 2012-04-17 14:32:19,347 Resetting wait ticks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement