Company websites get attacked too: Meridian's built-in firewall and request log
Company websites are often thought to have nothing worth stealing, but once online, they see scanners probing admin paths, backup files and known vulnerabilities every day, crawlers fetching at high rates and tools submitting forms in bulk. Meridian builds a web application firewall into the program itself, on by default, so there is a decent layer of protection without deploying a separate WAF.
Every request checked before any page
| Protection | How it works |
|---|---|
| Attack patterns | SQL injection, XSS, path traversal, command injection and JNDI (Log4Shell), matched after decoding the path and query twice; blocked and scored 10 points |
| Scanners | Requests for software and sensitive files the site does not have (WordPress, phpMyAdmin, .env, .git, backups and so on) are blocked and scored 5 points; more than 40 not-found responses in 5 minutes means a ban |
| Attack tools | sqlmap, nikto, nuclei, xray and similar tools are banned outright; unusual HTTP methods and overlong URLs are refused |
| Rate limits | By default 40 requests per 10 seconds and 120 per minute per IP (adjustable, static files not counted); beyond that, an invisible browser check (proof of work) comes first, and passing it triples the limit for 24 hours |
| Crawlers | Search engine crawlers are verified by forward and reverse DNS and impostors are banned; AI crawlers and other programs get 30 requests a minute, rate limited but never banned; trap links disallowed in robots.txt catch crawlers that ignore the rules |
| Lists and regions | Allow and block lists by address or range (whole site or admin only, with optional expiry), admin access limited to the allow list, and access refused by country or region |
Scores and escalating bans
One suspicious request is not necessarily an attack, so Meridian scores instead of blocking everything: 20 points within 10 minutes means a 30-minute ban, a repeat within 24 hours multiplies the duration by four up to seven days, and IPv6 is counted per /64. Bans are stored in the database and shared by multiple instances. Admin traffic has higher limits and is never banned for rate.
Not locking yourself out
- Observe mode: log only, block nothing, useful for a week before going live;
- No self-bans: your current IP cannot be banned, and it is checked before admin allow-list mode or region limits are turned on;
- Emergency: if you do get locked out, one command lifts every automatic ban and turns off admin allow-list mode, effective within a minute on the running service;
- CDN and load balancers: add their address ranges as trusted proxies and limits apply to the real visitor IP; the overview warns when requests arrive through an untrusted proxy.
The request log: evidence for every request
The request log records each request's time, IP and location, method, URL, status code, bytes, duration, user agent, referrer, crawler and admin user, plus the firewall's action and the rule matched. It uses the same multi-dimensional reports as visitor analytics: summarize by any dimension, click to drill down (for example rule, then IP, then path), or switch to the details, and export either to CSV.
So that attack traffic cannot fill the disk, static files are logged only when they fail or are blocked by default, and banned or persistently rate-limited IPs are logged at most 60 times a minute, with the number not logged shown in the overview. Logs are kept 180 days by default, meeting the Chinese Cybersecurity Law's requirement to keep network logs for at least six months.
Suggested steps to go live
- Run observe mode for a week first: it logs without blocking, so you can confirm in the request log that no normal visitors are misjudged;
- behind a CDN or cloud load balancer, add their address ranges as trusted proxies, or every visitor looks like the same IP;
- add your office's outbound address to the allow list, turn on admin allow-list mode if needed, and set region limits where they make sense;
- after leaving observe mode, check the trends of blocks, rate limits and bans in the overview from time to time; every IP in the request log details has a ban button next to it.
Beyond the firewall
The admin is secure by default too: two-step verification (TOTP with recovery codes, optionally required for everyone), bcrypt passwords with lockout after repeated failures, session tokens stored only as hashes, CSRF checks on every write and a strict content security policy; rich text is filtered against an allow list on the server, and uploads are checked by extension and content. Public pages only run the site's own scripts by default.
Learn more on the Meridian product page or book a demo.