Update /etc/ttys from new partition when upgrading nanobsd, and in this case do not call reload_ttys(). It should fix #4140
Remove unused variable
Remove these booting settings since are useless
Show Mtu on status interfaces.
Be friendly to large interface systems
Fixes #1047, overhaul handling of flags for hardware offloading and make it work correctly for system_advanced page settings. Lagg is still a special case that needs a reboot.
Make proper check if IP address is configured on another interfaces and ignore current one. It fixes #3807
find_dhclient_process() returns an int, not string
Convert almost all /sbin/sysctl calls to php functions
Back to cons25 for now since we found some issues with xterm on serial console
More refinements to the unofficial package repository warning ( Issue #484 ) -- Now also shows on Dashboard and installed package list. Cleaned up some code and shuffled things around to avoid unnecessary repetition.
Set proper serial parameters on boot.config and loader.conf for nanobsd without vga
Make proper checks to check if we should or not enable serial console
Fix typo on var name
Fix #3647 and other improvements:
- Remove auto_login(), now gettytab is a constant file- Add reload_ttys(), that will send a SIGHUP to init and make it reload /etc/ttys- Change serial speed on /etc/ttys when necessary- Change console and serial auto_login on /etc/ttys when necessary...
Set default serial speed to 115200 for 2.2, fixes #3715
/etc/version_kernel and /etc/version_base no longer exist, use php_uname to get the info instead.
Changes to make it work behind a bluecoat proxy - added a user agent, and changed url scheme
Oops specify mode of operation to fopen
Make the alias url processing functions not memory hungry!
Rewrite update_alias_url_data to be with small memory footprint. Also return the status if an update is performed to callers and remove the write_config call embedded here since its not good to have this by default.
Signal a reload if anything got updated
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