OCServ config-per-user/group does not pick up ipv4-network with network/netmask notation

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Tue Feb 23 05:52:33 PST 2016


On Mon, Feb 22, 2016 at 2:47 PM, Frank Rosquin <frank.rosquin at gmail.com> wrote:
> Hi,
>
> When you use config-per-user or config-per-group, and you use `ipv4-network = 1.2.3.0/24` notation in it, observe just ignores it.
> OTOH, if you use `ipv4-network = 1.2.3.0` and `ipv4-netmask = 255.255.255.0` notation, then it works fine.

Thanks it seems that this syntax was never supported in the per-user
config files. I've added a fix at:
https://gitlab.com/ocserv/ocserv/commit/cbcd4c8279be99e6674319ac2202d777431144e5

regards,
Nikos



More information about the openconnect-devel mailing list