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

    Gateway and interface widget weirdness firefox?

    Scheduled Pinned Locked Moved 2.2 Snapshot Feedback and Problems - RETIRED
    17 Posts 5 Posters 3.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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      That fixed up both gateways and interfaces widgets on the refresh thing thanks!

      The not able to delete gateway or edit widget not to display a gateway maybe should be in own thread.  In 2.1.5 I know it only shows the one ipv6 gateway that comes up that you set in the gif.  Maybe it did create an ipv4 but was able to delete?  Would have to try it again to recall.

      But odd that gui says its going to delete the ipv4 gateway it created but it doesn't do it..  So if can not delete, simple work around I would think since you can disable, down it, and not monitor it would be to not list it in the widget via some widget editing function like in the firewall widget.

      deletegateway.png
      deletegateway.png_thumb
      gatewaydelete2.png
      gatewaydelete2.png_thumb

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        @johnpoz:

        The not able to delete gateway or edit widget not to display a gateway maybe should be in own thread.

        Apparently, there's already a bug about this. It's not just the widget, also lots of pointless noise logged. https://redmine.pfsense.org/issues/4102

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          I am not seeing any of that log stuff listed there.. Maybe because I marked it down and disabled monitoring, etc..?

          I can understand the creation of the gateways when you assign the gif to a opt, but you should be able to delete it.  Or atleast remove it from the widget.  Why should something be listed on the widget that is not in use..

          Makes it look like something is broken showing unknown, etc.

          turnedoff.png
          turnedoff.png_thumb

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • P
            phil.davis
            last edited by

            I added just a dumb gateway to nowhere across on of my test LANs. It shows in the widget as offline - good. Then I set it to Disabled, go back to the widget and it is not shown. So the Gateways widget already does not display diabled gateway.
            But yes, sometimes there can be gateways that are rubbish for your configuration, or that are simply backup or test things, and that you do not want to display on the dashboard because they are normally down. It would be handy to be able to choose not to display some gateways.
            For me, the same option to choose what not to display would be good in:
            Interfaces widget
            Interface Statistics widget
            Dyn DNS Status widget
            OpenVPN widget

            When I feel like I care enough, I might even code it ;)

            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              @phil.davis:

              I added just a dumb gateway to nowhere across on of my test LANs. It shows in the widget as offline - good. Then I set it to Disabled, go back to the widget and it is not shown. So the Gateways widget already does not display diabled gateway.

              @Phil: This does not apply to these bogus dynamic GWs. When I set those to Disable this gateway - Disable Gateway Monitoring - Mark Gateway as Down - those still show in widget as ~ ~ Unknown

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                ^ Exactly - create a gif, you can not get rid of the v4 it creates.. Nor can you delete it.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • P
                  phil.davis
                  last edited by

                  The general code to return a list of gateways (without disabled gateways) had problems processing a gateway that is dynamic but also disabled.
                  The pull request fixes it for all the cases I could think of to test:
                  https://github.com/pfsense/pfsense/pull/1433

                  As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                  If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    Sweet..  So should prob be in the next snap?

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    1 Reply Last reply Reply Quote 0
                    • P
                      phil.davis
                      last edited by

                      That depends when it gets reviewed and committed. It would be good if you guys can test, since you have real systems that use IPv6 and do not want the IPv4 dynamic gateway and…
                      It would be good to know that this does not cause issues deeper down, where a disabled IPv4 gateway will no longer be seen by some underlying code that applies rules...
                      It is just /etc/inc/gwlb.inc - it is easy enough to put that from the pull request onto a test system.

                      As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                      If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                      1 Reply Last reply Reply Quote 0
                      • C
                        cmb
                        last edited by

                        I just merged that, it'll be in the first snapshot from the 12th (not the one that's being built right now).

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by

                          I will update to the whatever the newest snap is in the morning and let you know.  So far really like the stuff I am seeing in 2.2, like that the vmx3 drivers are there and no need for vmtools to get those working.. Just added the open tools so I can shut it down from esxi, etc. That is working from what I have tested.

                          Have not played with too much yet, but everything sofar that I was doing is working - other than vnstat2 seems broken, but have not had chance to look into it yet. Did notice some threads, etc.  But to me that is a package.. And like the resolver vs just the forwarder..  I decided to give the 64bit version a run, so I jut did a clean install and have been migrating in my settings.  My HE tunnel came up with no issues, got my /64 and my /48 working without any problems on different local segments.

                          Openvpn up and running clickity click no issues..  From what I have played with sofar looks like ready to release ;) hehehe

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          1 Reply Last reply Reply Quote 0
                          • E
                            eskild
                            last edited by

                            I have just tested "2.2-RC (i386) built on Mon Jan 12 21:07:08 CST 2015 ".
                            In my system, the automatically generated GIT gw "WAN6_TUNNELV4" is still visible in the widget, even if it is disabled in Routing->Gateways.

                            1 Reply Last reply Reply Quote 0
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator
                              last edited by

                              I am running

                              2.2-RC (amd64)
                              built on Mon Jan 12 12:47:16 CST 2015

                              And its gone..  Thanks!!  Might be something in the i386 code went wrong?  Looks to be working 64bit version.  I will update to very latest here in a bit.  But got some stuff to do first.

                              edit:  Yeah updated to latest snap
                              2.2-RC (amd64)
                              built on Mon Jan 12 21:47:35 CST 2015

                              And as you can see if you disable the v4 it not on the gateway widget.  If you enable it.. Then it shows up as unknown, like in the previous attachments.

                              gwgone.png
                              gwgone.png_thumb
                              latestsnap1.png_thumb
                              latestsnap1.png

                              An intelligent man is sometimes forced to be drunk to spend time with his fools
                              If you get confused: Listen to the Music Play
                              Please don't Chat/PM me for help, unless mod related
                              SG-4860 24.11 | Lab VMs 2.8, 24.11

                              1 Reply Last reply Reply Quote 0
                              • P
                                phil.davis
                                last edited by

                                @eskild:

                                I have just tested "2.2-RC (i386) built on Mon Jan 12 21:07:08 CST 2015 ".
                                In my system, the automatically generated GIT gw "WAN6_TUNNELV4" is still visible in the widget, even if it is disabled in Routing->Gateways.

                                Well that snap should be late enough to have the fixed code, and there is nothing specific to 32-bit in this.
                                What is interesting about your configuration that might be an unusual edge case?

                                As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                                If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                                1 Reply Last reply Reply Quote 0
                                • E
                                  eskild
                                  last edited by

                                  Wierd. So I deleted the GIF interface and all related config, and created it from scratch with the same values. Now it workes as expected.
                                  Perfect! Thanks.

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