Hi everyone. I've discovered a new bug in sa-update after I noticed some blatant porn spam in my inbox today.

Manually running sa-update resulted in the following output:

http: GET http://www.sa-update.pccc.com/3.tar.gz request failed: 404 Not Found: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /3.tar.gz was not found on this server.</p> <hr> <address>Apache/2.2.22 (Unix) Server at www.sa-update.pccc.com Port 80</address> </body></html>
http: GET http://sa-update.space-pro.be/3.tar.gz request failed: 404 Not Found: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /3.tar.gz was not found on this server.</p> <hr> <address>Apache Server at sa-update.space-pro.be Port 80</address> </body></html>
http: GET http://sa-update.ena.com/3.tar.gz request failed: 404 Not Found: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /3.tar.gz was not found on this server.</p> </body></html>
http: GET http://sa-update.secnap.net/3.tar.gz request failed: 404 Not Found: <html> <head><title>404 Not Found</title></head> <body bgcolor="white"> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.6.2</center> </body> </html>
http: GET http://sa-update.dnswl.org/3.tar.gz request failed: 404 Not Found: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /3.tar.gz was not found on this server.</p> </body></html>
channel: could not find working mirror, channel failed

The problem becomes evident when I run sa-update like this:

$ sudo sa-update --checkonly -v -D

and I see output that includes this line:

Jun 29 10:02:28.372 [8655] dbg: dns: 0.4.3.updates.spamassassin.org => 3.4 1799552, parsed as 3

I'm not sure where the bug exists - either in the sa-update script, or more likely, in the DNS record for 0.4.3.updates.spamassassin.org that states the Spamassassin version number before the update version number, ensuring that the sa-update script incorrectly parses the output.

I was successfully able to manually download the correct file at the mirror by going to http://sa-update.ena.com/1799552.tar.gz

Please fix this issue. Thanks in advance.

Reply via email to