1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-30 07:16:39 +02:00
Files
unrealircd/src/modules
Bram Matthys 8619d1e763 Add optional allow::options::reject-on-auth-failure, as requested
by armyn in https://bugs.unrealircd.org/view.php?id=5769.

The default behavior in 5.x is to continue matching:
allow { ip *@*; class clients; maxperip 2; }
allow { ip *@*; password "iwantmore"; class clients; maxperip 10; }
This so users who provide a password get additional rights,
such as a higher maxperip or a different class, etc.
If the user connects without a password then we simply continue
to the next block and use the general block with only 2 maxperip.

However, some people want to use passwords to keep other users out.
That is entirely understandable as it is an 'allow block' after all.
For example:
allow { ip *@*; class clients; maxperip 2; }
allow { ip *@*.nl; password "tehdutch"; class clients; maxperip 2; options { reject-on-auth-failure; } }
In this case anyone without the correct password will be rejected access.
2020-10-11 09:24:11 +02:00
..
2019-10-26 10:02:00 +02:00
2019-10-26 10:02:00 +02:00
2020-08-26 07:17:07 +02:00
2019-10-18 13:54:40 +02:00
2020-05-05 20:16:56 +02:00
2020-07-15 14:05:27 +02:00
2019-10-11 14:46:13 +02:00
2019-10-05 15:04:54 +02:00
2020-05-16 10:04:33 +02:00
2020-05-05 20:16:56 +02:00
2004-05-12 22:02:05 +00:00
2020-05-05 20:16:56 +02:00
2019-10-09 18:20:06 +02:00
2020-05-05 20:16:56 +02:00
2019-10-19 11:45:08 +02:00
2019-10-18 13:54:40 +02:00
2019-10-11 14:46:13 +02:00
2019-10-11 14:46:13 +02:00