From 6b12e1114f91a4f3082f215efbc83bbc183e2128 Mon Sep 17 00:00:00 2001 From: Stefan Midjich Date: Thu, 15 Dec 2016 12:22:57 +0100 Subject: [PATCH] typo in markup --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 51e16c8..7912d6a 100644 --- a/README.md +++ b/README.md @@ -52,20 +52,20 @@ See examples in docs/examples directory. At the heart is iptables doing the following. - 1. Labeling all traffic with the number 99 in the mangle table. - 2. Labeled ICMP, DNS and HTTP traffic is redirected to the portal server in the nat table. - 3. All other labeled traffic is dropped. - 4. Authenticated clients are jumped out of the mangle table before being labeled, using the RETURN target. - 5. Authenticated clients are also deleted from conntrack after having their exception rules created in the mangle table. +1. Labeling all traffic with the number 99 in the mangle table. +2. Labeled ICMP, DNS and HTTP traffic is redirected to the portal server in the nat table. +3. All other labeled traffic is dropped. +4. Authenticated clients are jumped out of the mangle table before being labeled, using the RETURN target. +5. Authenticated clients are also deleted from conntrack after having their exception rules created in the mangle table. ## Portal All this is of course triggered by the portal application written in Python using Bottle. - 1. A clients redirected HTTP traffic puts them in the portal webpage. - 2. They send a POST form to the /approve url. This can be with user info, personal info, or simply an approve button for a EULA. - 3. The portal executes its plugins in the order that their config section appears in plugins.cfg. - 4. Each plugin is passed the request object from Bottle which contains form values among other things. +1. A clients redirected HTTP traffic puts them in the portal webpage. +2. They send a POST form to the /approve url. This can be with user info, personal info, or simply an approve button for a EULA. +3. The portal executes its plugins in the order that their config section appears in plugins.cfg. +4. Each plugin is passed the request object from Bottle which contains form values among other things. ## Plugins @@ -73,4 +73,4 @@ There's only one relevant plugin right now, iptables. But the idea is that you c ### iptables plugin - 1. Executes the iptables_cmd defined in plugins.cfg, with arguments being the client IP and potentially the client MAC address. +1. Executes the ``iptables_cmd`` defined in plugins.cfg, with arguments being the client IP and potentially the client MAC address.