logo

blog

My little blog can’t be this cute! git clone https://hacktivis.me/git/blog.git
commit: c1f851f9da05cd87f3b2d795d1f2dd3b691d0e9f
parent 440b0bbe0ccc63d6676a3ea49e8c2d799da6bb56
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 25 May 2020 14:41:22 +0200

remove style= usage, introduce kbd and samp

Diffstat:

Marticles/La neutralitée du Net sur un wifi Orange™, deuxième mensonge.xhtml48++++++++++++++++++++++--------------------------
Mcss/index.css19+++++++++++++++----
2 files changed, 37 insertions(+), 30 deletions(-)

diff --git a/articles/La neutralitée du Net sur un wifi Orange™, deuxième mensonge.xhtml b/articles/La neutralitée du Net sur un wifi Orange™, deuxième mensonge.xhtml @@ -1,15 +1,14 @@ <article xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" class="h-entry"> <a class="u-url" href="/articles/La%20neutralit%C3%A9e%20du%20Net%20sur%20un%20wifi%20Orange%E2%84%A2,%20deuxi%C3%A8me%20mensonge"><h1 class="p-name">La neutralitée du Net sur un wifi Orange™, deuxième mensonge</h1></a> <p>Vut que je n’ai pas de vraie connection internet chez moi autre qu’un forfait à 50MB de 4G, j’utilise le réseau de orange… qui en plus de bloquer l’envoit des courriels par un client classique(mutt, thunderbird, …) (j’ai un tunnel SSH pour ceci et je pense mettre mutt sur mon serveur) fait aussi de la merde sur des nom-de-domaine inexistant·e, c’est à dire me rediriger(merci chromium, firefox a une option pour contrer ça) vers http://instantfwding.com/?dn=cet.abruti.de.nom.de.domaine.com&amp;pid=7PO2UM87 Heuresement que j’ai uMatrix pour bloquer ces conneries. Sauf que ce n’est pas un comportement normal de mon réseau j’ai donc voulut voir ça de plus près.</p> -<pre><code> -<span style="color:green">haelwenn</span><span style="color:yellow">@NightmareMoon</span>:<span style="color:cyan">~</span>$ cat /etc/resolv.conf.head -nameserver 127.0.0.1 +<pre><code>$ <kbd>cat /etc/resolv.conf.head</kbd> +<samp>nameserver 127.0.0.1 nameserver 80.67.169.12 nameserver 80.67.169.40 domain hacktivis.me search hacktivis.me -<span style="color:green">haelwenn</span><span style="color:yellow">@NightmareMoon</span>:<span style="color:cyan">~</span>$ cat /etc/resolv.conf -# Generated by dhcpcd from wlp0s22f2u3.dhcp +</samp>$ <kbd>cat /etc/resolv.conf</kbd> +<samp># Generated by dhcpcd from wlp0s22f2u3.dhcp nameserver 127.0.0.1 nameserver 80.67.169.12 nameserver 80.67.169.40 @@ -18,8 +17,8 @@ search hacktivis.me domain orange-hotspot.com nameserver 80.10.46.232 # /etc/resolv.conf.tail can replace this line -<span style="color:green">haelwenn</span><span style="color:yellow">@NightmareMoon</span>:<span style="color:cyan">~</span>$ dig nxdomain.tld -; &lt;&lt;&gt;&gt; DiG 9.10.3-P2 &lt;&lt;&gt;&gt; nxdomain.tld +</samp>$ <kbd>dig nxdomain.tld</kbd> +<samp>; &lt;&lt;&gt;&gt; DiG 9.10.3-P2 &lt;&lt;&gt;&gt; nxdomain.tld ;; global options: +cmd ;; Got answer: ;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NXDOMAIN, id: 27819 @@ -38,8 +37,8 @@ nameserver 80.10.46.232 ;; WHEN: Sun Oct 09 16:34:01 CEST 2016 ;; MSG SIZE rcvd: 116 -<span style="color:green">haelwenn</span><span style="color:yellow">@NightmareMoon</span>:<span style="color:cyan">~</span>$ dig nxdomain.tld @80.10.46.232 -; &lt;&lt;&gt;&gt; DiG 9.10.3-P2 &lt;&lt;&gt;&gt; nxdomain.tld @80.10.46.232 +</samp>$ <kbd>dig nxdomain.tld @80.10.46.232</kbd> +<samp>; &lt;&lt;&gt;&gt; DiG 9.10.3-P2 &lt;&lt;&gt;&gt; nxdomain.tld @80.10.46.232 ;; global options: +cmd ;; Got answer: ;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 26873 @@ -55,11 +54,10 @@ nxdomain.tld. 3600 IN A 10.10.10.10 ;; SERVER: 80.10.46.232#53(80.10.46.232) ;; WHEN: Sun Oct 09 16:36:26 CEST 2016 ;; MSG SIZE rcvd: 58 -</code></pre> +</samp></code></pre> On commence déjà à avoir du DNS menteur, mais n’oubliont pas <code>domain orange-hotspot.com</code> (J’ai modifié ma config dhcpcd juste après avoir rédigé·e ce billet) -<pre><code> -<span style="color:green">haelwenn</span><span style="color:yellow">@NightmareMoon</span>:<span style="color:cyan">~</span>$ dig nxdomain.tld.orange-hotspot.com -; &lt;&lt;&gt;&gt; DiG 9.10.3-P2 &lt;&lt;&gt;&gt; nxdomain.tld.orange-hotspot.com +<pre><code>$ <kbd>dig nxdomain.tld.orange-hotspot.com</kbd> +<samp>; &lt;&lt;&gt;&gt; DiG 9.10.3-P2 &lt;&lt;&gt;&gt; nxdomain.tld.orange-hotspot.com ;; global options: +cmd ;; Got answer: ;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 54935 @@ -87,11 +85,10 @@ ns16.above.com. 171919 IN A 103.224.182.6 ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Sun Oct 09 16:39:12 CEST 2016 ;; MSG SIZE rcvd: 184 -</code></pre> +</samp></code></pre> <p>Bon génial, on à deux addresses… je me suis dit que un nmap pourrait être sympa, aller hop zou !</p> -<pre><code> -<span style="color:green">haelwenn</span><span style="color:yellow">@NightmareMoon</span>:<span style="color:cyan">~</span>$ nmap -A 10.10.10.10 -Starting Nmap 7.25BETA1 ( https://nmap.org ) at 2016-10-09 16:42 CEST +<pre><code>$ <kbd>nmap -A 10.10.10.10</kbd> +<samp>Starting Nmap 7.25BETA1 ( https://nmap.org ) at 2016-10-09 16:42 CEST Nmap scan report for 10.10.10.10 Host is up (0.044s latency). Not shown: 999 filtered ports @@ -101,8 +98,8 @@ PORT STATE SERVICE VERSION Service detection performed. Please report any incorrect results at https://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 12.40 seconds -<span style="color:green">haelwenn</span><span style="color:yellow">@NightmareMoon</span>:<span style="color:cyan">~</span>$ nmap -A 103.224.212.222 -Starting Nmap 7.25BETA1 ( https://nmap.org ) at 2016-10-09 16:43 CEST +</samp>$ <kbd>nmap -A 103.224.212.222</kbd> +<samp>Starting Nmap 7.25BETA1 ( https://nmap.org ) at 2016-10-09 16:43 CEST Nmap scan report for lb-212-222.above.com (103.224.212.222) Host is up (0.20s latency). Not shown: 998 closed ports @@ -124,11 +121,10 @@ SF:LO\x20requires\x20valid\x20address\r\n"); Service detection performed. Please report any incorrect results at https://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 36.60 seconds -</code></pre> +</samp></code></pre> Et un HTTP… voyons voir si c’est celui qui ment. -<pre><code> -<span style="color:green">haelwenn</span><span style="color:yellow">@NightmareMoon</span>:<span style="color:cyan">~</span>$ curl -v -H 'Host: nxdomain.tld' 103.224.212.222 -* Rebuilt URL to: 103.224.212.222/ +<pre><code>$ <kbd>curl -v -H 'Host: nxdomain.tld' 103.224.212.222</kbd> +<samp>* Rebuilt URL to: 103.224.212.222/ * Trying 103.224.212.222... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed @@ -162,9 +158,9 @@ Et un HTTP… voyons voir si c’est celui qui ment. &lt;/noframes&gt; &lt;/frameset&gt; &lt;/html&gt; -</code></pre> +</samp></code></pre> <p>Trouvé !<br /> -Si vous avez encore des personnes qui ne vous croient pas sur une connection non-neutre, mettez-les sur un wifi orange semi-public y’aurat des trucs pas habituels :P</p> -Ah et orange à l’air d’utiliser une bonne grosse masse de Debian(cf. le deb dans la version du Serveur apache menteur ainsi que pour PHP) donc ouais <a href="https://davenull.tuxfamily.org/linux-livebox/">le libre ça marche pas avec orange™</a> + Si vous avez encore des personnes qui ne vous croient pas sur une connection non-neutre, mettez-les sur un wifi orange semi-public y’aurat des trucs pas habituels :P</p> +<p>Ah et orange à l’air d’utiliser une bonne grosse masse de Debian(cf. le deb dans la version du Serveur apache menteur ainsi que pour PHP) donc ouais <a href="https://davenull.tuxfamily.org/linux-livebox/">le libre ça marche pas avec orange™</a></p> </article> diff --git a/css/index.css b/css/index.css @@ -23,15 +23,15 @@ blockquote { border-left: 0.1em solid; padding-left: 0.5em; } -code { - display: inline-table; - padding: 0 0.25em; +h1, h2, h3, h4, h5, h6 { font-family: serif; } +code, pre { background-color: var(--dark-ansi00); color: var(--dark-ansi15); font-family: monospace; } -h1, h2, h3, h4, h5, h6 { font-family: serif; } +code { padding: 0 0.25em; } pre { + display: table; /* pre-wrap is there for legacy reasons as break-spaces is recent */ white-space: pre-wrap; white-space: break-spaces; @@ -65,6 +65,17 @@ quote + cite::before { content: " — "; } rt,rp { font-size: 75%; } +kbd, samp { + -webkit-user-select: all; + -webkit-user-select: contain; + -moz-user-select: all; + -moz-user-select: contain; + -ms-user-select: all; + -ms-user-select: contain; + user-select: all; + user-select: contain; +} + /* classes */ .select-all { -webkit-user-select: all;