Skip to main content

Application and server security

I check what your infrastructure actually exposes to the internet, isolate origins behind Cloudflare, fix Docker firewall gaps, and implement security fixes in Laravel applications. Based in Gliwice, Poland, working remotely.

What I check and fix

External exposure check

I inspect which ports and services actually answer from the internet, including via Censys and Shodan, and compare that against what is supposed to be public. Databases, admin panels, and container ports are often open by accident.

Origin isolation behind Cloudflare

Cloudflare only protects traffic that actually passes through it. I close direct access to the server by rotating and isolating the origin IP, allowlisting Cloudflare ranges, or moving behind Cloudflare Tunnel with no public web port.

WAF and rate limiting

Cloudflare WAF rules and rate limits tuned to stop abusive traffic without locking out normal visitors.

Firewall and Linux hardening

UFW paired with rules in the DOCKER-USER chain, since Docker’s published ports bypass regular host rules. SSH locked down to keys and authorized hosts.

Laravel application security

Authentication, authorization policies, MFA, rate limiting on exposed endpoints, CSRF/CORS configuration, and container/dependency scanning in CI.

Post-audit remediation

If you already have a security audit report, I prioritize issues that expose customer data or server access and fix them in both application code and host configuration.

How an engagement runs

  1. Send a quick outline of your setup (app, hosting, Cloudflare or another CDN) and what prompted the check.
  2. I inspect external exposure and server configuration, then send back a prioritized list of risks and what should be fixed first.
  3. I apply the fixes in your Git repository and on your servers, under your own accounts with no hidden scripts left behind.
  4. We verify the result from an outside network and write down a simple verification checklist for your team.

Incidents and production experience

During a production DDoS attack on a client service behind Cloudflare, tightening the WAF made no difference because a Docker container with published ports bypassed UFW and accepted direct traffic. Closing that direct route was what let the edge rules work. The case study covers the incident and Docker published ports bypass UFW walks through the firewall mechanics.

At WEBERRY I handled Linux server hardening, Cloudflare configuration (WAF, edge caching, Access), and error tracking in Sentry. In the internal CRM at ONEXO.pl I built an HMAC-chained audit log, documented in A tamper-evident audit log in Laravel. Broader context is in my work history.

Common questions

The app is already behind Cloudflare. Isn’t that enough?

Not if the origin server still accepts direct connections. Anyone who finds the origin IP can bypass Cloudflare, and your edge rules will never see those requests. I wrote up a real incident in Cloudflare does not protect a directly reachable origin.

Do you work from existing security audit reports?

Yes, whether you need a second look at code built by another contractor or fixes from a formal audit report. I start with high-impact issues (authorization gaps, non-atomic writes, hardcoded secrets, session storage) and then tighten the server setup.

Can you step in during an active attack?

I do freelance work alongside my role at ONEXO.pl, so I don’t offer 24/7 on-call cover. Email me what is happening and what the stack looks like, and I’ll let you know right away if I can jump in.

How do we verify the fixes afterwards?

You get a written summary of what was exposed and what changed, all configuration stored in your repository, and a short checklist for verifying from an external network that the ports and rules still hold.

To talk about application or server security, email maciej@jasiewicz.pro or use the contact page.