summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
Commit message (Collapse)AuthorAgeFilesLines
* * Create two new functions lock($subsystem)/unlock() to have more reliable ↵Ermal Luçi2009-05-081-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çi2009-05-051-2/+15
| | | | | | interface_translate_type_to_real Move this function to interfaces.inc where it belongs.
* * Teach get_interface_subnet() about carp.Ermal Luçi2009-05-051-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çi2009-05-011-7/+6
| | | | | | interfaces.inc. * Remove the heavy require_once(functions.inc) from interfaces.inc it is really not neededo
* Remove extra $Scott Ullrich2009-04-281-6/+6
|
* Separate delete down actions on ifconfig to fix issues. Add L2TP virtual ↵Ermal Luçi2009-04-261-4/+6
| | | | interafce to a list.
* Fix typo to correctly load interface groups on startup.Ermal Luçi2009-04-261-1/+1
|
* * Move other functions around to where it makes sense.Ermal Luçi2009-04-261-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çi2009-04-261-0/+154
|
* * Make the carp ip fix for ipsec more general so other services that use the ↵Ermal Luçi2009-04-221-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 textChris Buechler2009-04-071-1/+1
|
* Update my copyright.Ermal Luçi2009-04-061-1/+1
|
* Remove debug string.Ermal Luçi2009-04-061-1/+0
|
* * Convert the QinQ code to use a file where the commands are passed. This ↵Ermal Luçi2009-04-031-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çi2009-03-281-6/+157
|
* * Keep only one function to return the mac addressErmal Luçi2009-03-221-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çi2009-03-171-0/+30
|
* Fix http://forum.pfsense.org/index.php/topic,14361.0.htmlErmal Luçi2009-03-091-2/+2
|
* Fix display of DHCP status on Status -> InterfacesChris Buechler2009-03-091-3/+2
|
* Revert "Merge IPv6 changes"Scott Ullrich2009-02-281-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çi2009-02-221-0/+5
|
* Make sure we do not return the interface passed as parameter rather NULL.Ermal Luçi2009-02-141-1/+1
|
* Remove wrong comment.Ermal Luçi2009-02-141-4/+0
|
* Fix delaying of creating composite interfaces like bridge/gre/gif. This ↵Ermal Luçi2009-02-141-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 Ullrich2009-02-151-12/+3
| | | | forever.
* Revert "Back out ipv6 changes"Scott Ullrich2009-02-151-25/+83
| | | | This reverts commit 541b7c561912174b57927839ce39bb7ec9c07ee4.
* Back out ipv6 changesScott Ullrich2009-02-151-83/+25
|
* MPD4 moved the authentication on auth section coorect the settings on PPTP ↵Ermal Luçi2009-02-131-2/+2
| | | | which were forgotten.
* Make L2TP known in other parts of system, schedules and the function ↵Ermal Luçi2009-02-011-1/+1
| | | | get_interface_ip.
* Add more L2TP improvements.Ermal Luçi2009-02-011-0/+3
|
* Correctly add lagg members and create lagg interfaces before vlans to allow ↵Ermal Luci2009-01-201-1/+2
| | | | the later to be created on top of lag.
* Merge branch 'master' of git@rcs.pfsense.org:pfsense/mainlineErmal Luci2009-01-201-17/+71
|\
| * Merge IPv6 changesSimon Cornelius P. Umacob2009-01-201-17/+71
| |
* | Correctly add lagg members and create lagg interfaces before vlans to allow ↵Ermal Luci2009-01-201-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 Luci2009-01-191-2/+2
| | | | Otherwise we might panic as explained in ticket #1864
* Fix the {interface}up checks.Ermal Luçi2008-12-081-3/+3
|
* Fix generation of pppoe reset cron entry. Not sure if this should stay here ↵Ermal Luçi2008-12-081-2/+2
| | | | or go into inteface_pppoe_configure!?
* fix CARP panics with VLANsChris Buechler2008-12-081-1/+12
|
* Don't use broadcast on CARP IPs.Chris Buechler2008-12-081-1/+1
|
* Don't add CARP IPs on an interface that doesn't exist to prevent panic.Chris Buechler2008-12-071-1/+10
|
* Add another parameter to interface bring down which can be used to destroy ↵Ermal Luçi2008-12-071-4/+6
| | | | the interface if it is a virtual/cloned one.
* Temporary Fix for vlan creation issue.Seth Mos2008-12-051-1/+1
|
* Use correct var.Ermal Luçi2008-11-301-1/+1
|
* Add some checks on interface_bring_down and remove unlinking of ↵Ermal Luçi2008-11-301-1/+4
| | | | nameserver.conf it needs some more thinking on how to propperly do that.
* Correct error message.Ermal Luçi2008-11-301-1/+1
|
* It is legitimate to be called with an empty vlanif. The webgui uses this to ↵Ermal Luçi2008-11-301-10/+6
| | | | create new vlans.
* Correct some checks and use propper whitespace.Ermal Luçi2008-11-301-10/+10
|
* Change functions to function nameoffunction() {Scott Ullrich2008-11-211-70/+36
|
* More pppoe_reset cleanupsScott Ullrich2008-11-211-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 enc0Scott Ullrich2008-11-191-4/+5
| | | | * Only run ifconfig if a real ip and netmask exists instead of ifconfig
OpenPOWER on IntegriCloud