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

Gateway and interface widget weirdness firefox?

2.2 Snapshot Feedback and Problems - RETIRED
5
17
3.6k
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
    johnpoz LAYER 8 Global Moderator
    last edited by Jan 10, 2015, 4:31 PM

    So running

    2.2-RC (amd64)
    built on Sat Jan 10 03:54:06 CST 2015
    FreeBSD 10.1-RELEASE-p3

    Have tried it on different themes, and the interface and gateway widgets seem to mess up on some screen refresh in firefox 34.0.5.  See attached.  Doesn't seem to do it using chrome or IE..  Maybe its one of my addons - haven't looked into that yet.  Anyone else seeing anything like this?

    The other thing is on the gateway widget, there is no way to not display a gateway..  Even if you mark it down and disable it still shows up.  So for example that v4 part of gif tunnel to huricane electric.  Once you create the gif leaving ip4 and ipv6 as none..  It creates both ipv6 and ipv4 gateways..  Can not delete the v4 tunnel it creates.. When you delete it after mark down disable using the check box, it just comes right back.

    I would think you should be able to delete the gateways that it auto creates on adding gif to opt.  But if you can not, or even just as nice feature the ability to not list specific gateways on the gateway widget would be nice I think.  Like how you can edit the firewall widget to show more lines or specific interfaces or traffic.

    int1.png
    int1.png_thumb
    int2.png
    int2.png_thumb
    gateway1.png
    gateway1.png_thumb
    gateway2.png
    gateway2.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.7.2, 24.11

    1 Reply Last reply Reply Quote 0
    • P
      phil.davis
      last edited by Jan 10, 2015, 4:54 PM

      For that last gateway2.png - you have and old .js file cached. Do a full page reload (override cache) = ctrl-F5 or ctrl-shift-R
      Ref: https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly

      The format of the data transferred between the server and browser, and thus the Java Script that processes it in the browser, changed in last few weeks to fixup issues.

      The Interfaces thing might also be the issue of old cached Java Script.

      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
      • J
        johnpoz LAYER 8 Global Moderator
        last edited by Jan 10, 2015, 5:11 PM

        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.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by Jan 10, 2015, 5:31 PM

          @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
          • J
            johnpoz LAYER 8 Global Moderator
            last edited by Jan 10, 2015, 5:53 PM

            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.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • P
              phil.davis
              last edited by Jan 11, 2015, 2:52 AM

              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 Jan 11, 2015, 8:31 AM

                @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
                • J
                  johnpoz LAYER 8 Global Moderator
                  last edited by Jan 11, 2015, 12:01 PM

                  ^ 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.7.2, 24.11

                  1 Reply Last reply Reply Quote 0
                  • P
                    phil.davis
                    last edited by Jan 11, 2015, 3:33 PM

                    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
                    • J
                      johnpoz LAYER 8 Global Moderator
                      last edited by Jan 11, 2015, 3:41 PM

                      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.7.2, 24.11

                      1 Reply Last reply Reply Quote 0
                      • P
                        phil.davis
                        last edited by Jan 11, 2015, 4:56 PM

                        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 Jan 12, 2015, 1:15 AM

                          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
                          • J
                            johnpoz LAYER 8 Global Moderator
                            last edited by Jan 12, 2015, 10:00 PM

                            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.7.2, 24.11

                            1 Reply Last reply Reply Quote 0
                            • E
                              eskild
                              last edited by Jan 13, 2015, 9:56 AM

                              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
                              • J
                                johnpoz LAYER 8 Global Moderator
                                last edited by Jan 13, 2015, 1:06 PM Jan 13, 2015, 11:41 AM

                                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.7.2, 24.11

                                1 Reply Last reply Reply Quote 0
                                • P
                                  phil.davis
                                  last edited by Jan 13, 2015, 2:17 PM

                                  @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 Jan 13, 2015, 10:57 PM

                                    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
                                    1 out of 17
                                    • First post
                                      1/17
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.