summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Fix DDNS domain for static map DHCP entriesPhil Davis2016-08-161-2/+2
| | | | | | If you specify DDNS Domain in a DHCP static map entry, it does not make its way through to dhcpd.conf This is because the var name $pdnscfg is wrong from an old copy-paste that first made this code. (cherry picked from commit a5a55231770e548898b6b1c18146cc0c6631c5c6)
* Code style and commentsPhil Davis2016-08-1638-132/+133
| | | | | | No functional change - just making style consistent (cherry picked from commit 9d3e8723171c727cf43338bd8e95ab2bb7e6a66c)
* Improved solution to #6716Stephen Beaver2016-08-152-1/+3
| | | | (cherry picked from commit 0ed3b15981b4451efb11839d6ee7b9acf1ed1d84)
* Fixed #6716Stephen Beaver2016-08-152-5/+19
| | | | (cherry picked from commit 4d4782fcd7213b5f279cb372853f5fedb07f6178)
* Fixed #6700Stephen Beaver2016-08-151-1/+1
| | | | (cherry picked from commit 40eca7e3a8abdff768e29e310ba945e74fdcfe17)
* Fixed #6710Stephen Beaver2016-08-151-1/+20
| | | | (cherry picked from commit 13b92290e0fa367a76016a15ccf5e76ff77b0706)
* Fixed #6709Stephen Beaver2016-08-151-1/+1
| | | | (cherry picked from commit 3726918df1dc4744bb7ea694ec5c8f40de59d856)
* Fixed #6703Stephen Beaver2016-08-151-1/+1
| | | | (cherry picked from commit e5343844c6de78feafae9e601b25bdf31f114a50)
* Fixed #6706Stephen Beaver2016-08-151-1/+1
| | | | (cherry picked from commit b86938e7e19a09a5b1f3f54825193b57f7c73131)
* Fixed #6705Stephen Beaver2016-08-151-0/+1
| | | | (cherry picked from commit d526fc2d2acc87af2ca829dfe01f0037e3368051)
* Fixed #6701Stephen Beaver2016-08-151-1/+1
| | | | (cherry picked from commit 03fd538eefd641771b6302370b901fe4ace3ab4f)
* Fixed #6704Stephen Beaver2016-08-151-1/+14
| | | | (cherry picked from commit fd778d8bef8ea3b0e5dcc8007de242b6e2ac6d5a)
* Protect package_reinstall_all()NewEraCracker2016-08-121-0/+3
| | | | | | If one restores a config.xml without packages, there will be a warning about invalid argument supplied for foreach(). This commit fixes the problem. (cherry picked from commit 5eda5816d8a7bd05730c70e44493815079925b48)
* Be sure that user_settings for widgets is an arrayNewEraCracker2016-08-121-0/+3
| | | | (cherry picked from commit 5aad73235c1965e9f4c000244ca657ac9d1e4f68)
* Fixed to properly save configs in PPPs interfacesFrancisco Cavalcante2016-08-121-17/+38
| | | | (cherry picked from commit 545a7850ea37cd8c379cc75428353ad0089f2bd3)
* Merge pull request #3095 from NewEraCracker/redmine-6686Renato Botelho2016-08-121-0/+1
|\
| * Ensure extensions.ini is readable by non root usersNewEraCracker2016-08-111-0/+1
| | | | | | | | https://redmine.pfsense.org/issues/6686
OpenPOWER on IntegriCloud