Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests for connect over TLS were bypassed due to the unix socket path being populated #107

Closed
wants to merge 39 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
5a379f0
fix: add missing error handler on _ping() method
Dec 8, 2022
86d7fa4
test: deactivate unix socket from default config
Dec 8, 2022
0ab41bb
ci: add self-signed certificate to node trusted store
Dec 8, 2022
667c4f6
test: typo
Dec 8, 2022
cb6b7e4
test: connect stunnel to clamav using the unix socket
Dec 8, 2022
1759b1a
ci: add 127.0.0.1 to SAN
Dec 8, 2022
8657944
ci: SAN overrides CN...
Dec 8, 2022
3d71749
ci: restart stunnel using systemd?
Dec 9, 2022
511e9ce
ci: wait for freshclam
Dec 9, 2022
66937c3
ci: elevate
Dec 9, 2022
36c3272
ci: tail
Dec 9, 2022
afccc2e
ci: tail more
Dec 9, 2022
8b7edff
ci: use the database test passed message.
Dec 9, 2022
4402033
ci: wait for clamd to open up socket
Dec 9, 2022
265cf77
ci: don't ls, folder may not exist yet
Dec 9, 2022
5c65481
ci: inspect clamav-daemon
Dec 9, 2022
ef2c063
ci: wait for freshclam to state it either notified daemon or failed to
Dec 9, 2022
33a042a
ci: remove wait on socket.
Dec 9, 2022
3219eac
ci: add ::1 to SAN IP List
Dec 9, 2022
385e76a
ci: address pesky deprecation warnings
Dec 9, 2022
79d3c0e
ci: edit file in place
Dec 9, 2022
a2d2ba0
ci: daemon-reload & some minor debugging printouts
Dec 9, 2022
1ccd2d8
ci: add on failure runner config
Dec 9, 2022
1721243
ci: stop-reconfigure-start?
Dec 9, 2022
5469753
ci: wait for socket file to exist
Dec 9, 2022
3f00caa
ci: print response
Dec 9, 2022
b499fe1
ci: test is a Socket File
Dec 9, 2022
0c0d6a2
ci: stunnel logs?
Dec 9, 2022
4f6549c
ci: override stunnel target socket on runner
Dec 9, 2022
c39e56b
ci: update /etc/file
Dec 9, 2022
e91cb98
ci: sudo
Dec 9, 2022
bd1ec17
test: stunnel listen on ipv6
Dec 9, 2022
facac40
test: test IPv4 & IPv6 explicitly
Dec 9, 2022
002e5b4
fix: use existing property
Dec 9, 2022
ace3044
test: rename test case
Dec 9, 2022
9ad857b
chore: update devdependencies
Jan 4, 2023
0f59931
build: rebuild lockfile to expunge json5 cve
Jan 4, 2023
6de4380
test: retry failed tests once, hoping it'll get over github's ubuntu …
Jan 4, 2023
6dd885b
doc: run jsdoc2md
Jan 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: rename test case
  • Loading branch information
Gabriel committed Dec 9, 2022
commit ace30445187162c7475d4055dd5990bda8091c65
4 changes: 2 additions & 2 deletions tests/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@ describe('passthrough', () => {
describe('tls', () => {
let clamscan;

it('Connects to clamd server via a TLS proxy', async () => {
it('Connects to clamd server via a TLS proxy on localhost', async () => {
clamscan = await resetClam({
clamdscan: {
host: 'localhost',
Expand Down Expand Up @@ -1656,7 +1656,7 @@ describe('tls', () => {
(await clamscan._ping()).end();
});

it('Connects to clamd server via a TLS proxy on localhost', async () => {
it('Connects to clamd server via a TLS proxy on implicit localhost', async () => {
clamscan = await resetClam({
clamdscan: {
host: false,
Expand Down