summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Add lookup table for sysctl tunable (sysctl.inc). Make config.xml values ↵sullrich2009-12-062-3/+47
| | | | default to value 'default' Ticket #71
* Add listtopic and extra save button.sullrich2009-12-061-1/+1
|
* Clear states for an interface if it is down Ticket #8sullrich2009-12-051-0/+10
|
* Hide debugging itemsullrich2009-12-051-1/+3
|
* Cleanup after syncsullrich2009-12-051-4/+19
|
* Latest PPP changes from 'BG'. Reformat this royal mess of formatting while ↵sullrich2009-12-052-4/+7
| | | | I am here.
* Add page global variablesullrich2009-12-041-1/+1
|
* Run git cleansullrich2009-12-041-0/+1
|
* No need for duplicate commandsullrich2009-12-041-2/+0
|
* Fix typo in prev. commitjim-p2009-12-041-2/+2
|
* Set firmware_update_text properly for the platformjim-p2009-12-041-1/+3
|
* Adding patch from "G B":sullrich2009-12-041-70/+90
| | | | | | | | | | | | | | | | | First, I update the get_real_interface function so that it returns just the serial port for the ppp device (instead of ppp_<serial_port>) when the ppp link is not up. This makes the function more useful because now you can call the "interface_ppp_configure" function and pass in the the result of "get_real_interface($wan)" for example. I also changed the method that the "get_real_interface" function uses to get the tunnel interface name when the ppp link is up. I found that when my 3G modem was in a low signal area, the ppp link would come up partially, and not receive an IP address. If this occurred the web GUI would report that my WAN interface was "pflog0" because the method of chopping up the "ps aux" and "ifconfig" system calls didn't account for the tunnel being partially up (ppp running, but no connectivity.) The userland ppp program puts two files into /var/run when it is running. One is /var/run/<serial_device>.if which contains the interface name that the serial device is attached to, and the other is /var/run/tunX.pid which is the process id for the ppp instance using "tunX." These two files are more simple and reliable methods of controlling and figuring out what's going on with the ppp link. Second, I added a function to interfaces.inc called "interface_ppp_bring_down" which figures out the pid using the /var/run/tunX.pid file and sends a kill -QUIT signal to the ppp process. Third, I modified interfaces_ppp_configure and interface_ppp_configure functions so that 1. The ppp interface is not brought up automatically when you save the configuration because this presents problems for defining ppp.conf entries for diagnostic purposes. 2. You can call interface_ppp_configure from other functions (like interface_configure($interface)) and not have to write the ppp.conf file to the disk when you just want to bring the link up. Fourth, I added "interface_ppp_configure($realif)" to the function definition of "interface_configure" and "interface_ppp_bring_down" to the function definition of "interface_bring_down". These allow good integration into the existing code for bringing interfaces down and up from the status_interfaces.php page. Finally, I modified the status_interfaces.php file so that you get a button to "connect" and "disconnect" the ppp wan link.
* Ticket #146 Fix typos ansd copy/pasto errors.Ermal Luçi2009-12-041-6/+2
|
* Reset to HEAD on non mastersullrich2009-12-031-3/+3
|
* Use git reset --hard HEADsullrich2009-12-031-1/+5
|
* Recommit #161 changes. It appears a different commit has broken firewall ↵sullrich2009-12-032-0/+4
| | | | rules edit and firewall nat edit.
* Revert "Redirect to / when logging in to avoid posting to forms accidently ↵sullrich2009-12-032-5/+1
| | | | | | and clearing the form and causing all kinds of chaos. Ticket #161" This reverts commit 6af7c40b296e0f95ec308d41aea55b3306c5e1ee.
* Redirect to / when logging in to avoid posting to forms accidently and ↵sullrich2009-12-032-1/+5
| | | | clearing the form and causing all kinds of chaos. Ticket #161
* Start syslogd after interfaces are configured. Ticket #196sullrich2009-12-031-3/+3
|
* Uncomment code and move to checkout tree after intiial fetchsullrich2009-12-031-8/+5
|
* Do not download entire tree every time, use cached versionsullrich2009-12-031-10/+10
|
* Use preload.phpsullrich2009-12-031-1/+1
|
* Sleep for a second in beweensullrich2009-12-031-0/+2
|
* Prefetch index.php after starting webConfigurator and send it to /dev/null ↵sullrich2009-12-031-0/+3
| | | | allowing the priming of the apc cache
* Turn off debuggingsullrich2009-12-031-1/+1
|
* dnsmasq defaults to 150 concurrent lookups. For some environments (large) ↵sullrich2009-12-031-1/+1
| | | | this is not enough. Increase to 5000
* Add system and VPN areas to user item privssullrich2009-12-031-5/+5
|
* Nuke comment. its giving me a migrane with the header include problem for ↵sullrich2009-12-031-4/+0
| | | | some reason and is being cached
* Add priv.defs.inc to authgui.incsullrich2009-12-032-11/+17
|
* Load pkg privs from /usr/local/pkg/priv if it existssullrich2009-12-031-3/+4
|
* Roll custom run_plugins routinesullrich2009-12-031-1/+26
|
* Make item a globalsullrich2009-12-032-3/+2
|
* Do not output plugin name during boot:sullrich2009-12-031-5/+2
|
* remove closing php bracketsullrich2009-12-031-1/+1
|
* Require util.inc for run_pluginssullrich2009-12-031-0/+2
|
* Rename isAllowedPageUser() to isAllowed(). Add and move user priv items to ↵sullrich2009-12-032-29/+34
| | | | /etc/inc/user.priv.inc. New privs can be added to this /etc/inc/priv/ directory and they will be automatically processed (packages, etc).
* Simplify and fix available memory calculation to fix shell script errors on ↵Seth Mos2009-12-031-3/+3
| | | | | | boot. Fix spelling error in comment
* Prevent bootup code from dying on empty load_balancer arraysSeth Mos2009-12-031-1/+3
|
* Extra protection to prevent empty load_balancer arrays on configuration upgradesSeth Mos2009-12-031-1/+7
|
* Resolves #146 Add propper validation on alias usage. Allow port type aliases ↵Ermal Luçi2009-12-031-24/+28
| | | | only on port side and other aliases in ip specifications and similar. Introduce a new function is_portoralias to ressemble the is_ipaddroralias to check for the cases.
* Fix missing include for config upgrade 1.2 -> 2.0Seth Mos2009-12-032-2/+4
| | | | Fix missing include for /etc/rc.reload_all
* Revert isAllowedUser commit and duplicate function to isAllowedPageUser()sullrich2009-12-021-3/+24
|
* Check to see if processes are running before killingsullrich2009-12-023-6/+13
|
* Check to see if syslogd is running before killingsullrich2009-12-021-1/+2
|
* Check to see if powerd is running before killingsullrich2009-12-021-1/+2
|
* Revert "Turn off xauth by default. Ticket #108"sullrich2009-12-021-2/+2
| | | | This reverts commit 7998c3f280370991beca62c6a99ae6dd6051228a.
* Set 2nd parameter for isAllowedPage. Will be required for #34, 33, 32sullrich2009-12-023-3/+3
|
* fix errorsullrich2009-12-021-1/+4
|
* Reload tunnel policies Ticket #137sullrich2009-12-021-3/+3
|
* Add carp support for OpenVPN. Ticket #69pierrepomes2009-12-021-1/+7
|
OpenPOWER on IntegriCloud