summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Move copyright from ESF to NetgateRenato Botelho2016-09-06464-466/+466
|
* Remove unused file browser.phpRenato Botelho2016-09-062-164/+1
|
* css: Fix jQuery UI widgets' fontJose Luis Duran2016-09-064-8/+24
| | | | | | Use the main font with jQuery UI widgets (e.g. autocomplete forms) (cherry picked from commit e540a9d774f5dfcdd18bf51529932f79f78374a0)
* [theme] Compact-RED: improve hovered table rows visibilityAlexander Moisseev2016-09-061-0/+4
| | | | (cherry picked from commit e5bc38d21b6ac6c419758ecab7b31f7c06a5c53d)
* [theme] Compact-RED: compact panel titlesAlexander Moisseev2016-09-061-0/+8
| | | | (cherry picked from commit 953a88a4482e72764ba6ab7ed9f0ce2b21748506)
* [theme] Compact-RED: make drop-down menus not too "compact"Alexander Moisseev2016-09-061-0/+5
| | | | | | and improve hovered element visibility (cherry picked from commit b8916dccad084ffaa4b402c535f4047fb7a51f3c)
* [theme] Compact-RED: get rid of anti-aliased fontsAlexander Moisseev2016-09-061-0/+1
| | | | (cherry picked from commit 9e1208e5833a81c05f86db31078b0fe6901b70ac)
* Remove some obsolete code from globals.incjim-p2016-09-061-16/+1
|
* Fix handling of backup config count. Fixes #6771jim-p2016-09-061-1/+1
|
* Obscured password field in system_authservers.php bind sectionStephen Beaver2016-09-021-1/+1
| | | | | | Fixed #6759 (cherry picked from commit 1c1f08f92e8841f7282280caeed7613edd810453)
* Merge pull request #3071 from phil-davis/Check_IP_ServicesRenato Botelho2016-09-029-3/+465
|\
| * Backport Check IP ServicesPhil Davis2016-07-209-3/+465
| | | | | | | | Original pull request to master was #3037
* | Force changes in routing to be detected by the systemNewEraCracker2016-09-021-1/+2
| | | | | | | | | | | | When dhcp6c without RA is enabled, dhcp6c isn't killed and respawned, this causes the system not being able to pick up the routing changes. In this case, running the configuration script which fires rc.newwanipv6 solves the problem. (cherry picked from commit f2c9194cdde6458d6d22e83546eb18f1d14fa4ea)
* | DHCP6 Before RA. Additions and ammendmentsmarjohn562016-09-021-26/+15
| | | | | | | | | | | | | | | | | | | | Replaced posix_kill() in kill_dhcp6client_process() with mwexec("kill -9 $pid"), this is because the posix_kill call was not reliably killing the dhcp6c process, kill -9 works every time. Changes to the rtsold script creation. The script lines starting dhcp6c should not have be written to the script when dhcpwithoutra is true. Style corrections, I spend more time doing these than changing code! (cherry picked from commit c4ddb03acbbb4ff2a88162a9afc9e589a6f4d053)
* | Improve dhcpd and dhcpleases reloadNewEraCracker2016-09-022-9/+16
| | | | | | | | | | | | | | | | 1) Avoid running services_dhcpd_configure() more times than needed. 2) Always restart dhcpleases after it's killed during interface recycle. 3) It's not necessary to restart dhcpdv4 when doing changes in ipv6 config. (cherry picked from commit 509e9357df4755a4fe5d1d9b20eda65bafb855e7)
* | Call services_dhcpd_configure with the right parameterNewEraCracker2016-09-021-2/+2
| | | | | | | | | | | | Previously code segment for v4 would call both v4 and v6. Fixed to call v4 and v6 where appropriate. (cherry picked from commit 6756052b595b470ce064a44095ec12ce5abe789c)
* | Uniformize memory limits and remove old code (revised)NewEraCracker2016-09-023-11/+1
| | | | | | | | | | | | | | 1) Allow setting a memory_limit up to 768M (Suhosin) 2) Remove old workarounds. Memory limits on config.inc will be new defaults (cherry picked from commit 7edcc54b2e9d1de51d5e6d0aedade89bc2cf0699)
* | Ensure only one instance of services_dhcpd_configure runs concurrentlyNewEraCracker2016-09-021-0/+4
| | | | | | | | | | | | This way kill and respawn will behave as they should for the dhcpd processes (cherry picked from commit c69ea0051c5549a9db0d092e85b92f78ffb4c978)
* | Fix diag_dns ipaddr set to use in IP WHOIS and IP InfoRenato Botelho2016-09-021-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | - Do not call resolve_host_addresses() when hostname cannot be resolved by gethostbyname(). The old check was considering gethostbyname would return NULL in this case but it returns a string with the hostname passed on parameter - Since resolve_host_addresses() always return an array, look for the first A record to set $ipaddr, which will be used later to link with IP WHOIS and IP Info Based on Pull Request #3100 submitted by @NewEraCracker
* | Removed unused variable $hostnameRenato Botelho2016-09-021-2/+0
| |
* | Input boxes with setPattern validation should not contain escape characters ↵PiBa-NL2016-09-026-8/+8
| | | | | | | | | | | | as they are already properly considered 'lists of characters' even when not escaped. (cherry picked from commit 8ea3fd0569ac2b1681de5ba3fbc2a2cc20981ad6)
* | Outbound nat overview, show alias popup and edit options on source and ↵PiBa-NL2016-09-021-3/+3
| | | | | | | | | | | | destination, for both the address and port. (cherry picked from commit d98e54b215a7798aa0cd9d8432340d6e6df762f5)
* | Merge pull request #3125 from NewEraCracker/patch-net_ipv6Renato Botelho2016-08-311-8/+5
|\ \
| * | Prevent accessing undefined offset in IPv6.incNewEraCracker2016-08-301-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | On perfectly good IPs (eg. 1:2::3:4) this code could cause the following notice: Notice: Undefined offset: 2 in IPv6.inc on line 560 On bad IPs like 1::2::3 it would not result in any notice. This commit fixes the above problem, while making sure that only valid sequences pass validation.
* | | -resolved syntax errorhamnur2016-08-311-4/+4
|/ / | | | | | | (cherry picked from commit 0a6ab475d80b580b09fefaf3ca346b08ec6a23c9)
* | system_dhcpleases_configure() - Improve pidfile handlingNewEraCracker2016-08-291-2/+3
| | | | | | | | | | | | | | | | | | 1) Set the pidfile variable in the correct place. pidfile variable is required in both 'if' and 'else' blocks. 2) Ensure pidfile is valid before sending term signal (cherry picked from commit 4509abc380552554cbdf3f42c6783b47112f245a)
* | Apply the fix for ticket #6589 also into dhcpdv6 configNewEraCracker2016-08-291-0/+1
| | | | | | | | (cherry picked from commit 20350989db5d66ffb827beaed5ef5738cd62fc9d)
* | Indent dhcpd.conf option customPhil Davis2016-08-291-2/+2
| | | | | | | | (cherry picked from commit c507161d557817c1f6f0adbef9ffdbad82115ee8)
* | Fix #6720 DHCP options by poolPhil Davis2016-08-291-1/+32
| | | | | | | | | | | | It is a little bit tricky having to generate the unique "option custom-if-n-m code ..." lines at first where n = pool index and m = item index in the items of the pool. Then make sure to reference that later, getting the same pool index into the array of pools. The $all_pools array as the "overall" or "base" pool first (at index 0), followed by the user-specified pools at index 1, 2, 3,... - which are actually at indexes 0, 1, 2,... in the ordinary array of pools in the config. So the -1 at line 910 has to happen. But it works for me. (cherry picked from commit 285987208f31f38abe35b984b08645d43c11b001)
* | Fix double domain-name-servers for poolPhil Davis2016-08-291-3/+0
| | | | | | | | | | | | | | Add a pool and specify something in 1 or more of the DNS servers boxes for the pool. The "option domain-name-servers 1.2.3.4" line appears twice in dhcpd.conf The first bit of code to do it is at lines 787-799. I have deleted this 2nd time that it is done at lines 854-856. (cherry picked from commit beb9321fcf502b4d7ad27af745c3be9da7f09c6b)
* | Fix #6724 VLAN interface displayed wrongPhil Davis2016-08-291-8/+10
| | | | | | | | | | | | | | in interface assignment script dialog. The str_replace() calls were not smart enough to just get rid of bare "igb1" when "igb1_vlan123" and such like was also in the list. (cherry picked from commit fd020a2d94077cc9c8ee6bac5b3da11e116c84a2)
* | change traffic graphs to use d3.jsJared Dillard2016-08-236-125/+875
| |
* | add visibility jsJared Dillard2016-08-231-0/+1
| |
* | Add a selection for OpenVPN to have no compression preference + ↵jim-p2016-08-221-1/+6
| | | | | | | | comp-noadapt, which is necessary in some client edge cases. Fixes #6739
* | Clean up the text on diag_sockets.php. Fixes #6708jim-p2016-08-221-14/+12
| |
* | Clarify language on diag_tables.php. Fixes #6713jim-p2016-08-221-2/+4
| |
* | Use -l with traceroute6 to show both IP Addresses and Hostnames when ↵jim-p2016-08-221-0/+6
| | | | | | | | resolving hops. Add note about max ttl/hop limit in source comment. Fixes #6715
* | Add output encoding to diag_dns.php for results returned from DNS. Fixes #6737jim-p2016-08-221-4/+4
| |
* | Fixed #6711Stephen Beaver2016-08-222-0/+9
| | | | | | | | (cherry picked from commit ca3dc6c9ac6b6045430779f407a31ed620f5a32d)
* | Fixed #6732Stephen Beaver2016-08-221-8/+20
| | | | | | | | (cherry picked from commit e73770057872aa1f78dfff885f89916e446e2e4c)
* | Fix syntax error on openvpn.widget.phpNewEraCracker2016-08-201-1/+1
| | | | | | | | (cherry picked from commit 516e609ccb7a39fb27f52a69f11eee68f86974df)
* | Use "-C /dev/null" when starting dnsmasq to avoid it picking up an incorrect ↵jim-p2016-08-191-2/+2
| | | | | | | | default config which would override our command line parameters. Fixes #6730
* | Text typos in openvpn.widget.phpPhil Davis2016-08-181-2/+3
| | | | | | | | (cherry picked from commit 8da4847472e03195aeb73a1acedbc27f8af520d1)
* | Revise widget refresh timingStephen Beaver2016-08-182-2/+2
| | | | | | | | (cherry picked from commit 134ee13df54280441c25b047b406628eeebbb8db)
* | Added control to set dashboard widget refresh periodStephen Beaver2016-08-1810-22/+67
| | | | | | | | | | | | | | Start each widget refresh system after a short random delay to prevent all widgets hitting the server at the exactsame time Fix issues wherein two widgets were resetting the refresh timer from the AJAX call, not the call-back function, thereby risking stepping on themselves (cherry picked from commit 512f2c10af716243046bdd08140856bb8e45222b)
* | Completed #6723\Stephen Beaver2016-08-181-171/+219
| | | | | | | | | | | | by making the OpenVPN widget update dynamically (cherry picked from commit f30e6bd49c773de28b5ec143add30fc900e7874d)
* | Add an option to push "block-outside-dns" to clients of an RA OpenVPN. Fixes ↵jim-p2016-08-172-0/+14
| | | | | | | | #6719
* | diag-edit.php: Perform "Goto line #" action on pressing enter key within the ↵Stephen Beaver2016-08-171-1/+10
| | | | | | | | | | | | line number element (cherry picked from commit 86e94becbec130f9eeca5bc94b497ec1167a640a)
* | Fix messup caused by 9d3e872NewEraCracker2016-08-161-1/+0
| | | | | | | | (cherry picked from commit d5b993fc310147d68bc3c3654a512b0ac981ecd2)
* | Tidy up filenamesColin Fleming2016-08-163-3/+3
| | | | | | | | | | | | Make sure the filenames represent the actual file (cherry picked from commit 6173d1f5a5ed50b8c8a8523b1eb6824f7c9c1ae6)
OpenPOWER on IntegriCloud