Prevent server from crashing due to invalid ccd file

This is where we can discuss what we would like to see added or changed in OpenVPN.
Post Reply
pkirsche
OpenVpn Newbie
Posts: 3
Joined: Sat Aug 22, 2020 1:42 pm

Prevent server from crashing due to invalid ccd file

Post by pkirsche » Sat Aug 22, 2020 2:17 pm

Hi Folks,
again another thought on openvpn from my side.

I am running a openvpn server on the latest openwrt release version (19.7) but I am facing a problem.
Last time I edited a ccd file, I got some error into it (typo), which shouldn't be too dramatic at that point. I assumed that the specific client wasn't able to connect. But no, the whole server crashed with the other attached clients also.
So actually one single invalid ccd file could bring a whole server down?

Has anyone elese have seen this behavior? Maybe it is related to the openvpn port for openwrt only?
In any case it would be helpful to have some kind of strategy to verify ccd files or at least leave the client with invalid ccd file unconnected but don't force the server to go down completely.

Anyone else with that problem?

Thanks :)

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7790
Joined: Fri Jun 03, 2016 1:17 pm

Re: Prevent server from crashing due to invalid ccd file

Post by TinCanTech » Sat Aug 22, 2020 3:32 pm

Server don't crash due to invalid CCD files. They do throw an error message but that is all.

Post Reply