Revert.
Use mwexec_bg()
do not bg item
Woops, missing ; due to lack of closing )
Fire up dhclient in the background
Add optimization to pkg_fetch_recursive.
Remove a debug line.
Properly squash bytes down to a reasonable unit.
Don't count duplicated dependencies.
Add functions to determine the amount of space a package will take to install, taking already installed dependencies into account.
Import dhclient fixes.
Super-sleuthing-by: _knight
Bring wan interface up before starting dhclient
Clarify that a user should disconnect all ethernet interfaces before enteringauto detect sequence
Remove debugging code
Uncomment code.
Do not load config.inc twice.
remove trailing psace
debugging lines
versioncheck -> xmlrpc
Remove auto_update(). This is now handled by system_firmware_auto.
parse_xml_config_pkg -> parse_xml_config.
parse_xml_config_pkg -> parse_xml_config
safe_mkdir: Use make_dirs for recursive directory creation and run even if on the cdrom platform.
Add debug for installing configuration directive
Debugging lines for cdrom build
Alert when resetting factory defaults
remove stale code
Do not run config_backup() atm until cdrom issues are cleared up
return false if cdrom platform
Do not umount on cdrom platform
if platform is cdrom do not attempt mkdir
do not mount on cdrom platform
Correct a bug where Channel was not being applied.
Fix a really stupid typo.
Return an empty array if the XMLRPC transaction is unsuccessful.
Initialize the $evaled array if it doesn't exist.
Style cleanup.
Fix a syntax error.
Tickets #160, #158
Send stderr to stdout when extracting archives. This should address ticket #162.
File notices if package information isn't found.
Use strtolower when comparing categories.
Add notices facility. You may now: * File a new notice. * Dump notices to an XML file. * Close notices by timestamp or ID. * Get all notices or those in certain categories. * Print a list of notices (for print_info_box()).
Initial commit of dnsmasq domain overrides
Submitted-to-m0n0wall-dev-by: Joe Suhre
The patch adds the ability to make use of dnsmasq's --server=/domain/auth_server ARG inorder to force queries for domain to a specific dns server rather thendoing a full recursive query
Note that these values can be overriden in config.xml
Allow maximum PPTP clients to be overridden by:pptp->n_pptp_unitspptp->n_pptp_units
Correctly pass the current wan to pftpx
Uncomment the redirect pptp rule.
Correctly start pftp on pppoe and similar type connections
Make is_service_running() work as it should
Add 10 second timeout to get_pkg_info. This may fail in interesting ways if it times out.
Fix various nagging package issues.
rmdir_recursive: Handle single files and remove an extra foreach.
Make sure we remove the package's XML file.
Fix a typo. This broke package deinstallation.
Brute force delete a package if it still exists after unlink_ifexists()... the item in question is most likely a directory.
Don't attempt to run package deinstall commands if the package XML hasn't been parsed (or it doesn't exist).
Honour the custom_php_deinstall_command which is in about 90% of our packages!
Woops, missing space krept in
Simplify the carp and pfsync rules a lot and make them match the openbsd faq page closer
Revert non carp keep state change, it breaks carp.
Don't attempt to parse package configuration on deinstall if it doesn't exist.
reported-by: Scott
Add 'service' listtag.
Really fix Status -> Queues
Sort queues so status -> queues should work again
Multi-wan code fixes (this commit brought you by the words multi and wan)
Add system->afterfilterchangeshellcmd xml tag which will be exec'd aftereach filter_configure() call. This is useful for fixing stuff like:
http://www.m0n0.ch/wall/list/?action=show_msg&actionargs%5B%5D=172&actionargs%5B%5D=46
Add support for roue-to inside each rule which allows traffic direction for multiple wan environments
Make reply-to actually work (it's a miracle nobodies noticed!)
Do not keep state on carp traffic. Chris D seems to think this may allow us to do inbound states.
Call custom_php_command_before_form before resync
Resync a package on installation
We need to remove packages from the top down, not the bottom up.
Relaunch pftpx on dhclient changes if necessary
Update package utilities.
Document more functions.
Flush static output when starting a fresh installation or deletion.
Adjustments to delete_package_recursive().
Actually queue outbound pakcetsTicket #125
Outbound shaper tags for ticket #125
we really need require_once("pkg-utils.inc"); for is_package_installed();
Squid strikes again.
Why are we including package utils? :P
Setup (more) correct default queues and ack queues to go along with themPart of the master shaper ticket #121
include pkg-utils.inc
unbreak the package manager by adding back fetch_latest_pkg_config()
Add needed lisstag for menu items.
Correct the is_service_running() routine
Bugfixes and cleanup.
Minor alterations to package_install().
Remove find_package_description()
Correctly return packages description
add find_package_description() which returns a packages description
Add package_install, package_install_xml, etc.Still to come: * reinstallation * deletion * hooks into rules, nat, index.php * service manager * new menu organization (config.xml instead of ext/) * other stuff as I think of it