On December 8, 2021 4:53:02 PM EST, Richard Shaw <hobbes1...@gmail.com> wrote: >On Wed, Dec 8, 2021 at 3:42 PM H <age...@meddatainc.com> wrote: > >> I am running CentOS 7 and the version of fail2ban available is >0.11.1, not >> sure what the latest version is. It seems that this version does not >> understand ranges when banning such as in the below example: >> > >I can help with the first part... For some reason I get a lot of test >errors with 0.11.2 in EL7 like the below: > >====================================================================== >ERROR: testNewChangeViaGetFailures_move >(fail2ban.tests.filtertestcase.LogFileMonitor) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "./fail2ban/tests/filtertestcase.py", line 954, in >testNewChangeViaGetFailures_move > n=14, mode='w') > File "./fail2ban/tests/filtertestcase.py", line 218, in >_copy_lines_between_files > fout.write('\n'.join(lines)+'\n') >UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffd' in >position 1: ordinal not in range(128) > >If someone can provide a fix I can see about building it. It really >looks >like it's an error with the testing and not with fail2ban proper, but >without knowing for sure I'm hesitant to build it. > >Thanks, >Richard
Is 0.11.2 the latest version? _______________________________________________ Fail2ban-users mailing list Fail2ban-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fail2ban-users