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

PfBlocker

pfSense Packages
143
896
1.3m
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.
  • M
    marcelloc
    last edited by Apr 5, 2013, 6:06 PM

    @traxxus:

    Are the "Top spammers" list also automatically updatet  ???

    Since blocklists got paid, there is no update anymore.

    Treinamentos de Elite: http://sys-squad.com

    Help a community developer! ;D

    1 Reply Last reply Reply Quote 0
    • F
      fragged
      last edited by Apr 6, 2013, 7:36 PM

      
      Crash report begins.  Anonymous machine information:
      
      amd64
      8.3-RELEASE-p7
      FreeBSD 8.3-RELEASE-p7 #1: Thu Apr  4 13:16:33 EDT 2013     root@snapshots-8_3-amd64.builders.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.8
      
      Crash report details:
      
      PHP Errors:
       in /usr/local/pkg/pfblocker.inc on line 262
       in /usr/local/pkg/pfblocker.inc on line 262
       in /usr/local/pkg/pfblocker.inc on line 262
       in /usr/local/pkg/pfblocker.inc on line 262
       in /usr/local/pkg/pfblocker.inc on line 262
      
      

      I keep getting this error report all the time on 2.1 for the past month or so. Nothing interesting going on in the system log.

      1 Reply Last reply Reply Quote 0
      • E
        elterrible
        last edited by Apr 7, 2013, 9:53 PM

        @marcelloc:

        IIRC, there is a pfblocker php script for list update running on cron if you define a update schedule.

        you're right, but looking at the logs, it seems like the rc.update_urltables script is the one invoking the update.  it just never updates, for whatever reason.

        1 Reply Last reply Reply Quote 0
        • T
          traxxus
          last edited by Apr 9, 2013, 9:34 AM

          @marcelloc:

          @traxxus:

          Are the "Top spammers" list also automatically updatet  ???

          Since blocklists got paid, there is no update anymore.

          Could you implement another source? I mean the top spammers list is useless if no updates are available.

          This one:
          http://ipinfodb.com/ip_country_block.php#blocklist

          There also directlinks available. China for example:
          http://ipinfodb.com/country_query.php?country=CN&output=simple&filename=blocklist.txt

          1 Reply Last reply Reply Quote 0
          • G
            godbolt
            last edited by Apr 11, 2013, 7:37 PM

            This is a great package.  Very useful.  My apologies in advance if this has already been answered, but I was just wondering exactly what the packets column in the dashboard widget was.  It seems to count up for a while then rest to zero.  Is it packets dropped per hour or per day?

            1 Reply Last reply Reply Quote 0
            • F
              fragged
              last edited by Apr 12, 2013, 4:47 AM

              The package count zero's on filter reload if my memory serves me right. Could be some other regularly happening event also.

              1 Reply Last reply Reply Quote 0
              • T
                traxxus
                last edited by Apr 12, 2013, 1:04 PM

                Same here. Package count goes back to zero in dashboard widget. Don't know when or why.

                1 Reply Last reply Reply Quote 0
                • K
                  kilthro
                  last edited by Apr 12, 2013, 1:37 PM

                  When ever you filter reload or package updates anything that soft refreshes will reset it back to 0 as the interface resets.. same thing will happen changing network settings… I have never seen the widget reset on its own without either changing system setting/network setting/updates ect.

                  1 Reply Last reply Reply Quote 0
                  • G
                    godbolt
                    last edited by Apr 12, 2013, 2:19 PM

                    Thanks for the reply.  Filter reload explains it.  Every once and a while I change some rules.  I guess I just didn't notice the connection.

                    1 Reply Last reply Reply Quote 0
                    • C
                      Cino
                      last edited by Apr 12, 2013, 2:59 PM

                      @fragged:

                      
                      Crash report begins.  Anonymous machine information:
                      
                      amd64
                      8.3-RELEASE-p7
                      FreeBSD 8.3-RELEASE-p7 #1: Thu Apr  4 13:16:33 EDT 2013     root@snapshots-8_3-amd64.builders.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.8
                      
                      Crash report details:
                      
                      PHP Errors:
                       in /usr/local/pkg/pfblocker.inc on line 262
                       in /usr/local/pkg/pfblocker.inc on line 262
                       in /usr/local/pkg/pfblocker.inc on line 262
                       in /usr/local/pkg/pfblocker.inc on line 262
                       in /usr/local/pkg/pfblocker.inc on line 262
                      
                      

                      I keep getting this error report all the time on 2.1 for the past month or so. Nothing interesting going on in the system log.

                      I've had the same issue for the past couple of months. I haven't dug deeper to see if it causing any problems

                      1 Reply Last reply Reply Quote 0
                      • T
                        thebiznes
                        last edited by Apr 16, 2013, 9:39 PM Apr 16, 2013, 9:38 PM

                        New to pfblocker had used country blocker earlier before moving to untangle.

                        New to software routers although have been running a untangle box for some time, but I wanted the flexibility of routing with pfsense and filtering with Untangle in Bridge mode. Also I wanted squid for web caching as it's paid option in Untangle  so I have them working in ESXI and virtual box. The performance is much better in esxi though.

                        The problem I have with pfblocker is that I can't block on inbound the default without selecting block on both. The rule in the firewall just doesn't appear and the dashboard widget just displays a red down arrow. Which I take as not on.

                        The only way to get some of the functionality is either block both or permit outbound. Please could someone clarify exactly what "permit outbound" this means.

                        1/ Does this as I have read, allow user to get to sites on the list, but block incoming traffic by default?

                        2/ Any ideas why I can't block inbound traffic without selecting both. I have it set on Wan inbound and Lan outbound?

                        3/ With one of the list an ads one. With block both it actually stops my email service. I can see the IP in the list. Is there a way to whitelist that IP to allow?

                        Because of my lack of understanding of this package. Should I just resort back to the country block part and forego the lists?

                        Probably a question to myself the last one, but if it protects then it would be a nice feature to use.

                        Lists I am using Level1, Level2, Level3 Ads, Edu, Spyware, Hacked and Dshield and top spammers.

                        Any advice would be appreciated :)

                        1 Reply Last reply Reply Quote 0
                        • F
                          fragged
                          last edited by Apr 17, 2013, 1:58 PM

                          pfBlocker doesn't add any inbound rules for interfaces with no allow rules as there's a default deny all rule in place.

                          1 Reply Last reply Reply Quote 0
                          • T
                            thebiznes
                            last edited by Apr 17, 2013, 6:53 PM

                            I meant when selecting pfblocker I cant use block inbound the default as stated on the page without the dashboard widget showing down and the firewall rules showing nothing there also. The only way I can get any thing working is block both inbound and outbound and Permit outbound.

                            The packets are they attempts? The ad one seems to draw more traffic to the firewall especially in permit outbound. For the minute I have disabled pfblocker until I can understand it's workings.

                            1 Reply Last reply Reply Quote 0
                            • F
                              fragged
                              last edited by Apr 17, 2013, 7:19 PM

                              The package simply adds firewall rules based on your settings. That's all. I have no idea how the widget works for the status arrows, but the numbers are blocked connections matching any IP in that particular list. You can enable logging for the pfBlocker rules to see what it does on the System -> Firewall log.

                              In short, check firewall rules and log instead of the widget for what is actually going on.

                              1 Reply Last reply Reply Quote 0
                              • M
                                marcelloc
                                last edited by Apr 17, 2013, 9:36 PM

                                @fragged:

                                That's all. I have no idea how the widget works for the status arrows,

                                It ckecks based on description rules applied to rules, if you have an alias with no rules, it will show as down. If you have rules applied to aliases, then it will show up and get the couter hit from pf.

                                Treinamentos de Elite: http://sys-squad.com

                                Help a community developer! ;D

                                1 Reply Last reply Reply Quote 0
                                • T
                                  thebiznes
                                  last edited by Apr 17, 2013, 9:45 PM

                                  Does it mean it is working applying the deny inbound? As you said it doesn't count. I can only get it working with deny both and permit outbound. I am probably getting confused with the operation being quite new to this so forgive me if I ask a stupid question.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    marcelloc
                                    last edited by Apr 17, 2013, 9:50 PM

                                    @thebiznes:

                                    Does it mean it is working applying the deny inbound? As you said it doesn't count. I can only get it working with deny both and permit outbound. I am probably getting confused with the operation being quite new to this so forgive me if I ask a stupid question.

                                    Do you have rules on wan interface? If not, then pfblocker does not create a deny rule as pfsense is already blocking all inbound traffic.

                                    Treinamentos de Elite: http://sys-squad.com

                                    Help a community developer! ;D

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      MaxHeadroom
                                      last edited by May 15, 2013, 11:47 AM

                                      Hi,
                                      is there the possiblility  to make 2 alias rules for the same continent but different countries?
                                      Or do i need to add  custom country list ?

                                      best regards max

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        marcelloc
                                        last edited by May 15, 2013, 12:55 PM

                                        @MaxHeadroom:

                                        is there the possiblility  to make 2 alias rules for the same continent but different countries?
                                        Not on current version.

                                        @MaxHeadroom:

                                        Or do i need to add  custom country list ?

                                        It will be the best workaround for that.

                                        Treinamentos de Elite: http://sys-squad.com

                                        Help a community developer! ;D

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          pftdm007
                                          last edited by May 16, 2013, 11:39 PM

                                          Great package, but I hope someone can answer my question….

                                          pfBlocker is working just fine, but seems to block legit sites such as github.com paypal.com.  Not sure why these sites are blocked but I think they might be in some lists or countries I am blocking.

                                          How can I somehow exclude these sites from being blocked by pfblocker?  Im NO firewall guru and Im using pfsense's default firewall config.

                                          There is an exclusion list in squidguard and a "whitelist" in snort so what can I do in pfblocker ???
                                          Thanks!!

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