Merge the patch suggested in Ticket #3629. It also Fixes #3629. The question is why this is using config lock? Also where is filter configure called here?
Be smarter at using kenv
Do not use the version_kernel ad version_base files since they are not relevant anyway
Change default charset on pages to utf-8
fix plugin method for packages to allow for multiple plugins in an 'item' array as 'plugin' is not allowed as array item by xmlparse.inc
use xmlrpcbaseurl here too, not product_website
we actually use xmlrpcbaseurl here, not product_website
-renamed function to pkg_call_plugins-added is_array()-added function header text-replaced fixed 'plugin_carp' by $plugin_type to allow for generic use
rc.carpmaster/rc.carpbackup notification method for packages.
Fix #3469
Before downloading file to process urltable, there is a random waittime between 5 and 60 seconds. Because of this, the difference betweenfile mtime and current time can be less than $freq * 86400 and it'll beskipped. Add 90 seconds (60 of max random wait + 30 just to be sure) to...
Add a knob to let the user select which console (video or serial) is preferred in cases where there are multiple consoles present. Also provide a way to force this preference.
Add a mechanism by which the serial port can be forced on always regardless of the config setting. (useful for nano+vga setups)
Add escapeshellarg() calls on exec parameters. While I'm here, replace some exec() calls by php functions like symlink, copy, unlink, mkdir
Add path for sysctl, also use -n param instead of awk
Simplify logic
Replace regex by explode as suggested by Ermal
Fix FreeBSD version detection for 10.x
Use _vip as identified for CARP vip IPs to allow easier upgrade code. This way only ipaliases on carp need to be upgraded.
Handle more carp enahancements for FreeBSD 10. the interface vips will be names $if@$vhid since the interface name is the same as other ips.
Remove references to _vip interface and provide proper configuration for carp on FreeBSD 10. Still some places to deal with this and certainly missing upgrade code
Provide get_uptime_sec in a common include file
so it is available to anything that cares.
Use hw.physmem when calculating pfsense_default_state_size
hw.physmem is the actual amount of memory that FreeBSD/pfSense can get its hands on, so use this for the calculation.
Fix #3113, fix multiple english spell errors s/seperet/separat/
Implement URL Table aliases for ports instead of IP addresses
Use download_file() and check ssl certificates
Remove useless code
Create a function to download a file using curl
Merge pull request #628 from technical50/master
WebGUI Auto Codeset and Language Dynamics & pfSense.pot updates
Last element is always empty, be sure we drop it
Make add_hostname_to_watch return ips it's adding to later use
Fix indent and whitespace
Fix comment to reflect what function current returns
Include Codeset and turkish language
include codeset and turkish language for next snapshots
Revert "Add Turkish to the list of available languages, fixes #2986"
Will be done again for 2.2
This reverts commit 705950edbc09270fccbec0c5d8dd99b004704c6e.
Add Turkish to the list of available languages, fixes #2986
Fix isvm check to match on product
Merge pull request #466 from stilez/master
Fix issue in version_compare that can cause versions to be wrongly marked incompatible
Tidy up "pfsense-utils.inc" XHTML
Add type to SCRIPT tagAdd CDATA section to SCRIPT tags
Use is_module_loaded() to test these to avoid code duplication.
The default gateway for 6rd type is $prefix|$wanv4::$wanv4gw. Also add support for variable length v4 prefix for 6rd
Fix the Cellular strength indicator, rssi was always reporting 8 because we didn't use the variable.The dBm values array was reversed, corrected
version_compare_dates(): typo $$a
Fix doubled $
Teach is_ipaddr_configured to check ipv6 for single IPs. While I'm here, reduce code duplication
CARP IPs were being checked twice in some cases. Fixes #2823
Also do checks for ipv6 on is_ipaddr_configured
Two interfaces, carp, ip aliases might be on the same subnet as their parent. What needs to be checked is the ip itself
Check interfaces and VIP IP address overlap
- Check if interface IP overlaps other interfaces or localip from mpd based services- Check if VIPs IP overlaps interfaces or other VIPs address
It fixes #1723
Avoid duplicate hw.usb_no_pf entry on loader.conf
Hide usbus# from interfaces list. Fixes #2306
Create link_interface_to_track6 to make code more readble and easily trackble. Also improve the generation of rules to avoid creating problems during filter reload and some optimizations with it
is_ipaddr_configured() now returns VIPS
Fix indent
Fix whitespaces and indent
Catch up with code change. Pointy-hat: myself
Correctly generate dhcpleases file to avoid issues with dhcpleases. Also while here correct code and make some optiomizations and corrections
Revert part of 0ff214f27d that was committed accidentally
Preserve "Idle timeout" parameter on interfaces gui. It fixes a problem pointed out on ticket #2641
Merge git pull request 313 from bcyrill with some modifications
Add some backend support for writing out a config so that the dhcp6 server can listen on the required MPD pppoe server interfaces.Also nuke the failover entries, these don't exist for IPv6, this is handled by 2 servers and differing priorities
Remove unused function
Always commit the session fast to allow other consumers to proceed to their requests. This unbreaks now the lock up the GUI had allowing only one action from same source per time. Now even if you run a command that blocks indefinitely for example the GUI want lock anymore but allow you to proceed to other actions
Minimise rewriting of /etc/gettytab
See forum http://forum.pfsense.org/index.php/topic,57325.0.htmlAvoid possible problems with having a partial /etc/gettytab file by not rewriting it at every boot.
Fix in/out packet count reporting
There were a couple of wrong var names in the code, causing out packet counts to be reported wrong.Should fix forum post http://forum.pfsense.org/index.php/topic,55933.0.html
Send just line return rather than newline
No need for these other lines on nanobsd, and it can interfere with booting on some devices.
Add another test here for Nano+VGA to preserve the console selection.
Fix bug reported in http://forum.pfsense.org/index.php/topic,53000.0.html
Tidy console package install progress percentage
This makes the file download percentage progress come out at the end of the line. New values are updated by using backspaces to rub out the previous value.
Remove comments which may begin with a ';' so URL Table entries like SpamHaus' drop list can be used
Minor fix to percentage output on pkg install
A variable not changed in a cut-paste.When on console, update_progress_bar should also only be called for 1-9 then every 10% progress, to reduce serial output volume.
Tidy up percentage logging to console
When on the console, the code only intended to update the percentage downloaded every 10%. Due to string-and-int type differences, the test was not working, all percentages were being logged. This is fixed.Also, add a newline after 100% - then whatever outputs next gets a clean start on a new line of output....
To not clobber the console add \r when outputing status information on console
99./8 is not private IP space
Add the new 100.64/10 nat 444 CGN/LSN shared transition space netblock here. Also add it as a private network in the private network block
Be more verbose during upgrade to see why nanobsd isn't carrying over the setting as expected.
Move locale files from /usr/share to /usr/local/share
Add an option to System > Advanced, misc tab to enable loading thermal modules (amdtemp, coretemp)
Fixup serial console settings that get applied to nanobsd. Fixes #2484
Change ereg_replace() to preg_replace() function
Change ereg() to preg_match() function
Brazilian Portuguese (pt_BR) translations added
Add radvd to Status:Services #2485
Generalize the Crypto hardware option and add GUI support for AES-NI.
Get rid of carpdev, it will never be
Add statistic functions for the ZTE modems
Add a knob to tune the maximum number of tables that can be defined, the pf default of 1000 is too low for systems with >500 aliases.
Conflicts:
etc/inc/filter.inc
Be a bit smarter about the stats interface for the huawei cards. Some of the K series have the stats on 0.2, the E series on 0.3Some of the older E series only have 0.2 too. The new K3770 I got today is too new.
Add more functions and expand the 3G status interfaces screen.List the SIM state, service, speeds and mode
Add the 3G mode display, really needs a function that translates these into sane display numbers for strength and mode.The mode is actually a combination of LED color 4 = blue(idle), 5 = cyan(connected), and submode 7 = HSDPAI need to find some proper documentation, really.
Read in the correct interface file
Add 3G statistics for Huawei modems, split the Cellular stats out to per interface instead of global.
- also rename $section arg to $section_name in some functions to clarify
- also robustify parsing for <tagname> and bulletproof the handling of certain errors
quiet change: fix indentation of xml2array function
i.e., tabs instead of 4 spaces
Prevent duplicate 6rd or 6to4 interfaces, these conflict and both use the stf0 adapter. Only 1 can be active.Move piece of code into function, we need it more places, tighten rules for proto 41 traffic.Attempt to micro optimize the select box for large amounts of choices. Chrome likes this approach better.
Automatically configure DHCPv6 servers for interfaces set to track6 another WAN.If the prefix length permits it we setup DHPP-PD for the LAN clients so it can be daisy chained.
Add interface tracking support. With this it is now possible for dynamic IPv6 interfaces to setup the corresponding lan interface for RA.DHCP6 with prefix delegation to follow later for automatic daisychaining.
An empty file is created so that the table is availblke for rules refrencing it so mark it as successful.
Prevent ruleset breaking from grep putting garbage on urltable files and as a result creating unparsable files breaking rulesets