feat(netxlite): implement hooks for transparent proxy (#561)
See https://github.com/ooni/probe/issues/1803#issuecomment-957323297.
This commit is contained in:
parent
eaa3d6eae0
commit
ffdafaf351
5 changed files with 65 additions and 6 deletions
|
|
@ -34,7 +34,7 @@ var _ QUICListener = &quicListenerStdlib{}
|
|||
|
||||
// Listen implements QUICListener.Listen.
|
||||
func (qls *quicListenerStdlib) Listen(addr *net.UDPAddr) (UDPLikeConn, error) {
|
||||
return net.ListenUDP("udp", addr)
|
||||
return TProxy.ListenUDP("udp", addr)
|
||||
}
|
||||
|
||||
// QUICDialer dials QUIC sessions.
|
||||
|
|
|
|||
Loading…
Reference in a new issue