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

    Alias bugs

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    19 Posts 4 Posters 7.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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      Ok. I'll run some tests and see what I can come up with.

      Thanks for the details.

      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        I see it cuts off at 64 when it gets that error, too. I'll open a ticket and work on this shortly.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          I just checked in a fix for this. It was doing a couple pretty ugly things.

          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • S
            simpat1zq
            last edited by

            Cool. What build will the fixes be in(I just started with the BETA builds, so I'm not sure how long it takes between a fix to a build)?

            I'll try it out once it is built.

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              Typically it would be whatever build happens after the timestamp on the post saying it's fixed, but if a build was in process at the time, it may be the one after.

              Often, if you're on a recent snapshot, you can get away with doing a gitsync to pull in the recent code changes. However, you will want to check the repo commit logs here and here for any messages that say things might break with only a gitsync. Typically this happens if a binary was updated in some way (program update, rebuilt, etc) and not just a PHP code change.

              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • S
                simpat1zq
                last edited by

                OK. I finally got around to updating today. I'm still seeing the exact same problems. I am able to import it just fine(It seems anyways). But when I go to edit that alias, and save it, it says it already exists.

                So I save as a different name, and it saves, but when I go back into it, it gets cut off around the same place.

                Here's the output from the dashboard to show I'm updated.
                2.0-BETA1
                built on Thu Mar 18 06:10:11 EDT 2010
                FreeBSD 8.0-STABLE

                Thanks.

                1 Reply Last reply Reply Quote 0
                • E
                  eri--
                  last edited by

                  What browser are you using for this?
                  Can you paste a picture?

                  I see javascript problems with long lists but nothign else.
                  If your browser does not show that javascript is taking too long to run than it will look like it is not loading.

                  1 Reply Last reply Reply Quote 0
                  • S
                    simpat1zq
                    last edited by

                    I'm using Firefox. And I did get the message that a script was taking too long, and I told it to continue, and the page loaded. Here's some more detail on what I did.

                    1. On the Alias page(Which is empty), I click on the import button.
                    2. I put in the first 500 from that list, and save it.
                    3. I open up the Alias I just created.
                    4. It takes about a minute to load, and I got a message from Firefox saying that a script is taking too long to run(I can't remember the name of the script, but I think it may have had the word suggest in it)
                    5. Without making any changes, I clicked the save button.
                    6. I get a message saying that an alias named China1 already exists. So basically you can't edit an Alias, you can only make a copy and delete the old one.
                    7. So that's what I did, and named the copy China2. And it saved it without error. But when I went to go view China2, it loaded within a second or 2, and it was only showing a small portion of what I had originally put in there. And I know that the 'whole' list was loaded because the save button was there. If it was still rendering, the button wouldn't be there.

                    And let me know what you need the screenshot of.

                    1 Reply Last reply Reply Quote 0
                    • E
                      eri--
                      last edited by

                      I fixed the cannot edit error but for the other there seems to be a limit somewhere because only the first 64 entries are POSTED so it is not an alias code problem per se.
                      Not sure where the error is actually.

                      1 Reply Last reply Reply Quote 0
                      • S
                        simpat1zq
                        last edited by

                        Did you notice that the network mask for the 64th entry doesn't get posted either? Could this be a limit in PHP/whatever web server pfsense is running?

                        I know what for PHP on apache there are limits to the amount of data handled via a post. But the limit I'm thinking of is at least a few megabytes.

                        Let me know if you need me to try anything on mine.

                        1 Reply Last reply Reply Quote 0
                        • E
                          eri--
                          last edited by

                          It is a suhosin module limit so will have tgo be changed.

                          1 Reply Last reply Reply Quote 0
                          • E
                            eri--
                            last edited by

                            Should be fixed in latest snapshots.

                            1 Reply Last reply Reply Quote 0
                            • S
                              simpat1zq
                              last edited by

                              OK. It looks like it is working now.

                              One thing I noticed that might need to be fixed, is that after I 'edit' the rule and save it, it goes back to the 'Aliases' screen, and has the 'Apply Changes' button. The button also shows up when I add a 'New' rule, using the '+' button.

                              That 'Apply Changes' button isn't there when I add an alias using import. I'm thinking that whatever that button does, it probably needs to be there when doing an import as well, doesn't it?

                              EDIT: I added all 1318 networks in that list in a single Alias rule and it worked perfectly(except for that Apply Changes button, of course). And when I clicked 'Edit' on that rule, it rendered in about 30 to 45 seconds, which is much faster than 500 took before these fixes.

                              I created a Firewall rule using that Alias as well, and there are no errors.

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

                                Technically there shouldn't be any need to apply changes after creating a new alias, because it is impossible for it to have been assigned to something already.ย  It probably just shows it after using the regular add alias button because it uses the same code for editing aliases and adding new ones, except with some special cases for each.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  simpat1zq
                                  last edited by

                                  OK. That's what I was thinking. So the button shouldn't appear after adding a new alias.

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