Remove whitespace and \t
Merge branch 'master' of git://rcs.pfsense.org/pfsense/techneck-auto_interface into review/master
Conflicts: etc/inc/config.inc
Minor header touchups
Merge alias_expand_value and filter_generate_aliases this makes the more sense from functionality. This removes alias_expand_value function as it is not needed in new world order.
Adds automated interface setup + sshd for installation only.
needs to be a global now
Do not allow muting of serial + full install
Do not allow muting of a serial console. The kernel gets very cranky and dishes cannot control tty errors
Include only .inc files. This fixes issues with packages that this function is really used.
Add missing /
If the value is 0 we are not a valid key. Return.
Remove hard line break.
Supress sem_ errors.
Now that vlans have different name correct regex.
Oops, plip was already there, at the bottom.
Add plip exclusion
Hide error.
Do not spam the logs. Reported by http://forum.pfsense.org/index.php/topic,16382.0.html.
Move Sync of config from filter.inc filter_reload to write_config and all the code in a new file rc.filter_synchronize. The later is called by check_reload_status with the tmp/filter_sync action triggered with carp_sync_client() function. This solves the excessive syncing of configs on not needed cases and speedups the filter_configure_sync!
Make CP multi-interface capable.
Rely on our own error handling
More var name fixes.
Make it work.
Move validation of dyndns username to the only place it uses it, the GUI page. There it makes sense. While there add ':' character to allow NO-ip subaccounts.
Move exec_command function to util.inc.
Add function which returns the list of interfaces by realif index.
Show dmesg interface names when first configuring the network
Return interface names in caps
Restore interface ordering to mimic 1.2
Requested-by: Scott
Change this to simple greps for some reason kldstat options do not work on bootup!
Correctly detect processes pid's.
Revert "Merge IPv6 changes"
This reverts commit f193cf92b2c925a2f3f71a713d766efd1e4d81e0.
Merge IPv6 changes
Re-enable the log_error when a command fails.This function accepts a mute flag of false or true. Please use it.
log mwexec if developerspew is on
Do not spam logs
surpress kill output
Surpress killall messages
Add mute argument to mwexec
Correct var types.Add debugging for command execution and log errors when command does not return 0 (succes)
Import format_bytes() from m0n0wall
If anybody needs plip(4) notify me!
Black list lagg.
Blacklist even gre now that we fill entries automatically for these interfaces.
Make things look nicer.
Add support to return even the disabled interfaces if requested.
Correctly return the array when only opt interfaces are requested.
Do not take in consideration not enabled interfaces.
Correct evaluation so we return the lan interface too
Make sure our interface list always has a description
Fix typos and correctly test for the <enable/> setting on optional interfaces.
Add option to return only the optional interface list, some code needs only that.
Begin the work of correcting the interfaces mess all around the code.
Return OpenVPN IP addresses when the alias type is openvpn.
Add process name and id checking functions
Change regex to match valid bandwidth to allow bandwidth with decimal point to be specified.
Adding dnswatch support.
Obtained-from: m0n0wall
Remove trailing space / cr
Do not allow - in aliases. This breaks port aliases.tables are fine with the - and the _. Ports only work with _.
Make sure is_validaliasname uses the same match rules as described inthe aliases edit page. e.g. support the use of - and _ as the errormessage states and HEAD also supports.
MFC: Yes
The earlier fix from today that fixed get_interfaces_with_gateways() created new problem where all interfaces would show up in assign_interfaces screen and other places. Instead of showing them all by default teach get_interfaces_with_gateways() how to extract the complete list.
Only foreach through aliases if they exist
Backport the alias rowhelper description feature
Ticket #1185Check $hostname, not $domain
MFC 15411is_domain(): MS breaks all laws, so unserscores are allowed...
MFC 15402is_domain(): domains must not contain underscores; empty strings are not valid
Do not allow tunX interfaces to be assigned. This royally screws up almost all dynamic providers such as pptp.
Add mac_format() needed for radius
MFC commit [14178]Correctly handle multi-host aliases
Do not include enc with interface list.
MFC 12834create is_valid_shaperbw function - to be used shortly
Relax is_domain() checks to include _
http://forum.pfsense.org/index.php?topic=904.0;topicseen
OpenVPN cleanups by mposch@gmail.com
Woops, don't include brigeX in interfaces assign screen.
Correct warnings and errors found eclipse
MFC get_interface_list() so that NGX and CARPX does not show up in assign interfaces
Do not unlink PID file, we may need it later.
Pointy-Hat-*2: me
Trim the contents when reading in
unlink pid file after kill operation
Use same exec() command when debugging
Use gzsig
Sync get_interface_list() with HEAD
Resolve alias value for rules
Try and prevent the error:Warning: in_array(): Wrong datatype for second argument in /etc/inc/util.inc on line 269
by definging $upints = array(); at the beginning of the function
Fix aliases
return $alias name
return $aliasname
Bugfix.
Remove debugging variable.
Trim one preg_grep() call.