Comments (3)
I think osquery-go should try to make it as easy as possible for users to get extensions connected up to osquery. If this kind of retry logic is a necessary (or even often necessary) part of connecting on Windows, I'd argue that it deserves inclusion directly.
I think I agree, though we should probably understand if this is a bug in osquery first.
from osquery-go.
In our code, we do similar.
launcher itself use a rate limiter and retry logic (embarassingly we have two different rate limiter implementations)
Our extension, which as no content, but is there to keep the socket open, uses a simple sleep. launcher-extension.go
I'm not sure this is a bug, per se, but how windows is. I'm not sure that the sleep and retry belongs in the sdk. Feels like it might be better to keep it in the callers. But I'm interested in discussing that
from osquery-go.
I think osquery-go should try to make it as easy as possible for users to get extensions connected up to osquery. If this kind of retry logic is a necessary (or even often necessary) part of connecting on Windows, I'd argue that it deserves inclusion directly.
from osquery-go.
Related Issues (20)
- Query constraint parsing broken in osquery 3.2.0
- Glide and dependencies HOT 1
- Go extension processes do not die HOT 4
- Failure to run custom logger example since eb3599e HOT 4
- ``osqueryd`` claims shutdown request failed when exiting from SIGINT HOT 2
- Extensions dying after query that changes privileges HOT 3
- Race condition when running example HOT 9
- New client not gracefully closed on error if it has grabbed the pipe/socket
- Results as map[string]interface{} rather then map[string]string HOT 3
- Breaking change in Apache Thrift NewTSocketFromAddrTimeout HOT 6
- transport.go does not compile on non Windows systems HOT 2
- Is it possible to create event tables using osquery-go?
- Can't create socket file correctly, If defined an socket, but connect refused
- Build C++ extentions HOT 1
- Constraints that are not `==` don't appear to be passed along HOT 1
- not enough arguments in call to iprot. [...] HOT 4
- osquery-go without watchdog. HOT 4
- Support to pass the version in customized extension Info HOT 1
- Should we add mutexs to osquery-go? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osquery-go.