[GH-ISSUE #4267] fail2ban still failing on startup — looks like the filter half of 3x-ipl was missed in v3.0.1 #2910

Closed
opened 2026-10-31 20:28:49 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @moscowmickey on GitHub (May 11, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4267

Describe the bug

v3.0.1 escaped % in action.d/3x-ipl.conf but missed filter.d/3x-ipl.conf. fail2ban dies on startup with the same configparser error as v3.0.0, [3x-ipl] jail never comes up, limitIp is silently unenforced.

How to repeat the problem?

Run latest Docker image with default env (XUI_ENABLE_FAIL2BAN=true). Check docker logs — fail2ban ERROR on first lines. fail2ban-client status returns socket-not-found.

Expected action

No response

Received action

No response

3x-ui Version

3.0.1

Xray-core Version

No response

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @moscowmickey on GitHub (May 11, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4267 ### Describe the bug v3.0.1 escaped % in action.d/3x-ipl.conf but missed filter.d/3x-ipl.conf. fail2ban dies on startup with the same configparser error as v3.0.0, [3x-ipl] jail never comes up, limitIp is silently unenforced. ### How to repeat the problem? Run latest Docker image with default env (XUI_ENABLE_FAIL2BAN=true). Check `docker logs` — fail2ban ERROR on first lines. `fail2ban-client status` returns socket-not-found. ### Expected action _No response_ ### Received action _No response_ ### 3x-ui Version 3.0.1 ### Xray-core Version _No response_ ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:28:49 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ArminDeihim commented on GitHub (May 11, 2026):

To resolve the Fail2ban error edit "3x-ipl.conf" and use "%%" instead of single "%". It makes Fail2ban to start, but still it doesn't work to jail.
The client's IP log is still empty and panel doesn't show the client's IP address.

<!-- gh-comment-id:4423568492 --> @ArminDeihim commented on GitHub (May 11, 2026): To resolve the Fail2ban error edit "3x-ipl.conf" and use "%%" instead of single "%". It makes Fail2ban to start, but still it doesn't work to jail. The client's IP log is still empty and panel doesn't show the client's IP address.
Author
Owner

@9000000 commented on GitHub (May 12, 2026):

my log :

2026-05-12 08:10:43,800 fail2ban [14]: ERROR Failed during configuration: '%' must be followed by '%' or '(', found: '%Y/%m/%d %H:%M:%S'

<!-- gh-comment-id:4426441124 --> @9000000 commented on GitHub (May 12, 2026): my log : 2026-05-12 08:10:43,800 fail2ban [14]: ERROR Failed during configuration: '%' must be followed by '%' or '(', found: '%Y/%m/%d %H:%M:%S'
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#2910
No description provided.