r/linuxadmin • u/AllTheKyleS • 21d ago
VyOS after 36 days remembers about critical CVE-2026-98432 .
Because they've carried some weird patch; it is unclear if this actually resolves the problem based on their bad track record on backporting.
r/linuxadmin • u/AllTheKyleS • 21d ago
Because they've carried some weird patch; it is unclear if this actually resolves the problem based on their bad track record on backporting.
r/linuxadmin • u/Top-Bread-9789 • 21d ago
Spent days wondering why fail2ban kept banning IPs that kept hammering my Docker-published WordPress login. The bans were inserted, "fail2ban-client status" said banned — but the traffic never stopped.
The reason: on a Docker host, fail2ban's default action drops rules into the INPUT chain. Packets to published ports are processed by Docker's FORWARD/DOCKER-USER chain *before* INPUT sees them. So the ban is real, it just drops nothing.
The fix is one token — point the action at DOCKER-USER:
[igornews-wp]
enabled = true
filter = igornews-wp
logpath = /opt/igornews/logs/access.log
action = iptables[type=allports, chain=DOCKER-USER, blocktype=DROP]
bantime = 1h
findtime = 10m
maxretry = 6
Second gotcha in the same jail: it reads Caddy's JSON access log, whose timestamp is a fractional epoch mid-line, so I needed a custom datepattern = "ts":{LEPOCH} or fail2ban parsed zero lines.
The verify step that would've caught this in five minutes: after a ban, run "iptables -L DOCKER-USER -n" and actually see the IP there — never trust "fail2ban is running."
Full walk-through with the JSON-log filter regex: https://igornews.com/2026/11/08/fail2ban-docker-user-chain-bans/r/linuxadmin • u/Antonio-MTS • 23d ago
I’m the author. ldapbrowser is a read-only LDAP/AD directory browser for the terminal.
It needs only bash, curl and fzf, so it can run on jump servers easily.
New in v1.2.0 release:
Tested against 10 directory implementations: AD, FreeIPA, OpenLDAP, 389 DS, OpenDJ, ApacheDS, Okta, OneLogin VLDAP, JumpCloud and FoxPassOkta. It is read-only by design.
The code is written and tested by hand. I used AI only to help draft the README and CHANGELOG.
r/linuxadmin • u/Logan_Bennett1 • 23d ago
I've been running an apache server on a low resource vm and it's been kinda sluggish lately. anyone got tips on what modules to disable or tweaks to make for better performance? I've looked into things like changing the KeepAlive settings and maybe lowering MaxClients, but not sure if that's enough. would love to hear what other configs you guys have found helpful in similar situations.
r/linuxadmin • u/8lue7or • 23d ago
Hey guys o/
First and foremost, thank you for taking the time to read through the post :)
I posted here previously about Det Mimir, the read-only Linux incident investigation engine I’m building:
Previous post
I’ve just redesigned the website, based on feedback I’ve collected over the past few weeks, with readability and clearer product explanations as the main priorities.
The updated site: https://det-mimir.com/
For anyone coming across it for the first time, these are the main things I’m building around:
There’s also a security investigation direction: the Exploit Evidence Pack, currently in development. It’s intended to correlate offline vulnerability intelligence with host evidence to assess whether there are signs of exploitation. A vulnerable software version alone would not establish that exploitation happened.
The public roadmap explains the broader direction too, including multi-host coordination, more integrations, and the longer-term investigation-pack ecosystem.
Roadmap:
https://det-mimir.com/roadmap/
Det Mimir remains in private validation, and I'm also validating beta users ;)
The website now has clearer diagrams and readable sample reports, so you can inspect what an investigation actually produces.
I’d really appreciate you taking a look :) Does it explain the product clearly, and can you see where it would, or wouldn’t, help in your own investigations?
r/linuxadmin • u/KaneD2082 • 23d ago
Quick rundown, since the affected set is narrow but very real. The bug needs sshd built and run without PAM on musl libc. On Alpine, that's the default `openssh-server` package, or `openssh-server-pam` with `UsePAM no`. `PasswordAuthentication` also has to be on, which is the default. Then the box needs an account whose shadow field is `*` (key-only users, directory users via musl-nscd, and root on images since about 3.16), plus at least one account with a `$5$` or `$6$` hash. An attacker sends a 257 to 1024 byte password and gets in on the first try. musl's crypt() returns `*` as its error string for keys over 256 bytes, and that matches the stored field. Root itself is still protected by the default `PermitRootLogin prohibit-password`, but any other passwordless account that can doas to root is enough.
Fix: `apk upgrade -U -a`, then `rc-service sshd restart`, because the running daemon keeps the old code until you restart it. Fixed builds are openssh 10.6_p2-r0 on edge, 10.3_p1-r2 on 3.24, 10.2_p1-r1 on 3.23, 10.0_p1-r11 on 3.22 and 9.9_p2-r1 on 3.21, and Alpine also pushed fixes for 3.16 to 3.20. If you can't update yet, `PasswordAuthentication no` closes it. Run `sshd -T | grep -i passwordauthentication` afterwards to confirm, and keep your current session open while you test a new key login. Watch out for the official tiny-cloud images (qcow2, VHD, AMI, 3.18.11 through 3.24.3). They ship an `alpine` user with no password and passwordless doas, so they become exploitable the moment anyone sets a console password. Cloud-init images are fine because cloud-init writes `PasswordAuthentication no`.
If an exposed box had password auth on, check `/var/log/messages` for "Accepted password for" on an account that has no password, and look at recent users, authorized_keys and doas use. Debian and Ubuntu aren't in the same position. Debian's tracker rates it "unimportant" (stable packages are still listed as vulnerable, with the fix only in sid/forky so far), and Ubuntu's note says it doesn't use musl by default. So I'd still put the update on the list there, but it's not an emergency.
Two other Linux services joined KEV the same day, and both have had fixes for a while: GPUStack (2.2.0, advisory from Jul 31) and FreeSWITCH (1.11.3, advisory from Oct 28). CISA confirmed exploitation of both this week.
Alpine advisory: https://alpinelinux.org/posts/2026-11-05-openssh-password-authentication-bypass/
Debian tracker: https://security-tracker.debian.org/tracker/CVE-2026-123158
Fixed versions for the rest of this week's KEV list: https://patchorpass.beehiiv.com/?utm_source=reddit&utm_medium=social&utm_campaign=issue-4&utm_content=linuxadmin
r/linuxadmin • u/Silva-Engineer • 24d ago
Push a new key and any host that missed the change stops reporting, but keep both valid and the old one never gets turned off, because nobody knows who still uses it. Elastic Agent avoids this: each host enrolls with a token, then gets its own API key. Do you accept the gap, overlap the keys, or issue per-host keys?
r/linuxadmin • u/Expert_Sort7434 • 24d ago
Based on the OpenSSH 10.6p2 release notes and Alpine Linux's technical advisory, CVE-2026-123158 is a narrowly scoped password-authentication bypass affecting certain Linux OpenSSH builds using musl without PAM.
The interesting part is the comparison logic.
In the affected non-PAM authentication path, sshd uses crypt() to verify a candidate password. Alpine documents a case where an account has * in its shadow password field, while another local account has a $5$ or $6$ hash. The implementation can borrow a salt from that other account. For an overlong password, musl can return * as an error indicator. The comparison can then treat that error value as a match for the stored *.
The affected configuration requires more than just running OpenSSH:
UsePAM no.PasswordAuthentication yes.* in its shadow field.$5$ or $6$ password hash.Alpine lists fixed packages across its supported branches. The upstream mitigation is in OpenSSH 10.6p2. Alpine also notes that upgrading the package is not enough if the running daemon has not been restarted.
Operationally, I would inventory the sshd build, libc and effective configuration, then correlate successful Accepted password for events with an explicit list of accounts meant to be key-only. A successful password login to such an account is worth investigating, but it is not proof of exploitation without confirming the host's affected conditions.
Primary sources:
TechGines technical breakdown: https://www.techgines.com/post/openssh-password-authentication-bypass-cve-2026-123158
For fleets with mixed Alpine and non-Alpine hosts, how are you tracking the combination of libc, SSH build options, PAM settings and shadow-file account state? Is that inventory already queryable alongside authentication events, or is it still a manual audit?
r/linuxadmin • u/Gangrif • 24d ago
r/linuxadmin • u/phil_lndn • 25d ago
After experimenting with AI to classify spam and scam emails and finding it to be very effective, I built MilterGuard, a spam and scam filter for Postfix. It’s built from the ground up to use modern AI’s reasoning capabilities to assess each email’s meaning, intent and context. I’ve been running it on my own mail server for five weeks, and it’s now ready for others to try.
It integrates with Postfix through the Milter protocol and can reject unwanted messages during SMTP delivery. You can use a hosted AI service or keep message analysis on your own hardware with a local AI model. With a vision-capable model, it can also examine text embedded in images.
It’s written in Go, MIT-licensed, and installs as a single executable, with Debian and RPM packages available. An accept-only mode lets you review its decisions against your own incoming mail before enabling rejection.
Over five weeks on my production mail server:
Code, installation packages and documentation:
https://github.com/PhilAnderson1/MilterGuard
I’d welcome feedback from other mail-server administrators, particularly how it performs on your own incoming mail and which types of messages it struggles with.
r/linuxadmin • u/tructt • 26d ago
I don't know is it ok to post here but I want to share my latest desktop virtualization platform based on Libvirt/QEMU with lab-first principle. You'll get type 1 performance, type 2 experience with an easy to use interface
The platform is stable enough to replace Cockpit-machines and Virt-Manager. Find out more at https://github.com/withcoresystem/v-EMU
Thank you
r/linuxadmin • u/noboruma • 26d ago
r/linuxadmin • u/Expert_Sort7434 • 26d ago
Based on the technical breakdown published by Microsoft Threat Intelligence and Microsoft Security Research on November 5, here is the architectural impact.
Microsoft describes ARTEX, an agentic offensive framework used to search public GitHub repositories for application secrets, credentials, and AI-service API keys. In one observed case, the agent progressed from finding a secret to exfiltrating data from Azure Key Vault in five minutes.
The follow-on activity is more interesting than the repository search itself.
Microsoft observed successful service-principal sign-ins beginning October 28, including use of a compromised multitenant application credential against downstream customer tenants. Once authenticated, the agent enumerated cloud resources and looked for operations that returned credentials, connection strings, storage keys, and other sensitive material.
The useful detection boundary is between identity and resource access:
Microsoft also described API-version retries: an endpoint returned HTTP 400, then a later request with a supported API version succeeded. That kind of rapid variation is worth correlating with the identity and resource sequence.
The primary reported service-principal source was 199.19.77[.]84. Microsoft also mentioned 199.19.77[.]18, but warned that it is a Tor exit node and may be unrelated. I would treat both as pivots for investigation rather than broad block rules.
MITRE mappings include T1552.001 (Credentials In Files), T1078.004 (Valid Accounts: Cloud Accounts), and T1526 (Cloud Service Discovery).
The full technical context and KQL hunting notes are here: https://www.techgines.com/post/agentic-ai-credential-theft-artex-github-secrets-azure-access
Related earlier coverage: Microsoft Entra ID AI Agent Privilege Escalation.
For environments with many multitenant service principals, what correlation strategy has worked best for distinguishing legitimate automation from a compromised application identity enumerating unrelated Azure resources?
r/linuxadmin • u/LeBronzelol • 27d ago
we're 4 admins on about 300 linux vms and the host side of patching is fine, monthly windows, apt and dnf, done. the problem is our vulnerability platform backlog is now mostly findings in container images the dev teams ship, and nothing in our patch tooling touches those. the platform flags them fine, but every fix lands back on a dev team that thinks its an ops problem. been looking at aikido, rapidfort and chainguard for that part. which vulnerability management platform handles the image side for a team like ours?
r/linuxadmin • u/mynameiscorange • 26d ago
hoist runs each app as a systemd --user service (lingering enabled so they survive logout) and publishes it through a named Cloudflare Tunnel. A few decisions I'd like a sysadmin's eyes on:
cloudflared tunnel ingress validate, and rolls back on failurehoist doctor tells you how to avoid the sudo prompt)hoist limitStandard library Python, no dependencies. Built with AI assistance, reviewed and tested by me.
https://github.com/nikhilcherry/hoist
What would you change?
r/linuxadmin • u/Morpheus170 • 28d ago
If you are self hosting websites which operating system would you choose and why: Ubuntu, Debian or Fedora?
r/linuxadmin • u/socradario • 28d ago
r/linuxadmin • u/unixbhaskar • 28d ago