Menu

truncate modsec_debug whith large secrule

Rules
Gonono
2013-04-07
2013-06-12
  • Gonono

    Gonono - 2013-04-07

    Hello,

    i have a secrule with a large number of ARGS :

    SecRule ARGS_NAMES "!^(|var1|var2|var3|………|var50|)$" "t:lowercase,deny,status:403,phase:2"

    the secrule works fine but when the rule match, the modsec_debug is truncate after 1024 characters.
    so i can't discovery a potentialy new args.

    how i can increase the number of characters on each line on modsec_debug ?

    thanks a lot for your help !

     
  • Michael Bunk

    Michael Bunk - 2013-04-08

    Why not split the rule into two?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.