MCPcopy
hub / github.com/evilsocket/opensnitch / connect

Function connect

daemon/procmon/audit/client.go:312–316  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

310}
311
312func connect() (net.Conn, error) {
313 addRules()
314 // TODO: make the unix socket path configurable
315 return net.Dial("unix", auditCfg.AudispSocketPath)
316}
317
318// Stop stops listening for events from auditd and delete the auditd rules.
319func Stop() {

Callers 2

reconnectFunction · 0.85
StartFunction · 0.85

Calls 2

addRulesFunction · 0.85
DialMethod · 0.80

Tested by

no test coverage detected