Skip to content

Release 0.794

Latest

Choose a tag to compare

@devopsec devopsec released this 26 Nov 01:52
v0.794-rel
43786f5

Highlights

  • Security hardening of the GUI and its service user. The user management API now requires authentication, backup, restore, upgrade and certificate management are restricted by role, and the GUI no longer has any sudoers rules.
  • Upgrade to any supported release from the GUI or the CLI, with optional tracking of beta releases. Packages are rolled back when an upgrade fails.
  • CDR improvements: date/time range filters, stable sorting and paging, and Call IDs that link to Homer.
  • Cloud fixes: Debian 13 images boot correctly, and DigitalOcean droplets with a reserved IP answer on both of their public addresses.

Upgrading is recommended for all installs. This release fixes critical security issues. See Security fixes and Security recommendations below.

Security fixes

  • The list, get, update and delete routes of /api/v1/auth/user did not require authentication. Anyone could list users, change passwords or roles, or delete users. They now require a login, and a GUI session must be an admin. (#868)
  • Any logged in user, including dsip_guest, could download and restore database backups, start an upgrade and manage certificates. Backup, restore and upgrade now require dsip_admin. Certificates require dsip_admin or dsip_engineer. (#871)
  • Certificate domains are validated before they are used in file paths, and the Kamailio TLS config is parsed in linear time with its profile values validated. (#871)
  • The dsiprouter service user could become root through its sudoers rules and through the config file that the root CLI imported. No sudoers file is installed any more. Restarts and upgrades are requested through systemd request queues that validate each request, and code that loads the config runs as the owner of the config. (#872)
  • Only root can change the nginx sites that are loaded, the upgrade settings an upgrade runs from, and the backups a restore reads. (#872)
  • Restart and upgrade requests from the GUI are limited to one per 60 seconds for each kind. (#872)
  • jinja2 is updated from 3.1.3 to 3.1.6. (#638)

Security recommendations

Restrict the management services to internal networks and company personnel. Update the firewall rules on the server (firewalld) or on your external firewall so that the services below can not be reached from the internet. Only the SIP and RTP ports your carriers and endpoints use need to be public.

Service Ports
System SSH tcp/22
FusionPBX / Provisioning tcp/80, tcp/443
MySQL Database tcp/3306
Galera Replication (if installed) udp/4567, tcp/4567, tcp/4568, tcp/4444
dSIPRouter GUI tcp/5000
Kamailio DMQ (if enabled) udp/5090

If the dSIPRouter GUI was reachable from the internet before this upgrade:

  • Review the GUI users and their roles, and remove any you do not recognise. The user management API could be used without logging in.
  • Change the passwords of the GUI users and the API token. dsiprouter setcredentials sets the admin credentials and the API token from the CLI.
  • Give each user the lowest role that covers their work: dsip_guest, dsip_engineer or dsip_admin.

Features

  • Upgrades: the upgrade page lists every release the installed version can upgrade to. dsiprouter upgrade -list shows the same list, -rel accepts a version or a release tag, and without -rel the latest supported release is installed. Set GIT_TRACK_BETA_RELEASES in the upgrade settings to include beta releases. (#874)
  • Inbound routing API: hard forwarding is supported. (#866)
  • CDRs: filter by a from and to date/time. (#869)
  • CDRs: Call IDs link to the call in Homer when HOMER_HEP_HOST is set. (#875)

Fixes

  • DigitalOcean reserved IP: the internal address is taken from the route out of the default interface, so Kamailio no longer listens on one public address while advertising the other. Kamailio also listens on the droplet's own public address, and calls sent to either address are record-routed with the address they arrived on. (#877)
  • Debian 13 cloud images: cloud-init is kept, networking and sshd come up on first boot, and interfaces on AWS images are no longer left without a network manager. (#865)
  • Upgrades: Kamailio and RTPEngine packages are restored when an upgrade fails. (#873)
  • Upgrades: upgrade settings that list a single version are accepted, settings that can not be read are shown on the upgrade page, and a request that is turned down is recorded as a failed upgrade. (#872, #873)
  • Upgrades: the release lookup runs in the background and no longer blocks the GUI when the releases API is slow or unreachable. (#872)
  • Certificates: uploading a certificate for an existing domain replaces it. (#873)
  • CDRs: dtfilter stays backwards compatible, sorting is fixed and paging is stable. (#870)
  • Backups: backup and restore of the Kamailio DB from the GUI no longer need root. (#871)

Upgrading

Supported from 0.78, 0.79, 0.791, 0.792 and 0.793. The install must be located in /opt/dsiprouter. The server is taken offline for a short time while its services are reinstalled and restarted.

  • From 0.793, Kamailio is not reinstalled. Its config is updated and the schema changes are applied.
  • From 0.79, 0.791 and 0.792, Kamailio is reinstalled and its database is dumped before and replayed after.
  • From 0.78, RTPEngine is reinstalled as well.

The v0.794-rel tag was moved on 2026-11-26 to include #877. Installs and upgrades made from the tag before then do not have the DigitalOcean reserved IP fix.

Upgrading from the GUI

  1. Log in to the dSIPRouter GUI and open System Settings > Upgrade.
  2. Check that the latest version shown is 0.794, then select Upgrade Now and confirm.
  3. Wait for the upgrade to finish. The upgrade log is shown on the page.
  • The upgrade page may seem unresponsive during the upgrade. That issue is fixed in this release, but the fix is not active until the upgrade has finished, so this upgrade still runs on the old page. Give it time to finish and then reload the page. Do not start the upgrade a second time.
  • The upgrade page requires a dSIPRouter Core license.
  • Cluster installations can not be upgraded from the GUI.

After the upgrade, the page lists every release the installed version can upgrade to, and only users with the dsip_admin role can open it.

Upgrading from the CLI

Run as root on the dSIPRouter server:

dsiprouter upgrade -rel 0.794

Once 0.794 is installed, the command has two additions for later upgrades:

dsiprouter upgrade -list    # releases the installed version can upgrade to
dsiprouter upgrade          # upgrade to the latest supported release

Documentation

  • API examples for inbound routing, CDRs and users. (#876)
  • GUI documentation for users, CDRs, backups and limits. (#876)
  • Debian 13 is listed as a supported install target. (#876)

Pull requests

Full Changelog: v0.793-rel...v0.794-rel