Russell Hancox
cf251c45b8
Project: Update package Makefile for santad/santactl move
0.8.8
2015-06-22 15:57:10 -04:00
Russell Hancox
385c03096d
Project: Missed santactl/santad move in Rakefile dist command
2015-06-22 15:35:03 -04:00
Russell Hancox
f323f5e3de
santad: Up watchdog interval to 60s and CPU threshold to 20%.
...
Whilst during normal operation santad doesn't use more than 5% CPU, it does spike if lots
of processes start, such as during bootup. This change helps to reduce the noise.
2015-06-22 15:28:02 -04:00
Russell Hancox
9562ee86cd
Project: Add missing copy to a few properties previously missed
2015-06-19 17:32:45 -04:00
Russell Hancox
adfb4bc861
SNTFileInfo: Better caching of properties
2015-06-19 17:31:48 -04:00
Russell Hancox
957232ca40
santactl: Fix event counting bug in status command
2015-06-16 18:02:41 -04:00
Russell Hancox
44c9d9aead
santad: Add watchdog thread to print warnings if CPU/RAM usage seem high.
2015-06-15 16:31:55 -04:00
Russell Hancox
f95245cedd
10.11 Prep: Move santad,santactl from /usr/libexec,/usr/sbin to within santa-driver.kext
2015-06-15 16:18:51 -04:00
Russell Hancox
3c034adf48
GUI: Prevent reconnection loop when XPC connection dies
2015-06-10 16:46:32 -04:00
Russell Hancox
abd3c5a06d
GUI: Restore constraint move Dismiss button when event detail URL is not set
2015-06-10 16:45:16 -04:00
Russell Hancox
ca4951a475
SNTFileWatcher: Update test file location
2015-06-09 13:50:43 -04:00
Russell Hancox
e751a3d307
SNTFileWatcher: Only get the fileSystemRepresentation once, to avoid high memory use when file doesn't exist
2015-06-09 13:10:29 -04:00
Russell Hancox
2a8bdfd714
santad: Use _exit instead of exit after fork. Oops.
2015-06-01 17:12:12 -04:00
Russell Hancox
be9dca3ee2
GUI: Add close button to About window.
2015-05-21 16:12:48 -04:00
Russell Hancox
32707fb501
santa-driver: Fix rare panic in CacheCheck where lock upgrade fails.
...
lck_rw_lock_shared_to_exclusive can return false if a previous reader upgraded. The result is the lock being unlocked and the panic is caused when unlocking a lock that isn't locked.
0.8.7
2015-05-20 11:13:19 -04:00
Russell Hancox
d72547e187
Project: Simplify package download URL generation in pkg Makefile
2015-05-18 18:36:30 -04:00
Russell Hancox
9150ddffb1
Project: Fix broken curl command in pkg Makefile
2015-05-18 17:52:33 -04:00
Russell Hancox
d5c1d66c2f
KernelTests: Update tests for dataqueue usage changes
0.8.6
2015-05-18 16:39:27 -04:00
Russell Hancox
536b8969ed
santactl/sync: LogUpload - logsToUpload is part of the same class, use self.
2015-05-18 16:31:43 -04:00
Russell Hancox
0db3b6d955
santactl/sync: Split out Log Upload request generation and Rule Download rule parsing from main request methods.
2015-05-18 14:33:21 -04:00
Russell Hancox
78bb9a1bd6
common: Correct comment on default loglevels
2015-05-18 13:06:31 -04:00
Russell Hancox
567e0b6431
santad: If exiting because of a failed dequeue, log the return code at ERROR level.
2015-05-18 13:06:31 -04:00
Russell Hancox
f2f27c5675
santa-driver: Up ACTION_REQUEST_SHUTDOWN from 60->90
2015-05-18 13:06:31 -04:00
Russell Hancox
5a7ac2287b
santa-driver: Stop defining MAX_PATH_LEN, use MAXPATHLEN instead.
...
I can't recall why I did this.
2015-05-18 13:06:31 -04:00
Russell Hancox
f82da21b75
santactl/sync: Bug from 8cd9898, call completion handler even if no rules are downloaded.
2015-05-15 10:38:26 -04:00
Russell Hancox
969a5ef94e
santactl/sync: Don't release SecAsn1Coder until we're done with its data.
2015-05-14 17:35:06 -04:00
Russell Hancox
fd7ad07193
santactl/sync: Handle DER decoding failures more gracefully.
2015-05-14 17:01:49 -04:00
Russell Hancox
3f5400b264
santa-driver: Split FetchDecision, notify daemon of missed executions, reorganize some methods.
2015-05-14 17:01:49 -04:00
Russell Hancox
466b5ed491
santa-driver: Make SantaDecisionManager::AddToCache default the microsecs parameter to the current uptime
2015-05-14 17:01:48 -04:00
Russell Hancox
25f1b71f10
santa-driver: Move dataqueue to SantaDecisionManager rather than
...
recreating it on every connect.
2015-05-14 17:01:48 -04:00
Russell Hancox
d1295f97b9
santa-driver: Rename owning_pid/proc to client_pid/proc. Minor style
...
cleanup
2015-05-14 17:01:48 -04:00
Russell Hancox
f5eb274aa0
santa-driver: remove unnecessary dataqueue lock
2015-05-14 17:01:48 -04:00
Russell Hancox
58b9dab74f
santa-driver: SDM should call super::init
2015-05-14 17:01:48 -04:00
Russell Hancox
9f6b6d10dc
santa-driver: Make room in santa_message_t->path for the terminator so we don't miss a character.
2015-05-14 17:01:47 -04:00
Russell Hancox
57f6e516c2
santa-driver: Mark all overriden methods with 'override'
2015-05-14 17:01:42 -04:00
Russell Hancox
8cd9898cf3
santactl/sync: Don't send empty rules array to daemon.
2015-05-11 16:27:02 -04:00
Russell Hancox
d53b04213a
santa-driver: Remove empty spacing at end of line
2015-05-08 14:58:16 -04:00
Russell Hancox
ac99bd1070
santad: Add tests for SNTRuleTable
2015-05-08 14:57:53 -04:00
Russell Hancox
30df44df96
santad: Correctly delete corrupt events. Add test for this.
2015-05-08 14:57:37 -04:00
Russell Hancox
fc55b86f30
santad: Switch to uint32_t for table version numbers
2015-05-08 14:56:20 -04:00
Russell Hancox
59ffb67554
santad: Reject addRules requests with empty/nil array. Also switch to NSUInteger for rule counts.
2015-05-08 14:55:28 -04:00
Russell Hancox
d46b156b85
santa-driver: vnode_getattr sometimes panics if a vfs_context isn't available (when used with osxfuse for instance).
2015-05-07 18:24:29 -04:00
Russell Hancox
6492e70599
santactl: Instead of rejecting authentication challenges and trying again, cancel the whole request.
2015-05-07 17:56:47 -04:00
Russell Hancox
bc5d0f8685
santa-driver: Don't allow StopListener to return until both kauth scopes are done
2015-05-06 14:57:33 -04:00
Russell Hancox
838da16da1
santad: Delete events that fail to unarchive
2015-05-06 14:44:09 -04:00
Russell Hancox
6e242bf98d
SantaGUI: Change Line to custom NSBox
2015-05-05 17:44:06 -04:00
Russell Hancox
be1e66c29d
Project: Enable more warnings and then fix them.
2015-05-01 17:40:39 -04:00
Russell Hancox
57866308e3
santad: Consider scripts that are part of installer packages as in-scope.
2015-04-30 18:37:04 -04:00
Russell Hancox
63bc8fca2d
santad: Don't post GUI notification for SILENT_BLACKLIST rules.
2015-04-30 18:36:43 -04:00
Russell Hancox
408712f00f
santad: Don't log when client mode is not set in defaultDecision, as that can't actually happen.
2015-04-30 18:36:20 -04:00