You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NethVoice: remove the public /webrest path of the legacy NethCTI server #8358
The legacy NethCTI server API is still published on the /webrest and /socket.io paths. Every NethVoice client already uses the NethCTI middleware on /api, which forwards requests to the legacy server, so these paths are no longer needed.
Remove the public /webrest and /socket.io paths, so that the legacy NethCTI server is reachable only through the middleware.
What to do
Remove the /webrest and /socket.io routes, also from existing installations on update.
Move the remaining /webrest calls of the FreePBX wizard to /api.
Remove what is left of Nethifier, which is no longer supported: its public port and the notification popup templates.
Make the legacy NethCTI server listen only on the local address.
Release notes
Announce the change in advance to partners and customers that call /webrest from their own integrations or scripts: they must move to the middleware API on /api.
State the minimum NethLink and Phone Island versions required.
Tested ghcr.io/nethserver/crowdsec:1.5.1-dev.1 (NethServer/ns8-crowdsec#257) on a NethVoice instance without the /webrest routes:
30 real 404s on different /webrest/* paths (GET and POST, CTI and voice hosts) from the same IP were all whitelisted: no alert, no ban.
A 404 on any other path still feeds crowdsecurity/http-probing.
nethvoice-middleware-bf counts 401 on /login, /2fa/verify, /2fa/recovery, /2fa/disable and 400 on /2fa/verify-otp, not 429. A real failed login was counted.
Activity
fix(cti): keep the wizard secret for the CTI server
fix(cti): keep the wizard secret for CTI server
docs(ports): mark the Nethifier port slots as free
fix(ports): drop the Nethifier port variables
fix(cti): verify the legacy CTI routes are gone
fix(firewall): fail when the ports are not applied
fix(cti): drop the Nethifier popup templates
fix(api): probe the API mode on every init
fix(api): decide /api or /webrest at login only
fix(login): reject QR tokens without legacy API
docs(api): legacy CTI API removed in 1.9
fix(api): probe the API mode on every init (#322)
fix(api): decide /api or /webrest at login only (#272)
fix(nethvoice): legacy CTI paths and middleware scenario (#257)
stephdl commentedon Nov 25, 2026
QA of NethServer/ns8-crowdsec#257 must verify the module version on
ghcr.io/nethserver/crowdsec:1.5.1-dev.1see the bug is not more reproducible
edospadoni commentedon Nov 25, 2026
Tested
ghcr.io/nethserver/crowdsec:1.5.1-dev.1(NethServer/ns8-crowdsec#257) on a NethVoice instance without the/webrestroutes:/webrest/*paths (GET and POST, CTI and voice hosts) from the same IP were all whitelisted: no alert, no ban.crowdsecurity/http-probing.nethvoice-middleware-bfcounts 401 on/login,/2fa/verify,/2fa/recovery,/2fa/disableand 400 on/2fa/verify-otp, not 429. A real failed login was counted.All good for me.
stephdl commentedon Nov 25, 2026
crowdsec released as https://github.com/NethServer/ns8-crowdsec/releases/tag/1.5.1