Skip to content

Releases

v1.2.0

Choose a tag to compare

@nexus421 nexus421 released this 23 Nov 17:05
v1.2.0
ed89947

Dirl 1.2.0 makes the terminal easier to use on phones and with a mouse. Config and vault stay as they are, nothing
needs to be migrated.

New

  • A long press selects text in the terminal on phones and tablets, Paste in the key bar pastes.
  • "Copy selected text and paste with a right click" under Settings, off by default: selecting copies and shows a short
    "Copied" near the mouse, a right click pastes, like PuTTY.
  • Pasted text that would run a command right away asks first. See
    Copy and paste.

Smaller changes

  • The key bar on touch devices sits above the terminal, so the system bar of the installed app no longer covers it.
  • Ktor 3.6.1 and kotlinx-serialization 1.13.0.

Upgrading from 1.1.1

Replace dirl.jar or pull the new image and restart. While the new clipboard setting is on, older versions cannot
open the vault or restore a backup made in that time. Turn it off before going back.

Downloads

  • dirl.jar with its SHA-256 sum dirl.jar.sha256, runs on Java 21 or newer
  • Docker image ghcr.io/nexus421/dirl:1.2.0, also latest, see Deployment

v1.1.1

Choose a tag to compare

@nexus421 nexus421 released this 18 Nov 16:03

Dirl 1.1.1 is a hotfix release: a fresh Docker image on the current Corretto, clearer login errors and two fixes.
Config and vault stay as they are, nothing needs to be migrated.

Security

  • The Docker image is built on the current Corretto 21 with its latest security updates. With the JAR, update the
    JVM on your server yourself, the JAR does not bring its own.
  • From now on the image of the latest release is rebuilt automatically when Corretto or Amazon Linux get an update,
    with the same dirl.jar and the same tests as a release. A rebuild gets its own tag (1.1.1-r2, -r3 and so on),
    1.1.1 and latest move to it. docker compose pull picks it up.

Fixes

  • Underscores were invisible in the terminal with some fonts, for example DejaVu Sans Mono. The line height is now a
    little larger so nothing is cut off below the line.
  • A failed file operation behind Cloudflare showed Cloudflare's error page instead of Dirl's message. It now answers
    with HTTP 409 instead of 502.
  • The login page tells an unreachable identity provider apart from wrong login settings. "Not reachable" (HTTP 503)
    goes away by itself, "Dirl's login settings do not match the identity provider" (HTTP 500) needs a change and the
    server log names the reason. Before, a wrong setting read as "not reachable" and a provider outage during the
    login read as a refused login. See
    Configuration.

Smaller changes

  • BouncyCastle is updated from 1.86 to 1.87.

Upgrading from 1.1.0

Replace dirl.jar or pull the new image and restart.

Downloads

  • dirl.jar with its SHA-256 sum dirl.jar.sha256, runs on Java 21 or newer
  • Docker image ghcr.io/nexus421/dirl:1.1.1, also latest, see Deployment

v1.1.0

Choose a tag to compare

@nexus421 nexus421 released this 14 Nov 16:35

Dirl 1.1.0 closes the findings of a second security audit and makes setup and everyday use a little simpler. Config
and vault stay as they are, nothing needs to be migrated.

Security

  • A key file that no longer fits the unlock mode (after a switch to passphrase mode, a new key file or a restored
    backup) kept opening the vault. The unlock page now explains the mismatch and offers to re-encrypt, the old key file
    then opens nothing on the server any more. Nothing changes without that click, nothing is lost as long as you know
    the passphrase.
  • A compromised server could crash Dirl with a huge directory listing, which restarted it sealed. Listings are now
    capped at 16 MiB and end with a warning that the server may be compromised.
  • Uploads into a directory other users can write to no longer follow or write into files planted there. The temporary
    file has a random name, and a failed rename never deletes the target.
  • A request still on its way when a user is removed or logs out no longer takes effect, for example granting access
    or writing further files of an upload.
  • Escape sequences in log messages, for example from a server's error text, show as harmless text instead of acting
    in the terminal of whoever reads the log.
  • Snippets with hidden characters (control characters, characters that reorder text such as U+202E) are refused, so
    an imported snippet does what its preview shows.
  • The systemd unit keeps Dirl out of swap, so the decrypted keys never reach the disk.

New

  • Every host page offers a command that puts its authorized_keys line in place. It replaces an older line of the
    same key and keeps all other keys.
  • The host overview updates itself without reloading the page, every second while hosts are connecting. The scroll
    position stays.
  • The round trip is the smallest of three measurements, the first one after a login was often far too high.
  • File uploads get the same drop zone as the snippet import, for several files at once.
  • The systemd install needs four commands: the unit runs Dirl with a user of its own that systemd creates, and hands it
    the config through LoadCredential.

Smaller changes

  • Cards next to each other have the same height.
  • The quick start names the OIDC callback URL, the documentation is about half as long and starts each page with
    the shortest way.
  • The Gradle wrapper checks the downloaded Gradle against its checksum.

Upgrading from 1.0.0

Replace dirl.jar or pull the new image and restart.

With systemd your current unit keeps working. Add MemorySwapMax=0 to it to keep Dirl out of swap. The new unit with
the dynamic user is meant for new installs, see Deployment.
In key file mode it reads the key through LoadCredential, see
Unlocking.

Downloads

  • dirl.jar with its SHA-256 sum dirl.jar.sha256, runs on Java 21 or newer
  • Docker image ghcr.io/nexus421/dirl:1.1.0, also latest, see Deployment

v1.0.0

Choose a tag to compare

@nexus421 nexus421 released this 11 Nov 17:17

Dirl 1.0.0 is the first stable release. Dirl is a lean, self-hosted web SSH client: terminal, SFTP, jump hosts and
server status in the browser, one fat JAR, login through any OpenID Connect provider and an encrypted vault for hosts
and keys.

Before this release the code base went through several code reviews and a security audit, every file was read by
hand, and every finding was fixed, documented or deliberately accepted. From now on the vault and the config
file count as stable: a later release that changes them migrates them.

Dirl is feature complete for what it is meant to do. It stays maintained with security fixes, bug fixes and dependency
updates, new features come only rarely. Issues and bug reports are welcome.

Changes since 0.7.0

Files

  • An upload that breaks off (closed tab, lost network, a proxy giving up) no longer replaces the file it would
    overwrite. Each file is renamed into place only once it arrived completely, the temporary file of a broken one is
    removed, and only completed files appear in the audit log. This relies on the request size, which browsers always
    send. A script uploading without Content-Length is not protected, see Security.

Snippets

  • A carriage return in a snippet counts as a line break, so a snippet ending in one asks first like any other instead
    of running at once.
  • A variable with a long emoji default and a variable named __proto__ now behave in the browser exactly as the
    snippets page shows them.
  • The ready-made tmux snippets ask for the session name, prefilled with dirl. Snippets you already added stay as
    they are, add them again under Snippets to get the new ones.

Vault and status

  • The unlock page names the real reason the vault is sealed: a restart, a failed automatic unlock with the key file,
    sealing under Settings or a restored backup.
  • Mount points, file system types and the installed kernel reported by a server are cleaned of control and escape
    characters and capped like every other text from the server.

Release and documentation

  • The release workflow accepts only tags of the form v<version>, a release without the v would never show up in
    the update check.
  • The documentation now states the limits it had left out: reboot needed on Arch and Alpine, the upload protection
    behind a reverse proxy, the display name fallback, the config error messages.
  • New tests check every route against the login, access, origin and vault checks, the owner only permissions of the
    data files, and run the snippet placeholder code of the browser in Node.

Upgrading from 0.7.0

Replace dirl.jar or pull the new image and restart. Config and vault stay as they are, nothing needs to be migrated.

Downloads

  • dirl.jar with its SHA-256 sum dirl.jar.sha256, runs on Java 21 or newer
  • Docker image ghcr.io/nexus421/dirl:1.0.0, also latest, see Deployment

v0.7.0

Choose a tag to compare

@nexus421 nexus421 released this 31 Oct 10:31

What's new

  • Docker image. Every release now publishes ghcr.io/nexus421/dirl for amd64 and arm64, as 0.7.0 and latest. docker-compose.yml runs it as a real install, restricted like the systemd unit: read-only, no capabilities, no swap, the port only on 127.0.0.1. You bring config.json and your reverse proxy, see Deployment. CI starts the image on every push and goes through a whole first start against it.
  • Snippets with variables. {{Container}} or {{Lines:100}} in a command opens a small form above the terminal with one field per variable, the default prefilled and a live preview with every value marked. Go templates like {{.Names}} stay as they are. Snippets with variables carry a blue pill on the snippets page and { } on their button.
  • Snippets ask before they send. A snippet that does not run immediately shows its command above the terminal with Send and Cancel. A button that runs on the click shows ⏎.
  • Actions mode for phones. On touch screens the terminal page starts in Actions mode: the terminal only shows output, Enter, Cancel and a panel with every snippet are the input, so the on-screen keyboard stays closed. A toggle switches to the classic terminal, remembered per device.
  • Ready-made tmux snippets. Start tmux and Stop tmux can be added on the snippets page, a long job then survives a dropped connection.
  • Install as an app. Dirl can be installed from the browser, still without a service worker or any cache.

Security

  • With oidc.allowedSubjects set, only those users can create or restore the vault. An empty list keeps first come, first served.
  • Access requests always show the subject, a display name already taken by an allowed user is marked, display names are cleaned and cut to 80 characters.
  • /login, /auth/start, /auth/callback and /healthz are matched exactly instead of by prefix.
  • The reasons of a denied login and of a failed SSH connect are cleaned before they are logged or shown. A line break in them could forge a log line.
  • A flood of login callbacks fails at once when all identity provider slots are taken instead of holding threads that serve terminals.
  • Every file route refuses a host marked jump host only, not just the listing.
  • The pages before the login no longer show the version.

Fixes

  • A trailing slash of the issuer is dropped before the discovery document is fetched, as Authentik needs it.
  • A query in the authorization endpoint is kept when the login parameters are added.
  • Sealing the vault forgets the status of every host, the overview no longer shows old values after the unlock.
  • The Enter button of the action bar sends a real Enter, and xterm's answers reach the host in Actions mode.
  • Password managers no longer offer to fill the variable fields.

Upgrading

Replace dirl.jar and restart, vault and config stay as they are. Snippets that do not run immediately used to type their command only. They now ask with Send and Cancel first. With oidc.allowedSubjects set, only those users can create a vault, which matters only for an instance without one.

v0.6.0

Choose a tag to compare

@nexus421 nexus421 released this 28 Oct 17:44

What's new

  • A new login. A terminal types dirl scan and lists line by line what Dirl does, next to the sign in. On phones the sign in comes first. Stars twinkle in dark mode, and everything stands still when your system asks for reduced motion.
  • A faint glow on every page in blue, cyan and violet, stronger in dark mode. Green, yellow and red stay reserved for the status of your hosts.
  • Unlock and setup match the login, with the logo as a tile and a light edge on the card.
  • Login through any OpenID Connect provider in the docs, Pocket ID remains the one tested.

Upgrading

Replace dirl.jar and restart, vault and config stay as they are.

v0.5.0

Choose a tag to compare

@nexus421 nexus421 released this 28 Oct 17:05

What's new

  • Hosts as rows. Each host is one row: a status bar in green, yellow or red with its icon, the name with warnings and tags, bars with a green to red gradient, the values you chose, the round trip and Terminal and Files. Click a row to open the host. On phones a row becomes a tile.
  • Pins and your own order. Pin hosts to a group on top. "Arrange" sets the order of the hosts page, with number fields or arrows, saved in one go.
  • Round trip. Every status poll measures an SSH request over the existing connection, through jump hosts too, no ICMP needed. Green below 100 ms, yellow from 100 ms on, offline in red.
  • Tidier snippets page. Folders are folded, the one you just changed opens. The import takes a dropped or chosen file in a drop zone.
  • Login through any OpenID Connect provider in the docs, Pocket ID remains the one tested.

Upgrading

Replace dirl.jar and restart, vault and config stay as they are. The hosts page now follows the order of your hosts instead of sorting by name: open "Arrange" once and save the order you want.

v0.4.0

Choose a tag to compare

@nexus421 nexus421 released this 27 Oct 16:39

What's new

  • Snippet export and import. Export all snippets as JSON, share them or have an AI tool write them. The import shows a preview first: new, replacing an existing one (old and new command side by side) or unchanged, with a checkbox per snippet. Existing snippets can be replaced, kept, or all deleted in favour of the file. A file with problems is refused as a whole, with every problem listed.
  • Several source addresses for from="...". Dirl's source address and the address seen behind a jump host take lists and CIDR ranges, e.g. a LAN address and a public one. Spaces are removed, entries that make OpenSSH refuse the line (host bits set in a CIDR range, a wrong prefix) are rejected with a hint.
  • No source restriction, if you want it. Settings can leave from="..." out of all authorized_keys lines for setups where a firewall already decides who reaches SSH, with a warning on the settings and host pages.
  • Keys page folded into compact rows, new screenshots.

Upgrading

Replace dirl.jar and restart. Vault and config stay as they are. The new option is off by default.

v0.3.1

Choose a tag to compare

@nexus421 nexus421 released this 25 Oct 12:47

Fixes

  • zram shows how much RAM it really saves. The factor was the stored data against the compressed size. Pages
    full of zeros count as stored but not as compressed, so a nearly empty zram showed factors like 69x. The factor
    now compares the stored data with the RAM zram takes, overhead included. Below 1 MiB of stored data the card says
    "nearly empty". The host page shows stored, compressed and RAM used.

Download dirl.jar below and check it against dirl.jar.sha256. Requires Java 21.

v0.3.0

Choose a tag to compare

@nexus421 nexus421 released this 25 Oct 12:32

Before you upgrade

  • The update check is on by default. While Dirl is used, the server asks api.github.com at most once an hour
    for the newest release, never the browser. Only the version number is read, nothing is downloaded or installed.
    GitHub sees the server's address and the Java version. Turn it off under Settings, Updates. Outgoing HTTPS to
    api.github.com must be allowed for it to work.
  • No way back to 0.2.0 once you change the new settings. After turning the update check off or changing what an
    overview card shows, Dirl 0.2.0 cannot read the vault any more. A vault where neither was changed stays readable.
    Download an encrypted backup under Settings before you try.
  • A publicUrl with a path, query, fragment or user info is refused at start with a message that names the
    problem. Such a URL never worked, Dirl only runs at the root of its host.

New

  • Choose per host what its overview card shows: CPU, RAM, swap, fullest disk, every disk, load with the number
    of cores, uptime, reboot needed, failed services, zram, system and kernel, logged in users. The default is what the
    card showed before. The host page always shows everything.
  • Reboot needed works like on Debian: the kernel /vmlinuz points to (or the last one installed in /boot)
    differs from the running one, or /run/reboot-required exists. In a container without its own kernel it is only
    known from that flag.
  • Failed services counts failed systemd units, the host page lists them. Without systemd it shows as unknown.
  • A note in the footer when a newer release is out, with a link to it. Settings shows the running and the
    latest version.
  • The browser asks before you leave an open terminal, also on Ctrl+W, because leaving ends the shell on the
    server. Run long jobs in tmux or screen.

Fixes

  • A failed upload names the reason, for example Failed: a.txt (Permission denied).
  • Text from servers (system name, kernel, unit names) is cleaned of control and escape characters and capped.

Details: security,
deployment.

Download dirl.jar below and check it against dirl.jar.sha256. Requires Java 21.