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

R: [hobbit] ftp silent test



I send the output to you.
But I make some mistake, because when i launch the command
 bbcmd bbtest-net --debug server_name
the hobbit ftp test page becomes immediately green(?)

Damiano Vozza
Azienda Provinciale per i Servizi Sanitari
Servizio Sistemi Informativi
Ospedale S. Chiara
Via Crosina Sartori 6 Trento - Italy
tel. (+39) 0461364856
fax. (+39) 0461903593
e-mail damiano.vozza (at) apss.tn.it
web site www.apss.tn.it


-----Messaggio originale-----
Da: Henrik Stoerner [mailto:henrik (at) hswn.dk] 
Inviato: venerdì 18 novembre 2005 13.44
A: hobbit (at) hswn.dk
Oggetto: Re: [hobbit] ftp silent test

On Wed, Nov 16, 2005 at 09:34:04AM +0100, Vozza Damiano wrote:
> 
> on some host I use the ftp:s (silent test) tag and the response is
> ALWAYS of this type:
> 
> service ftp on host_name is not OK : Unexpected service response
> 
> Seconds: 0.00
> 
> with yellow status.

Could you try running (as the hobbit user)
     bbcmd bbtest-net --debug FTP.SERVER.HOSTNAME
and send me the output ?


Henrik


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk


Command: bbtest-net '--debug' 'uniaxserver'
Environment BBLOCATION=''
Environment CONNTEST='TRUE'
Environment IPTEST_2_CLEAR_ON_FAILED_CONN='TRUE'

Service list dump
 Name      : ftp
   Sendtext: quit\r\n
   Sendlen : 6
   Exp.text: 220
   Exp.len : 3
   Exp.ofs : 0
   Flags   : 1
   Port    : 21
 Name      : ftps
   Sendtext: quit\r\n
   Sendlen : 6
   Exp.text: 220
   Exp.len : 3
   Exp.ofs : 0
   Flags   : 5
   Port    : 990
 Name      : ssh
   Sendtext: 
   Sendlen : 0
   Exp.text: SSH
   Exp.len : 3
   Exp.ofs : 0
   Flags   : 1
   Port    : 22
 Name      : ssh1
   Sendtext: 
   Sendlen : 0
   Exp.text: SSH
   Exp.len : 3
   Exp.ofs : 0
   Flags   : 1
   Port    : 22
 Name      : ssh2
   Sendtext: 
   Sendlen : 0
   Exp.text: SSH
   Exp.len : 3
   Exp.ofs : 0
   Flags   : 1
   Port    : 22
 Name      : telnet
   Sendtext: 
   Sendlen : 0
   Exp.text: 
   Exp.len : 0
   Exp.ofs : 0
   Flags   : 3
   Port    : 23
 Name      : telnets
   Sendtext: 
   Sendlen : 0
   Exp.text: 
   Exp.len : 0
   Exp.ofs : 0
   Flags   : 7
   Port    : 992
 Name      : smtp
   Sendtext: mail\r\nquit\r\n
   Sendlen : 12
   Exp.text: 220
   Exp.len : 3
   Exp.ofs : 0
   Flags   : 1
   Port    : 25
 Name      : smtps
   Sendtext: mail\r\nquit\r\n
   Sendlen : 12
   Exp.text: 220
   Exp.len : 3
   Exp.ofs : 0
   Flags   : 5
   Port    : 0
 Name      : pop2
   Sendtext: quit\r\n
   Sendlen : 6
   Exp.text: +OK
   Exp.len : 3
   Exp.ofs : 0
   Flags   : 1
   Port    : 109
 Name      : pop-2
   Sendtext: quit\r\n
   Sendlen : 6
   Exp.text: +OK
   Exp.len : 3
   Exp.ofs : 0
   Flags   : 1
   Port    : 109
 Name      : pop
   Sendtext: quit\r\n
   Sendlen : 6
   Exp.text: +OK
   Exp.len : 3
   Exp.ofs : 0
   Flags   : 1
   Port    : 110
 Name      : pop3
   Sendtext: quit\r\n
   Sendlen : 6
   Exp.text: +OK
   Exp.len : 3
   Exp.ofs : 0
   Flags   : 1
   Port    : 110
 Name      : pop-3
   Sendtext: quit\r\n
   Sendlen : 6
   Exp.text: +OK
   Exp.len : 3
   Exp.ofs : 0
   Flags   : 1
   Port    : 110
 Name      : pop3s
   Sendtext: quit\r\n
   Sendlen : 6
   Exp.text: +OK
   Exp.len : 3
   Exp.ofs : 0
   Flags   : 5
   Port    : 995
 Name      : imap
   Sendtext: ABC123 LOGOUT\r\n
   Sendlen : 15
   Exp.text: * OK
   Exp.len : 4
   Exp.ofs : 0
   Flags   : 1
   Port    : 143
 Name      : imap2
   Sendtext: ABC123 LOGOUT\r\n
   Sendlen : 15
   Exp.text: * OK
   Exp.len : 4
   Exp.ofs : 0
   Flags   : 1
   Port    : 143
 Name      : imap4
   Sendtext: ABC123 LOGOUT\r\n
   Sendlen : 15
   Exp.text: * OK
   Exp.len : 4
   Exp.ofs : 0
   Flags   : 1
   Port    : 143
 Name      : imap3
   Sendtext: ABC123 LOGOUT\r\n
   Sendlen : 15
   Exp.text: * OK
   Exp.len : 4
   Exp.ofs : 0
   Flags   : 1
   Port    : 220
 Name      : imaps
   Sendtext: ABC123 LOGOUT\r\n
   Sendlen : 15
   Exp.text: * OK
   Exp.len : 4
   Exp.ofs : 0
   Flags   : 5
   Port    : 993
 Name      : nntp
   Sendtext: quit\r\n
   Sendlen : 6
   Exp.text: 200
   Exp.len : 3
   Exp.ofs : 0
   Flags   : 1
   Port    : 119
 Name      : nntps
   Sendtext: quit\r\n
   Sendlen : 6
   Exp.text: 200
   Exp.len : 3
   Exp.ofs : 0
   Flags   : 5
   Port    : 563
 Name      : ldap
   Sendtext: 
   Sendlen : 0
   Exp.text: 
   Exp.len : 0
   Exp.ofs : 0
   Flags   : 0
   Port    : 389
 Name      : ldaps
   Sendtext: 
   Sendlen : 0
   Exp.text: 
   Exp.len : 0
   Exp.ofs : 0
   Flags   : 4
   Port    : 636
 Name      : rsync
   Sendtext: 
   Sendlen : 0
   Exp.text: @RSYNCD
   Exp.len : 7
   Exp.ofs : 0
   Flags   : 1
   Port    : 873
 Name      : bbd
   Sendtext: dummy
   Sendlen : 5
   Exp.text: 
   Exp.len : 0
   Exp.ofs : 0
   Flags   : 0
   Port    : 1984
 Name      : clamd
   Sendtext: PING\n
   Sendlen : 5
   Exp.text: PONG
   Exp.len : 4
   Exp.ofs : 0
   Flags   : 1
   Port    : 3310
 Name      : spamd
   Sendtext: PING SPAMC/Hobbit\n
   Sendlen : 18
   Exp.text: PONG
   Exp.len : 4
   Exp.ofs : 0
   Flags   : 1
   Port    : 783
 Name      : oratns
   Sendtext: \x00W\x00\x00\x01\x00\x00\x00\x016\x01,\x00\x00\x08\x00\x7F\xFF\xA3\n\x00\x00\x01\x00\x00\x1D\x00:\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x08\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00(CONNECT_DATA=(COMMAND=ping))
   Sendlen : 87
   Exp.text: 
   Exp.len : 0
   Exp.ofs : 0
   Flags   : 1
   Port    : 1521
 Name      : qmtp
   Sendtext: 
   Sendlen : 0
   Exp.text: 
   Exp.len : 0
   Exp.ofs : 0
   Flags   : 0
   Port    : 209
 Name      : qmqp
   Sendtext: 
   Sendlen : 0
   Exp.text: 
   Exp.len : 0
   Exp.ofs : 0
   Flags   : 0
   Port    : 628
 Name      : vnc
   Sendtext: RFB 000.000\r\n
   Sendlen : 13
   Exp.text: RFB 
   Exp.len : 4
   Exp.ofs : 0
   Flags   : 1
   Port    : 5900
 Name      : vnc90
   Sendtext: RFB 000.000\r\n
   Sendlen : 13
   Exp.text: RFB 
   Exp.len : 4
   Exp.ofs : 0
   Flags   : 1
   Port    : 5990

BBNETSVCS set to : smtp telnet ftp pop pop3 pop-3 ssh imap ssh1 ssh2 imap2 imap3 imap4 pop2 pop-2 nntp ftps telnets smtps pop3s imaps nntps ldap ldaps rsync bbd clamd spamd oratns qmtp qmqp vnc vnc90
2005-11-21 10:46:20 Adding hostname 'uniaxserver' to resolver queue
2005-11-21 10:46:20 Got DNS result for host uniaxserver : 172.21.1.170
2005-11-21 10:46:20 Processing 1 DNS lookups with ARES
2005-11-21 10:46:20 Adding tcp test IP=172.21.1.170, port=21, service=ftp, silent=1
2005-11-21 10:46:20 About to do 1 TCP tests running 246 in parallel
2005-11-21 10:46:20 1 tests pending - 1 active tests
2005-11-21 10:46:20 Doing select
2005-11-21 10:46:20 select returned 1
2005-11-21 10:46:20 TCP tests completed normally
2005-11-21 10:46:20 Sending results for service conn
2005-11-21 10:46:20 Adding to combo msg: status uniaxserver.conn green <!-- [flags:OrdAstILe] --> Mon Nov 21 10:46:20 2005 conn ok 
2005-11-21 10:46:20 Flushing combo message
      status uniaxserver.conn green <!-- [flags:OrdAstILe] --> Mon Nov 21 10:46:20 2005 conn ok 
2005-11-21 10:46:20 Transport setup is:
2005-11-21 10:46:20 bbdportnumber = 1984
2005-11-21 10:46:20 bbdispproxyhost = NONE
2005-11-21 10:46:20 bbdispproxyport = 0
2005-11-21 10:46:20 Recipient listed as '172.21.82.10'
2005-11-21 10:46:20 Standard BB protocol on port 1984
2005-11-21 10:46:20 Will connect to address 172.21.82.10 port 1984
2005-11-21 10:46:20 Connect status is 0
2005-11-21 10:46:20 Sent 180 bytes
2005-11-21 10:46:20 Closing connection
2005-11-21 10:46:20 1 status messages merged into 1 transmissions
Address=172.21.1.170:21, open=1, res=0, err=0, connecttime=0.000659, totaltime=0.000659, 
2005-11-21 10:46:20 Sending results for service ntp
2005-11-21 10:46:20 Sending results for service dig
2005-11-21 10:46:20 Sending results for service dns
2005-11-21 10:46:20 Sending results for service vnc90
2005-11-21 10:46:20 Sending results for service vnc
2005-11-21 10:46:20 Sending results for service qmqp
2005-11-21 10:46:20 Sending results for service qmtp
2005-11-21 10:46:20 Sending results for service oratns
2005-11-21 10:46:20 Sending results for service spamd
2005-11-21 10:46:20 Sending results for service clamd
2005-11-21 10:46:20 Sending results for service bbd
2005-11-21 10:46:20 Sending results for service rsync
2005-11-21 10:46:20 Sending results for service ldaps
2005-11-21 10:46:20 Sending results for service ldap
2005-11-21 10:46:20 Sending results for service nntps
2005-11-21 10:46:20 Sending results for service imaps
2005-11-21 10:46:20 Sending results for service pop3s
2005-11-21 10:46:20 Sending results for service smtps
2005-11-21 10:46:20 Sending results for service telnets
2005-11-21 10:46:20 Sending results for service ftps
2005-11-21 10:46:20 Sending results for service nntp
2005-11-21 10:46:20 Sending results for service pop-2
2005-11-21 10:46:20 Sending results for service pop2
2005-11-21 10:46:20 Sending results for service imap4
2005-11-21 10:46:20 Sending results for service imap3
2005-11-21 10:46:20 Sending results for service imap2
2005-11-21 10:46:20 Sending results for service ssh2
2005-11-21 10:46:20 Sending results for service ssh1
2005-11-21 10:46:20 Sending results for service imap
2005-11-21 10:46:20 Sending results for service ssh
2005-11-21 10:46:20 Sending results for service pop-3
2005-11-21 10:46:20 Sending results for service pop3
2005-11-21 10:46:20 Sending results for service pop
2005-11-21 10:46:20 Sending results for service ftp
2005-11-21 10:46:20 Adding to combo msg: status uniaxserver.ftp green <!-- [flags:OrdaStILe] --> Mon Nov 21 10:46:20 2005 ftp ok 
2005-11-21 10:46:20 Sending results for service telnet
2005-11-21 10:46:20 Sending results for service smtp
2005-11-21 10:46:20 Flushing combo message
      status uniaxserver.ftp green <!-- [flags:OrdaStILe] --> Mon Nov 21 10:46:20 2005 ftp ok 
2005-11-21 10:46:20 Recipient listed as '172.21.82.10'
2005-11-21 10:46:20 Standard BB protocol on port 1984
2005-11-21 10:46:20 Will connect to address 172.21.82.10 port 1984
2005-11-21 10:46:20 Connect status is 0
2005-11-21 10:46:20 Sent 152 bytes
2005-11-21 10:46:20 Closing connection
2005-11-21 10:46:20 2 status messages merged into 2 transmissions