-
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-STABLEThanks.
-
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. -
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.
- On the Alias page(Which is empty), I click on the import button.
- I put in the first 500 from that list, and save it.
- I open up the Alias I just created.
- 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)
- Without making any changes, I clicked the save button.
- 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.
- 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.
-
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. -
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.
-
It is a suhosin module limit so will have tgo be changed.
-
Should be fixed in latest snapshots.
-
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.
-
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.
-
OK. That's what I was thinking. So the button shouldn't appear after adding a new alias.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.