Use wider display for pftop to fill up dead area. Output still looks OK with narrower terminals as well.
Some views were omitting important info at the narrower width
Add a workaround to umount virtual image directories
Revert "Implement _umount() for cases where filesystem umount doesn't work"
This reverts commit 89e9960e34737c027d7fb0516d7183dc0a37f391.
Revert "Use _umount()"
This reverts commit c09203c2ba6bf10332fe432b72e7e57c2f20cf18.
Use _umount()
Implement _umount() for cases where filesystem umount doesn't work
Declare $config as a global in guiconfig.inc csrf_startup() function, to properly respect the timeouts. Ticket #6803
Apply #601 fix to firewall_nat.php
(cherry picked from commit 4b0815f38a8a0f98519ca0c2bff7c81b6464e579)
Fixed #6801
(cherry picked from commit 00098bc80b6f85eb74f2f3bc2b4eb7430614110d)
Do not show certificates in drop-down list that are already contained in this CRL.
Move pkg repo templates to main repo
Add missing \) and fix syntax
Extra "S" fixed - thanks @rbgarga(cherry picked from commit d20b69c529654f2b5d4adf9ab2bba5116f980c64)
Add OpenVPN key lengths to Wizard - missed in original PRs
Original PRs and rationale:
Sanitize 'zone' parameter on CP pages
Show a little more key info in main info table
Prepare pfSense-upgrade to work with new major OS upgrade
Add 'now' parameter do do_reboot() to force it to happen immediately
Make pkg_lock() and pkg_unlock() work with wildcards
Merge pull request #3137 from NOYB/Secure_SMTP_Connection_Modes_-_Mutually_Exclusive
Create also an altabi file on repo package
Replace %ARCH% by arch on ABI file
Correct indentation.
Fix variable name
Fixed #6786 by making table sortable
(cherry picked from commit e846d7f882d57331d7ead5fcf593e7e4daf7e247)
Distribute a file containing ABI of each repo
Simplify logic and remove duplicated code
Simplify icmp conversion
pprior code "converts" every icmp type - of which only 3 actually get changed (rest keep same value anyhow!). If also uses a SWITCH {} construct rather than lookup + foreach, which is longer and less efficient.(cherry picked from commit 0ce1667bc6fe80ef8e6b4d0d6d38d9859d5f4d94)
Use !empty() instead of isset()
(cherry picked from commit 6a9d1bfc5c90011af10a1704231340a42fa9f51d)
Improve handling of source-hash key
- Store the source-hash key in its own config field.- Validate the provided source-hash key. Check that hex string input is of the form "0x" followed by 32 hexadecimal digits. Any other string not starting with "0x" is hashed using md5 and stored as "0x" followed...
Add field to specify source-hash key
The source-hash pool option uses a hash of the source address todetermine the translation address. This hashing algorithm is also fed akey, which unless specified defaults to a random value. This randomvalue is then generated each time pf is reloaded....
Merged #2975
Revised service running/stopped icons
(cherry picked from commit a03162c874c4e52e6cae52c2eefce87118fd90d2)
Fixed #6788 by clearing only the first label in the cloned row
(cherry picked from commit d38d215d1d9429d3a1a15708f92b14cf3a15b247)
Secure SMTP Connection Modes - Mutually Exclusive
Secure SMTP Connection modes are mutually exclusive. Select only one.
Fix #6768 IPv6 static mapping on delegated prefixes
For example, WAN receives a /48 delegated from the upstream (ISP...),e.g. "2001:470:abcd::" pfSense then uses this as a starting point tocalculate the addresses on LAN, OPT1, OPT2 etc where they have been...
Code style changes
(cherry picked from commit b2836666a8e7fc021ea750fafc8fc6e8097d52ff)
Allow packages to request syslogd log socket to be created inside chroot by specifying it in /package/logging/logsocket element. Implements #4898.
Example:<package> <logging> <logsocket>/var/appname/var/run/log</logsocket> </logging>...
Enable cellular pkg build
dnsresolver, make interface boxes resizable, to allow for easier picking/checking of multiple selected interfaces
(cherry picked from commit 57625777c88603f1d2ca55cc981c5ec538c3770f)
Fix diag_dns regressions
After testing diag_dns behaviour some regressions have been noticed.
1) Looking up ipv6.google.com (it only has AAAA records) doesn't work - gethostbyname() only supports v4, ipv6.google.com only has v6 - this bug was recently and inadvertently introduced...
Remove empty concatenation.
(cherry picked from commit a25c797a44e5cd2480947eb5ae427dcb8e0c031c)
Check IP Services - Info Box
Change warning box with dismissal to collapsible info box.
(cherry picked from commit 6f3ac947b2a83f18ade12ad9876fb8d75a9ff3a2)
Fix up/catch up remote syslog areas. Fixes #6780
More pptp bits
Remove some more dangling PPTP bits.
Fix description of the VPN remote log setting
Move copyright from ESF to Netgate
Revert "Remove unused file browser.php"
This reverts commit 48ffade7502839380cc6046187e0c1447723d67a.
Remove unused file browser.php
css: Fix jQuery UI widgets' font
Use the main font with jQuery UI widgets (e.g. autocomplete forms)
(cherry picked from commit e540a9d774f5dfcdd18bf51529932f79f78374a0)
[theme] Compact-RED: improve hovered table rows visibility(cherry picked from commit e5bc38d21b6ac6c419758ecab7b31f7c06a5c53d)
[theme] Compact-RED: compact panel titles
(cherry picked from commit 953a88a4482e72764ba6ab7ed9f0ce2b21748506)
[theme] Compact-RED: make drop-down menus not too "compact"
and improve hovered element visibility
(cherry picked from commit b8916dccad084ffaa4b402c535f4047fb7a51f3c)
[theme] Compact-RED: get rid of anti-aliased fonts
(cherry picked from commit 9e1208e5833a81c05f86db31078b0fe6901b70ac)
Remove some obsolete code from globals.inc
Fix handling of backup config count. Fixes #6771
Obscured password field in system_authservers.php bind sectionFixed #6759
(cherry picked from commit 1c1f08f92e8841f7282280caeed7613edd810453)
Merge pull request #3071 from phil-davis/Check_IP_Services
Force changes in routing to be detected by the system
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....
DHCP6 Before RA. Additions and ammendments
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....
Improve dhcpd and dhcpleases reload
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 parameter
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)
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 concurrently
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 Info
- 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...
Removed unused variable $hostname
Input boxes with setPattern validation should not contain escape characters 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 destination, for both the address and port.
(cherry picked from commit d98e54b215a7798aa0cd9d8432340d6e6df762f5)
Merge pull request #3125 from NewEraCracker/patch-net_ipv6
-resolved syntax error(cherry picked from commit 0a6ab475d80b580b09fefaf3ca346b08ec6a23c9)
Prevent accessing undefined offset in IPv6.inc
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.
system_dhcpleases_configure() - Improve pidfile handling
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 config
(cherry picked from commit 20350989db5d66ffb827beaed5ef5738cd62fc9d)
Indent dhcpd.conf option custom(cherry picked from commit c507161d557817c1f6f0adbef9ffdbad82115ee8)
Fix #6720 DHCP options by pool
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....
Fix double domain-name-servers for pool
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.confThe 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....
Fix #6724 VLAN interface displayed wrong
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)
add cpu stress tester and bird to arm build
change traffic graphs to use d3.js
add visibility js
Add a selection for OpenVPN to have no compression preference + comp-noadapt, which is necessary in some client edge cases. Fixes #6739
Clean up the text on diag_sockets.php. Fixes #6708
Clarify language on diag_tables.php. Fixes #6713
Use -l with traceroute6 to show both IP Addresses and Hostnames when 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 #6737
Fixed #6711
(cherry picked from commit ca3dc6c9ac6b6045430779f407a31ed620f5a32d)
Fixed #6732
(cherry picked from commit e73770057872aa1f78dfff885f89916e446e2e4c)
Fix syntax error on openvpn.widget.php
(cherry picked from commit 516e609ccb7a39fb27f52a69f11eee68f86974df)
Use "-C /dev/null" when starting dnsmasq to avoid it picking up an incorrect default config which would override our command line parameters. Fixes #6730
Text typos in openvpn.widget.php(cherry picked from commit 8da4847472e03195aeb73a1acedbc27f8af520d1)
Revise widget refresh timing
(cherry picked from commit 134ee13df54280441c25b047b406628eeebbb8db)
Added control to set dashboard widget refresh periodStart each widget refresh system after a short random delay to prevent all widgets hitting the server at the exactsame timeFix issues wherein two widgets were resetting the refresh timer from the AJAX call, not the call-back function, thereby risking stepping on themselves...
Completed #6723\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 #6719
diag-edit.php: Perform "Goto line #" action on pressing enter key within the line number element
(cherry picked from commit 86e94becbec130f9eeca5bc94b497ec1167a640a)
Fix messup caused by 9d3e872
(cherry picked from commit d5b993fc310147d68bc3c3654a512b0ac981ecd2)
Tidy up filenames
Make sure the filenames represent the actual file
(cherry picked from commit 6173d1f5a5ed50b8c8a8523b1eb6824f7c9c1ae6)
Fix DDNS domain for static map DHCP entries
If you specify DDNS Domain in a DHCP static map entry, it does not make its way through to dhcpd.confThis is because the var name $pdnscfg is wrong from an old copy-paste that first made this code.(cherry picked from commit a5a55231770e548898b6b1c18146cc0c6631c5c6)