After updating rules1.conf, have you tried touching remap.config before 
running "traffic_ctl config reload" ? 

    On Sunday, October 11, 2020, 10:05:26 PM PDT, pentester 
<[email protected]> wrote:  
 
 -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks for the feedback Miles.
Well, i tried all of this things via remap.config too. Nothing changes.


//remap.config
map http://domain.dom/ http://localhost:5050/ @plugin=header_rewrite.so
@pparam=rules1.conf



Added new rule to: //rules1.conf


cond %{READ_REQUEST_HDR_HOOK}
cond %{CLIENT-HEADER:CF-Connecting-IP} /185.220.102.241/
set-status 403


and "traffic_ctl config reload"

Changes seems simply ignored.


Tried this in a bit different fashion too:

//remap.config 
*Note: NEWCONFIG.conf 

.....bla bla bla... @plugin=header_rewrite.so @pparam=rules1.conf
@@pparam=NEWCONFIG.conf 

Changes seems simply ignored again.



Thanks in advance!





  

Reply via email to