Commit Graph

45 Commits

Author SHA1 Message Date
Ermal
b0d6223f89 When editing a vlan and chaning its tag id and the vlan is assigned correct even the interface name of the assignment otherwise we result in breaking the install. 2011-06-27 19:01:43 +00:00
Ermal
695a35aecd Ticket #944. Also destory the previous interface if the user changing the vlan tag of an existing vlan entry. 2011-06-01 10:49:21 +00:00
Ermal
6b421a0fb4 Fixes #944. Use the correct interface name to destroy the previous vlan if the parent is changed. 2011-06-01 10:49:21 +00:00
gnhb
baca83aa29 Fix page title text. Replace "Firewall" with "Interfaces" in title. 2011-03-02 11:51:30 +07:00
Ermal
0f70d563a2 Ticket #944. Do not use the interface_bring_down fucntion here since it is meant for assigned interfaces. Directly destroy previous vlan interface if parent changes. 2011-01-10 17:21:34 +00:00
Ermal
6b78bed777 Ticket #944. Wehn changing the parent interface make sure to destroy the old vlan before creating the new one. Since vlans use the name of the parent the old interface referencing the old parent vlan will remain intact. 2010-12-27 15:09:11 +00:00
Scott Ullrich
dd5bf424c1 Fix XSS issues 2010-11-12 11:36:20 -05:00
Scott Ullrich
225a2f0b46 Bring in XSS id fixes from m0n0wall 2010-11-12 11:03:51 -05:00
Vinicius Coque
831717782d Fix gettext implementation on interfaces_vlan_edit.php 2010-07-10 13:46:17 -03:00
Rafael Lucas
cbdc84eaf8 Implement gettext() calls 2010-06-30 16:11:37 -03:00
Rafael Lucas
c24e9a112c Implement gettext() calls 2010-06-30 15:39:37 -03:00
Scott Ullrich
7ac5a4cb18 Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on 2009-09-14 19:14:40 -04:00
Ermal Luci
48315e6596 s/./_/ for vlans since netgraph does not like .(dots) in the path names. 2009-06-16 23:27:11 +00:00
Ermal Luçi
305c847d67 Use $RealIf.vlan$tag interface names for vlans. This makes them more userfriendly. 2009-06-08 22:23:40 +00:00
Ermal Luçi
e1c449c036 Revert "Do not use tags for vlan interface names since there might be same vlan tags on different parent interfaces and this will break configs and will hide the reason it does not work. Thanks-to: smos@"
This reverts commit 83bdca5592.
2009-06-08 22:14:34 +00:00
Ermal Luçi
83bdca5592 Do not use tags for vlan interface names since there might be same vlan tags on different parent interfaces and this will break configs and will hide the reason it does not work. Thanks-to: smos@ 2009-06-08 17:57:15 +00:00
Ermal Luçi
c619631047 Do not allow to add a vlan tag on the same interface when it is used by qinq. 2009-03-30 18:20:10 +00:00
Ermal Luçi
5f1e1d2617 Bring in support for QinQ. At this time it is limited to only 2 levels. 2009-03-28 09:08:31 +00:00
Ermal Luci
983271b38c Opps, unbreak the page by removing unneeded curly. 2009-01-25 19:02:40 +00:00
Ermal Luci
a0188aa686 Allow vlans to be created on lagg interfaces on the GUI. 2009-01-20 18:01:34 +00:00
Ermal Luçi
69e5a8be8d Rename interfaces_wan_configure to interface_configure now that it is used for all assigned interface configuration. 2008-09-09 11:08:02 +00:00
Ermal Luçi
4476d44751 Merge lan configuration to the interfaces_wan.php page wich does the configuration of all
other assigned interfaces.
2008-09-07 19:34:18 +00:00
Scott Ullrich
9dad4f3173 Dress VLAN edit page up with a CSS header like other pages use. 2008-08-30 19:43:04 +00:00
Matthew Grooms
6b07c15ad8 Rewrite the pfsense privilege system with the following goals in mind ...
1) Redefine page privileges to not use static urls
2) Accurate generation of privilege definitions from source
3) Merging the user and group privileges into a single set
4) Allow any privilege to be added to users or groups w/ inheritance
5) Cleaning up the related WebUI pages
2008-08-01 06:30:34 +00:00
Ermal Luçi
d0c04a6603 If we are an assigned vlan just reconfigure it after the editing. 2008-07-24 14:16:41 +00:00
Ermal Luçi
3aa3cee261 Remove the parent interface reconfiguration functions they are only bogusly/erroneously called here:
* On bootup without this change the parent interface will be configured twice.
* Even when the system is up a vlan does not have to mock up with the parent apart guaranteeing that it is up.

The only thing that does not work is makeing a VLAN on dynamic interfaces like pppoe/pptp.
Afaik it has never worked and i do not think that many people would use vlans over pppoe,
if a feature request for such things comes up it will be on my TODO around 2.x of pfSense.
2008-07-09 18:55:46 +00:00
Ermal Luçi
28115e329a * Correctly edit existing vlans.
* Speedup very much the vlan creation/editing but not reconfiguring all the other interfaces
	but just the one where the vlan resides.

NOTE: It is even questionable if it is needed at all to reconfigure the underlying interface since the only thing that vlan needs from the parent is the former to be up so packets can travel.
2008-07-09 16:17:43 +00:00
Ermal Luçi
a3f9082f46 Fix braindead vlan creation procedures.
Now we do not need to go through all vlans just to delete/create one of them.
2008-06-04 21:37:15 +00:00
Chris Buechler
8ff8a42ffb add comment from RELENG_1_2 2007-12-26 03:26:07 +00:00
Scott Ullrich
d88c6a9fdf Switch over to array style page titles. Obtained-from: m0n0wall 2007-11-16 00:48:53 +00:00
Seth Mos
b5c7850109 Fixing css layout 2007-09-01 20:47:31 +00:00
Scott Ullrich
4b7d574132 Reload vlan interfaces correctly after adding a new interface 2007-03-14 21:15:41 +00:00
Scott Ullrich
de068d0b22 Call interfaces_vlan_configure() instead of reload_interfaces(). reload_interfaces() is still considered experimental and I am really not sure how this snuck past on the prior cleanup. 2007-01-25 22:26:20 +00:00
Scott Ullrich
e54d4de6d5 Remove #!/usr/local/bin/php 2006-01-02 23:46:18 +00:00
Scott Ullrich
be093fab60 Nuke display_topbar(). Its's currently red and looks incredibly out of place. Hopefully we can add this back post 1.0 2005-12-05 00:05:56 +00:00
Bill Marquette
bc0caea706 Only display interfaces that are jumbo frame capable 2005-09-15 04:55:49 +00:00
Scott Ullrich
5f78884c96 * Drop kick reboots bye bye 2005-07-24 22:26:32 +00:00
Bill Marquette
ccff927c4c Fix pgtitle 2005-07-03 19:53:22 +00:00
Bill Marquette
ef97ce1bf9 More screens inherit rounded tabletops 2005-07-03 19:17:51 +00:00
Bill Marquette
931066a8b2 Use $pgtitle
Fix assign/vlan tabs (backwards)
2005-07-03 16:26:40 +00:00
Scott Ullrich
7f43ca88af Use new header system. 2005-07-02 04:03:06 +00:00
Scott Ullrich
28b86d6486 * Add missing cancel button
* cancel -> Cancel
2005-04-22 02:27:38 +00:00
Scott Ullrich
53c59170cd Add a Cancel button which takes the browser back to the page prior. 2005-04-21 18:42:42 +00:00
Bill Marquette
b46bfcf575 Add $Id$ tag 2005-03-27 22:31:32 +00:00
Scott Ullrich
5b23774500 Initial revision 2004-11-07 03:06:49 +00:00