| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This resolves an issue where the extension does not shut down if osquery goes away unexpectedly (without sending a shutdown signal via Thrift). The scenario could be reliably reproduced by running `osqueryi`, connecting an extension, and then sending a `SIGKILL` to `osqueryi`. The exception thrown in the `start_watcher` function would be of type `thrift.transport.TTransport.TTransportException`, and would cause the watcher thread to exit without exiting the rest of the program. This is a possible fix for issues that users have experienced with extensions reconnecting after the Watchdog kills osquery.
There was a problem hiding this comment.
I think we will need to update the version in https://github.com/osquery/osquery-python/blob/master/osquery/__init__.py#L7 too?
Sorry, something went wrong.
|
I'd prefer to keep those version updates in a separate PR (#84). @sharvilshah does that work for you? |
Sorry, something went wrong.
|
That works! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This resolves an issue where the extension does not shut down if osquery
goes away unexpectedly (without sending a shutdown signal via Thrift).
The scenario could be reliably reproduced by running osqueryi,
connecting an extension, and then sending a SIGKILL to osqueryi. The
exception thrown in the start_watcher function would be of type
thrift.transport.TTransport.TTransportException, and would cause the
watcher thread to exit without exiting the rest of the program.
This is a possible fix for issues that users have experienced with
extensions reconnecting after the Watchdog kills osquery.