You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Matus UHLAR - fantomas <uh...@fantomas.sk> on 2018/12/01 14:35:24 UTC

Re: openssl 1.1.1 , FreeBSd 11.2 and spamassassin-3.4.2_2

On 30.11.18 14:57, The Doctor wrote:
>Nov 30 14:53:15.964 [74107] dbg: channel: selected mirror http://sa-update.spamassassin.org
>Nov 30 14:53:15.964 [74107] dbg: http: url: http://sa-update.spamassassin.org/1847701.tar.gz
>Nov 30 14:53:15.964 [74107] dbg: http: downloading to: /var/db/spamassassin/3.004002/updates_spamassassin_org/1847701.tar.gz, update
>Nov 30 14:53:15.964 [74107] dbg: util: executable for curl was found at /usr/local/bin/curl
>Nov 30 14:53:15.965 [74107] dbg: http: /usr/local/bin/curl -s -L -O --remote-time -g --max-redirs 2 --connect-timeout 30 --max-time 300 --fail -o 1847701.tar.gz -z 1847701.tar.gz -- http://sa-update.spamassassin.org/1847701.tar.gz
>Nov 30 14:53:18.418 [74107] dbg: http: process [74232], exit status: exit 0
>Nov 30 14:53:18.420 [74107] dbg: http: url: http://sa-update.spamassassin.org/1847701.tar.gz.sha512
>Nov 30 14:53:18.420 [74107] dbg: http: downloading to: /var/db/spamassassin/3.004002/updates_spamassassin_org/1847701.tar.gz.sha512, update
>Nov 30 14:53:18.421 [74107] dbg: util: executable for curl was found at /usr/local/bin/curl
>Nov 30 14:53:18.421 [74107] dbg: http: /usr/local/bin/curl -s -L -O --remote-time -g --max-redirs 2 --connect-timeout 30 --max-time 300 --fail -o 1847701.tar.gz.sha512 -z 1847701.tar.gz.sha512 -- http://sa-update.spamassassin.org/1847701.tar.gz.sha512
>Nov 30 14:53:20.259 [74107] dbg: http: process [74286], exit status: exit 0
>Nov 30 14:53:20.260 [74107] dbg: http: url: http://sa-update.spamassassin.org/1847701.tar.gz.sha256
>Nov 30 14:53:20.260 [74107] dbg: http: downloading to: /var/db/spamassassin/3.004002/updates_spamassassin_org/1847701.tar.gz.sha256, update
>Nov 30 14:53:20.260 [74107] dbg: util: executable for curl was found at /usr/local/bin/curl
>Nov 30 14:53:20.260 [74107] dbg: http: /usr/local/bin/curl -s -L -O --remote-time -g --max-redirs 2 --connect-timeout 30 --max-time 300 --fail -o 1847701.tar.gz.sha256 -z 1847701.tar.gz.sha256 -- http://sa-update.spamassassin.org/1847701.tar.gz.sha256
>Nov 30 14:53:22.161 [74107] dbg: http: process [74329], exit status: exit 0
>Nov 30 14:53:22.162 [74107] dbg: http: url: http://sa-update.spamassassin.org/1847701.tar.gz.asc
>Nov 30 14:53:22.162 [74107] dbg: http: downloading to: /var/db/spamassassin/3.004002/updates_spamassassin_org/1847701.tar.gz.asc, update
>Nov 30 14:53:22.163 [74107] dbg: util: executable for curl was found at /usr/local/bin/curl
>Nov 30 14:53:22.163 [74107] dbg: http: /usr/local/bin/curl -s -L -O --remote-time -g --max-redirs 2 --connect-timeout 30 --max-time 300 --fail -o 1847701.tar.gz.asc -z 1847701.tar.gz.asc -- http://sa-update.spamassassin.org/1847701.tar.gz.asc
>Nov 30 14:53:23.603 [74107] dbg: http: process [74380], exit status: exit 0
>Nov 30 14:53:23.607 [74107] dbg: sha512: verification wanted: ae6c6249e8a63d4512331ec91e42bf0ba6ead2f8ba323200ebbfe4ed44bf9902635c7ecc7a3b392bdaddc96f070f8fd0293475dace317923854a32ba5238d93d
>Nov 30 14:53:23.607 [74107] dbg: sha512: verification result: 88fd9fa22e55c00365b8d0548a7ce8fc8c5ac08c339ca383663b5b735337b2ef2a52a83021b6608f186b4163556a8b8d9ecef14c775717294607925577a0dd9f
>channel: SHA512 verification failed, channel failed
>Nov 30 14:53:23.608 [74107] dbg: generic: cleaning up temporary directory/files
>Nov 30 14:53:23.608 [74107] dbg: generic: cleaning directory /tmp/.spamassassin74107u75Bvytmp
>Nov 30 14:53:23.608 [74107] dbg: diag: updates complete, exiting with code 4
>
>sa-update
>channel: SHA512 verification failed, channel failed


I have notices this problem repeatedly, usually findint out that the
downloaded file was one byte long.

Can you check the size of /tmp/1847701.tar.gz when that happens?

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Microsoft dick is soft to do no harm

Re: openssl 1.1.1 , FreeBSd 11.2 and spamassassin-3.4.2_2

Posted by John Hardin <jh...@impsec.org>.
On Sat, 1 Dec 2018, Bill Cole wrote:

> On 1 Dec 2018, at 9:35, Matus UHLAR - fantomas wrote:
>
>> On 30.11.18 14:57, The Doctor wrote:
>>> Nov 30 14:53:15.964 [74107] dbg: channel: selected mirror 
>>> http://sa-update.spamassassin.org
>>> Nov 30 14:53:15.964 [74107] dbg: http: url: 
>>> http://sa-update.spamassassin.org/1847701.tar.gz
>>> Nov 30 14:53:15.964 [74107] dbg: http: downloading to: 
>>> /var/db/spamassassin/3.004002/updates_spamassassin_org/1847701.tar.gz, 
>>> update
>
> [...]
>> I have notices this problem repeatedly, usually findint out that the
>> downloaded file was one byte long.
>
> Or sometimes a few lines of web server error messaging...

How difficult would it be to detect that and include it in the logging?

-- 
  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
   Maxim IX: Never turn your back on an enemy.
-----------------------------------------------------------------------
  611 days since the first commercial re-flight of an orbital booster (SpaceX)

Re: openssl 1.1.1 , FreeBSd 11.2 and spamassassin-3.4.2_2

Posted by Bill Cole <sa...@billmail.scconsult.com>.
On 1 Dec 2018, at 9:35, Matus UHLAR - fantomas wrote:

> On 30.11.18 14:57, The Doctor wrote:
>> Nov 30 14:53:15.964 [74107] dbg: channel: selected mirror 
>> http://sa-update.spamassassin.org
>> Nov 30 14:53:15.964 [74107] dbg: http: url: 
>> http://sa-update.spamassassin.org/1847701.tar.gz
>> Nov 30 14:53:15.964 [74107] dbg: http: downloading to: 
>> /var/db/spamassassin/3.004002/updates_spamassassin_org/1847701.tar.gz, 
>> update

[...]
> I have notices this problem repeatedly, usually findint out that the
> downloaded file was one byte long.

Or sometimes a few lines of web server error messaging...

> Can you check the size of /tmp/1847701.tar.gz when that happens?

Note that the file isn't likely to be in /tmp/ or have that name...

As shown above, the rule tarball is downloaded into the channel 
directory and in the case of the standard ruleset the base filename is a 
number which matched the SVN revision number for the enclosed files, 
which is supposed to change every day.