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

    Not seeing IP blocks in Alerts area of reports tab. DNSBL shows up properly.

    Scheduled Pinned Locked Moved pfBlockerNG
    25 Posts 6 Posters 4.7k 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.
    • RonpfSR
      RonpfS @themadsalvi
      last edited by

      @themadsalvi You could investigate your config.xml to check if something obvious might cause your problems.

      2.4.5-RELEASE-p1 (amd64)
      Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
      Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

      1 Reply Last reply Reply Quote 0
      • RonpfSR
        RonpfS @themadsalvi
        last edited by

        @themadsalvi here is what I have on my side :

        [2.4.4-RELEASE][2019-05-06 18:51:20][admin@pfsense.local]/var/log: ls -altr
        total 4195
        drwx------   2 www      www             2 Oct  3  2018 lighttpd
        -rw-r--r--   1 root     wheel      161664 Dec  8 19:40 bsdinstall_log
        drwxr-xr-x   2 root     wheel           2 Dec  8 19:42 ntp
        -rw-r--r--   1 root     wheel           0 Dec  8 19:46 lastlog
        drwx------   3 root     wheel           4 Dec  8 19:51 suricata
        drwxr-xr-x  26 root     wheel          26 Dec 12 07:42 ..
        drwxr-xr-x   7 root     wheel          30 Dec 12 07:42 .
        -rw-------   1 root     wheel    10240000 Dec 20 21:14 vpn.log
        -rw-------   1 root     wheel    10240000 Dec 20 21:14 poes.log
        -rw-------   1 root     wheel    10240000 Dec 20 21:14 l2tps.log
        -rw-------   1 root     wheel    10240000 Dec 20 21:14 openvpn.log
        -rw-------   1 root     wheel    10240000 Dec 20 21:14 portalauth.log
        -rw-------   1 root     wheel    10240000 Dec 20 21:14 ipsec.log
        -rw-------   1 root     wheel    10240000 Dec 20 21:14 ppp.log
        -rw-------   1 root     wheel    10240000 Dec 20 21:14 relayd.log
        -rw-------   1 root     wheel    10240000 Dec 20 21:14 wireless.log
        -rw-------   1 root     wheel    10240000 Dec 20 21:14 routing.log
        drwxr-xr-x   2 root     wheel           4 Feb 25 17:03 nginx
        -rw-r--r--   1 root     wheel       11566 Feb 26 12:40 dmesg.boot
        -rw-------   1 root     wheel        9252 Feb 26 12:40 userlog
        -rw-------   1 root     wheel    10240000 Mar 29 12:40 ntpd.log
        -rw-r--r--   1 root     wheel         394 May  6 17:45 utx.lastlogin
        -rw-------   1 root     wheel       11801 May  6 17:45 utx.log
        drwxr-xr-x   2 unbound  unbound        12 May  6 18:19 pfblockerng
        -rw-------   1 root     wheel    10240000 May  6 18:20 system.log
        -rw-------   1 root     wheel    10240000 May  6 18:20 dhcpd.log
        -rw-------   1 root     wheel    10240000 May  6 18:20 resolver.log
        -rw-------   1 root     wheel    10240000 May  6 18:20 gateways.log
        -rw-------   1 root     wheel    10240000 May  6 18:28 nginx.log
        -rw-------   1 root     wheel    10240000 May  6 18:51 filter.log
        
        

        So some files are updated, some are dated from the last install.

        2.4.5-RELEASE-p1 (amd64)
        Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
        Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

        1 Reply Last reply Reply Quote 0
        • G
          greyv
          last edited by

          I'm new to using pfblocker and just had the same issue. I noticed you are using squid as i am also. pfblocker will not filter ip addresses while squid is enabled. I tested enabling and disabling it. I'm not sure what the better option is because i cant get pfblocker to filter https. so currently i'm just using pfblocker to filter dnsbl

          1 Reply Last reply Reply Quote 0
          • C
            cryptonym @themadsalvi
            last edited by

            @themadsalvi Not to resurrect this very old thread, but just setting this all up and had same issue. Wanted to share in case someone else lands here via a search...

            DNSBL was working, resolving them to 10.10.10.1 but no logs.

            What was missing was I left "BNSBL Mode" on Unbound (default) rather than setting it to "Unbound Python mode". That one checkbox and a reload and logging is working perfectly.

            GertjanG 1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @cryptonym
              last edited by Gertjan

              @cryptonym said in Not seeing IP blocks in Alerts area of reports tab. DNSBL shows up properly.:

              DNSBL was working, resolving them to 10.10.10.1 but no logs.

              What was missing was I left "BNSBL Mode" on Unbound (default) rather than setting it to "Unbound Python mode". That one checkbox and a reload and logging is working perfectly.

              God news - and bad news :

              I switched from Python to unbound mode :

              dd4b7379-bd2d-4636-80a6-ed2ae7b9fc05-image.png

              I tested with a listed DNDBL host entry (StevenBlack's list) 010sec.com

              Sure enough : using http, not https ....

              9ea39967-c05e-4e26-922c-cdeea4422c9a-image.png

              and sure enough :

              a33a4113-d3bc-423f-b8fe-ef28f369605b-image.png

              So Python mode isn't mandatory to make this work.

              Btw : I really though everybody had abandoned "unbound mode" by now .... as Python mode is way better/faster/much cooler ^^

              That said : imho, you can safely forget about that pFb black web server page that shows up when a visitor visits a site that is blocked.It's something that worked well in the past, when all sites were http based. Because : it needs http sites to actually work - not https.
              You know this already : https can't be intercept / redirected - not by me, not by the CIA, not by the NSA, so probably you can't neither ^^
              No body is visiting http sites anymore .... Google doesn't index them anymore for years now.
              So : the perfect DNSBL setting these days is :

              9a91c0b8-e856-4c34-af1a-273f49e945a8-image.png

              If you find people on your network still using "http" sites, go have a talk with them, before you throw them off your network. I get it, this is a bit harsh, but these days thsi should be common knowledge of any Internet user. Like : when you drive your car on the road you stay on the 'right' side of the road.

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

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.