mirror of
https://github.com/safing/portmaster
synced 2025-09-01 10:09:11 +00:00
31 lines
617 B
Go
31 lines
617 B
Go
package network
|
|
|
|
import "github.com/Safing/portmaster/process"
|
|
|
|
// Static reasons
|
|
const (
|
|
ReasonUnknownProcess = "unknown connection owner: process could not be found"
|
|
)
|
|
|
|
var (
|
|
UnknownDirectConnection = &Connection{
|
|
Domain: "PI",
|
|
Direction: Outbound,
|
|
Verdict: DROP,
|
|
Reason: ReasonUnknownProcess,
|
|
process: process.UnknownProcess,
|
|
}
|
|
|
|
UnknownIncomingConnection = &Connection{
|
|
Domain: "II",
|
|
Direction: Inbound,
|
|
Verdict: DROP,
|
|
Reason: ReasonUnknownProcess,
|
|
process: process.UnknownProcess,
|
|
}
|
|
)
|
|
|
|
func init() {
|
|
UnknownDirectConnection.Save()
|
|
UnknownIncomingConnection.Save()
|
|
}
|