Aller au contenu principal

Before you start

Four short chapters to start correctly: how to use the guide, what you need, the training phase led by Kokiris, and what kokiGUARD does or does not do.

0.1 How to use this guide​

Each chapter covers only one topic and always follows the same order, so that you know where to look:

  • Goals: what you can do at the end of the chapter.
  • To do: numbered steps, in the order in which you do them in the panel.
  • What you should see: the expected result, with a real screenshot or real terminal output.
  • Key points: three points at most.
  • Check yourself: one question with an immediate answer, to make sure that you understand the topic.

Most of the time, Kokiris sets up and tunes your kokiGUARD. Levels 1 and 2 teach you how to read what it does; levels 3 to 5 show you everything that it can do, so that you can act yourself or know what to ask Kokiris.

The levels follow each other: each level uses what the previous level set up. If you already know a topic, use the table of contents or the search to go directly to the chapter that you need. The “I have finished this chapter” button at the end of each chapter updates your progress in this browser. For each question, only your first answer counts in the score; the “Reset” button of the introduction clears your progress and your score. You can also print this guide: the quizzes print with their answer.

All screenshots are real

They come from a real kokiGUARD, in its November 2026 version, that protects the sites of a fictional client, “Atelier Mirabelle”: a shop, a blog, a trade area and three APIs. The traffic is test traffic that imitates real visitors, robots and attacks. The IP addresses in the logs are addresses reserved for documentation (192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24). Your panel is identical: only your sites and your traffic change.

0.2 Your kokiGUARD​

Kokiris installs and operates your kokiGUARD in front of your sites. To follow this guide, you need:

NeedWhere to find it
The address of your panelKokiris gives it to you when the service starts.
A user accountKokiris or an administrator of your team creates it.
A terminal with curlOptional. Useful for the tests in chapters 2.3 and 3.3.

Your account has a profile: one of the four roles, or a custom permission grid. The profile sets the pages that you see and the pages that you can change. Each chapter gives the necessary role.

ProfileWhat it lets you do
Viewer viewerSee everything, change nothing.
Operator operatorIn addition: ban and unban IPs, use the AI assistant.
Editor editorIn addition: change the sites, the rules, the false positives, the trusted traffic, the geographic blocking and the error pages, then apply. Create your own API keys.
Admin adminIn addition: users, settings, restore a revision, emergency stop, audit log, pricing.
CustomA permission grid, box by box: Read or Write, page by page. For example, an account that sees only the dashboard (chapter 5.5).
Reseller, MemberOn a shared kokiGUARD: a permission grid limited to some sites. The reseller creates its members; neither of them can change what applies to the whole platform (chapter 5.5).

The menus follow your rights: a page that your account cannot open does not appear, and a button reserved for another profile is hidden.

How a request goes through kokiGUARD​

Each request goes through two checks before it reaches the site. HAProxy does the fast checks, by address, by country, by robot or by volume. Then Coraza reads the content of the request and gives it an anomaly score. Its rules come from the CRS, the reference open-source ruleset that OWASP publishes, with the Kokiris protections and your own rules in addition.

Diagram: the visitor sends the request to HAProxy, which does the fast checks (bans, trusted traffic, geolocation, rate, maintenance). Then the request goes through Coraza, which applies the OWASP CRS rules, the Kokiris rulesets and your custom rules, then calculates a score. If the score stays below the threshold, the request reaches the site. If not, kokiGUARD answers by itself with a 403, 429 or 503 page.Diagram: the visitor sends the request to HAProxy, which does the fast checks (bans, trusted traffic, geolocation, rate, maintenance). Then the request goes through Coraza, which applies the OWASP CRS rules, the Kokiris rulesets and your custom rules, then calculates a score. If the score stays below the threshold, the request reaches the site. If not, kokiGUARD answers by itself with a 403, 429 or 503 page.
Key points
  • HAProxy decides on the address, the country and the volume. Coraza decides on the content.
  • A blocked request never reaches the site. kokiGUARD answers it.

0.3 The training phase​

Time 5 minLed by Kokiris
Goals
  • Understand how your kokiGUARD goes live without breaking your production.
  • Know what Kokiris tunes for you and what you can do during this time.

A badly tuned WAF blocks real clients. To prevent this, each go-live starts with a training phase, led by Kokiris:

  1. Kokiris adds all your sites to kokiGUARD, in Detect mode: the WAF analyzes everything, but blocks nothing.
  2. Kokiris watches your real traffic and finds the false positives: the legitimate requests that the WAF would take for attacks.
  3. Kokiris adjusts the configuration: false positive corrections, rule categories, paranoia level, rulesets for your CMS.
  4. When the logs are clean, Kokiris puts your sites in Block, then in Block + ban, without breaking production.

Who does what​

TopicWho does it
Installation, go-live, training phaseKokiris
Adding your sites to kokiGUARDKokiris, automatically when hosting starts
Updates of the OWASP rules and of the Kokiris protectionsKokiris publishes them; the bell of the panel tells you
Monitoring of HAProxy and CorazaKokiris, continuously
Paranoia level and rule categoriesKokiris, during training, then on request
False positive correctionKokiris during training; you after that, or Kokiris on request
Trusted traffic, rate limits, maintenance, waiting room queue, blocking by countryYou (editor role), or Kokiris if you prefer
Robots and crawlers policy of each siteYou (editor role), or Kokiris
Challenge mode, inspected body size, automatic applyKokiris, with you
SSL certificates of your domainsKokiris, or you (administrator role)
Ban or unban an addressYou (operator role), or Kokiris
User accounts of the panel and their rightsYou (administrator role)
API keys of your scriptsYou (editor role for your own keys)
Scanner detectionKokiris, or you (administrator role)
Emergency stopYou (administrator role), or Kokiris
During training, you can

Follow levels 1 and 2 of this guide, read the logs, and tell Kokiris about each page of your site that does not behave correctly. You know your forms, your internal tools and your partners better than anyone: this information makes the tuning faster.

Check yourself

During the training phase, a client tells you that they cannot place an order any more. Can kokiGUARD be the cause?

0.4 What kokiGUARD does, and does not do​

Time 5 min

A web application firewall is one protection layer among others. If you know where it stops, you prevent bad surprises.

✓What it does well

  • It blocks known attacks (injections, file reading, scanners…) before they reach your site.
  • It covers the delay between the publication of a vulnerability and the update of your site, with the Kokiris protections.
  • It absorbs abuse: brute force, catalogue scraping, traffic peaks.
  • It keeps your data with you: the inspection occurs on the server that hosts your site, without a third-party service.

✕What it does not do

  • It does not replace updates. A Kokiris protection gives you time; the vulnerability stays in the code until the site is updated.
  • It does not see what looks like normal use: a stolen password, used calmly, gets through.
  • It does not back up or clean a site that is already compromised.
  • It does not replace a strong password or two-factor authentication on your back office.

Three frequent questions​

QuestionAnswer
Does kokiGUARD slow down my site?The inspection occurs on the server, without a round trip to an external service. The Performance page shows the load and the status of the services live. On a very busy shop, Kokiris can also exclude images, fonts and videos from inspection (chapter 5.3).
Does my data, or the data of my clients, go to a third party?No. The logs stay on your servers, at Kokiris. Only the AI assistant, if you turn it on, sends extracts to the provider that you choose: addresses, domain names and e-mail addresses are pseudonymized, and no cookie or password is ever sent (chapter 5.4).
And if kokiGUARD fails?Kokiris monitors HAProxy and Coraza continuously and gets alerts. If the inspection engine stops, your sites stay reachable: the traffic goes through without inspection during the intervention. On the offers with two nodes, the configuration is replicated on both nodes.
Check yourself

Kokiris has just published a protection against a vulnerability of your CMS. Must you still do the update?