ae4edfbf3e
This change adds a new option, --socks5-udp. If this option is present, and no UDP gateway is specified, UDP packets will no longer be dropped. Instead, the client will use the SOCKS5 UDP ASSOCIATE command to route UDP packets through the proxy server. This implementation is intended for use with any UDP data, and it includes an optimization for packets containing DNS queries. However, this implementation is currently limited to localhost SOCKS5 servers. SOCKS5-UDP does not perform well over actual network links, as it requires several roundtrips to the server and is not compatible with NAT. This implementation is currently in use in a fork of tun2socks used by Outline (https://getoutline.org) and Intra (https://getintra.org). Fixes https://github.com/ambrop72/badvpn/issues/56
149 lines
2.3 KiB
Plaintext
149 lines
2.3 KiB
Plaintext
server 4
|
|
client 4
|
|
flooder 4
|
|
tun2socks 4
|
|
ncd 4
|
|
ncd_var 4
|
|
ncd_list 4
|
|
ncd_depend 4
|
|
ncd_multidepend 4
|
|
ncd_dynamic_depend 4
|
|
ncd_concat 4
|
|
ncd_if 4
|
|
ncd_strcmp 4
|
|
ncd_regex_match 4
|
|
ncd_logical 4
|
|
ncd_sleep 4
|
|
ncd_print 4
|
|
ncd_blocker 4
|
|
ncd_run 4
|
|
ncd_runonce 4
|
|
ncd_daemon 4
|
|
ncd_spawn 4
|
|
ncd_imperative 4
|
|
ncd_ref 4
|
|
ncd_index 4
|
|
ncd_alias 4
|
|
ncd_process_manager 4
|
|
ncd_ondemand 4
|
|
ncd_foreach 4
|
|
ncd_choose 4
|
|
ncd_net_backend_waitdevice 4
|
|
ncd_net_backend_waitlink 4
|
|
ncd_net_backend_badvpn 4
|
|
ncd_net_backend_wpa_supplicant 4
|
|
ncd_net_backend_rfkill 4
|
|
ncd_net_up 4
|
|
ncd_net_dns 4
|
|
ncd_net_iptables 4
|
|
ncd_net_ipv4_addr 4
|
|
ncd_net_ipv4_route 4
|
|
ncd_net_ipv4_dhcp 4
|
|
ncd_net_ipv4_arp_probe 4
|
|
ncd_net_watch_interfaces 4
|
|
ncd_sys_watch_input 4
|
|
ncd_sys_watch_usb 4
|
|
ncd_sys_evdev 4
|
|
ncd_sys_watch_directory 4
|
|
StreamPeerIO 4
|
|
DatagramPeerIO 4
|
|
BReactor 3
|
|
BSignal 3
|
|
FragmentProtoAssembler 4
|
|
BPredicate 3
|
|
ServerConnection 4
|
|
Listener 4
|
|
DataProto 4
|
|
FrameDecider 4
|
|
BSocksClient 4
|
|
BDHCPClientCore 4
|
|
BDHCPClient 4
|
|
NCDIfConfig 4
|
|
BUnixSignal 4
|
|
BProcess 4
|
|
PRStreamSink 4
|
|
PRStreamSource 4
|
|
PacketProtoDecoder 4
|
|
DPRelay 4
|
|
BThreadWork 4
|
|
DPReceive 4
|
|
BInputProcess 4
|
|
NCDUdevMonitorParser 4
|
|
NCDUdevMonitor 4
|
|
NCDUdevCache 4
|
|
NCDUdevManager 4
|
|
BTime 4
|
|
BEncryption 4
|
|
SPProtoDecoder 4
|
|
LineBuffer 4
|
|
BTap 4
|
|
lwip 4
|
|
NCDConfigTokenizer 4
|
|
NCDConfigParser 4
|
|
NCDValParser 4
|
|
nsskey 4
|
|
addr 4
|
|
PasswordListener 4
|
|
NCDInterfaceMonitor 4
|
|
NCDRfkillMonitor 4
|
|
udpgw 4
|
|
UdpGwClient 4
|
|
SocksUdpGwClient 4
|
|
SocksUdpClient 4
|
|
BNetwork 4
|
|
BConnection 4
|
|
BSSLConnection 4
|
|
BDatagram 4
|
|
PeerChat 4
|
|
BArpProbe 4
|
|
NCDModuleIndex 4
|
|
NCDModuleProcess 4
|
|
NCDValGenerator 4
|
|
ncd_from_string 4
|
|
ncd_to_string 4
|
|
ncd_value 4
|
|
ncd_try 4
|
|
ncd_sys_request_server 4
|
|
NCDRequest 4
|
|
ncd_net_ipv6_wait_dynamic_addr 4
|
|
NCDRequestClient 4
|
|
ncd_request 4
|
|
ncd_sys_request_client 4
|
|
ncd_exit 4
|
|
ncd_getargs 4
|
|
ncd_arithmetic 4
|
|
ncd_parse 4
|
|
ncd_valuemetic 4
|
|
ncd_file 4
|
|
ncd_netmask 4
|
|
ncd_implode 4
|
|
ncd_call2 4
|
|
ncd_assert 4
|
|
ncd_reboot 4
|
|
ncd_explode 4
|
|
NCDPlaceholderDb 4
|
|
NCDVal 4
|
|
ncd_net_ipv6_addr 4
|
|
ncd_net_ipv6_route 4
|
|
ncd_net_ipv4_addr_in_network 4
|
|
ncd_net_ipv6_addr_in_network 4
|
|
dostest_server 4
|
|
dostest_attacker 4
|
|
ncd_timer 4
|
|
ncd_file_open 4
|
|
ncd_backtrack 4
|
|
ncd_socket 4
|
|
ncd_depend_scope 4
|
|
ncd_substr 4
|
|
ncd_sys_start_process 4
|
|
NCDBuildProgram 4
|
|
ncd_log 4
|
|
ncd_log_msg 4
|
|
ncd_buffer 4
|
|
ncd_getenv 4
|
|
BThreadSignal 4
|
|
BLockReactor 4
|
|
ncd_load_module 4
|
|
ncd_basic_functions 4
|
|
ncd_objref 4
|