Skip to content

ipv6 and domain

wangyu- edited this page Sep 23, 2020 · 6 revisions

ipv6

ipv6 has been supported in the latest pre-relase.

examples:

# ipv6 address
./speederv2 -s -l[fd48::1]:30001 -r[aa:bb:cc:dd::eeff]:30002    #listen on one ipv6 address
./speederv2 -s -l[::]:30001 -r[aa:bb:cc:dd::eeff]:30002         #listen on all ipv6 address


# ipv4 mapped ipv6 address
./speederv2 -s -l[::ffff:127.0.0.1]:30001 -r[::ffff:127.0.0.1]:30002

#ipv4 address
./speederv2 -s -l127.0.0.1:30001 -r44.55.66.77:30002

(ipv6 address must be surrounded with [], ipv4 address must NOT be surrounded with [])

for udp2raw

ipv6 for udp2raw is similiar, except:

addresses such as [::ffff:127.0.0.1] wont work on raw side.

if you want to use both ipv4 and ipv6 for udp2raw, you have to run two udp2raw servers listening on different ports.

domain

there is no domain support, plz resolve domain by yourself,use:

[[email protected]:~]
$ dig +short g.cn
172.217.161.35

or:

root@debian9:~/Desktop/UDPspeeder# nslookup g.cn|grep Add |awk '!/#/{printf$2"\n"}'
203.208.41.47
203.208.41.55
203.208.41.56
203.208.41.63
install dig (debian)
apt-get install dnsutils