Page 1 of 1

RFE: Improve ABE messages

Posted: Tue Apr 09, 2013 9:44 am
by Thrawn
I've been experimenting recently with using ABE to replace RequestPolicy (haven't worked on the RP-style interface in a while, sorry :( - haven't forgotten it, though). In the process, I've found a few areas for possible refinement of ABE as a general-purpose tool.

Are any of the following feasible?
  • Option to suppress ABE messages, either for individual rules or en masse. I'm using 'Site ALL / Accept from SELF++ / Anon', so it generates a lot of console spam...
  • Change the message format to use more natural language. Instead of something like:

    Code: Select all

    [ABE] <.random.com> Anonymize on {GET https://www.random.com/bar.css <<< https://www.example.com.au/foo - 4}
    USER rule:
    Site .random.com
    Accept from SELF++
    Anonymize
    
    it might be easier (especially for newcomers) to understand:

    Code: Select all

    [ABE]Rule fired for Site <.random.com>: Anonymize on GET request from origin {https://www.example.com.au/foo - 4} to destination {https://www.random.com/bar.css}
    USER rule:
    Site .random.com
    Accept from SELF++
    Anonymize
    
  • Suggest possible rules that would allow the traffic, eg for the above example, add the following to the error message:

    Code: Select all

    To stop filtering traffic from example.com to random.com, change this rule to:
    Site .random.com
    Accept from SELF++
    Accept from .example.com
    Anonymize
    

Re: RFE: Improve ABE messages

Posted: Tue Apr 09, 2013 10:22 am
by GµårÐïåñ
Yeah I haven't forgotten either my friend, just been overwhelmed with a lot right now, but as soon as it calms down a bit, I will be back on track.