Commit Graph

  • 38b65b0ca4 santad: Move uid->username lookup to where it's actually used Russell Hancox 2015-07-20 12:32:23 -04:00
  • d36ce5eefc KernelTests: Update comments, add extra write-to-cached-file check Russell Hancox 2015-07-20 09:20:25 -04:00
  • ff99ab9cfe santad: loggedInUsers:sessions: style clean-up Russell Hancox 2015-07-20 09:19:50 -04:00
  • 64995367c3 santad: Simplify eventStateForDecision:type: Russell Hancox 2015-07-20 09:19:20 -04:00
  • c67f0ffc11 santad: Don't initiate event upload if syncing isn't enabled Russell Hancox 2015-07-20 09:19:00 -04:00
  • d5403ae112 santa-driver: Move vnode-id and vnode-id-str fetching to avoid duplication Russell Hancox 2015-07-20 09:18:19 -04:00
  • d21d64cbfe santad: Don't print log format every startup Russell Hancox 2015-07-19 10:11:22 -04:00
  • 347ee3c4f5 Merge pull request #19 from samsymons/podfile-fix Russell Hancox 2015-07-21 14:20:41 -04:00
  • 77ed1cca29 Fix an installation error with CocoaPods. Sam Symons 2015-07-21 10:41:03 -07:00
  • cfac7dbb37 Logging: Fix syslog logging and file rotation Russell Hancox 2015-07-17 17:43:04 -04:00
  • f27d72f3f9 Tests: Update tests for new error argument to SNTFileInfo Russell Hancox 2015-07-17 12:59:48 -04:00
  • 3cd93b287e santa-driver: Simplify kauth callbacks, moving most of the logic to methods on SDM Russell Hancox 2015-07-16 22:33:24 -04:00
  • 5e5605881b santa-driver: remove client_proc, use ClientConnected() instead Russell Hancox 2015-07-16 22:32:17 -04:00
  • a9b48610df santa-driver: Clear data queue if client crashes. Restore dataqueue lock, the docs lied. Russell Hancox 2015-07-16 16:33:20 -04:00
  • 3cca09a48c santa-driver: Remove request loops in GetFromDaemon Russell Hancox 2015-07-15 18:55:05 -04:00
  • 3134448eac santad: Close password database after getpwuid Russell Hancox 2015-07-15 18:25:26 -04:00
  • 663bdf945b KernelTest: Update for EACCES -> EPERM change Russell Hancox 2015-07-15 18:24:13 -04:00
  • e94d1175e7 santad: If file can't be hashed, log an error and allow execution. Russell Hancox 2015-07-13 11:20:39 -04:00
  • e20b761965 santa-driver: Change rejection errno to EPERM Russell Hancox 2015-07-01 18:55:04 -04:00
  • 90c64812d0 santad: close stdout before running santactl sync Russell Hancox 2015-07-01 17:22:40 -04:00
  • 08d368fc49 santad: Rename watchdog thread with reverse-dns name Russell Hancox 2015-06-26 16:29:46 -04:00
  • 39385f0bff santad: Put an autoreleasepool inside the watchdog thread. Russell Hancox 2015-06-26 13:12:46 -04:00
  • 8bc3418ce1 santad: Watchdog: only log memory use if it increased since last check. Increase threshold to 250MB Russell Hancox 2015-06-25 17:58:17 -04:00
  • a145700398 Rakefile: Properly unload/load GUI during build. Russell Hancox 2015-06-25 17:52:59 -04:00
  • 409535e617 santactl: Style, indenting. Russell Hancox 2015-06-25 11:04:57 -04:00
  • f625016efe santactl/sync: When rejecting a redirect, cancel the task to avoid hanging the task until timeout Russell Hancox 2015-06-24 17:32:35 -04:00
  • f4c94ab1d7 santactl/sync: Failed log upload should not fail whole sync Russell Hancox 2015-06-24 17:21:54 -04:00
  • 8234706dd3 santad: Vacuum event database after removing multiple events. Russell Hancox 2015-06-24 11:58:38 -04:00
  • 1a31dc870f Merge branch 'whitelistscope' Russell Hancox 2015-06-23 18:31:03 -04:00
  • a1712858c5 Common: Rename kWhitelistDirsKey/WhitelistDirs to kWhitelistRegexKey/WhitelistRegex Russell Hancox 2015-06-23 18:30:42 -04:00
  • 0059e768b9 Common: Add __NSString__ attribute to logMessage to catch format string bugs. Fix some warnings that found. Russell Hancox 2015-06-23 18:10:46 -04:00
  • 4fe1550bd2 santad: NSRegularExpression doesn't work with XPC. Russell Hancox 2015-06-23 18:09:35 -04:00
  • 0c182c8a7f santactl/sync: Sync whitelist regex Russell Hancox 2015-06-23 17:33:43 -04:00
  • bcdf746def santad: In a rule vs scope, rule wins. Russell Hancox 2015-06-23 17:33:08 -04:00
  • bc13ac3a98 santad: Move whitelisted dirs feature to using regex instead of array. Faster and more flexible. Russell Hancox 2015-06-19 18:11:03 -04:00
  • a894e018cd santactl: Update help/error wordings Russell Hancox 2015-06-19 17:34:22 -04:00
  • cbecfd444d santad: Add whitelisted directory support Russell Hancox 2015-06-19 17:33:56 -04:00
  • 357e5ef963 santactl/sync: NSString doesn't have an unsignedIntegerValue method Russell Hancox 2015-06-23 17:14:47 -04:00
  • 60594c9f03 santad/santactl-sync: Accept backoff interval from server, disable event uploads if back off is used, re-enable on next sync. Russell Hancox 2015-06-23 15:54:30 -04:00
  • 44b5bae8da santad: Add sync execution timer to santad Russell Hancox 2015-06-23 15:52:39 -04:00
  • 2e856196c5 santad: Move SIGCHLD SIG_IGN setting to main(), it doesn't need to be set repeatedly. Russell Hancox 2015-06-23 15:36:59 -04:00
  • 8672187c02 SantaGUI: Add keepalive to launchagent plist Russell Hancox 2015-06-23 11:20:20 -04:00
  • cf251c45b8 Project: Update package Makefile for santad/santactl move 0.8.8 Russell Hancox 2015-06-22 15:57:10 -04:00
  • 385c03096d Project: Missed santactl/santad move in Rakefile dist command Russell Hancox 2015-06-22 15:35:03 -04:00
  • f323f5e3de santad: Up watchdog interval to 60s and CPU threshold to 20%. Russell Hancox 2015-06-22 15:28:02 -04:00
  • 9562ee86cd Project: Add missing copy to a few properties previously missed Russell Hancox 2015-06-19 17:32:45 -04:00
  • adfb4bc861 SNTFileInfo: Better caching of properties Russell Hancox 2015-06-19 17:31:48 -04:00
  • 957232ca40 santactl: Fix event counting bug in status command Russell Hancox 2015-06-16 18:02:41 -04:00
  • 44c9d9aead santad: Add watchdog thread to print warnings if CPU/RAM usage seem high. Russell Hancox 2015-06-15 16:31:55 -04:00
  • f95245cedd 10.11 Prep: Move santad,santactl from /usr/libexec,/usr/sbin to within santa-driver.kext Russell Hancox 2015-06-10 17:35:48 -04:00
  • 3c034adf48 GUI: Prevent reconnection loop when XPC connection dies Russell Hancox 2015-06-10 16:46:32 -04:00
  • abd3c5a06d GUI: Restore constraint move Dismiss button when event detail URL is not set Russell Hancox 2015-06-10 16:45:16 -04:00
  • ca4951a475 SNTFileWatcher: Update test file location Russell Hancox 2015-06-09 13:50:43 -04:00
  • e751a3d307 SNTFileWatcher: Only get the fileSystemRepresentation once, to avoid high memory use when file doesn't exist Russell Hancox 2015-06-09 13:10:29 -04:00
  • 2a8bdfd714 santad: Use _exit instead of exit after fork. Oops. Russell Hancox 2015-06-01 17:12:12 -04:00
  • be9dca3ee2 GUI: Add close button to About window. Russell Hancox 2015-05-21 16:12:48 -04:00
  • 32707fb501 santa-driver: Fix rare panic in CacheCheck where lock upgrade fails. 0.8.7 Russell Hancox 2015-05-20 11:13:19 -04:00
  • d72547e187 Project: Simplify package download URL generation in pkg Makefile Russell Hancox 2015-05-18 18:36:30 -04:00
  • 9150ddffb1 Project: Fix broken curl command in pkg Makefile Russell Hancox 2015-05-18 17:52:33 -04:00
  • d5c1d66c2f KernelTests: Update tests for dataqueue usage changes 0.8.6 Russell Hancox 2015-05-18 16:39:27 -04:00
  • 536b8969ed santactl/sync: LogUpload - logsToUpload is part of the same class, use self. Russell Hancox 2015-05-18 16:31:43 -04:00
  • 0db3b6d955 santactl/sync: Split out Log Upload request generation and Rule Download rule parsing from main request methods. Russell Hancox 2015-05-18 14:33:21 -04:00
  • 78bb9a1bd6 common: Correct comment on default loglevels Russell Hancox 2015-05-18 13:06:07 -04:00
  • 567e0b6431 santad: If exiting because of a failed dequeue, log the return code at ERROR level. Russell Hancox 2015-05-18 12:50:31 -04:00
  • f2f27c5675 santa-driver: Up ACTION_REQUEST_SHUTDOWN from 60->90 Russell Hancox 2015-05-18 12:49:47 -04:00
  • 5a7ac2287b santa-driver: Stop defining MAX_PATH_LEN, use MAXPATHLEN instead. Russell Hancox 2015-05-18 12:49:26 -04:00
  • f82da21b75 santactl/sync: Bug from 8cd9898, call completion handler even if no rules are downloaded. Russell Hancox 2015-05-15 10:38:26 -04:00
  • 969a5ef94e santactl/sync: Don't release SecAsn1Coder until we're done with its data. Russell Hancox 2015-05-14 17:35:06 -04:00
  • fd7ad07193 santactl/sync: Handle DER decoding failures more gracefully. Russell Hancox 2015-05-14 16:57:10 -04:00
  • 3f5400b264 santa-driver: Split FetchDecision, notify daemon of missed executions, reorganize some methods. Russell Hancox 2015-05-13 16:12:04 -04:00
  • 466b5ed491 santa-driver: Make SantaDecisionManager::AddToCache default the microsecs parameter to the current uptime Russell Hancox 2015-05-13 16:10:11 -04:00
  • 25f1b71f10 santa-driver: Move dataqueue to SantaDecisionManager rather than recreating it on every connect. Russell Hancox 2015-05-13 16:07:42 -04:00
  • d1295f97b9 santa-driver: Rename owning_pid/proc to client_pid/proc. Minor style cleanup Russell Hancox 2015-05-13 13:40:33 -04:00
  • f5eb274aa0 santa-driver: remove unnecessary dataqueue lock Russell Hancox 2015-05-13 13:36:10 -04:00
  • 58b9dab74f santa-driver: SDM should call super::init Russell Hancox 2015-05-11 16:54:12 -04:00
  • 9f6b6d10dc santa-driver: Make room in santa_message_t->path for the terminator so we don't miss a character. Russell Hancox 2015-05-11 16:46:10 -04:00
  • 57f6e516c2 santa-driver: Mark all overriden methods with 'override' Russell Hancox 2015-05-11 16:44:37 -04:00
  • 8cd9898cf3 santactl/sync: Don't send empty rules array to daemon. Russell Hancox 2015-05-11 16:27:02 -04:00
  • d53b04213a santa-driver: Remove empty spacing at end of line Russell Hancox 2015-05-08 14:58:16 -04:00
  • ac99bd1070 santad: Add tests for SNTRuleTable Russell Hancox 2015-05-08 14:57:53 -04:00
  • 30df44df96 santad: Correctly delete corrupt events. Add test for this. Russell Hancox 2015-05-08 14:57:20 -04:00
  • fc55b86f30 santad: Switch to uint32_t for table version numbers Russell Hancox 2015-05-08 14:56:20 -04:00
  • 59ffb67554 santad: Reject addRules requests with empty/nil array. Also switch to NSUInteger for rule counts. Russell Hancox 2015-05-08 14:55:28 -04:00
  • d46b156b85 santa-driver: vnode_getattr sometimes panics if a vfs_context isn't available (when used with osxfuse for instance). Russell Hancox 2015-05-07 18:24:29 -04:00
  • 6492e70599 santactl: Instead of rejecting authentication challenges and trying again, cancel the whole request. Russell Hancox 2015-05-07 17:05:09 -04:00
  • bc5d0f8685 santa-driver: Don't allow StopListener to return until both kauth scopes are done Russell Hancox 2015-05-06 14:57:33 -04:00
  • 838da16da1 santad: Delete events that fail to unarchive Russell Hancox 2015-05-06 14:39:17 -04:00
  • 6e242bf98d SantaGUI: Change Line to custom NSBox Russell Hancox 2015-05-05 17:44:06 -04:00
  • be1e66c29d Project: Enable more warnings and then fix them. Russell Hancox 2015-05-01 15:56:57 -04:00
  • 57866308e3 santad: Consider scripts that are part of installer packages as in-scope. Russell Hancox 2015-04-30 18:37:04 -04:00
  • 63bc8fca2d santad: Don't post GUI notification for SILENT_BLACKLIST rules. Russell Hancox 2015-04-30 18:36:43 -04:00
  • 408712f00f santad: Don't log when client mode is not set in defaultDecision, as that can't actually happen. Russell Hancox 2015-04-30 18:36:20 -04:00
  • 8cb6046f94 GUI: Add parent process name, only show part of the shasum, resize window. Russell Hancox 2015-04-30 18:24:54 -04:00
  • 297fb4cb68 Add parent process name collection and upload Russell Hancox 2015-04-30 18:21:13 -04:00
  • 1501d413f0 Project: Add install.sh script and package Makefile Russell Hancox 2015-04-30 13:08:46 -04:00
  • e747ace0f3 santactl/binaryinfo: Add bundle details to file info Russell Hancox 2015-04-30 12:34:31 -04:00
  • 6b96f36b2b SantaGUI: Re-create AboutWindowController each time it's needed so that More Info button state is correct Russell Hancox 2015-04-22 15:59:04 -04:00
  • f16fa691b5 santactl: include zlib.h instead of import Russell Hancox 2015-04-21 16:43:09 -04:00
  • 4fd5e1139f Project: Style clean-ups Russell Hancox 2015-04-21 14:29:30 -04:00
  • 0b33079833 Merge pull request #16 from marczak/readme-up Russell Hancox 2015-04-21 09:14:50 -07:00