|
|
@ -282,9 +282,11 @@ 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.ExePath == "/usr/sbin/oz-daemon" {
|
|
|
|
if pinfo != nil {
|
|
|
|
log.Warningf("Rejecting unknown connection from /usr/bin/oz-daemon: %v", )
|
|
|
|
if pinfo.ExePath == "/usr/sbin/oz-daemon" {
|
|
|
|
return false, false
|
|
|
|
log.Warningf("Rejecting unknown connection from /usr/bin/oz-daemon.")
|
|
|
|
|
|
|
|
return false, false
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|