Sergey G. Brester
383adec83c
Merge pull request #3690 from karolyi/master
...
Add to postfix accepted logs
9 months ago
Sergey G. Brester
45d7f3cb97
no space in any case
9 months ago
László Károlyi
ff701e94c3
Add to postfix syslog daemon format
9 months ago
sebres
3047572701
set restored mark on ticket before ignore invocation (it can be checked in `ignorecommand`, considered by `ignorecache`, etc)
9 months ago
sebres
dce2c608c1
Merge branch 'gh-3486'
...
filter.d/sshd.conf: ddos/aggressive mode extended to match new messages caused by port scanner, wrong payload on ssh port:
- message authentication code incorrect [preauth]
- connection corrupted [preauth]
- timeout before authentication
9 months ago
sebres
4f679a56e0
filter.d/sshd.conf: ddos/aggressive mode extended to match new messages caused by port scanner, wrong payload on ssh port:
...
- message authentication code incorrect [preauth]
- connection corrupted [preauth]
- timeout before authentication
closes gh-3486
9 months ago
sebres
9bedc3c383
Merge branch 'gh-2655--f2b-regex-4-jail': implemented loading of jail settings in fail2ban-regex;
...
closes gh-2655
11 months ago
sebres
302252b25c
ChangeLog, gh-2655
11 months ago
sebres
cab6f93364
fail2ban-regex: fixes forgotten basedir (-c "$basedir") of jailreader
11 months ago
sebres
b3178851fe
test coverage (restore usage with filter and load setting from jail)
11 months ago
sebres
781321d609
fail2ban-regex: loading parsing settings from jail now (by simple name it'd prefer jail to the filter now), fallback:
...
- fail2ban-regex ... sshd
+ fail2ban-regex ... filter.d/sshd
closes gh-2655
11 months ago
sebres
7de1057f94
avoid DNS of local names in fast tests (small optimization)
11 months ago
sebres
dd4431cd63
remove remaining tweaks for obsolete python
11 months ago
Sergey G. Brester
e1b7720d43
Merge pull request #3268 from Logic-32/feature/smtp-ssl
...
`action.d/smtp.py` - add support for TLS SMTP connections.
11 months ago
sebres
0c2edfacb0
combine smtpd and aiosmtpd tests; encapsulate smtp facilities to setUpClass/tearDownClass (behaves like a singleton, doesn't start smtp server per test); don't generate cert every time (too slow by RSA:2048, use short ECC:256 instead);
...
drastically speedup all smtp-action tests
11 months ago
Logic-32
b161e55ca7
Adding STARTTLS test with the help of aiosmtp. Make sure SMTP specifies host/port in addition to connect() due to bug with starttls.
11 months ago
Sergey G. Brester
6fb3198a41
attempt to fix action for 2.x
...
self.host cannot be supplied to SMTP because it can contain port (but `connect` takes place few lines below)
11 months ago
Logic-32
6a1da5e164
Removing logging in favor of just throwing. Removing user from message as it doesn't add any value.
11 months ago
Logic-32
419e380870
Add support for TLS SMTP connections.
11 months ago
sebres
6fb89d1709
testIPToName: switch from google to one of the root-servers (8.8.4.4 seems not to have rDNS anymore)
11 months ago
sebres
3190febb27
IPv6 fix (second IP logged in form for IPv6); pam authentication failure (part of gh-3410)
11 months ago
sebres
c6244a8509
`fail2ban-regex`: don't error by output if stdout pipe gets closed (e. g. using together with `head`);
...
amend to gh-2758 (see gh-3653)
11 months ago
sebres
7523a777f0
amend for python 3.x switch: BrokenPipeError is a build-in exception since 3.3
11 months ago
sebres
093cd763ce
filter.d/postfix.conf: "rejected" extended to match "Access denied" too;
...
closes gh-3474
11 months ago
sebres
ff4a2a12fc
filter.d/postfix.conf: avoid double counting ('lost connection after AUTH' together with message 'disconnect ...');
...
closes gh-3505
11 months ago
sebres
cabcc9b3f4
fixes testRepairDb for sqlite >= 3.42;
...
closes gh-3586
11 months ago
sebres
f2d7f16d2f
satisfy CI spelling (let's use original asyncore lib as long as possible)
12 months ago
sebres
1024452fe1
Merge fix-gh-3487: bundling async modules removed in python 3.12 into f2b (fallback to local libraries if import would miss them);
...
closes gh-3487
12 months ago
sebres
86cacca9e4
pyasyncore and pyasynchat optional for python 3.12+ (bundled-in within fail2ban)
12 months ago
sebres
1371c91512
don't install async* modules, we need to cover bundled-in libraries and their successful import
12 months ago
sebres
054e1d89ca
bundling async modules removed in python 3.12 into f2b (fallback to local libraries if import would miss them);
...
closes gh-3487
12 months ago
sebres
8d6bfd89bf
Merge test-3.13: python 3.13 support, see gh-3487
12 months ago
sebres
7e88c9be8d
more compat issues (Logger.warn -> Logger.warning)
12 months ago
sebres
337a519cb2
python3.13 support - unittest.makeSuite is removed in 3.13
12 months ago
Sergey G. Brester
e3b36756c0
main.yml: test python 3.13
12 months ago
Sergey G. Brester
36c890f15b
main.yml: restore test systemd/journal for python >= 3.10
12 months ago
sebres
4e326cb5cb
Merge python-3.12--asyncore: python 3.12 support, see gh-3487
12 months ago
sebres
340d45ca88
amend to 70aef2c3c68d690232fe6c96ba2b6d84ca8af019: py3.12: silence warnings "invalid escape sequence"
12 months ago
sebres
26597f625d
revert heavydebug logging for 3.12 in GHA
12 months ago
sebres
f1efea6a4f
py3.12: install setuptools (packaged now)
12 months ago
sebres
f966d88ce5
verbose output for 3.12
12 months ago
sebres
ef208e9149
py3.12: ignore smtpd based tests (if no smtpd module)
12 months ago
sebres
70aef2c3c6
py3.12: silence warnings "invalid escape sequence"
12 months ago
sebres
572582137c
try to use pip-modules asyncore/asynchat
12 months ago
Sergey G. Brester
7076af637f
main.yml: bump pypy to latest stock version (3.10, because 3.9 seems to have sporadic timing issues anyway)
12 months ago
Sergey G. Brester
5277e91013
Merge pull request #3503 from repcsi/pf_allproto
...
BSD Pf allproto actiontype to block all communication from source on IP level
12 months ago
Sergey G. Brester
c03afd3ad4
servertestcase.py: adjusted, protocol is variable now
12 months ago
sebres
e03df4805f
Merge branch 'fix-gh-3646': nginx error-log filters extended with support of journal format; closes gh-3646
12 months ago
sebres
7c83669700
update main CI flow to new version of GHA (silence deprecated warnings, etc)
12 months ago
Sergey G. Brester
b71ed9e472
GHA: pypy seems need exact version now
12 months ago