Friday, December 4, 2026

SSH Public Key Auth

 On Windows client machine

 1. Open folder C:\Program Files\PuTTY
 
 2. Double click puttygen.exe
 
 3. Select type of key EdDSA with 255 bits (it is the best curve).
 
 4. Click on Generate button and move mouse over the windows central area for randomness.
 
 5. On key comment type something meaningful, like Rob's key from Michigan, add the date if you want.
 
 6. Type a key passphrase to protect key, confirm passphrase.
 
 7. Copy public key part and paste it on Notepad for later use.
 
 8. Click on Save private key button. Provide folder and name for the .PPK file
 
 9. Close puttygen.exe window.

10. Double click on .PPK file you have just created and provide the passphrase you typed on step # 6.

11. Now pageant.exe is running on the background, you could see it on the taskbar tray. Double click to open window showing loaded private keys and actions you can do.

On the server

 1. Create a file on directory ~/.ssh with name authorized_keys, just open it in case it exists.

 2. Copy into that file the content you pasted on step 7.

 3. Save file.

 4. Make sure the file's permission are 0600 with command stat ~/.ssh/authorized_keys You can set permissions with command chmod 600 ~/.ssh/authorized_keys

 5. Make sure you provide an Auto-login username on putty's session (Load session then click on Connection/Data and fill box Auto-login username).

Now you should be able to open the session on Putty without having to type the password. On Putty's terminal screen will appear Authenticating with public key when the session is opened.

For WinSCP create the session with username without password.

 

How to Disable Unattended Upgrades on Ubuntu Server

Executive Summary

Ubuntu uses the unattended-upgrades package, APT configuration files, and systemd timers to automatically download and install permitted package updates, including security patches.

Although automatic upgrades improve security, they can introduce operational risks on production servers, including unexpected service restarts, dependency changes, and application compatibility issues.

The recommended approach for production servers with controlled maintenance windows is to:

  • Disable automatic package installation through an APT configuration override.

  • Disable apt-daily-upgrade.timer.

  • Keep apt-daily.timer enabled to refresh package lists automatically.

  • Leave the unattended-upgrades package installed.

  • Install security patches manually during scheduled maintenance windows.

Disabling apt-daily-upgrade.service directly is insufficient because it is normally a static systemd service activated by a timer.

Quick Implementation

Execute the following commands to implement the recommended configuration:

sudo tee /etc/apt/apt.conf.d/99-disable-unattended-upgrades > /dev/null <<'EOF'
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "0";
EOF

sudo systemctl disable --now apt-daily-upgrade.timer
sudo systemctl enable --now apt-daily.timer

Verify the configuration:

apt-config dump | grep APT::Periodic
systemctl is-enabled apt-daily-upgrade.timer
systemctl is-enabled apt-daily.timer
systemctl list-timers --all | grep apt

Expected results:

ComponentExpected state
Automatic package list updatesEnabled
Automatic package installationDisabled
apt-daily.timerEnabled
apt-daily-upgrade.timerDisabled
Manual APT operationsAvailable
Unattended-upgrades packageRemains installed

Security warning: After implementing this configuration, the system administrator becomes responsible for installing security updates.


1. Introduction

Ubuntu includes an automatic update mechanism called unattended-upgrades, which periodically installs security updates and other permitted package upgrades without administrator intervention.

While this functionality is useful for desktops and general-purpose servers, it may not be desirable in production environments running critical applications such as MySQL, Apache, Nginx, or Java application servers.

Unexpected package upgrades can introduce dependency changes, restart services, or affect application availability. For this reason, system administrators may prefer to perform upgrades manually during scheduled maintenance windows.

This article explains how Ubuntu's automatic upgrade mechanism works, how to disable it properly, and how to verify the resulting configuration.

2. Understanding Ubuntu's Automatic Update Mechanism

Ubuntu uses systemd services and timers to manage automatic package updates.

The four main systemd units involved are:

Systemd unitPurpose
apt-daily.timerSchedules package list updates.
apt-daily.serviceUpdates package lists and performs related maintenance.
apt-daily-upgrade.timerSchedules automatic package upgrades.
apt-daily-upgrade.serviceExecutes automatic upgrades and cleanup activities.

The automatic upgrade process follows this execution sequence:

apt-daily-upgrade.timer
          |
          v
apt-daily-upgrade.service
          |
          v
/usr/lib/apt/apt.systemd.daily install
          |
          v
unattended-upgrade
          |
          v
Package installation

Whether packages are actually installed depends on the effective APT configuration.

There is also a separate service called unattended-upgrades.service, which primarily coordinates unattended upgrades with system shutdown. It should not be confused with apt-daily-upgrade.service.

3. What Is apt-daily-upgrade.service?

The apt-daily-upgrade.service is a systemd service responsible for executing scheduled package upgrades and cleanup activities.

Its configuration can be inspected using:

systemctl cat apt-daily-upgrade.service

A typical service definition contains:

[Unit]
Description=Daily apt upgrade and clean activities
After=apt-daily.service network.target network-online.target
ConditionACPower=true

[Service]
Type=oneshot
ExecStart=/usr/lib/apt/apt.systemd.daily install
KillMode=process
TimeoutStopSec=900

The exact definition may vary depending on the Ubuntu and APT versions.

The important parameter is:

Type=oneshot

This indicates that the service performs a specific task and terminates when the task is completed. Unlike Apache or MySQL, it does not run continuously.

Consequently, seeing the following status is perfectly normal:

Active: inactive (dead)

This does not mean that automatic upgrades are disabled.

4. Disabling Unattended Upgrades Through APT

The standard automatic upgrade configuration is located in:

/etc/apt/apt.conf.d/20auto-upgrades

Its contents typically include:

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";

These parameters control the following functionality:

ParameterDescription
Update-Package-ListsPeriodically refreshes package lists.
Unattended-UpgradePeriodically installs permitted package updates.

A value of "0" disables the corresponding activity, while a positive integer specifies the interval in days.

4.1. Using a Local Configuration Override

Instead of modifying the original configuration file, it is preferable to create a separate local configuration override.

sudo nano /etc/apt/apt.conf.d/99-disable-unattended-upgrades

Add the following:

APT::Periodic::Unattended-Upgrade "0";

Alternatively, explicitly configure both parameters:

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "0";

This configuration allows Ubuntu to continue refreshing package lists automatically without installing package upgrades.

Using a separate configuration file avoids modifying the original configuration and makes the changes easier to reverse.

4.2. Disabling All Periodic APT Activities

If the objective is to disable APT's periodic maintenance mechanism entirely, use:

APT::Periodic::Enable "0";
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Unattended-Upgrade "0";

This is more restrictive than disabling unattended upgrades alone and is generally unnecessary unless all APT maintenance is managed manually.

5. Disabling the Automatic Upgrade Timer

To prevent systemd from scheduling automatic upgrade executions, disable the corresponding timer:

sudo systemctl disable --now apt-daily-upgrade.timer

The command performs two operations:

  • disable: Removes the timer's automatic startup configuration.

  • --now: Stops the currently active timer immediately.

If you also want to disable automatic package list updates, execute:

sudo systemctl disable --now apt-daily.timer

However, disabling the package list update timer is not necessary if the objective is only to prevent automatic package installations.

Disabling the upgrade timer also prevents cleanup activities normally scheduled through that timer.

Stopping the timer does not interrupt an upgrade service that is already running.

6. Why Disabling the Service Itself Does Not Work

An administrator might attempt to disable automatic upgrades using:

sudo systemctl disable apt-daily-upgrade.service

However, this generally has no effect.

The reason is that apt-daily-upgrade.service is normally a static systemd service.

This can be verified using:

systemctl is-enabled apt-daily-upgrade.service

Expected output:

static

A static service does not normally contain an [Install] section defining how it should be enabled at boot.

Instead, it is activated by another systemd unit, in this case:

apt-daily-upgrade.timer

Therefore, disabling the timer rather than the service is the appropriate way to prevent scheduled execution.

7. Disabling Versus Stopping Versus Masking

Systemd provides several mechanisms for controlling services.

CommandEffect
systemctl disable apt-daily-upgrade.serviceGenerally has no effect on a static service.
systemctl stop apt-daily-upgrade.serviceStops an active service.
systemctl mask apt-daily-upgrade.servicePrevents future activation of the service.
systemctl disable --now apt-daily-upgrade.timerStops and disables scheduled upgrade execution.
systemctl disable --now apt-daily.timerStops and disables scheduled package list updates.

7.1. Masking the Service

To completely prevent systemd from activating the upgrade service:

sudo systemctl mask apt-daily-upgrade.service

Masking normally creates a systemd override pointing the unit to /dev/null.

This prevents the service from being started manually or through another systemd unit.

To reverse the operation:

sudo systemctl unmask apt-daily-upgrade.service

Masking is generally unnecessary because disabling the timer and configuring APT appropriately is sufficient.

Additionally, masking the service does not prevent other programs from invoking unattended-upgrade directly.

If the timer remains enabled while the service is masked, systemd may generate errors when attempting to activate the service.

7.2. Do Not Interrupt an Active Upgrade

Before stopping an upgrade service, verify whether an upgrade is currently running:

systemctl status apt-daily-upgrade.service

If packages are actively being installed, allow the process to finish. Interrupting package installation can leave packages partially configured or the package database in an inconsistent state.

8. Verifying the Configuration

8.1. Check the Effective APT Configuration

apt-config dump | grep APT::Periodic

The recommended configuration should include:

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "0";

This command is particularly useful because it displays the effective configuration after processing the APT configuration files.

8.2. Check Systemd Unit States

systemctl is-enabled apt-daily.service \
    apt-daily.timer \
    apt-daily-upgrade.service \
    apt-daily-upgrade.timer

The expected configuration is:

Systemd unitExpected state
apt-daily.servicestatic
apt-daily.timerenabled
apt-daily-upgrade.servicestatic
apt-daily-upgrade.timerdisabled

8.3. Check Scheduled Timers

systemctl list-timers --all | grep apt

8.4. Check the Upgrade Service Status

systemctl status apt-daily-upgrade.service

8.5. Check Whether the Upgrade Timer Is Active

systemctl is-active apt-daily-upgrade.timer

Expected output:

inactive

8.6. Review the Service Execution History

journalctl -u apt-daily-upgrade.service

To review only the last seven days:

journalctl -u apt-daily-upgrade.service --since "7 days ago"

To monitor service messages in real time:

journalctl -fu apt-daily-upgrade.service

8.7. Review Unattended Upgrade Logs

sudo less /var/log/unattended-upgrades/unattended-upgrades.log

Review the APT package installation history:

sudo less /var/log/apt/history.log

Review the dpkg installation history:

sudo less /var/log/dpkg.log

9. Performing Manual Package Upgrades

Disabling unattended upgrades does not interfere with normal APT operations.

Refresh Package Lists

sudo apt update

Display Available Upgrades

apt list --upgradable

Simulate an Upgrade Without Installing Packages

apt -s upgrade

Install Available Upgrades

sudo apt upgrade

Perform a Full Package Upgrade

sudo apt full-upgrade

Unlike a regular apt upgrade, a full upgrade may remove installed packages to resolve dependency changes. Review the proposed changes before proceeding.

Remove Unnecessary Packages

sudo apt autoremove

Clean the Package Cache

sudo apt autoclean

Check Whether a System Reboot Is Required

if [ -f /var/run/reboot-required ]; then
    cat /var/run/reboot-required
else
    echo "No reboot required"
fi

Identify Packages Requiring a Reboot

if [ -f /var/run/reboot-required.pkgs ]; then
    cat /var/run/reboot-required.pkgs
fi

These operations can be performed during a scheduled maintenance window.

10. Re-enabling Unattended Upgrades

To restore automatic upgrades, first remove the local configuration override:

sudo rm /etc/apt/apt.conf.d/99-disable-unattended-upgrades

Reconfigure the unattended-upgrades package:

sudo dpkg-reconfigure unattended-upgrades

Select Yes when prompted.

If the upgrade service was previously masked, unmask it:

sudo systemctl unmask apt-daily-upgrade.service

Enable and start both timers:

sudo systemctl enable --now apt-daily.timer
sudo systemctl enable --now apt-daily-upgrade.timer

Finally, verify the effective configuration:

apt-config dump | grep APT::Periodic

And verify the scheduled timers:

systemctl list-timers --all | grep apt

11. Recommended Configuration for Production Servers

For production servers where package installation is managed manually, the following configuration provides a balance between operational stability and package update awareness.

Create a local APT configuration override:

sudo tee /etc/apt/apt.conf.d/99-disable-unattended-upgrades > /dev/null <<'EOF'
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "0";
EOF

Keep automatic package list updates enabled:

sudo systemctl enable --now apt-daily.timer

Disable scheduled automatic upgrades:

sudo systemctl disable --now apt-daily-upgrade.timer

The resulting configuration provides:

  • Automatic package list updates.

  • No scheduled automatic package installation through the standard APT upgrade mechanism.

  • Administrator-controlled maintenance windows.

  • Continued availability of manual APT operations.

  • Reduced risk of unexpected service restarts caused by unattended package upgrades.

  • An easily reversible configuration.

There is no need to uninstall the unattended-upgrades package or mask the associated systemd service.

Other update mechanisms, such as third-party management agents, custom cron jobs, and Snap automatic updates, are not disabled by this configuration.

12. Configuration Profiles

Three common configurations are available depending on the server's operational requirements.

ConfigurationAutomatic updatesAutomatic upgradesUpdate timerUpgrade timer
Default UbuntuYesYesEnabledEnabled
Controlled production serverYesNoEnabledDisabled
Fully manual maintenanceNoNoDisabledDisabled

Profile A: Default Ubuntu Configuration

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
sudo systemctl enable --now apt-daily.timer apt-daily-upgrade.timer

Profile B: Controlled Production Server (Recommended)

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "0";
sudo systemctl enable --now apt-daily.timer
sudo systemctl disable --now apt-daily-upgrade.timer

Profile C: Fully Manual Maintenance

APT::Periodic::Enable "0";
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Unattended-Upgrade "0";
sudo systemctl disable --now apt-daily.timer apt-daily-upgrade.timer

Profile C is appropriate only when the administrator or an external management system assumes responsibility for all APT maintenance.

13. Command Reference

Configuration and Inspection

CommandDescription
apt-config dumpDisplay effective APT configuration.
apt-config dump | grep APT::PeriodicDisplay periodic update configuration.
cat /etc/apt/apt.conf.d/20auto-upgradesDisplay the standard automatic upgrade configuration.
systemctl cat apt-daily-upgrade.serviceDisplay the upgrade service definition.
systemctl cat apt-daily-upgrade.timerDisplay the upgrade timer definition.
dpkg -l unattended-upgradesCheck whether unattended-upgrades is installed.

Disabling Automatic Upgrades

CommandDescription
sudo systemctl disable --now apt-daily-upgrade.timerDisable scheduled automatic upgrades.
sudo systemctl disable --now apt-daily.timerDisable scheduled package list updates.
sudo systemctl mask apt-daily-upgrade.servicePrevent systemd activation of the upgrade service.

Re-enabling Automatic Upgrades

CommandDescription
sudo dpkg-reconfigure unattended-upgradesReconfigure unattended upgrades.
sudo systemctl unmask apt-daily-upgrade.serviceRemove service masking.
sudo systemctl enable --now apt-daily.timerEnable automatic package list updates.
sudo systemctl enable --now apt-daily-upgrade.timerEnable scheduled automatic upgrades.

Status and Troubleshooting

CommandDescription
systemctl list-timers --allDisplay systemd timers.
systemctl is-enabled apt-daily-upgrade.timerCheck whether the upgrade timer is enabled.
systemctl is-active apt-daily-upgrade.timerCheck whether the upgrade timer is active.
systemctl status apt-daily-upgrade.serviceDisplay upgrade service status.
journalctl -u apt-daily-upgrade.serviceDisplay upgrade service execution history.
journalctl -fu apt-daily-upgrade.serviceMonitor upgrade service messages.
sudo dpkg --auditCheck for partially installed or inconsistent packages.

Manual Package Maintenance

CommandDescription
sudo apt updateRefresh package lists.
apt list --upgradableList available package upgrades.
apt -s upgradeSimulate package upgrades.
sudo apt upgradeInstall available package upgrades.
sudo apt full-upgradeUpgrade packages, allowing dependency-related removals.
sudo apt autoremoveRemove unnecessary dependencies.
sudo apt autocleanRemove obsolete cached package files.

14. Important Files and Directories

File or directoryPurpose
/etc/apt/apt.conf.d/20auto-upgradesStandard automatic update configuration.
/etc/apt/apt.conf.d/50unattended-upgradesUnattended upgrade policies and permitted package origins.
/etc/apt/apt.conf.d/99-disable-unattended-upgradesCustom local configuration override created in this article.
/usr/lib/apt/apt.systemd.dailyAPT periodic maintenance script.
/var/log/unattended-upgrades/Unattended upgrade logs.
/var/log/apt/history.logAPT package transaction history.
/var/log/apt/term.logAPT package installation output.
/var/log/dpkg.logPackage installation and removal history.
/var/lib/apt/periodic/Periodic APT activity timestamps.
/var/run/reboot-requiredIndicates that a reboot is required.

Conclusion

Disabling unattended upgrades on Ubuntu requires understanding the distinction between systemd timers, systemd services, and APT configuration.

Simply disabling apt-daily-upgrade.service is not sufficient because it is normally a static service activated by a timer.

The recommended approach is to:

  1. Disable unattended package installation through a local APT configuration override.

  2. Disable apt-daily-upgrade.timer.

  3. Keep apt-daily.timer enabled if automatic package list updates are desired.

  4. Perform package upgrades manually during scheduled maintenance windows.

  5. Regularly monitor available security updates.

Security consideration: Disabling unattended upgrades transfers responsibility for installing security patches to the system administrator. A regular patch management schedule and monitoring for critical vulnerabilities are essential.


Category: Linux System Administration

Tags: Ubuntu, Ubuntu Server, Linux, APT, systemd, unattended-upgrades, Security, Patch Management, Production Servers

Applicability: Ubuntu Server using systemd and APT's standard periodic maintenance mechanism, including Ubuntu 22.04 and 24.04 LTS. Administrators should inspect their installed unit definitions and effective configuration before applying changes to other releases.

Thursday, December 3, 2026

What Happened to the last Command in Ubuntu 26.04 LTS?

December 3, 2026 | Linux, Ubuntu Server, System Administration

If you have recently installed or upgraded to Ubuntu 26.04 LTS, you may have noticed that the familiar last command is missing.

For decades, Linux system administrators have used this command to inspect user login history, identify remote connections, investigate suspicious activity, and determine when a server was rebooted.

Fortunately, the functionality has not disappeared. It has been replaced by a more modern implementation called wtmpdb.

Why Was the last Command Replaced?

Traditionally, the last command was provided by the util-linux package and retrieved login and logout information from the binary file:

/var/log/wtmp

One of the limitations of this traditional file format is its vulnerability to the Year 2038 problem, caused by the use of signed 32-bit Unix timestamps.

The new implementation, wtmpdb, addresses this limitation by using an SQLite database and 64-bit timestamps.

The transition offers several benefits:

  • Compatibility with dates beyond January 2038.

  • SQLite-based storage.

  • Modern login and logout tracking.

  • Continued support for familiar command-line options.

  • Integration with Pluggable Authentication Modules (PAM).

Installing wtmpdb on Ubuntu 26.04

The replacement may not be installed by default on your server.

To install it, execute:

sudo apt update
sudo apt install wtmpdb libpam-wtmpdb

The two packages serve different purposes:

PackagePurpose
wtmpdbDisplays login, logout and reboot history.
libpam-wtmpdbRecords user login and logout events through PAM.

Both packages are available in the Ubuntu Universe repository.

If Universe is not enabled, execute:

sudo add-apt-repository universe
sudo apt update

Using the New last Command

The direct replacement for the traditional command is:

wtmpdb last

If the compatibility command is installed, you can continue using:

last

You can verify its availability with:

command -v last

Display the Last 10 Login Records

wtmpdb last -n 10

Display Server Reboot History

wtmpdb last reboot

Display Login History for a Specific User

wtmpdb last username

Display Full Login and Logout Timestamps

wtmpdb last -F

Display IP Addresses Instead of Hostnames

wtmpdb last -i

Display All Available Options

wtmpdb last --help

Where Is Login History Stored?

Instead of using the traditional binary file, wtmpdb uses an SQLite database.

The database location used by the Ubuntu packaging is:

/var/lib/wtmpdb/wtmp.db

The following compatibility path may also be available:

/var/log/wtmp.db

You can inspect these locations using:

ls -l /var/lib/wtmpdb/ /var/log/wtmp*

It is important to understand that installing wtmpdb does not automatically reconstruct all previous login records. Existing historical records may need to be imported separately.

Alternatives Using systemd

If you prefer not to install additional packages, Ubuntu provides several useful alternatives through systemd.

Display System Reboot History

journalctl --list-boots

This command displays the system boots retained in the systemd journal.

Display SSH Login Activity

sudo journalctl -u ssh.service

Display Successful SSH Logins

sudo journalctl -u ssh.service | grep 'Accepted'

Display Failed SSH Password Attempts

sudo journalctl -u ssh.service | grep 'Failed password'

Display SSH Activity for the Current Day

sudo journalctl -u ssh.service --since today

Display Currently Logged-In Users

loginctl list-sessions

Although these commands provide valuable information, they are not exact replacements for the traditional login history database. Their historical coverage depends on journal retention and configuration.

Comparison with Previous Ubuntu LTS Releases

FeatureUbuntu 22.04 / 24.04Ubuntu 26.04
Login history utilitylastwtmpdb last
Packageutil-linuxwtmpdb
Storage formatBinary recordsSQLite
Traditional database/var/log/wtmp/var/lib/wtmpdb/wtmp.db
Year 2038 safeNoYes
Additional installationGenerally unnecessaryMay be required

Recommendations for Production Servers

When deploying a new Ubuntu 26.04 LTS server, consider including the following packages in your standard server provisioning procedure:

sudo apt install wtmpdb libpam-wtmpdb

After installation, establish a new SSH session, disconnect, and verify that the login and logout events have been recorded.

wtmpdb last -n 10

If you maintain shell scripts or automated monitoring tools that depend on the traditional last command, review their compatibility with the new implementation, particularly if they parse its output.

For portability across different Ubuntu releases, scripts can detect which implementation is available:

if command -v wtmpdb >/dev/null 2>&1; then
    wtmpdb last -n 10
elif command -v last >/dev/null 2>&1; then
    last -n 10
else
    echo "No login history utility available." >&2
    exit 1
fi

This approach allows the same script to operate across older and newer Ubuntu servers.

Conclusion

The disappearance of the traditional last command in Ubuntu 26.04 LTS is part of the modernization of Linux login accounting rather than the removal of an important system administration feature.

The wtmpdb package provides a replacement based on SQLite that addresses the Year 2038 problem while preserving much of the familiar command-line functionality.

For system administrators managing Ubuntu 26.04 production servers, installing wtmpdb and its associated PAM module is a straightforward way to maintain access to user login history.

References

Tags: Ubuntu, Ubuntu 26.04 LTS, Linux, System Administration, wtmpdb, last, SSH, Security, Year 2038

Saturday, September 5, 2026

TT Stunnel Changes: Removing Certificate Pinning

 

The following comes from TT System Admin News & Updates for September 4, 2026

 

As of Q2 2026 TT no longer provides / updates the stunnel.zip file which customers might be using to perform certificate pinning. The final certificate in the stunnel.zip file expires on Oct 17, 2026.  

Only customers who download the stunnel.zip file from https://library.tradingtechnologies.com/tt-fix/general/stunnel.zip are impacted. Affected customers should start migrating to utilize their local machine’s certificate trust store. Digicert and AWS are both established Certificate Authorities and should be available in the trust stores of modern operating systems.

 

What This Means 

  • Clients no longer need to download TTFIX.crt file 
  • Clients configure stunnel to use their OS trust store path for CA validation 
  • We verify the correct authentication chain rather than a single pinned leaf certificate 

Configuration Changes 

 

Previous (pinned certificate)

[orfix-tcp]  

client = yes  

accept = 127.0.0.1:11702  

connect = FullyQualifiedDomainName:port  

CAfile = TTFIX.crt  

verify = 3 

 

New (OS trust store with chain validation) 

[orfix-tcp]  

client = yes  

accept = 127.0.0.1:11702  

connect = FullyQualifiedDomainName:port  

verifyChain = yes  

CAfile = <OS_SPECIFIC_TRUST_STORE_PATH> 

 

Notes and Additional Guidance 

  • The snippet above is a single section of the client configuration.  For the other sections please see our online documentation here 
  • Stunnel versions: verifyChain = yes is broadly compatible. If required, verify = 2 provides comparable chain validation. 
  • For clients that currently connect to TT FIX using stunnel, we ask that they come into the UAT to test their needed configuration changes.   

Wednesday, September 2, 2026

Invest numbers / Disturbance identifiers

 

Those codes are invest numbers / disturbance identifiers used by tropical cyclone warning agencies to track systems before—or sometimes after—they become named tropical depressions or storms.

The format is basically:

NN + basin letter

where NN is a sequential number and the final letter identifies the ocean basin.

ExampleMeaningBasin
05LSystem number 05North Atlantic
12ESystem number 12Eastern North Pacific
01WSystem number 01Western North Pacific

The basin letters are the important part:

  • L = North Atlantic, including the Caribbean Sea and Gulf of Mexico
  • E = Eastern North Pacific
  • C = Central North Pacific
  • W = Western North Pacific
  • A / B = North Indian Ocean
  • S / P = Southern Hemisphere basins, depending on location

An important distinction

You might see something like Invest 95L. That is not the fifth tropical cyclone of the year.

Numbers 90–99 are normally reserved for invests—areas of disturbed weather that forecasters are specifically investigating for possible tropical development. The numbers can later be reused.

 

Thursday, August 27, 2026

ss Command Cheatsheet

ss Command Cheatsheet

ss Command Cheatsheet

A fast and powerful tool for dumping socket statistics in Linux

1. The Essential Flags

Flag Meaning What it does
-tTCPShows TCP sockets
-uUDPShows UDP sockets
-lListeningShows only listening sockets (waiting for connections)
-aAllShows all sockets (both listening and established)
-nNumericSkips DNS/port resolution (makes the command run much faster)
-pProcessShows the process ID (PID) and name owning the socket (requires sudo)
-sSummaryPrints a quick summary of overall network statistics
-4 / -6IPv4 / IPv6Forces ss to only show IPv4 or IPv6 connections

2. The "Daily Driver" Commands

  • Show all listening ports and the processes using them:
    sudo ss -tulpn
  • Show all active/established TCP connections:
    ss -atn
  • Show a high-level summary of all network sockets:
    ss -s

3. Filtering by IP and Port

  • Filter by Local Port (Traffic hitting your server):
    ss -tn 'sport = :443'
  • Filter by Remote Port (Traffic leaving your server to a specific port):
    ss -tn 'dport = :3306'
  • Filter by Source IP (Useful if your server has multiple IP addresses):
    ss -tn 'src 10.0.0.5'
  • Filter by Destination IP (Who the server is talking to):
    ss -tn 'dst 192.168.1.50'
  • Combine filters (Connections from a specific IP to port 80):
    ss -tn 'sport = :80 and dst 192.168.1.50'

4. Filtering by TCP State

  • Show only established (active) connections:
    ss -tn state established
  • Show connections stuck in TIME-WAIT:
    ss -tn state time-wait
  • Show connections currently listening:
    ss -tn state listening
(Other valid states include: syn-sent, syn-recv, fin-wait-1, fin-wait-2, close-wait, last-ack, closing, and closed.)

5. Advanced Troubleshooting Options

  • Show socket memory usage (-m):
    ss -tm
    Useful for checking if a specific connection is hogging buffer memory.
  • Show TCP timer information (-o):
    ss -to
    Shows keepalive timers and retransmission states.
  • Show internal TCP metrics (-i):
    ss -ti
    Shows deep kernel-level data like RTT (Round Trip Time), congestion window size (cwnd), and packet pacing.