OpenVpn Service

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
sam1234
OpenVpn Newbie
Posts: 1
Joined: Thu Feb 10, 2022 10:52 am

OpenVpn Service

Post by sam1234 » 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

Code: Select all

size = bytes / sizeof(*data);
the size of WCHAR is 2, so the size turns out to be half of what is read and then
line 485

Code: Select all

if (data[size - 1] != 0)
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?

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: OpenVpn Service

Post by TinCanTech » Thu Feb 10, 2022 7:18 pm

Good bug report -- Really clearly explains the issue ..

Post Reply