Tom Burgin
f631f219b0
santactl/sync: fixed exception when file_name is None / NSNull ( #180 )
...
* santactl/sync: fixed exception when file_name is None / NSNull
* review updates
0.9.19
2017-07-06 11:52:49 -04:00
Tom Burgin
aacae020b8
logs: add DAAppearanceTime to the DISKAPPEAR logs ( #179 )
...
* logs: add DAAppearanceTime to the DISKAPPEAR logs
* review updates
* discussion updates
2017-07-02 16:27:40 -04:00
Tom Burgin
7c426e0eec
santactl/sync: upload file bundle executable relative path for bundle events ( #178 )
2017-06-28 11:55:21 -04:00
Tom Burgin
363826502f
santabs: de-dupe generated events before upload ( #177 )
...
* santabs: de-dupe generated events before upload and remove locks
* review updates
* error updates
2017-06-22 17:46:04 -04:00
Russell Hancox
1cfadae068
SantaGUI: Don't show pop-up notifications for empty filenames ( #176 )
2017-06-12 11:28:32 -07:00
Tom Burgin
d3b3d722b4
santabs: use the ancestor bundle when searching for binaries ( #175 )
...
* santabs: use the ancestor bundle when searching for binaries
* review updates
* bundle tests
0.9.18
2017-06-09 17:04:23 -04:00
Tom Burgin
a82428958b
santactl/rule: Add the ability to check the status of arbitrary sha256 hashes without on-disk artifacts. ( #172 )
2017-05-30 13:07:47 -04:00
Tom Burgin
b185632bda
santad/SantaGUI: Add needsBundleHash property to SNTStoredEvent && ( #170 )
...
santactl/sync:sync server enables/disables client bundle support
2017-05-30 13:04:08 -04:00
Tom Burgin
e7a0c3d25b
santactl/sync: Sync Server to set FCM interval and deadline ( #168 )
...
* santactl/sync: Sync Server to set FCM interval and deadline
* rename default constants
* review updates
2017-05-22 11:50:37 -04:00
Tom Burgin
ab33de2c15
project/config: Move /var/log/santa.log to /var/db/santa/santa.log ( #173 )
2017-05-22 11:10:10 -04:00
Tom Burgin
a1031cdc27
protect wakeup() from being called with 0 ( #167 )
...
* don't call wakeup on 0
* project: "share" the santabs target
* Project: Update CocoaPods to 1.2.1
* Project: pod deintegrate - pod install
2017-04-14 16:13:45 -04:00
Tom Burgin
e3ab3ca506
Update SNTCommandSyncEventUpload.m ( #162 )
2017-04-13 16:58:25 -04:00
Matthew Suozzo
b4cd1ccbee
santa-driver: Fix a typo
2017-04-13 14:27:05 -04:00
Matthew Suozzo
14573a5714
santa-driver: Refactor cache expiration calculation
2017-04-12 22:35:08 -04:00
Tom Burgin
96150a9668
Bundle Events ( #145 )
...
* santabs: Create Santa Bundle Service
* common: SNTXPCConnection add initClientWithServiceName:
* santad: add logic for blocked bundles
* SantaGUI: add ui elements and xpc connections to / from santabs
* santactl/sync: add api features for syncing bundle events
* santactl/bundleinfo: add bundleinfo command for debug builds
* common: prefer bundle hash over file hash for event urls
* common: remove syncBackoff property - this is now handled in santactl sync
* common: add properties to support the bundle event api
* common: find a bundle from a nested binary
* review updates
* sane bundle hash time outs
* post rebase updates
* post review updates
2017-04-07 15:31:56 -04:00
Russell Hancox
c10c1303ed
SantaGUI: Add preprocessor flag to import Cocoa for SNTBlockMessage
2017-04-05 14:19:50 -04:00
Tom Burgin
7852e69685
SantaCache fix 0 init ( #158 )
2017-03-22 09:38:27 -04:00
Russell Hancox
094880af50
Project: Add DevelopmentTeam configuration ( #157 )
...
This is a generated xcconfig in the Rakefile which gets included by the project
to set the DEVELOPMENT_TEAM key to keep Xcode 8 happy. The development team is
figured based on the available “Mac Developer” certificate.
Also update the way SantaCache declares a ‘zero’ value, update the
OCMock pod and add a few missing includes.
0.9.17
2017-03-20 16:34:59 -04:00
Tom Burgin
c3db518aca
santactl/sync: use the new fcm-stream format ( #156 )
2017-03-20 14:42:29 -04:00
Tom Burgin
41ee0c5fdb
Running without a config fixes ( #154 )
...
* common: capture fileSystemRepresentation in a local variable
* santactl/status: check for instant notification status only when there is a sync url
* s/FALSE/NO
2017-03-17 12:12:41 -04:00
Tom Burgin
ae178bc146
create default config if one does not exist ( #153 )
2017-03-10 17:17:52 -05:00
Tom Burgin
a2a660d483
config update and modules ( #152 )
...
* santactl/sync: https://github.com/google/santa/issues/150
* pch to modules
2017-03-09 13:02:02 -08:00
Tom Burgin
8684cc34f7
santactl/sync: use hostname for reachability ( #149 )
...
* Revert "SNTXPCConnection: make XPC debugging easier (#141 )"
This reverts commit a2d6338400 .
* santactl/sync: use hostname for reachability
* style update
2017-03-08 07:55:35 -08:00
Tom Burgin
0aba8b78ba
disable bundle scans ( #146 )
...
* config: update to cocoapods-1.2.0 and molfcmclient 1.2
* santactl/sync: disable sync server bundle scan requests
2017-03-01 09:02:00 -08:00
Russell Hancox
5e735aa8d5
santad: Clear cache when regexes change. ( #143 )
...
When white/black-list regexes are changed clear the kernel cache so the regexes are able to take effect immediately. Fixes #142
2017-02-03 11:00:32 -05:00
Tom Burgin
a2d6338400
SNTXPCConnection: make XPC debugging easier ( #141 )
2017-01-31 15:36:09 -05:00
Russell Hancox
5e4b8350ab
SNTXPCConnection: allow redefining invalidationHandler after connections are established ( #140 )
2017-01-23 11:10:13 -05:00
Tom Burgin
4a65b646df
santactl status: add last successful rule sync date ( #139 )
...
* santactl status: add last successful rule sync date
0.9.16
2017-01-11 15:52:07 -05:00
Tom Burgin
24c715aae9
santactl sync: reachability and notification updates santad: syncd xpc updates ( #138 )
...
* santactl sync: post a notification for every matching rule and fcm message
* santactl sync: if full sync fails, retry when reachable
* santad: only allow one syncd connection at any given time
2017-01-10 16:14:15 -05:00
Tom Burgin
9ab85768bd
Update Podfile.lock to use MOLFCMClient v1.1 ( #136 )
0.9.15
2017-01-03 11:10:15 -05:00
Tom Burgin
16458d96e7
Notification verbage update ( #135 )
2016-12-14 14:41:20 -05:00
Tom Burgin
b307dd17af
Use machine ids as the targeted sync indicator ( #134 )
...
* Use machine ids as the targeted sync indicator
* remove unused constant
2016-12-12 16:53:24 -05:00
Tom Burgin
313552352c
Display the binary name when a local rule is synced from a push notification ( #133 )
2016-12-07 17:40:11 -05:00
Tom Burgin
543ac7c649
push notifications with FCM ( #132 )
...
* push notifications with FCM
* Don't display rule count in notifications. Get FCM broadcast topic from sync server.
2016-12-06 16:04:34 -05:00
Tom Burgin
dacff76694
run santactl as a sync daemon ( #129 )
...
* run santactl as a sync daemon
2016-11-16 14:41:12 -05:00
Russell Hancox
c134169ea1
santad: Drop AUTOINCREMENT on event table ( #130 )
2016-11-01 11:14:51 -04:00
Russell Hancox
e252945047
santactl/fileinfo: Send resolved path to santad for processing ( #128 )
2016-10-26 16:04:27 -04:00
Russell Hancox
f8cfcaab20
Package/Conf: Fix typo in uninstall.sh ( #126 )
2016-10-25 15:05:36 -04:00
Tom Burgin
528237a239
santactl status: check non-boxed vars when building json output ( #125 )
2016-10-24 12:14:56 -04:00
Russell Hancox
91aefe25c4
santad: Fix printer-proxy workaround ( #120 )
0.9.14
2016-10-13 15:30:08 -04:00
Russell Hancox
a8c11097d9
Project: Use NSSet instead of NSDictionary for uniqueness in collections ( #119 )
2016-10-13 15:20:19 -04:00
Russell Hancox
92ba4a3ae9
santactl/sync: Debug log when clean sync requested ( #118 )
2016-10-13 15:20:12 -04:00
Russell Hancox
7c5d382010
santactl/sync: Fix bundle searching, make concurrent. ( #115 )
...
* santactl/sync: Fix bundle searching, make concurrent.
2016-10-13 15:14:35 -04:00
Russell Hancox
f8fbaefd86
Tests: Fix XPC connection tests ( #116 )
...
Also disable LTO in debug builds.
2016-10-13 12:43:26 -04:00
Russell Hancox
181b37296a
santactl/sync Tests: Use constants ( #117 )
2016-10-13 12:43:14 -04:00
Tom Burgin
2ab61cfa12
SNTCommandFileInfo: Fixed retain cycle. Added locking for a NSMutableArray when accessed on multiple threads ( #114 )
2016-10-13 11:38:33 -04:00
Tom Burgin
1b0e9b14ef
Global json bool shared between class and instance methods. https://github.com/google/santa/issues/112 ( #113 )
2016-10-12 14:35:27 -04:00
Russell Hancox
2aacc9266f
Revert changes for building with Xcode 8 ( #111 )
...
* Partial Revert of "Project: Update project files for Xcode 8 (#105 )"
Building with Xcode 8 (and specifically the 10.12 SDK) breaks logging on
10.12 and on top of that some tests don't pass while working perfectly
fine on 10.11. For now, we'll just continue building with 7.3.1.
* README: Add note about building with Xcode 7.3.1
2016-10-10 14:24:14 -04:00
Russell Hancox
d648d477bb
santa-driver: Fix deadlocking on Sierra ( #107 )
...
1. Don't RemoveFromCache for advisory access by santad itself.
2. wakeup sleeping threads when removing from cache
3. Move the vnode type check earlier in the process for the vnode scope
2016-09-28 16:36:23 -04:00
Russell Hancox
6f91c1a1d3
Project: Update project files for Xcode 8 ( #105 )
2016-09-28 16:11:22 -04:00