Displaying 2 results from an estimated 2 matches for "auth_request_validate_network".
Did you mean:
auth_request_validate_networks
2019 Apr 30
8
Feature request: exclude IP/network in allow_nets extra field
...ogin from everywhere except some IP/networks, how can we accomplish this with "allow_nets"?
Tried allow_nets="!a.b.c.d", but Dovecot reports error "allow_nets: Invalid network '!a.b.c.d'".
Can we have this feature?
i guess it should be done in function "auth_request_validate_networks"[2] in file src/auth/auth-request.c.
[1] allow_nets: https://wiki.dovecot.org/PasswordDatabase/ExtraFields/AllowNets
[2] https://github.com/dovecot/core/blob/fbc3ccc4a9a02b82073585a33254eacedc6a9950/src/auth/auth-request.c#L1990
2019 Apr 30
0
Feature request: exclude IP/network in allow_nets extra field
...some IP/networks, how can we accomplish this with "allow_nets"?
>
> Tried allow_nets="!a.b.c.d", but Dovecot reports error "allow_nets: Invalid network '!a.b.c.d'".
>
> Can we have this feature?
>
> i guess it should be done in function "auth_request_validate_networks"[2] in file src/auth/auth-request.c.
>
> [1] allow_nets: https://wiki.dovecot.org/PasswordDatabase/ExtraFields/AllowNets
> [2] https://github.com/dovecot/core/blob/fbc3ccc4a9a02b82073585a33254eacedc6a9950/src/auth/auth-request.c#L1990