We've managed to build 0.103.3 on AIX, HP-UX, Solaris, and RHEL. While
we are able to build using either -m32 or -m64, clamav seems to only
work when built with -m64. Is this to be expected? For example, on
RHEL 6/x86, we get:
$ freshclam --config-file=/tmp/freshclam.conf --show-progress \
--verbose
Mon Jul 12 22:15:39 2021 -> *downloadFile: Download source: <URL>/daily.cvd
Mon Jul 12 22:15:39 2021 -> *downloadFile: Download destination: /tmp/clamav/var/db/tmp.ea11128649/clamav-ff385d76dc660f20411cf205aaa6b874.tmp
* Trying <ip>:80...
* TCP_NODELAY set
* Connected to <host> (<ip>) port 80 (#0)
> GET /db/daily.cvd HTTP/1.1
Host: <host>
User-Agent: ClamAV/0.103.3 (OS: linux-gnu, ARCH: i386, CPU: i686, UUID: 6c28fd71-296d-4751-92ce-87bc30746c01)
Accept: */*
Connection: close
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Mon, 12 Jul 2021 22:15:45 GMT
< Server: <blah>
< Last-Modified: Mon, 12 Jul 2021 21:26:43 GMT
< ETag: "75405ef-6683bef-5c6f3c723c8a5"
< Accept-Ranges: bytes
< Content-Length: 107494383
< Connection: close
< Content-Type: text/plain
<
Time: 0.9s, ETA: 0.0s [========================>] 102.51MiB/102.51MiB
* Closing connection 0
[[ HANG ]]
While on RHEL 6/x86-64, we get:
Mon Jul 12 22:15:09 2021 -> *downloadFile: Download source: <URL>/daily.cvd
Mon Jul 12 22:15:09 2021 -> *downloadFile: Download destination: /tmp/clamav/var/db/tmp.105b475876/clamav-eb8f3961640b1af0876d80e733e0ddbf.tmp
* Trying <ip>:80...
* TCP_NODELAY set
* Connected to <host> (<ip>) port 80 (#0)
> GET /db/daily.cvd HTTP/1.1
Host: <host>
User-Agent: ClamAV/0.103.3 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64, UUID: 3b576850-4735-487f-87fd-2908fc26588f)
Accept: */*
Connection: close
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Mon, 12 Jul 2021 22:15:15 GMT
< Server: <blah>
< Last-Modified: Mon, 12 Jul 2021 21:26:43 GMT
< ETag: "75405ef-6683bef-5c6f3c723c8a5"
< Accept-Ranges: bytes
< Content-Length: 107494383
< Connection: close
< Content-Type: text/plain
<
Time: 1.0s, ETA: 0.0s [========================>] 102.51MiB/102.51MiB
* Closing connection 0
Mon Jul 12 22:15:13 2021 -> *updatedb: Running g_cb_download_complete callback...
Mon Jul 12 22:15:13 2021 -> *download_complete_callback: Download complete for database : /tmp/clamav/var/db/tmp.105b475876/clamav-eb8f3961640b1af0876d80e733e0ddbf.tmp-daily.cvd
Mon Jul 12 22:15:13 2021 -> *download_complete_callback: fc_context->bTestDatabases : 1
Mon Jul 12 22:15:13 2021 -> *download_complete_callback: fc_context->bBytecodeEnabled : 1
...
--
albert chin (china@thewrittenword.com)
_______________________________________________
clamav-devel mailing list
clamav-devel@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-devel
Please submit your patches to our Github: https://github.com/Cisco-Talos/clamav-devel/pulls
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
we are able to build using either -m32 or -m64, clamav seems to only
work when built with -m64. Is this to be expected? For example, on
RHEL 6/x86, we get:
$ freshclam --config-file=/tmp/freshclam.conf --show-progress \
--verbose
Mon Jul 12 22:15:39 2021 -> *downloadFile: Download source: <URL>/daily.cvd
Mon Jul 12 22:15:39 2021 -> *downloadFile: Download destination: /tmp/clamav/var/db/tmp.ea11128649/clamav-ff385d76dc660f20411cf205aaa6b874.tmp
* Trying <ip>:80...
* TCP_NODELAY set
* Connected to <host> (<ip>) port 80 (#0)
> GET /db/daily.cvd HTTP/1.1
Host: <host>
User-Agent: ClamAV/0.103.3 (OS: linux-gnu, ARCH: i386, CPU: i686, UUID: 6c28fd71-296d-4751-92ce-87bc30746c01)
Accept: */*
Connection: close
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Mon, 12 Jul 2021 22:15:45 GMT
< Server: <blah>
< Last-Modified: Mon, 12 Jul 2021 21:26:43 GMT
< ETag: "75405ef-6683bef-5c6f3c723c8a5"
< Accept-Ranges: bytes
< Content-Length: 107494383
< Connection: close
< Content-Type: text/plain
<
Time: 0.9s, ETA: 0.0s [========================>] 102.51MiB/102.51MiB
* Closing connection 0
[[ HANG ]]
While on RHEL 6/x86-64, we get:
Mon Jul 12 22:15:09 2021 -> *downloadFile: Download source: <URL>/daily.cvd
Mon Jul 12 22:15:09 2021 -> *downloadFile: Download destination: /tmp/clamav/var/db/tmp.105b475876/clamav-eb8f3961640b1af0876d80e733e0ddbf.tmp
* Trying <ip>:80...
* TCP_NODELAY set
* Connected to <host> (<ip>) port 80 (#0)
> GET /db/daily.cvd HTTP/1.1
Host: <host>
User-Agent: ClamAV/0.103.3 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64, UUID: 3b576850-4735-487f-87fd-2908fc26588f)
Accept: */*
Connection: close
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Mon, 12 Jul 2021 22:15:15 GMT
< Server: <blah>
< Last-Modified: Mon, 12 Jul 2021 21:26:43 GMT
< ETag: "75405ef-6683bef-5c6f3c723c8a5"
< Accept-Ranges: bytes
< Content-Length: 107494383
< Connection: close
< Content-Type: text/plain
<
Time: 1.0s, ETA: 0.0s [========================>] 102.51MiB/102.51MiB
* Closing connection 0
Mon Jul 12 22:15:13 2021 -> *updatedb: Running g_cb_download_complete callback...
Mon Jul 12 22:15:13 2021 -> *download_complete_callback: Download complete for database : /tmp/clamav/var/db/tmp.105b475876/clamav-eb8f3961640b1af0876d80e733e0ddbf.tmp-daily.cvd
Mon Jul 12 22:15:13 2021 -> *download_complete_callback: fc_context->bTestDatabases : 1
Mon Jul 12 22:15:13 2021 -> *download_complete_callback: fc_context->bBytecodeEnabled : 1
...
--
albert chin (china@thewrittenword.com)
_______________________________________________
clamav-devel mailing list
clamav-devel@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-devel
Please submit your patches to our Github: https://github.com/Cisco-Talos/clamav-devel/pulls
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml