Project

General

Profile

Download (29.7 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
14be378c 03/20/2005 04:41 AM Colin Smith

Modify get_latest_pkgconfig() to work with alternate pkg_config URLs.

194b4e0a 03/19/2005 11:29 PM Colin Smith

Add basic support for <custom_php_global_functions> tag.

007be4f3 03/18/2005 06:45 PM Scott Ullrich
  • Remove return gateway from the rules section
  • Add a gateway option to the optional interfaces
  • Use new gateway in filter.inc when creating the rules if its defined
1682dc1e 03/17/2005 05:28 AM Bill Marquette

safe_mkdir()

ffee1c4d 03/17/2005 03:24 AM Scott Ullrich

Make sure there installed packages before foreaching

07a5ca20 03/17/2005 02:19 AM Colin Smith

Properly set default argument for resync_all_package_configs (== -> =).

4bc4f537 03/17/2005 02:15 AM Scott Ullrich

Pass a paramater correctly.

cdd1d57e 03/16/2005 10:37 PM Colin Smith
  • resync_all_package_configs_bootup() -> resync_all_package_configs() * Have resync_all_package_configs() suppress output by default.
6f2e9d7f 03/16/2005 05:11 PM Bill Marquette

add rm -rf equivalency function - more cleanup can now commence :)

bebb9d4d 03/16/2005 04:46 PM Bill Marquette

add function to recursively create directories so we can replace mkdir -p in our source tree

4d321b3a 03/16/2005 04:07 PM Bill Marquette

don't shell to call chmod - php does this natively

ef4550f8 03/16/2005 02:19 AM Scott Ullrich

More style of not yet written (9) from outer space.

0f66804f 03/16/2005 02:10 AM Scott Ullrich

Style of not yet written (9) from outer space.

45cb953d 03/16/2005 01:47 AM Colin Smith

Make is_package_installed() work for other packages again ;)

2507bf87 03/16/2005 01:41 AM Scott Ullrich
  • Make consistent the variable names ($pkg)
  • Fix a invalid argument bug
3c2a4809 03/16/2005 12:17 AM Colin Smith

Make is_package_installed() work for all packages - not just squid ;)

87362af3 03/15/2005 11:43 PM Scott Ullrich
  • Introduce is_package_instaleld()
  • Use is_package_installed to figure out if we should install a squid rule
ade51705 03/15/2005 03:08 PM Colin Smith

Fix get_pkg_depends() description.

303831c6 03/14/2005 09:57 PM Scott Ullrich

REALLY convert LAN and WAN to their real interface.

6d501961 03/14/2005 06:04 PM Scott Ullrich

Accept the area that will be backed up instead of deafulting to filter.

014beac3 03/14/2005 05:34 PM Scott Ullrich

Say hello to firewall rules syncing!

435011b4 03/14/2005 04:41 PM Scott Ullrich

Correctly convert real interfaces to friendly names.

a7f5febb 03/14/2005 04:20 PM Scott Ullrich

Correctly return lan or wan interface.

09b4b95a 03/14/2005 03:06 AM Scott Ullrich

Correctly return lan and wan interfaces.

e54448e6 03/14/2005 12:04 AM Colin Smith

Fix new package syncing code.

c177d6ad 03/13/2005 11:55 PM Scott Ullrich

Return false until the php fork bomb fiasco is solved.

e0dcab6a 03/13/2005 11:39 PM Colin Smith

Oops, forgot to increment the counter.

068b8784 03/13/2005 11:38 PM Colin Smith

Have sync_all_package_configs_bootup() use the new package syncing code (it's tiny!) ;)

5a0c39fe 03/13/2005 11:32 PM Colin Smith

Update get_pkg_depends() to use pkgid code.

f01a0942 03/13/2005 11:25 PM Colin Smith
  • Call is_numeric() to determine whether $pkg_name is already a pkgid or if get_pkg_id() must be called.
879be199 03/13/2005 11:14 PM Colin Smith
  • Streamline sync_package(). * Use pkg_id instead of package name if possible (speed up calling). * Use get_pkg_id() to provide additional package error checking.
0b448a0b 03/13/2005 10:45 PM Colin Smith

Change default for $show_message on sync_package() from "true" to "false".

5c52313f 03/13/2005 10:44 PM Colin Smith

Add sync_package().

7197df7d 03/13/2005 10:40 PM Scott Ullrich

Correct the enourmous amount of bugs in php_check_syntax that was taken from .php.net

fcae741f 03/13/2005 10:29 PM Scott Ullrich

shell_exec -> system

da237b75 03/13/2005 10:28 PM Colin Smith

Back out php_check_syntax() checking of package XML before sync (still fixing bugs).

df81a909 03/13/2005 09:57 PM Colin Smith

Add missing $errormessage argument.

a1f1ebb4 03/13/2005 09:54 PM Colin Smith

resync_package_configs_bootup(): Check code syntax with eval before syncing.

ee8f4a58 03/13/2005 09:40 PM Scott Ullrich
  • Add php_check_syntax()
  • Add php_check_filename_syntax()
46624b94 03/13/2005 08:57 PM Scott Ullrich

MIssing ;

e99d11e3 03/13/2005 06:02 PM Scott Ullrich

Add http_post function.

cdcfa555 03/12/2005 11:44 PM Colin Smith

...and a ).

2696882b 03/12/2005 11:43 PM Colin Smith

Whoops, missed a ;.

5f9be1c6 03/12/2005 11:41 PM Colin Smith

Add $return_nosync argument to get_pkg_depends() to properly detect <nosync> flag in <additional_files_needed>.

2f93431c 03/12/2005 11:30 PM Colin Smith

Use isset() instead of != "".

fe82bc16 03/12/2005 11:28 PM Colin Smith

Add <nosync> flag to <packagegui> and <additional_files_needed>.

832f1b83 03/12/2005 08:22 PM Scott Ullrich

Correctly backup and restore config sections.

aaae6e26 03/12/2005 07:05 PM Scott Ullrich

When assigning the array back to $config, use the pointer on the source.

f8891a0f 03/12/2005 07:02 PM Scott Ullrich
  • Add backup_config_section which returns as an array a portion of the xml configuration.
  • Add restore_config_section which accepts a config array and will write out the overwritten section
0d34044c 03/12/2005 05:34 AM Colin Smith

Fix get_pkg_depends() (and add a few more features).

099fa54a 03/12/2005 01:25 AM Scott Ullrich

Make sure item is an array.

d86e29e5 03/12/2005 12:08 AM Scott Ullrich

Do not foreach item unless its an array.

3960e556 03/12/2005 12:04 AM Colin Smith

get_package_depends() -> get_pkg_depends (shorter and more consistent)

5dac430f 03/12/2005 12:02 AM Scott Ullrich

Use lowercase interface name

dd9e33d1 03/12/2005 12:00 AM Colin Smith

Fix bugginess and change get_pkg_xml_depends -> get_pkg_depends.

2bccc5fc 03/11/2005 11:58 PM Colin Smith

Properly handle a mix of both package XML and other package dependencies.

5ffe0815 03/11/2005 11:39 PM Colin Smith

get_package_xml_depends() -> get_package_depends() (add handling of different filetypes, chmods, prefixes, etc)

401e59a9 03/11/2005 10:50 PM Scott Ullrich

Return optional interfaces correctly in convert_friendly_interface_to_real_interface_name

bc5d2a26 03/11/2005 09:41 PM Scott Ullrich

Simplify filter_translate_type_to_real_interface

0ad0f98c 03/11/2005 09:21 PM Scott Ullrich

Correctly return the wan interface.

2f948e1c 03/10/2005 04:09 AM Colin Smith
  • Update get_package_xml_depends() with code that actually works ;)
e04de720 03/10/2005 03:40 AM Colin Smith

Use depend name from package XML instead of (possibly inaccurate) stripped filename.

d0e48055 03/10/2005 03:37 AM Colin Smith
  • Update get_package_xml_depends($pkg_name, $format) to output dependencies as filenames or names.
7ebb7114 03/10/2005 03:22 AM Colin Smith

Add `grep -v grep` to is_service_running() and change threshold to >0.

be132052 03/10/2005 03:20 AM Colin Smith

Change resync_all_package_configs_bootup() to display the package being synced before it beings calling eval().

fbc24b62 03/10/2005 03:16 AM Colin Smith
  • get_package_xml_depends($pkg_name): Return a package's XML dependencies (additional tabs etc)
  • reverse_strrchr($haystack, $needle): Return everything in $haystack up to the last instance of $needle.
257ff0ff 03/09/2005 10:48 PM Scott Ullrich

Missing colon

44dc32e4 03/09/2005 09:02 PM Scott Ullrich

Add is_service_running()

54f4caed 03/09/2005 07:00 PM Scott Ullrich

Correctly convert a friendly interface name (DESCRIPTION) to the real interface id for optional interfaces

31a82233 03/09/2005 06:49 PM Scott Ullrich

Only setup link0 during booting process.

4cab8af9 03/07/2005 03:27 AM Colin Smith

Trim rc.packages output.

1dc18caa 03/07/2005 03:05 AM Colin Smith

Fix additional item syncing.

9c0ad35c 03/07/2005 02:26 AM Scott Ullrich
  • If style cleanups
  • Break comment into multiple lines
  • Full path to sleep and killall
122a9c39 03/07/2005 02:22 AM Scott Ullrich

|${drops} -> |{$drops}

fa35df12 03/07/2005 02:19 AM Scott Ullrich
  • Full path to killall
  • Extra i in regex
e93903c7 03/07/2005 02:08 AM Colin Smith

Add checking of additional item XML.

04e6e7b7 03/07/2005 02:02 AM Bill Marquette

Add dropped packet stats

4bed294c 03/07/2005 01:37 AM Bill Marquette

add suspend stats

b7c502bb 03/06/2005 06:31 AM Colin Smith
  • Minor style cleanups.
  • Add sweep_package_processes() to workaround those packages that do not automatically kill processes (iperf and netio servers, for example).
e90bc39f 03/06/2005 04:00 AM Scott Ullrich

Kill any running pfctl before extracting stats

6a153733 03/06/2005 02:37 AM Scott Ullrich

Add a flag to gather_altq_queue_stats to allow the returning of the root queues

76177335 03/06/2005 02:28 AM Scott Ullrich
  • Kill any occurance of pfctl before invoking pfctl
  • Fix spelling mistake in comment
fccb044c 03/05/2005 10:54 PM Scott Ullrich
  • Modify queue graph to show the amount of bandwidth going through each queue compared to total bandwidth
  • Add current queue traffic speed
b45ea709 03/05/2005 10:03 PM Scott Ullrich

Add queue graph support.

TODO: Show parent / child relationship and graph upon the total of the parent/child.

b73cc056 03/03/2005 02:15 AM Scott Ullrich

Allow setting of racoon listening interface on the ipsec vpn screen. This allows failover vpn!

7e98bb78 03/03/2005 12:53 AM Scott Ullrich
  • Output more diagnostic messages during sync.
  • Only call the packages custom_php_resync_config_command
05d7b2ec 03/03/2005 12:50 AM Scott Ullrich

Show which packages we are syncing

7c603497 03/02/2005 11:08 PM Scott Ullrich

Correctly sync package configurations on bootup.

55be70e6 03/02/2005 06:32 PM Scott Ullrich
  • Add convert_friendly_interface_to_real_interface_name
e0f91f5f 03/02/2005 05:46 PM Scott Ullrich

Missing } on newly added resync_all_package_configs_bootup()

238f6962 03/02/2005 03:40 AM Colin Smith
  • rc_packages -> rc.packages (hooks changed appropriately)
  • resync_all_packages_config -> resync_all_package_configs (hooks changed appropriately)
  • Add fetching of missing package XML to function resync_all_package_configs()
  • Add resync_all_package_configs_bootup() to provide status of package syncing on bootup. (hooks changed appropriately)
a30afc6a 03/02/2005 01:43 AM Scott Ullrich

Do not interate installedpackages if they dont exist.

4fa9d187 03/02/2005 01:18 AM Scott Ullrich

Move resync_all_packages_config to our utilities area

8d8f27a1 03/02/2005 12:56 AM Scott Ullrich

Correctly return the number of created carp interfaces.

2fbde004 03/01/2005 01:19 AM Scott Ullrich

Speed up convert_real_interface_to_friendly_interface_name

f6a7ef1f 03/01/2005 12:29 AM Scott Ullrich

Do not rely on ifconfig to discover a friendly interface name

24452897 02/28/2005 06:54 PM Scott Ullrich

Make sure there are spaces between carp itnerface names

cc869478 02/28/2005 06:29 PM Scott Ullrich

Cleanup non-raw filter logs so more.

83661f77 02/26/2005 08:21 AM Scott Ullrich

Mor strict false usage

0dd62c88 02/26/2005 01:24 AM Bill Marquette

strip (#) comments out of files