r/linuxadmin • • Sep 17 '26

libark: A modern, secure, Swift-native foundational layer over Linux POSIX primitives. {Early Development}

Thumbnail github.com
0 Upvotes

libark

libark is a modern, secure, Swift-native foundational layer over Linux POSIX primitives.

While originally developed as the core runtime layer for ArkOS, libark is completely decoupled and designed to be used on any Linux distribution. It provides highly secure, object-oriented abstractions over low-level system calls, memory management, and file system interactions, without the burden of manual C interoperability.

Features

  • Object-Oriented POSIX: Wraps file descriptors, paths, and directory operations in safe, RAII-compliant Swift types.
  • Secure Syscall Boundary: Routes kernel interactions through strict, audited Syscall primitives.
  • Terminal Capabilities: Built-in abstractions for TTY detection and window sizing.
  • Advanced Formatting: Standardized formatters for human-readable byte sizes (SI and IEC), ISO 8601 timestamps, permissions, and classifications.
  • Declarative Sorting: Powerful generic SortEngine for metadata sorting across multiple criteria.

Also ARK-OS has switched to github: https://github.com/orgs/ARK-OS-Swift-and-Linux/repositories


r/linuxadmin • • Sep 16 '26

Update: I built a custom PHP dashboard for my experimental pfSense kernel module!

Thumbnail gallery
6 Upvotes

r/linuxadmin • • Sep 17 '26

pvectl v1.1.0 — pure bash Proxmox VE cluster management, now with concurrent execution and node reboot/shutdown safety checks

Post image
0 Upvotes

Released pvectl a while back — pure bash+curl+fzf+jq interactive Proxmox VE cluster management tool, zero dependencies beyond what's normally on any Linux system. Just shipped v1.1.0:

  • Concurrent execution — multiple pvectl instances can now run in parallel safely, each with its own isolated, auto-cleaned temp directory (scoped by PID)
  • Node reboot/shutdown added to the main menu, with checks for HA status, cluster quorum and running VMs/CTs before proceeding, plus a prompt to stop-all or migrate-all guests first
  • setup reset/backup/restore for safer configuration management
  • log view/show/clean with colorized output
  • Startup diagnostics — bash version and dependency checks that detect the host OS/package manager and print the exact install command for anything missing
  • Minimum dependency versions now enforced: fzf 0.38.0+, jq 1.5+, curl 7.18.0+

Tested end to end on Proxmox VE 7.x, 8.x and 9.x.

github.com/mytechspacexyz/pvectl


r/linuxadmin • • Sep 16 '26

CVE-2026-12944: Langflow's code-validation scanner returns validated: true on a payload that gets you root

2 Upvotes

Based on the CVE record IBM published as CNA on September 14, 2026, here's the architectural breakdown: Langflow OSS 1.0.0–1.10.0 lets you submit a custom component with a socket or urllib import, and it runs with UID=0 inside the container. Worse — the built-in scanner that's supposed to catch dangerous code returns a false "validated": true on the payload. From there it's a straight line to IMDSv1 (AWS creds if you haven't killed v1 yet), arbitrary container file reads, and whatever's sitting on the same Docker bridge network — Postgres and Redis in most default deployments.

Not an isolated Langflow incident either — VulnCheck's Caitlin Condon (reported via The Hacker News) has separate active-exploitation telemetry on CVE-2026-0768 showing attacker requests specifically grepping for AWS_ACCESS*, OPENAI_API*, and Langflow's cached secret key. Forkast has aggregated broader Langflow exploitation numbers (12 CVEs, 15k+ attempts) citing VulnCheck — I haven't been able to verify those totals against a primary VulnCheck report directly, so treat that figure as reported, not confirmed.

For background on the same SSRF-to-metadata mechanism in a different AI framework: we wrote up MLflow's CVE-2026-64849 last month (link in profile/article).

Anyone running Langflow in production containers — are you segmenting Postgres/Redis off the app container's network by default, or is bridge-mode-with-everything-reachable still the common deployment pattern you're seeing?

https://www.techgines.com/post/langflow-ssrf-vulnerability-cve-2026-12944


r/linuxadmin • • Sep 14 '26

I built portop, an htop-style TUI for seeing what is actually using your ports

Post image
103 Upvotes

r/linuxadmin • • Sep 14 '26

What finally made you stop grepping through log files?

29 Upvotes

Still on files here rsyslog into a directory per host, grep when something breaks and it works right up until I need to answer a question that spans more than one box. Had to trace an sshd auth failure across three servers last week and spent longer stitching timestamps together than fixing it. I can't tell if I'm at that point or just having a bad month. For anyone who moved off files, what was the thing that pushed you?


r/linuxadmin • • Sep 15 '26

I got tired of opening htop every time something felt slow so I made this linux debug overlay

Post image
0 Upvotes

i work on linux and kept switching between my app, terminal, htop, logs, etc. whenever cursor or browser or any other apps i open started feeling slow , so I made a small debug overlay that stays on screen and shows the app i am currently using its PID, CPU usage and RAM usage.

It also gives a warning if it notices stuff like high CPU, memory growing, disk pressure or system errors.

for apps like VS Code and Firefox and other heavy apps , it also tries to include their sub-processes because checking only one PID can be misleading. this is the working setup of how it looks like. (though much more could be intergrated into this like)

  • docker - container CPU or RAM restarts, unhealthy containers(already working on it)
  • kubernetes - current context,namespace,pod status,crash, restarts,recent events, pod logs.

link - https://github.com/codeafridi/Debug-Overlay-App


r/linuxadmin • • Sep 15 '26

PSA: Do NOT buy OVH Dedicated Servers if your business actually relies on them (40+ days of delays)

Thumbnail reddit.com
0 Upvotes

r/linuxadmin • • Sep 15 '26

Built a free invoice generator specifically for freelance sysadmins — VPS setup, security audits, migrations as line items

0 Upvotes

Those of us doing freelance Linux and server work know the awkward part — explaining what you did to a client in an invoice.

Server hardening does not mean much to most clients. Neither does "configured Nginx reverse proxy. Built a free invoice generator with a service dropdown specifically for sysadmin and DevOps work:

VPS Server Setup, Security Hardening, SSL Configuration, DNS Configuration, Email Setup, Docker Deployment, Nginx Configuration, Backup Setup, Database Migration, Server Monitoring Setup

tools.techtransit.org/invoice-generator

Everything stays in your browser. Business info saves locally between visits. No account, no watermark, no limit. Same site as the sysadmin games I shared here a few weeks back — glad that got some use.

Let me know what you would like to add or change — if it works for everyone globally, I will try to include it.


r/linuxadmin • • Sep 13 '26

Primary DNS migration

6 Upvotes

I’m trying to migrate the primary DNS configuration from the existing CentOS 7 server to a new Oracle Linux 9 server, including /etc/named.conf and /var/named. The new OL9 server is using the same IP address as the existing DNS server.

However, when I start the DNS service on OL9, I receive the error message “validating arpa/DS: no valid signature found” and "validating com/DS: no valid signature found"

I’m relatively new to DNS administration, so I would appreciate your help troubleshooting and resolving this issue. Could you please advise what might be causing the error and what steps I should take to fix it?

Thanks!


r/linuxadmin • • Sep 13 '26

Iptables rule stops server from connecting to external systems

15 Upvotes

Update: I included the rules.

It works as-is now but I want to optimize them so that the incoming port numbers that are supposed to be blocked don't have to go through unnecessary processing.

I use the default input table and a separate ICMPT table for ICMP rules.

----

Original Question

I'm baffled and am looking for help.

I understand many people would use a default block policy in their IPtables rules but the problem with that is if one is not careful, they may lock themselves out of their shell unless they happen to be on-site at the remote computer.

So research has led me to try a command like the following to block a range of ports that hackers love to use.

iptables -I INPUT -m multiport -p tcp --dports 2000:3000,4000:5000 -j DROP

iptables -I INPUT -m multiport -p udp --dports 2000:3000,4000:5000 -j DROP

So I did that while carefully skipping the ports that I want people to connect to on the server (example: DNS, HTTPS).

When I inserted those commands, things worked in my favor if I was a random client trying to connect to my own server on an unauthorized port (thats in the block list), but when I'm on the server itself trying to connect to an external URL (through curl or ping), the system freezes as if the rules are working against me. I did regain control with CTRL+C.

When I removed those rules or when I put them at the end of my other rules, I was able to connect to a remote system on the server.

Can anyone shed light on why this happens when I didn't tell the system to block port 53, 80 or 443?

The rules added:

-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -m state --state NEW -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,SYN,RST,PSH,ACK,URG -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG NONE -j DROP
-A INPUT -p icmp -j ICMPT
-A INPUT -p tcp -m tcp --tcp-flags RST RST -m limit --limit 2/sec --limit-burst 2 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 53 -j ACCEPT
-A INPUT -p udp -m udp --dport 53 -j ACCEPT
-A INPUT -p tcp -m connlimit --connlimit-above 10 --connlimit-mask 32 --connlimit-saddr -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j REJECT --reject-with icmp-port-unreachable
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -s 127.0.0.1/32 -p tcp -m tcp --dport 953 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 953 -j DROP
-A INPUT -p tcp -m multiport --dports 1:24,26:50,81:442,444:586,588:994,996:1024,1070:65535 -j DROP
-A INPUT -p udp -m multiport --dports 1:24,26:50,81:442,444:586,588:994,996:1024,1070:65535 -j DROP
-A INPUT ! -s 38.131.191.77/32 -p tcp -j LOG --log-prefix IPTv4 --log-level 1

-A ICMPT -p icmp -m icmp --icmp-type 17 -j DROP
-A ICMPT -p icmp -m icmp --icmp-type 13 -j DROP
-A ICMPT -p icmp -m icmp --icmp-type 10 -j DROP
-A ICMPT -p icmp -m icmp --icmp-type 8 -m limit --limit 1/sec -j ACCEPT
-A ICMPT -p icmp -j DROP-A INPUT -i lo -j ACCEPT

r/linuxadmin • • Sep 13 '26

Slackware Linux Current how to install and use in QEMU VM

Thumbnail youtube.com
0 Upvotes

r/linuxadmin • • Sep 12 '26

Debian 13.7 point released...

Thumbnail debian.org
14 Upvotes

r/linuxadmin • • Sep 12 '26

CVE-2026-20079 (Cisco FMC, CVSS 10.0) — Talos names 3 active exploitation clusters incl. Sandworm/Cyclops Blink and a Qilin affiliate

3 Upvotes

Based on the technical breakdown Cisco Talos published on September 9, here's the architectural impact: FMC's boot-time process creates an orphaned login session in its internal database, and unpatched instances let that session get upgraded into full UI access via chained CGI scripts — no creds needed. Root on the box that manages your entire Cisco firewall fleet.

Three clusters caught abusing it: a web-shell operator dumping auth_data via a raw SQL query, a Sandworm-linked group (UAT-11823) chaining it with the static-cred bug CVE-2026-20316 to drop a Cyclops Blink variant, and a Qilin ransomware affiliate (UAT-11988) using it purely as a pivot point — SOCKS5 proxy, reverse SSH tunnel, LDAP/Kerberos/SMB forwarding, straight into the domain.

Patch is already out; Cisco's promised "hardening release" is next week (their own advisory says both the 14th and the 16th, hasn't been reconciled).

If you've got FMC internet-facing right now — anyone seeing hits on the IOCs Talos published, or is this still mostly a "get it off the internet" situation for most shops?

https://www.techgines.com/post/cve-2026-20079-cisco-fmc-auth-bypass-sandworm-qilin


r/linuxadmin • • Sep 11 '26

Thp and buddy allocator

Thumbnail youtu.be
4 Upvotes

r/linuxadmin • • Sep 11 '26

Built some Linux sysadmin games for free time — port memory match, terminal typer, trivia

8 Upvotes

Between deployments, waiting for builds to finish or just taking a break from client work — I wanted something to pass the time.

Built three Linux-themed games that I actually use when I get time.

  • Port Memory Match — match port numbers to their services. Starts easy with SSH, HTTP, HTTPS. Gets harder with MySQL, Redis, MongoDB.
  • Terminal Speed Typer — common Linux commands appear on screen; type them as fast as you can. Good for muscle memory too.
  • Linux Trivia Quiz — three difficulty levels. Intern gets the easy stuff. Root level will make you think.

tools.techtransit.org/games

Part of a larger sysadmin tools site I built — DNS lookup, SSL checker, email health checker and more.

How many ports can you get right at the root level?


r/linuxadmin • • Sep 11 '26

I am currently working as a Linux and Cloud Administrator and would like to transition into a Cloud/DevOps Engineer role. Please review my resume.

Thumbnail gallery
0 Upvotes

r/linuxadmin • • Sep 10 '26

THP, System Time & CPU Steal Time Explained

Thumbnail youtube.com
1 Upvotes

r/linuxadmin • • Sep 10 '26

What are you guys using for real-time system monitoring?

Thumbnail reddit.com
7 Upvotes

r/linuxadmin • • Sep 09 '26

Adobe Commerce/Magento CVE-2026-75650 (StyleSmuggler) — unauthenticated RCE via GraphQL → template engine → transactional email trigger

6 Upvotes

Based on the technical breakdown published by Sansec's Forensics Team and Adobe's own bulletin (APSB26-146, Sept 7), here's the architectural shape of this one:

  • Stage 1: attacker abuses a styles parameter in a GraphQL request to plant PHP inside Magento-generated content (a report/log file), bypassing normal template sanitization.
  • Stage 2: no further action needed — Magento's own workflow renders that content when composing its standard "Payment Transaction Failed Reminder" email, and the code executes server-side at that point.

CVSS 10.0, CWE-1336 (improper neutralization in a template engine), zero auth, zero user interaction. First confirmed exploitation Sept 4, against a store patched through August 2026 with a clean security:patch-status. Sansec reproduced the full chain independently on clean 2.4.7/2.4.8/2.4.9.

Post-exploitation payload observed: a Rust backdoor disguised as a kworker process, cron persistence, C2 over TLS WebSocket. Adobe's remediation isn't just "apply the hotfix" — they're telling merchants to rotate the Commerce encryption key and every credential it protected, because patching doesn't undo prior exposure.

One detail I want to flag as unverified: some secondary coverage cites an unnamed "Disrex Group" analysis claiming the injected code rides Magento's DI-compiler class chain to include() the poisoned file. I couldn't find that analysis published anywhere independently, so treat it as single-sourced until Adobe or Sansec confirms.

For context on the background/prior coverage: PaperCut CVE-2026-82078 hit a nearly identical architectural pattern.

Curious how folks running headless/PWA Magento storefronts are threading the needle here — Sansec's interim mitigation (disable GraphQL) isn't viable if your frontend depends on it. Anyone gone with a WAF rule targeting the styles param instead of a full GraphQL block?


r/linuxadmin • • Sep 08 '26

Poster: Linux TCP Queues and Metrics

Post image
17 Upvotes

r/linuxadmin • • Sep 08 '26

Tracking people logging in and out on a Samba-AD-DC

5 Upvotes

Hello there, I did set up a Samba-AD-DC server for around ten clients (currently mostly Linux but one Windows just to check if that worked). I want my server to keep track of people logging in and out. That would include the IP address (I would prefer the IPv4 but I guess I can disable IPv6 on clients), hostname and the user name.

Now here are some problems when I try to use vfs objects to do that and parse it with %U, %u and %m :

  1. The Windows client tends to not expose its hostname, I see an IPv6 in the logs.
  2. The Linux clients tends to not expose the users connected, because %U and %u are referring to the computer account in the context of Linux clients.

What would you suggest ? Do I need to check for syntax errors ? Is my approach of the problem inherently wrong ? Please let me know.


r/linuxadmin • • Sep 09 '26

Let's start a fire:

0 Upvotes

These are the four most important skills you need to be a good Linux admin:

  1. Understand doco and man pages
  2. Understand logs
  3. Understand code (any code: Python, Bash, C, perl, go, TypeScript, etc.)
  4. Use vi in the command line (set -o vi)

Everything else derive from these


r/linuxadmin • • Sep 08 '26

11 Gaps in the Linux Ecosystem Cloudflare Fixed with eBPF

Thumbnail ebpf.io
0 Upvotes