That's a most obscure and unhandy part of the system, yep.
And with weird functionality.
Quick answer: you should use "Custom", with request like 'EHLO hostname'
and response like '^220 .* ESMTP'. The only bad news -- current version
of port checker ignores request and response -- so it just a connection
test. Till the next release, i hope.
Long and bit more messy answer:
Currently we can check 6 types of services:
1) SSH - request/response are ignored; checker just connects to the
server, start handshake -- then disconnect
2) Telnet - same behavior as ssh
3) POP3 - request should be in format "login:password"; checker tries to
connect and authorize
4) SMTP - request should be a valid email address, test mail will be
send there.
6) HTTP - request should be "HOST_HEADER:REQUEST_URI". response should
be posix regexp. example:
request: "alk.lv:/test.cpp"
response: "^HTTP/[0-9]\.[0-9] 200.*class B"
7) "Custom" - for now it's just a connection check, request and response
are ignored; checker connects to the server -- then disconnect. will be
enhanced to work as it should in next release, probably.
Possible error codes:
0 - OK
1 - Bad parameters passed
2 - Connect failed (e.g. nobody listens on server side)
3 - Handshake failed
wbr, Alex.
Sam Deforest wrote:
>
> Would you have some valid examples of "requests" and "expected
> responses"....for some reason my ehlo is not working. How is the
> request sent out, and how is it received, is there a timeout?
>
Received on Wed Jul 12 2006 - 23:30:02 EEST
This archive was generated by hypermail 2.2.0 : Wed Jul 12 2006 - 23:40:54 EEST