Temporary workaround

shw-merge
dma 7 years ago
parent 9ac3c3fa92
commit e7a803f84f

@ -282,10 +282,12 @@ func (c *socksChainSession) filterConnect() (bool, bool) {
if pinfo == nil { if pinfo == nil {
pinfo = procsnitch.FindProcessForConnection(c.clientConn, c.procInfo) pinfo = procsnitch.FindProcessForConnection(c.clientConn, c.procInfo)
// FIXME: TEMPORARY HACK // FIXME: TEMPORARY HACK
if pinfo != nil {
if pinfo.ExePath == "/usr/sbin/oz-daemon" { if pinfo.ExePath == "/usr/sbin/oz-daemon" {
log.Warningf("Rejecting unknown connection from /usr/bin/oz-daemon: %v", ) log.Warningf("Rejecting unknown connection from /usr/bin/oz-daemon.")
return false, false return false, false
} }
}
} }

Loading…
Cancel
Save