mirror of
https://github.com/qdm12/gluetun.git
synced 2026-06-12 15:22:24 +02:00
Flush conntrack on every firewall enabling
This commit is contained in:
@@ -19,6 +19,10 @@ type Logger interface {
|
||||
Error(s string)
|
||||
}
|
||||
|
||||
type Netlinker interface {
|
||||
FlushConntrack() error
|
||||
}
|
||||
|
||||
type firewallImpl interface { //nolint:interfacebloat
|
||||
SaveAndRestore(ctx context.Context) (restore func(context.Context), err error)
|
||||
AcceptEstablishedRelatedTraffic(ctx context.Context) error
|
||||
|
||||
Reference in New Issue
Block a user