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

    pfBlockerNG blocking access to android bank app

    Scheduled Pinned Locked Moved pfBlockerNG
    24 Posts 6 Posters 3.1k 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.
    • HermanH
      Herman
      last edited by

      Good day everybody,

      Since a few days now I am testing pfBlockerNG 2.2.5_27. So far everything is working like a charm. There are a lot of tutorials which helped me in the right direction.

      There is still a problem which I do not get figured out. Since using pfBlockerNG my bank app called “Rabo App” on my Samsung Galaxy S9 android phone isn’t fully loading anymore. After authenticating with my fingerprint it stops logging in to the actual application. The loading wheel keeps spinning. I tried playing around with some whitelisting etc. but it just won’t work. Accessing the website of Rabobank is working ok on the other hand. Also turning of the Wi-Fi and start the app on the 4G network, is working just fine. So it must be pfSense related I’m guessing.

      Maybe you guys can help me trouble shoot this issue and solve it. Checking the logs doesn’t make any sense to me. As a beginner I just don’t know what to look for. Google isn’t a great help either. So any help is mostly appreciated.

      Look forward to some replies. If more info is needed then please ask me.

      Kind regards,
      Herman F.

      Limburg | The Netherlands.
      It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

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

        Go to the Reports/Alerts Tab, access the site, refresh the tab and it will tell you what is blocked.

        You can also hit F12 in a browser to inspect the Network activity.

        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
        • HermanH
          Herman
          last edited by

          Hello @RonpfS ,

          Thank you for the fast reply. I’ve bin there. There is nothing to see in the Reports/Alerts Tab that makes any sense to me regarding the app. The F12 option is only for Windows platforms. The website of the bank is working properly. The problem is the android app. Looked all day for a proper solution, but still no luck. Drives me crazy!

          Limburg | The Netherlands.
          It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

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

            Hi,

            The app is hitting an IP or using a domain that is listed DNSBL.

            Goto

            9374cc7d-212c-4ce9-86f0-70e5a189127a-image.png

            and check :

            56843fea-4d4d-42e8-851b-8ab4f5e36b08-image.png

            as you can see, my iPhone (IP 192.168.2.5) tried to load some stuff from domains that are blocked.
            That is, an ap I was using tried to load some adds or comparable.

            Shut down the app on your phone.
            Open this log.
            Open the app on your phone.
            Refresh the log.
            The latest new entries are probably your phone - check with host name and/or the local LAN IP.

            The domains listed could be the ones listed that the app tries to open - and it was blocked.
            Whitelist them by clicking on black + sign.
            Make it a wildcard whitelist.
            Add a note for yourself.

            Retest.

            Btw : a bank app is using and loading publicity from known publicity servers ?? Strange.

            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
            • HermanH
              Herman
              last edited by

              Hi @Gertjan,

              Thanks for the help. Did exactly what you described. But nothing does the trick.

              In my DNS cache I found the following CNames. Tried to exclude them in de DNSBL list. Unfortunately no result.

              bankieren.rabobank.nl.edgekey.net.
              log.rabobank.nl.edgekey.net.
              www.rabobank.nl.edgekey.net.

              Any idea's?

              Limburg | The Netherlands.
              It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

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

                When you use the Report tab to Whitelist domains, pfblockerNG will gather the CNAMEs and whitelist them.

                Maybe it is the IPs that get blocked and not the Domain name.

                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

                HermanH 1 Reply Last reply Reply Quote 0
                • HermanH
                  Herman @RonpfS
                  last edited by

                  @RonpfS I am starting also to believe that it is IP related. But still I do not see anything that is blocked regarding the banking app.

                  Limburg | The Netherlands.
                  It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

                  1 Reply Last reply Reply Quote 0
                  • T
                    tabnul
                    last edited by

                    I found that there are various tracking services used by the rabobank app.
                    After allowing the below services everything started working...

                    But no way i keep these allow rules for just 1 app. I will send feedback to the rabobank regarding their app. No way a banking app should be so intrusive and at least this tracking should never block functionality.
                    Its a bug imo.

                    tags.tiqcdn.com # rabo
                    www.tags.tiqcdn.com # rabo
                    tags.tiqcdn.com.edgekey.net # CNAME for (tags.tiqcdn.com)
                    e8091.a.akamaiedge.net # CNAME for (tags.tiqcdn.com)
                    sdk.split.io # rabo
                    www.sdk.split.io # rabo
                    f2.shared.global.fastly.net # CNAME for (sdk.split.io)
                    events.split.io # rabo
                    www.events.split.io # rabo
                    events-aws-prod-elb.split.io # CNAME for (events.split.io)
                    events-prod-1-1033355748.us-east-1.elb.amazonaws.com # CNAME for (events.split.io)
                    w.usabilla.com # rabo
                    www.w.usabilla.com # rabo
                    app-measurement.com # rabo
                    www.app-measurement.com # rabo
                    google-analytics.com # rabo
                    www.google-analytics.com # rabo
                    www-google-analytics.l.google.com # CNAME for (google-analytics.com)
                    
                    1 Reply Last reply Reply Quote 1
                    • T
                      tabnul
                      last edited by

                      In fact, i found that the only truly blocking are the ones from google....
                      Thats the last one i want in my allow list .....

                      google-analytics.com # rabo
                      www.google-analytics.com # rabo
                      www-google-analytics.l.google.com # CNAME for (google-analytics.com)
                      
                      1 Reply Last reply Reply Quote 1
                      • T
                        tabnul
                        last edited by

                        Last reply from my side.
                        I fixed it by changing the DNS Virtual IP to 127.0.0.1.
                        Whitelist is empty again, ads are still blocked.

                        This obviously breaks the functionality where a user is informed that something was blocked by the network administrator , but for home usage this is fine and this is how most home adblockers work anyway.

                        Probably its an implementation issue in the rabobank bankieren app. But this solution is fine for me.
                        In fact , routing dns requests to localhosts instead of a 'remote' service is faster at the end (probably unnoticeable , but anyway ;) )

                        f8814460-2abe-46df-9067-b045c4bf988c-image.png

                        1 Reply Last reply Reply Quote 1
                        • HermanH
                          Herman
                          last edited by

                          Hi @tabnul,

                          You are my HERO! Also want to thank you for replying to my post. Many many thanks.

                          Any explanation why routing DNS to 127.0.0.1 instead of 10.10.10.1? Look also forward to how you figured this out…

                          Again, you are the King 😊

                          Regards,
                          Herman

                          Limburg | The Netherlands.
                          It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            tabnul @Herman
                            last edited by

                            @Herman
                            I dont know why this fix solves it but apparently the app expects a valid api response from google analytics whenever it gets a non 4** response code. When routing to 127.0.0.1 it receives a 404 , apparently thats fine.

                            Probably it will break again when you run a webserver on your local machine listening on port 80 this way.
                            It was just a wild guess from my side.

                            IMO this still is a bug in the App, and/or the google SDK they used for setting up the logic.

                            1 Reply Last reply Reply Quote 0
                            • HermanH
                              Herman
                              last edited by

                              @tabnul

                              Thanks a lot for your explanation. Anyway it works.

                              Is there a possibility that no blocking results are shown at the alerts after the change to 127.0.0.1? It keeps showing 0. Even after updating and reloading. Any Thoughts?

                              Herman

                              Limburg | The Netherlands.
                              It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                tabnul @Herman
                                last edited by

                                @Herman

                                You are right, this seems to mess up the stats... thats a shame.
                                Apparently stats are collected by http requests on the virtual ip.

                                1 Reply Last reply Reply Quote 0
                                • T
                                  tabnul
                                  last edited by tabnul

                                  what might be the case here is that the issue is caused by an invalid SSL certificate on the virtual IP adress. In fact i would expect that.
                                  (i mean the original issue)

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tabnul
                                    last edited by

                                    probably it is the issue.
                                    you can fix it by handling the google ad services differently. they wont get logged then, but everything else will.
                                    See;
                                    https://forum.netgate.com/topic/111095/dnsbl-certificate-errors/46
                                    and
                                    https://forum.netgate.com/topic/133055/dnsbl-modify-default-bloked-webpage/30

                                    HermanH 1 Reply Last reply Reply Quote 0
                                    • HermanH
                                      Herman @tabnul
                                      last edited by

                                      @tabnul
                                      Again many thanks for your input.

                                      I have read the articles. When I am right I have to null route the google domains? Right? I must admit that I am not a deep dive nerd when it comes to routing.

                                      Would you like to explain how I have to configure this regarding the banking app?

                                      Thanks in advance,
                                      Herman

                                      Limburg | The Netherlands.
                                      It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

                                      HermanH 1 Reply Last reply Reply Quote 0
                                      • HermanH
                                        Herman @Herman
                                        last edited by

                                        @tabnul

                                        Tried to figure it out by myself with the websites you provided. Unfortunately I do not get it working. So if someone would like to help I appreciate this…

                                        Regards Herman

                                        Limburg | The Netherlands.
                                        It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          noenes
                                          last edited by

                                          Hello,
                                          I just whitelist these URL's. Now de Rabobank App is working again

                                          .app-measurement.com # RabobankAPP
                                          .sdk.split.io # RabobankAPP2
                                          .f2.shared.global.fastly.net # CNAME for (sdk.split.io)
                                          .events.split.io # RabobankAPP3
                                          .events-prod-1-1033355748.us-east-1.elb.amazonaws.com # CNAME for (events.split.io)
                                          .tags.tiqcdn.com # RabobankAPP4
                                          .tags.tiqcdn.com.edgekey.net # CNAME for (tags.tiqcdn.com)
                                          .e8091.a.akamaiedge.net # CNAME for (tags.tiqcdn.com)

                                          Maybe only the last 3 url's is enough. That i didn't test.

                                          1 Reply Last reply Reply Quote 0
                                          • N
                                            nanopulga
                                            last edited by

                                            Hi, I am truly sorry to revive this old thread but I just wanted to point out that I have come across this same issue with the ING Spain bank app on Android, it's the same issue as Rabo Bank mentioned here, but with ING Spain instead. The issue also seem to related with ".app-measurement.com" from my brief testing, but it could be others (ingdirect.es, ing.es, ing.com, ing.net and ing.nl). I thought that creating a new thread just for this would be pointless so that's why I am using this old thread.

                                            Pointing DNSBL Virtual IP Address's to 127.0.0.1 instead of 10.10.10.1 works for me. However that breaks "DNSBL Block Stats" and it stops updating which is a shame because it was useful and nice to see what was getting blocked.

                                            The user @tabnul tabnul mentions there could be a fix to handle .app-measurement.com (as they call it Google Ad Servcies) differently by pointing to different other threads however I am also lost on how to do what they say, perhaps it's because I am also not a deep dive nerd like the user @Herman who started this thread 😔.

                                            I don't want to whitelist .app-measurement.com since one of the reasons of me installing pfBlockerNG was to block stuff like that (adverts and telemetry mainly) and that URL is specifically for Google Analytics on Android apps. So I don't really know what to do.

                                            Does anyone have any idea after all these years on what could be done?

                                            Thanks in advance.

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