OpenVpn Service
Posted: Thu Feb 10, 2022 10:59 am
I am having issues with service. I am sending my data to OpenVpn Pipe as mentioned in https://community.openvpn.net/openvpn/w ... iveService.
I found few issue, first of all. In the code
https://github.com/OpenVPN/openvpn/blob ... eractive.c
line number 261 why this
the size of WCHAR is 2, so the size turns out to be half of what is read and then
line 485
fails since it is in middle of the data. I modified size to be bytes and it reads correctly.
Now, somewhere in between the data characters are read by OpenVPN service are corrupted.
I am sending data correctly. What is wrong?
I found few issue, first of all. In the code
https://github.com/OpenVPN/openvpn/blob ... eractive.c
line number 261 why this
Code: Select all
size = bytes / sizeof(*data);
line 485
Code: Select all
if (data[size - 1] != 0)
Now, somewhere in between the data characters are read by OpenVPN service are corrupted.
I am sending data correctly. What is wrong?