summaryrefslogtreecommitdiffstats
path: root/usr/local
Commit message (Collapse)AuthorAgeFilesLines
* Adding code-red theme from cheesyboofs via forum. ↵sullrich2009-12-04235-0/+5096
| | | | http://forum.pfsense.org/index.php/topic,14282.0.html
* Adding patch from "G B":sullrich2009-12-041-0/+14
| | | | | | | | | | | | | | | | | 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.
* Make all autocompletes in there case insensitive.Ermal Luçi2009-12-044-8/+8
|
* Ticket #146 Fix typos ansd copy/pasto errors.Ermal Luçi2009-12-041-11/+11
|
* Lower buffer to 1000. This reduces page load from 1.2 to 0.9sullrich2009-12-031-1/+1
|
* Really preloadsullrich2009-12-031-3/+3
|
* Die with an error if not 127.0.0.1sullrich2009-12-031-1/+1
|
* Include config.inc, toosullrich2009-12-031-0/+1
|
* Use preload.phpsullrich2009-12-031-2/+55
|
* Increase buffer to 500000sullrich2009-12-031-1/+1
|
* Oops, unbreak tdsullrich2009-12-031-1/+2
|
* Fixup Source OS boxsullrich2009-12-032-4/+3
|
* Minor formatting + hide Source OS behind Advanced boxsullrich2009-12-032-22/+35
|
* Style / formatting changessullrich2009-12-031-94/+81
|
* Show advanced option instead of Show state for every entrysullrich2009-12-031-9/+9
|
* Hide layer7 and in/out behind advanced buttonsullrich2009-12-032-2/+24
|
* Add priv.defs.inc to authgui.incsullrich2009-12-031-1/+1
|
* Rework includes a bitsullrich2009-12-032-3/+1
|
* Make item a globalsullrich2009-12-031-1/+2
|
* Make xmlrpc sync, schedule, gateway, in/out, ackqueue and layer7 all ↵sullrich2009-12-032-106/+155
| | | | advanced type buttons simplifying the firewall rule edit form for 99% of the cases
* Resolves #146 Add propper validation on alias usage. Allow port type aliases ↵Ermal Luçi2009-12-032-10/+10
| | | | 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.
* Include priv.incsullrich2009-12-031-0/+1
|
* Add carp support for OpenVPN. Ticket #69pierrepomes2009-12-022-1/+7
|
* Show all widgets. Remove - button as there is no save mechanism at all for ↵sullrich2009-12-021-11/+2
| | | | this widget.
* Formatting cleanups. Increase buffer sizesullrich2009-12-023-96/+82
|
* Unbreak auto ugprade. Resolves #181sullrich2009-12-021-1/+1
|
* Add a few more commands for the lazysullrich2009-12-021-0/+2
|
* Add tab completionsullrich2009-12-021-1/+26
|
* Restore lost code. Noticed-by: Ermalsullrich2009-12-021-3/+20
|
* Disallow virtual IP addresses withing the range Ticket #50sullrich2009-12-021-4/+9
|
* Restore the external port range to. Resolves #192sullrich2009-12-021-0/+2
|
* Correctly set vtable classsullrich2009-12-021-1/+1
|
* Show correct availavble usable range and disallow using network or broadcast ↵sullrich2009-12-021-6/+15
| | | | address. Ticket #145
* Do not allow broadcast or the network address in the rangesullrich2009-12-021-26/+19
|
* Move { and } to same line.sullrich2009-12-021-6/+3
|
* Combine PPTP Server subnet and clients. Code imported from m0n0wall. ↵sullrich2009-12-021-35/+27
| | | | Ticket #139
* Put back a wrongly removed line.Ermal Luçi2009-12-021-0/+2
|
* Reload dnsmasq after domain changes. Ticket #201sullrich2009-12-011-1/+0
|
* Reload dnsmasq after domain changes. Ticket #201sullrich2009-12-011-12/+13
|
* Ticket #146. Fix the autocompletion of ports aliases only for the ports and ↵Ermal Luçi2009-11-302-18/+17
| | | | host/network aliases for the src/dst. Checking if a valid alias is entered end if it is a correct one for this box seems like to much overhead and work for this. (For firewall_nat_edit.php)
* Ticket #146. Fix the autocompletion of ports aliases only for the ports and ↵Ermal Luçi2009-11-302-15/+13
| | | | host/network aliases for the src/dst. Checking if a valid alias is entered end if it is a correct one for this box seems like to much overhead and work for this.
* Resolves #138 Add propper input validation to aliases. Do not allow to ↵Ermal Luçi2009-11-301-5/+14
| | | | nested different types of aliases. Do not allow on ports to enter something that is not in the range 0-65535.
* Define full path to binariessullrich2009-11-291-2/+2
|
* Remove Headersullrich2009-11-291-1/+0
|
* Post against reboot.php and reboot instead of reinventing the wheel. Ticket ↵sullrich2009-11-291-6/+9
| | | | #191
* Do not show reboot notices twice. Resolves #191sullrich2009-11-291-10/+7
|
* Fix ' in alias description. Confirmed working fix for ticket #143jim-p2009-11-291-1/+2
|
* Notate what code does and remove XXXsullrich2009-11-291-1/+4
|
* clarify what is valid for input errors on hostnameChris Buechler2009-11-283-3/+3
|
* Make the graph IDs z-index: 1, which seems to fix it overwriting the menu. ↵jim-p2009-11-2810-87/+7
| | | | Tested on FF and Opera. While here, remove redundant graph ID declaration. Fixes #35 on 2.0.
OpenPOWER on IntegriCloud