• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Python Regex List

Scheduled Pinned Locked Moved pfBlockerNG
3 Posts 2 Posters 1.9k Views
Loading More Posts
  • 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.
  • J
    javier2020
    last edited by Jun 28, 2021, 6:33 PM

    Hi

    I use "pfBlockerNG-devel" ver 3.0.0_10 in PfSense 2.4.5-p1 and have active "Unbound python mode".

    d354bb5e-042f-47a2-a4a5-47c3c77a1d77-image.png

    I tried to use "Python Regex List" to block sites content word "yahoo" in domain. ( www.yahoo.com or mail.yahoo.com, etc )

    27db8ec3-8fa7-4835-9a95-56af140e9837-image.png
    Is it necessary to apply a "Python Regex List" on a particular DNSBL?. How is it done this? or what other option is necessary to apply correctly "Python Regex list"?

    Thanks for your help.

    G 1 Reply Last reply Jul 6, 2021, 4:40 PM Reply Quote 0
    • G
      Gertjan @javier2020
      last edited by Jul 6, 2021, 4:40 PM

      @javier2020

      Use it like this :

      a66773f5-38b1-46d3-9b1c-cdc3e3a851f0-image.png

      Remove the leading / and trailing /.

      Now you'll find DNSBL log entries like :

      7de3b185-698d-4ada-b3b7-e1339749a830-image.png

      and this one was the result of a (DNSBL) regex match.

      Btw : be careful, this way of filtering is very powerful ;)

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      J 1 Reply Last reply Jul 14, 2021, 9:36 PM Reply Quote 1
      • J
        javier2020 @Gertjan
        last edited by Jul 14, 2021, 9:36 PM

        @gertjan Thank You.

        Works great!!

        1 Reply Last reply Reply Quote 0
        • A anishkgt referenced this topic on May 13, 2024, 7:41 PM
        • A anishkgt referenced this topic on May 13, 2024, 8:20 PM
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received