Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * Create two new functions lock($subsystem)/unlock() to have more reliable ↵ | Ermal Luçi | 2009-05-08 | 1 | -2/+0 |
| | | | | | | | | | | | locking using semaphores. This function can sleep till the resource is free and can help find not well behaving code. * Remove most of the config_lock/config_unlock logics on the whole scripts/pages it is an abuse of this. If any sybsytem wants to lock can do so with its own lock. * Lock the config when doing a filter reload to avoid parallell recursion on this function, since it is not reentrant. This compenstates for the removal of lock aquiring from the scripts/pages. * config_lock/config_unlock are now compate shims that do nothing. They are preserved since packages 'abuse' them too. | ||||
* | Rename filter_translate_type_to_real_interface to ↵ | Ermal Luçi | 2009-05-05 | 1 | -2/+15 |
| | | | | | | interface_translate_type_to_real Move this function to interfaces.inc where it belongs. | ||||
* | * Teach get_interface_subnet() about carp. | Ermal Luçi | 2009-05-05 | 1 | -3/+11 |
| | | | | | * Increase scope to all interfaces when searching for the carp parent since the later is used even on those scopes. * General cleanup of unused vars and code. | ||||
* | * Convert from exec_command to `$command` to remove the only dependency of ↵ | Ermal Luçi | 2009-05-01 | 1 | -7/+6 |
| | | | | | | interfaces.inc. * Remove the heavy require_once(functions.inc) from interfaces.inc it is really not neededo | ||||
* | Remove extra $ | Scott Ullrich | 2009-04-28 | 1 | -6/+6 |
| | |||||
* | Separate delete down actions on ifconfig to fix issues. Add L2TP virtual ↵ | Ermal Luçi | 2009-04-26 | 1 | -4/+6 |
| | | | | interafce to a list. | ||||
* | Fix typo to correctly load interface groups on startup. | Ermal Luçi | 2009-04-26 | 1 | -1/+1 |
| | |||||
* | * Move other functions around to where it makes sense. | Ermal Luçi | 2009-04-26 | 1 | -37/+0 |
| | | | | | * Reduce somewhat require_once() overhead by removing the includes from gwlb.inc they are not needed. Some more analysis is needed on the include path | ||||
* | More functions moving from pfsense-utils to interfaces.inc. | Ermal Luçi | 2009-04-26 | 1 | -0/+154 |
| | |||||
* | * Make the carp ip fix for ipsec more general so other services that use the ↵ | Ermal Luçi | 2009-04-22 | 1 | -2/+209 |
| | | | | | | | | same methodology work. - Basically get_interface_ip() now knows how to handle carp(4). * Move interface related function from pfsense-utils.inc to interfaces.inc that is their place. - More will come after the schedules fixes. | ||||
* | fix typo, clean up text | Chris Buechler | 2009-04-07 | 1 | -1/+1 |
| | |||||
* | Update my copyright. | Ermal Luçi | 2009-04-06 | 1 | -1/+1 |
| | |||||
* | Remove debug string. | Ermal Luçi | 2009-04-06 | 1 | -1/+0 |
| | |||||
* | * Convert the QinQ code to use a file where the commands are passed. This ↵ | Ermal Luçi | 2009-04-03 | 1 | -95/+105 |
| | | | | | | | speeds up most of the vlan creation. Before you'd need 20min to create qinq with 1000 member now it adds 2000 members in just 1 minute * Fix some cleanups when deleting QinQ | ||||
* | Bring in support for QinQ. At this time it is limited to only 2 levels. | Ermal Luçi | 2009-03-28 | 1 | -6/+157 |
| | |||||
* | * Keep only one function to return the mac address | Ermal Luçi | 2009-03-22 | 1 | -8/+22 |
| | | | | * Bring the mac address function to interfaces.inc its the only consumer of those. | ||||
* | Actually merge the part that does the real work with FreeBSD groups. | Ermal Luçi | 2009-03-17 | 1 | -0/+30 |
| | |||||
* | Fix http://forum.pfsense.org/index.php/topic,14361.0.html | Ermal Luçi | 2009-03-09 | 1 | -2/+2 |
| | |||||
* | Fix display of DHCP status on Status -> Interfaces | Chris Buechler | 2009-03-09 | 1 | -3/+2 |
| | |||||
* | Revert "Merge IPv6 changes" | Scott Ullrich | 2009-02-28 | 1 | -55/+13 |
| | | | | | | | | | | This reverts commit 1f9f2a95b7b42cf33e730535092e56e214fdb848. Conflicts: etc/inc/filter.inc etc/inc/interfaces.inc etc/inc/pfsense-utils.inc | ||||
* | Make the rc.banner a lot more faster. | Ermal Luçi | 2009-02-22 | 1 | -0/+5 |
| | |||||
* | Make sure we do not return the interface passed as parameter rather NULL. | Ermal Luçi | 2009-02-14 | 1 | -1/+1 |
| | |||||
* | Remove wrong comment. | Ermal Luçi | 2009-02-14 | 1 | -4/+0 |
| | |||||
* | Fix delaying of creating composite interfaces like bridge/gre/gif. This ↵ | Ermal Luçi | 2009-02-14 | 1 | -1/+1 |
| | | | | fixes the problems reported http://forum.pfsense.org/index.php/topic,13735.0.html. | ||||
* | Remove this while loop now. It never ends and runs the cpu usage up to 100% ↵ | Scott Ullrich | 2009-02-15 | 1 | -12/+3 |
| | | | | forever. | ||||
* | Revert "Back out ipv6 changes" | Scott Ullrich | 2009-02-15 | 1 | -25/+83 |
| | | | | This reverts commit 541b7c561912174b57927839ce39bb7ec9c07ee4. | ||||
* | Back out ipv6 changes | Scott Ullrich | 2009-02-15 | 1 | -83/+25 |
| | |||||
* | MPD4 moved the authentication on auth section coorect the settings on PPTP ↵ | Ermal Luçi | 2009-02-13 | 1 | -2/+2 |
| | | | | which were forgotten. | ||||
* | Make L2TP known in other parts of system, schedules and the function ↵ | Ermal Luçi | 2009-02-01 | 1 | -1/+1 |
| | | | | get_interface_ip. | ||||
* | Add more L2TP improvements. | Ermal Luçi | 2009-02-01 | 1 | -0/+3 |
| | |||||
* | Correctly add lagg members and create lagg interfaces before vlans to allow ↵ | Ermal Luci | 2009-01-20 | 1 | -1/+2 |
| | | | | the later to be created on top of lag. | ||||
* | Merge branch 'master' of git@rcs.pfsense.org:pfsense/mainline | Ermal Luci | 2009-01-20 | 1 | -17/+71 |
|\ | |||||
| * | Merge IPv6 changes | Simon Cornelius P. Umacob | 2009-01-20 | 1 | -17/+71 |
| | | |||||
* | | Correctly add lagg members and create lagg interfaces before vlans to allow ↵ | Ermal Luci | 2009-01-20 | 1 | -4/+4 |
|/ | | | | the later to be created on top of lag. | ||||
* | Move laggproto setting after adding the members and making sure they are up. | Ermal Luci | 2009-01-19 | 1 | -2/+2 |
| | | | | Otherwise we might panic as explained in ticket #1864 | ||||
* | Fix the {interface}up checks. | Ermal Luçi | 2008-12-08 | 1 | -3/+3 |
| | |||||
* | Fix generation of pppoe reset cron entry. Not sure if this should stay here ↵ | Ermal Luçi | 2008-12-08 | 1 | -2/+2 |
| | | | | or go into inteface_pppoe_configure!? | ||||
* | fix CARP panics with VLANs | Chris Buechler | 2008-12-08 | 1 | -1/+12 |
| | |||||
* | Don't use broadcast on CARP IPs. | Chris Buechler | 2008-12-08 | 1 | -1/+1 |
| | |||||
* | Don't add CARP IPs on an interface that doesn't exist to prevent panic. | Chris Buechler | 2008-12-07 | 1 | -1/+10 |
| | |||||
* | Add another parameter to interface bring down which can be used to destroy ↵ | Ermal Luçi | 2008-12-07 | 1 | -4/+6 |
| | | | | the interface if it is a virtual/cloned one. | ||||
* | Temporary Fix for vlan creation issue. | Seth Mos | 2008-12-05 | 1 | -1/+1 |
| | |||||
* | Use correct var. | Ermal Luçi | 2008-11-30 | 1 | -1/+1 |
| | |||||
* | Add some checks on interface_bring_down and remove unlinking of ↵ | Ermal Luçi | 2008-11-30 | 1 | -1/+4 |
| | | | | nameserver.conf it needs some more thinking on how to propperly do that. | ||||
* | Correct error message. | Ermal Luçi | 2008-11-30 | 1 | -1/+1 |
| | |||||
* | It is legitimate to be called with an empty vlanif. The webgui uses this to ↵ | Ermal Luçi | 2008-11-30 | 1 | -10/+6 |
| | | | | create new vlans. | ||||
* | Correct some checks and use propper whitespace. | Ermal Luçi | 2008-11-30 | 1 | -10/+10 |
| | |||||
* | Change functions to function nameoffunction() { | Scott Ullrich | 2008-11-21 | 1 | -70/+36 |
| | |||||
* | More pppoe_reset cleanups | Scott Ullrich | 2008-11-21 | 1 | -11/+24 |
| | | | | | | | * Add new function to interfaces.php setup_pppoe_reset_file() which sets up the periodic reset file. Prior to this restoring a config.xml backup would end up with a cron entry with no file! * More text cleanups to make the files readable | ||||
* | * Do not destory enc0 | Scott Ullrich | 2008-11-19 | 1 | -4/+5 |
| | | | | * Only run ifconfig if a real ip and netmask exists instead of ifconfig |