Regexp - Dúvidas em qual categoria cadastrar.



  • Re: Pacote não oficial E2guardian v5 para software pfsense®

    Fala pessoal !
    Estou com o E2guardian a pleno vapor. @marcelloc ! Parabéns pelo trabalho, viu !
    O único "bang" é:

    • Reescrever URL forçando mecanismos de pesquisa em safemode.
      SSL REGEX - Site Lists
      REGEXP - Search engine

    "^http://[0-9a-z]+.bing.com[-/%.0-9a-z]/search?q=([^&])."->"\1"
    "^http://[0-9a-z]+.bing.com[-/%.0-9a-z]
    &q=([^&])."->"\1"
    "^http://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]/images?)"->"\1safe=active&"
    "^http://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]
    /search?)"->"\1safe=active&"
    "^http://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]/s?)"->"\1safe=active&"
    #"^https://www.google.[a-zA-Z0-9_.]
    $)"->"https://forcesafesearch.google.com"
    "^https://[0-9a-z]+.bing.com[-/%.0-9a-z]/search?q=([^&])."->"\1"
    "^https://[0-9a-z]+.bing.com[-/%.0-9a-z]
    &q=([^&])."->"\1"
    "^https://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]/images?)"->"\1safe=active&"
    "^https://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]
    /search?)"->"\1safe=active&"
    "^https://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]/s?)"->"\1safe=active&"
    "(^http://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]
    /search?client=firefox)"->"\1safe=active&"
    "(^https://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]/search?client=firefox)"->"\1safe=active&"
    "(^http://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]
    /images?)"->"\1safe=active&"
    "(^http://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]/images?)"->"\1safe=active&"
    "(^http://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]
    /search?)"->"\1safe=active&"
    "(^http://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]/s?)"->"\1safe=active&"
    "(^http://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]
    /search?client=firefox)"->"\1safe=active&"
    "(^https://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]/images?)"->"\1safe=active&"
    "(^https://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]
    /search?)"->"\1safe=active&"
    "(^https://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]/search?client=firefox)"->"\1safe=active&"
    "(^https://[0-9a-z]+.google.[a-z]+[-/%.0-9a-z]
    /s?)"->"\1safe=active&"

    Coloquei o ?client=firefox para filtrar no Mozilla.
    O intuito é inclusive filtrar com base em phraselist que também está preenchida.
    A pergunta é:

    • Estou utilizando de forma correta ? (setando nas duas categorias ?)
    • Existe uma forma que eu monitore se o Regex está pegando a URL digitada e fazendo a alteração ?
      (tcpdump ou algum log ou ... sei lá).
      No mais ... foi lendo as dúvidas de caso a caso que cheguei nas configurações que mais adequaram ao meu ambiente.

    Grato !


Log in to reply