Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Regular Expressions
  4. Does anyone have experience with creating the regex rule for a fail2ban filter?

Does anyone have experience with creating the regex rule for a fail2ban filter?

Scheduled Pinned Locked Moved Regular Expressions
phpsysadminregexhelpquestion
2 Posts 2 Posters 10 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member_16194878
    wrote on last edited by
    #1

    I am trying to create a filter for AH01264 errors. This is for bots trying to run standard **"php"**s or **"pl"**s off of my home server. While I have figured out how enter and activate new filters in fail2ban, the regex required is way beyond my capabilities. So was hoping someone here has done this before and could help me out. Thank you

    J 1 Reply Last reply
    0
    • M Member_16194878

      I am trying to create a filter for AH01264 errors. This is for bots trying to run standard **"php"**s or **"pl"**s off of my home server. While I have figured out how enter and activate new filters in fail2ban, the regex required is way beyond my capabilities. So was hoping someone here has done this before and could help me out. Thank you

      J Offline
      J Offline
      jschell
      wrote on last edited by
      #2

      This forum is for regex in general. So specifics to fail2ban are not likely to succeed. Googling I found other posts about this although I did not look into it deeply.

      fail2ban ah01264

      Based on that seems possible at least. But in general "error messages" across all applications are seldom well regulated. Thus attempts to capture them either lead to too few or too many. Until one has enough actual examples to code to. Even then updates might change that. For this forum you can post a regex and examples and we can correct the regex from that.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups