On Fri, 13 Aug 2004, Todd Lyons wrote:
> Erich Titl wanted us to know:
>
> >Nice, we could actually build a wrapper around freshclam to only fetch when
> >there is a new version ready.
>
> It already does this.
>
> It only retrives the first 512 bytes of data from each CVD file.  Here
> is what a sample return packet looks like:
>
> So it does not download each file in its entirety as people have been
> suggesting.

Good to know, and maybe that means we're wasting our time on all these
other ideas.  But still, checking DNS for an update means a single UDP
packet each way (which might even get cached).  Downloading the first
512 bytes requires something like:

SYN
SYN-ACK
ACK
PUSH (request for data)
ACK (response with data)
FIN
FIN-ACK
ACK

Plus, the server needs to handle the stateful connection.
Seems a lot worse when you look at it this way.  ;)

Damian Menscher
-- 
-=#| Physics Grad Student & SysAdmin @ U Illinois Urbana-Champaign |#=-
-=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=-
-=#| 4602 Beckman, VMIL/MS, Imaging Technology Group:(217)244-3074 |#=-
-=#| <[EMAIL PROTECTED]> www.uiuc.edu/~menscher/ Fax:(217)333-9819 |#=-
-=#| The above opinions are not necessarily those of my employers. |#=-


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to