mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-14 01:40:32 +07:00
feat: reject packet sent to tproxy port directly for security
This commit is contained in:
@ -23,6 +23,15 @@ import (
|
||||
"sync"
|
||||
)
|
||||
|
||||
type _bpfTuples struct {
|
||||
Sip [4]uint32
|
||||
Dip [4]uint32
|
||||
Sport uint16
|
||||
Dport uint16
|
||||
L4proto uint8
|
||||
_ [3]byte
|
||||
}
|
||||
|
||||
type _bpfLpmKey struct {
|
||||
PrefixLen uint32
|
||||
Data [4]uint32
|
||||
|
Reference in New Issue
Block a user