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.
More retooling of get_interface_list(): * We can return the list keyed with either physical or friendly names. * Trim shell calls to 3 for both "active" and "media" types.
Document return values
Return NULL if reserved word is matched (this wasn't a typo)
Merge and fix typo.
Add "media" and "active" arguments to get_interface_list.
Aargh, test before commit!!! smackFixing stupid non-cleaned up copy/paste
Correctly allow a true, false, undef return
Return -2 when a invalid alias name is detected
Fix comment.
Rewrite get_interface_list(). It now grabs a list of interface cloners instead of using a static list, makes fewer shell calls (more noticeable on systems with many interfaces), and does not use the preg engine.
(#458) create reserved word list - we'll stumble over more reserved words in the future
Filter pfsync
Ticket #340
Huh, how did this ever work...isarray->is_array
Check for an array
process ip addresses in addition to aliases
Do not process aliases if none are defined
Detect aliases correctyl
Instead of calling two functions before unlinking, just use @unlink().
Remove duplicate string.
Instead of making 10+ calls to str_replace(), use a single call + array.
remove trailing space
Various code cleanups and a few actual bugfixes courtesy of Zend
fix aliases
Add $Id$ tag
don't attempt to unlink directories
Missing )
Glob returns false. use the original parm
If glob does not return an array, deal with the single filename.
Back out wildcard handling in unlink_if_exists() until I can test it.
Make unlink_if_exists work with wildcards using a foreach and glob().
Update arp table before decide for a missing arp entry
Ignore pflog and plip interfaces.
Create a xml_safe_fieldname function which strips out all of the bad characters that could be associated with a xml fieldname.
Initial revision