Developer Builds Custom Bouncer Tool to Automatically Block .env and SSH Probing on VPS
A system administrator managing a modest VPS hosting static sites behind Caddy decided to stop manually watching logs filled with brute-force attempts against SSH and automated scans for common sensitive files.
The server regularly received requests for wp-admin, .env, phpmyadmin, and backup configuration files even though no WordPress instance was present. At the same time, systemd-journal recorded repeated OpenSSH messages such as “Invalid user admin” and “Invalid user oracle”.
Although Fail2ban is widely used, the administrator found its configuration of jails, filters, and actions too cumbersome for web-related blocking and preferred a single binary with minimal dependencies.
How the custom solution works
The resulting tool, called Bouncer, first performs a controlled crawl of the site using a breadth-first queue limited by depth and total page count. It extracts internal links from HTML, records all discovered paths, and allows additional routes such as API endpoints to be added manually in the configuration.
When new entries appear in the Caddy access log showing a 404 response, the path is checked against the discovered list. Five unknown paths within a sliding time window trigger addition of the source IP to an nftables set that drops traffic before it reaches listening ports. Direct requests to files such as /.env result in immediate blocking without waiting for the threshold.
For SSH, the program parses journal entries and treats an “Invalid user” message as an immediate ban because legitimate users do not attempt non-existent accounts. Failed password attempts for existing users are counted within a time window instead.
- The tool never replays old log files on startup, processing only new lines from the moment it begins.
- Each site maintains its own path list and log source, allowing multiple Caddy virtual hosts to be protected by one process.
- An installation script places the binary, generates a systemd unit, populates a whitelist with the administrator’s current IP, and inserts the required nftables drop rule in the correct chain order.
After switching from a previous prototype named CaddyBan, the administrator reported significantly cleaner logs and fewer manual reviews of connection attempts.
Related articles
Russia Plans to Expand MAX Messenger with Unified Ticket Purchases Across All Transport Types
The Russian Ministry of Transport is developing new features for the MAX messenger to allow users to plan routes and purchase tickets for urban transport, trains, airplanes, and sea or river vessels within a single application. First Deputy Minister Konstantin Pashkov stated that the platform already supports verification of eligibility for discounted travel and handling of travel documents. Future plans include greater reliance on biometric identification, enabling passengers to complete bookings digitally and board using camera recognition without showing QR codes or physical documents. The initiative forms part of a gradual transition, with no immediate plans to phase out existing payment methods. New regulations effective from September 1 permit confirmation of social benefits through MAX and the use of biometric services where carriers have the required equipment. No specific timeline for full implementation of integrated ticketing has been provided.
5G Icon Appears on Select iPhones for Russian Users as Operators Expand Coverage
Some iPhone owners in Russia have observed the 5G indicator replacing LTE in the status bar, marking the first signs of fifth-generation network access on Apple devices. The change has been confirmed by a RIA Novosti correspondent but remains limited to a portion of users, with no official details released on supported models, carriers, or regions. Russian operators from the Big Four launched 5G services in 16 cities one week earlier, granting potential access to roughly 10 million subscribers. The initial rollout operates primarily on previously allocated LTE spectrum bands, delivering an estimated 20-25% increase in network throughput. Unlike Android devices, where the Ministry of Digital Development planned to enable compatible hardware directly, iPhone activation requires Apple to authorize specific operator frequencies and network configurations. Observers note that the presence of the 5G icon does not yet guarantee widespread deployment or significant speed gains, as performance depends on coverage, spectrum, device model, and network load.
Former Google DeepMind Engineer Bilal Chughtai Warns AI Could Cause Human Extinction Without Coordinated Safety Measures
Bilal Chughtai, who worked on advanced AI safety at Google DeepMind before leaving the company in July 2026, stated that artificial intelligence could lead to the extinction of humanity. He emphasized that while safe development remains possible, AI labs must coordinate efforts and stop the reckless race toward more powerful systems. Chughtai argued that development pace should match what society can safely handle, with threats assessed and mitigated before they cause extreme damage. Similar warnings have come from Anthropic researchers including Jacob Coxon, who suggested advanced models could cause human extinction by the end of the decade, and Evan Hubinger, who estimated over 10% probability within ten years. Anthropic CEO Dario Amodei called for slowing frontier model development when safety measures lag capabilities, a view supported by Elon Musk and OpenAI CEO Sam Altman. The discussion focuses on external audits, unified standards, and controlled progress rather than a complete halt. U.S. President Donald Trump dismissed AI regulation calls as a hoax, creating a divide between industry caution and policy resistance, as noted by Reuters.
Mozilla Firefox 156 Optimizes JPEG Image Handling to Cut Memory and CPU Usage
Mozilla has released Firefox 156 featuring optimizations for processing large JPEG images on web pages. The browser now consumes less RAM and CPU time when sites display downsized versions of high-resolution photographs. The improvement targets scenarios where images are scaled down by page scripts rather than decoded at full size first. No single percentage improvement is provided because results vary with file sizes, image counts, and hardware. A separate enhancement makes the built-in PDF viewer launch up to 45 percent faster, with the biggest gains on first open when components load. The update becomes available on September 15 for supported desktop platforms and can be obtained through the About Firefox menu.