ooni / minivpn

A minimalistic OpenVPN implementation in Go
GNU General Public License v3.0
36 stars 6 forks source link

feat: track netmask passed by the remote #55

Closed ainghazal closed 6 months ago

ainghazal commented 6 months ago

We were not tracking the netmask passed by the remote (in the ifconfig option). This will be used to set up routes in the integration branch.

While there, I also changed the type of error returned by the StartTUN constructor, so that it returns the context Error() itself.