On 5/1/2010 1:01 PM, Bill Landry wrote:
On 5/1/2010 12:38 PM, Alex wrote:
Hi,

sent 34 bytes received 1932 bytes 786.40 bytes/sec
total size is 27032205 speedup is 13749.85
Connection to ns.km33603.keymachine.de 87.118.124.191 failed - Trying
next mirror site...

Looks to me like the rsync succeeded, since it received the filelist
and actually received data. Could it instead be saying that it failed
to find an update, and not that it failed to connect?

The script only reports failed to connect if it actually failed to
connect,
not if there were no updates available.

I found the problem. Stepping through the script with execution, I
find this:

rsync --no-motd
--files-from=/var/clamav/unofficial-dbs/configs/ss-include-dbs.txt
-ctuz --contimeout=30 --timeout=30 --stats
rsync://84.19.167.43/sanesecurity /var/clamav/unofficial-dbs/ss-dbs
rsync: link_stat "/MSRBL-SPAM.ndb" (in sanesecurity) failed: No such
file or directory (2)
rsync: link_stat "/MSRBL-SPAM.ndb.sig" (in sanesecurity) failed: No
such file or directory (2)
rsync: link_stat "/MSRBL-Images.hdb" (in sanesecurity) failed: No such
file or directory (2)
rsync: link_stat "/MSRBL-Images.hdb.sig" (in sanesecurity) failed: No
such file or directory (2)
rsync: link_stat "/mbl.ndb" (in sanesecurity) failed: No such file or
directory (2)
rsync: link_stat "/mbl.ndb.sig" (in sanesecurity) failed: No such file
or directory (2)

These are *NOT* Sanesecurity distributed scripts, so please do not add

Oops, meant to say that "These are "NOT" Sanesecurity distributed signature databases", not "scripts".

them to the Sanesecurity section of the script's config file. MBL
already has a section in the config file, so no need to add it to the
Sanesecurity section. MSRBL has not been update since last July, so I
purposefully removed it from the script with the last update - thus, you
should not be adding these to the script anyway.

Number of files: 40
Number of files transferred: 0
Total file size: 26677157 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 1314
File list generation time: 0.232 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 34
Total bytes received: 1928

sent 34 bytes received 1928 bytes 784.80 bytes/sec
total size is 26677157 speedup is 13596.92
rsync error: some files/attrs were not transferred (see previous
errors) (code 23) at main.c(1508) [generator=3.0.7]

However, the script reports that the connection failed, which is
somewhat of a red herring. Would it be helpful to not suppress the
rsync output when it fails with something other than a simple
"connection failed" message?

The script is working as intended. User should not add signature
database that do not exist on Sanesecurity rsync servers.

These databases (that could not be retrieved) were collected from the
sanesecurity database page. Aren't they supposed to be used? I'd think
someone else would have found this problem?

No one else has reported this problem because no one else is trying to
download signature database that do not exist on Sanesecurity rsync
servers.

On a similar note, this script can replace freshclam, correct?

No it cannot replace freshclam, as the clamav-unofficial-sigs script
only update unofficial 3rd party signature databases (as the script name
itself indicates), not official ClamAV signature databases.

Bill
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to