Implement TCP and ICMP rejects
This commit is contained in:
parent
1793988a6d
commit
e95737eccb
7 changed files with 256 additions and 107 deletions
2
tun.go
2
tun.go
|
|
@ -16,7 +16,7 @@ import (
|
|||
)
|
||||
|
||||
type Handler interface {
|
||||
PrepareConnection(source M.Socksaddr, destination M.Socksaddr) error
|
||||
PrepareConnection(network string, source M.Socksaddr, destination M.Socksaddr) error
|
||||
N.TCPConnectionHandlerEx
|
||||
N.UDPConnectionHandlerEx
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue