[Bug 258179] security/sshguard: Stack Overflow on i386 (stable/13) on startup. sshg-blocker dumps core.

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 31 Aug 2021 05:21:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258179

--- Comment #2 from John Marshall <john@jmarshall.id.au> ---
(In reply to Kevin Zheng from comment #1)
Thank you Kevin,

Following your suggestion, I did some troubleshooting around the whitelist and
blacklist.

The problem is the whitelist. The whitelist file on this server is identical to
the whitelist on the 64-bit server which has no problem. I have three IPv4
address blocks and one IPv6 prefix in that whitelist file. If I comment out the
IPv6 prefix the problem disappears. I have confirmed that I can reproduce the
problem with a single-line whitelist file:

rwsrv04# cat sshguard.whitelist
2001:DB8::/32
rwsrv04# 

[The IPv6 prefix quoted above is the documentation prefix described in
RFC3849.]

If I comment out that single line, the service runs. If I remove the comment,
sshg-blocker aborts with the stack overflow message.

Again, I see no problem on the 64-bit system.

-- 
You are receiving this mail because:
You are the assignee for the bug.