LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: What are the Send Expect Options

To: isplist@xxxxxxxxxxxx, <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: What are the Send Expect Options
From: marc@xxxxxxxxx
Date: Tue, 24 Apr 2007 16:02:28 +0100
I could, but then you wouldn't learn...

echo quit | nc host 110
expect '+OK '

echo quit | nc host 25
expect '220 ' here you can also look for '221' but '220 ' is the greeting message

echo 'a001 logout' | nc host 143
expect 'a001 OK'

The protocols are all the same when going through SSL, the program connecting simply needs to talk SSL.

Marc


You took the time to reply, could you not just tell me if you know? :).

Thanks for the lead though.

On Tue, 24 Apr 2007 15:44:42 +0100, marc@xxxxxxxxx wrote:
I suggest you look at the RFCs.   They are all very simple.


isplist@xxxxxxxxxxxx wrote:
Check / adjust following lines in your config, this may help.

send = "GET / HTTP/1.0\r\n\r\n"
expect = "HTTP"

I've been trying to find the answer to this but am not having any luck.
Anyone
know the proper send/expect combinations for the following services;

POP
POPS
IMAP
IMAPS
SMTP


Mike


_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users



_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users



<Prev in Thread] Current Thread [Next in Thread>