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: Sébastien BONNET <sebastien.bonnet@xxxxxxxxxxx>
Date: Tue, 24 Apr 2007 17:06:50 +0200
isplist@xxxxxxxxxxxx a écrit :
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;
On my guinea pig :

[root@calendal ~]# echo -n '' | nc 0 smtp
220 FQDN ESMTP Sendmail 8.13.1/8.13.1; Tue, 24 Apr 2007 17:03:53 +0200

So, for SMTP, send = "" and except = "220"

[root@calendal ~]# echo -n '' | nc 0 imap
* OK dovecot ready.

So, for IMAP, send = "" and except = "* OK"

I don't have a POP3 server but I think you've understood the trick.

For SSL services it's a bit harder. You'd better bundle the raw service with the SSL service using firewall marks.

--
*Sébastien BONNET* Ingénieur système
Tel: 04.42.25.15.40 GSM: 06.64.44.58.98


CONFIDENTIALITÉ
Les informations contenues dans ce document sont de nature confidentielle et à 
l'usage exclusif des destinataires prévus.
Si vous l'avez reçu par erreur, son utilisation sous quelque forme qu'elle soit 
est strictement interdite.  Nous vous
remercions dans ce cas de détruire le message et de prendre contact avec son expéditeur. 
L'intégrité des messages n'étant
pas assurée sur Internet, Experian ne saurait être tenu responsable si ce message 
s'avérait modifié ou falsifié.


CONFIDENTIAL
The information contained in this message and any attachments hereto are confidential and intended solely for the addressee(s) intended. If you are not the intended addressee of this message, you are hereby notified that you have received this document in error. Any review, dissemination, distribution, or copying of this message is prohibited. Please delete it and inform the sender immediately. Thank you for your help. Messages are susceptible to alteration. Experian shall not be liable for the message if altered, changed or falsified.



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