Windows version don't support pppoe connection
English Only (except for bug reporting). It only connections to the wrong port randomly
The windows version is based on libpcap. According to my prior test, libpcap doesn't support pppoe on windows.
It only connections to the wrong port randomly
What do you mean by connecting to the wrong port, can you provide the conf and log to help understand what you said.
Well I set the --dev to netcard and by using process explorer I find that program don't connecting to the target port but some random port on server.
The log on client is only
....--dev has been manually set.... [2021-04-25 22:24:06][INFO]waiting for a use-able packet to be captured [2021-04-25 22:24:07][INFO]waiting for a use-able packet to be captured [2021-04-25 22:24:09][INFO]waiting for a use-able packet to be captured [2021-04-25 22:24:11][INFO]waiting for a use-able packet to be captured
It repeat infinitely

client udp2raw -c -l xxxx -r xxxxx --cipher-mode none --hb-len 1 --dev \Device\NPF_xxxxx server udp2raw -s -l 0.0.0.0:xxx -r xxxx --raw-mode faketcp --cipher-mode none --mtu-warn 1480 --hb-len 1 -a
client version git version:b8e9095135 build date:Jan 11 2021 05:59:18
If I don't set --dev it will say
[2021-04-25 22:32:03][FATAL]no matched device found foxr ip: xxx
This (random port) is as expected, before making fakeTCP connect with pcap, udp2raw windows client will send a regular packet to random port to detect the link level header.
The infinite loop is because pcap doesn't support pppoe on windows. It's hard to be fixed because it's a limitation of pcap.