[bitfolk] Debian Lenny (and others?) grub-probe / grub-updat…

Αρχική Σελίδα

Reply to this message
Συντάκτης: Andy Smith
Αντικείμενο: [bitfolk] Debian Lenny (and others?) grub-probe / grub-update

Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


On Sun, Dec 28, 2008 at 04:11:58AM +0000, Andy Smith wrote:
> The only thing I can think of is configuring each clamav box to use
> a different port range and mapping all those ports on the load
> balancer to the correct boxes. That's really horrible. Anyone got
> any better ideas?

Someone asked offlist why I don't use clamav-milter. This is not
for me, this is for all customers. Not everyone can or wants to use
clamav-milter. For example I have not found a way that Exim can use
clamav-milter, so I myself would have to continue running my own
clamd. If I've missed something there, please do let me know

Someone else suggested I configure the load balancer to make sure
sessions from one client always go to the same back end. That is not
the problem.

The problem is that the back end replies, inside the protocol, to
advise of a *new* port that it is listening upon (like FTP). The
client then will make a new connection to this port on the load
balancer. The port is not open on the load balancer, it is open on
the back end. The ClamAV stream protocol does not include the IP
address, so the client cannot know to connect to the back end and
not the load balancer. Since the ports are in a dynamic range, I
cannot make the load balancer balance them either. I would need to
statically forward every single port in the ranges from the load
balancer to the back ends.

FWIW I am using haproxy as the load balancer, but as far as I am
aware there is no way to solve this problem in the balancer without
a load balancer that is programmable to inspect the TCP
conversation, learn for itself what the port is, and set up a
dynamic port forward. Something like F5 or ZXTM could do it easily,
if anyone wants to spend about =A330k on balancing clamav!


http://bitfolk.com/ -- No-nonsense VPS hosting
Encrypted mail welcome - keyid 0x604DE5DB

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

Version: GnuPG v1.4.6 (GNU/Linux)



From home@??? Sun Dec 28 18:36:02 2008
Received: from barney.alcoholicsunanimous.com ([])
    by bitfolk.com with esmtps (TLS-1.0:RSA_AES_128_CBC_SHA1:16)
    (Exim 4.63) (envelope-from <home@???>) id 1LH0UU-0005wI-Mz
    for users@???; Sun, 28 Dec 2008 18:36:02 +0000
Received: from barney.alcoholicsunanimous.com ( by
    with NMAP (bongosmtpc Agent); Sun, 28 Dec 2008 14:05:40 +0000
Received: from barney.alcoholicsunanimous.com ( by
    with NMAP (bongoqueue Agent); Sun, 28 Dec 2008 14:05:36 +0000
Received: from localhost.localdomain ( by
    with ESMTPA (bongosmtp Agent); Sun, 28 Dec 2008 14:05:36 +0000
Message-ID: <4957C6F5.8080409@???>
Date: Sun, 28 Dec 2008 18:35:33 +0000
From: Alex Hudson <home@???>
User-Agent: Thunderbird (X11/20081119)
MIME-Version: 1.0
To: users <users@???>
References: <20081228041158.GU29527@???>
In-Reply-To: <20081228041158.GU29527@???>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanner: Scanned by ClamAV on bitfolk.com at Sun,
    28 Dec 2008 18:35:54 +0000
X-SA-Exim-Mail-From: home@???
X-Spam-ASN: AS35228
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham
X-Spam-Report: * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1%
    *      [score: 0.0000]
X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000)
X-SA-Exim-Scanned: Yes (on bitfolk