summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_l2tp.php
Commit message (Collapse)AuthorAgeFilesLines
* Rework includes/require. This saves about 4 megabytes.Scott Ullrich2009-11-211-0/+1
| | | | Simplify get_memory(). Tested on mips/i386
* Add propper access control to L2TP pages.Ermal Luçi2009-06-181-0/+7
|
* * Create two new functions lock($subsystem)/unlock() to have more reliable ↵Ermal Luçi2009-05-081-4/+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.
* * Hide interfaces internals to other code and use the propper interfaces.Ermal Luçi2009-03-301-1/+1
| | | | | | | Basically use get_interface*() functions instead of accessing fields like 'ipaddr'/'descr' etc... * Make get_interfaces_with_gateway less heavyweight by getting information from the configuration stored in config.xml * Some other missed custom interface list building and substituing with propper get_configured_interface*() NOTE: This should give indipendce on dynamic interfaces on some services that before could not be used on top of this type of interfaces.
* Add secret option required on some setups.Ermal Luçi2009-03-221-0/+14
|
* Fix typo in function name. This caused the page to break off.Seth Mos2009-03-121-1/+1
|
* Use the interface API rather than old style interface list building.Ermal Luçi2009-02-281-5/+1
|
* Remove all global decalarations regarding pptp/pppoe/l2tp they are no more ↵Ermal Luçi2009-02-151-3/+26
| | | | needed.
* Add more L2TP backend code.Ermal Luçi2009-02-011-0/+386
OpenPOWER on IntegriCloud