Add article syspatch net80211

This commit is contained in:
HUC Stéphane 2021-05-20 21:33:28 +02:00
parent ba15b13580
commit 724d952061
Signed by: hucste
GPG Key ID: C4ED64222D9B037F
11 changed files with 706 additions and 38 deletions

View File

@ -91,10 +91,9 @@ Plus d'informations sur les pages d'Errata [6.9][1] et [6.8][2]… <br>
---
[1]: https://openbsd.org/errata69html
[1]: https://openbsd.org/errata69.html
[2]: https://openbsd.org/errata68.html
[3]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata69
[4]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata68

View File

@ -0,0 +1,88 @@
---
categories: ['Syspatch']
date: 2021-05-20T21:25:29+02:00
description: "Correctif OpenBSD: net80211 (Wifi)"
draft: false
tags: ['Syspatch','net80211','6.8','6.9']
title: "Syspatch : net80211 (2021/05/20)"
---
## Correctif de sécurité
**Une validation insuffisante des trames A-MSDU et des frames 802.11 fragmentées pouvait être réalisée pour injecter des frames arbitraires**.
- Architectures ciblées : toutes celles supportées par le projet OpenBSD.
---
Pour toutes les architectures supportées :
- amd64, arm64, i386 par `syspatch`
- armv7, hppa, landisk, loongson, luna88k, macppc, sparc64 par [recompilation](#recompilation)
---
## Syspatch
Cette étape ne concerne que les architectures amd64, arm64, i386 !
```ksh
# syspatch
```
Ensuite [redémarrez](#restart) la machine car ce correctif affecte le noyau !
## Recompilation
Pour toute autre architecture prise en charge par le projet OpenBSD, voici
les étapes de recompilation nécessaires :
Après avoir téléchargé le correctif, vérifiez-le, et appliquez-le :
- pour 6.9
```ksh
# https://ftp.openbsd.org/pub/OpenBSD/patches/6.9/common/004_net80211.patch.sig
# signify -Vep /etc/signify/openbsd-69-base.pub -x 004_net80211.patch.sig \
-m - | (cd /usr/src && patch -p0)
```
- pour 6.8
```ksh
# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/021_net80211.patch.sig
# signify -Vep /etc/signify/openbsd-68-base.pub -x 021_net80211.patch.sig \
-m - | (cd /usr/src && patch -p0)
```
- la phase de recompilation :
```ksh
$ KK=`sysctl -n kern.osversion | cut -d# -f1`
$ cd /usr/src/sys/arch/`machine`/compile/$KK
# make obj
# make config
# make
# make install
```
Ensuite [redémarrez](#restart) la machine car ce correctif affecte le noyau !
## Restart
```ksh
# reboot
```
---
Plus d'informations sur les pages d'Errata [6.9][1] et [6.8][2]… <br>
*et leurs versions FR respectives : [6.9 FR][3] et [6.8 FR][4].*
---
[1]: https://openbsd.org/errata69.html
[2]: https://openbsd.org/errata68.html
[3]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata69
[4]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata68

View File

@ -4,7 +4,7 @@
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
<title type="text">OpenBSD Pour Tous 🐡</title>
<subtitle type="html">OBSD4* : Site de la communauté francophone autour d&#39;OpenBSD.</subtitle>
<updated>2021-05-19T19:09:29&#43;02:00</updated>
<updated>2021-05-19T19:33:44&#43;02:00</updated>
<id>https://openbsd.fr.eu.org/</id>
<link rel="alternate" type="text/html" href="https://openbsd.fr.eu.org/" />
<link rel="self" type="application/atom&#43;xml" href="https://openbsd.fr.eu.org/atom.xml" />
@ -20,7 +20,7 @@
<title type="text">OpenIKED 6.9.0 ; rpki-client 7.1</title>
<link rel="alternate" type="text/html" href="https://openbsd.fr.eu.org/posts/2021/05/18/openiked-6.9-rpki-client-7.1/" />
<id>https://openbsd.fr.eu.org/posts/2021/05/18/openiked-6.9-rpki-client-7.1/</id>
<updated>2021-05-19T19:07:30&#43;02:00</updated>
<updated>2021-05-19T19:32:19&#43;02:00</updated>
<published>2021-05-18T18:49:57&#43;02:00</published>
<author>
<name>OBSD4a</name>
@ -109,7 +109,13 @@ Windows Subsystem for Linux 2, et OpenBSD.&lt;/li&gt;
<category scheme="https://openbsd.fr.eu.org/categories/syspatch/" term="Syspatch" label="Syspatch" />
<category scheme="https://openbsd.fr.eu.org/categories/openiked/" term="OpenIKED" label="OpenIKED" />
<category scheme="https://openbsd.fr.eu.org/categories/rpki-client/" term="rpki-client" label="rpki-client" />

View File

@ -54,7 +54,7 @@
"@context": "https://schema.org",
"@type": "WebPage",
"datePublished": "2016-09-01T01:01:01+00:00",
"dateModified": "2021-05-19T19:07:30+02:00",
"dateModified": "2021-05-19T19:32:19+02:00",
"url": "https://openbsd.fr.eu.org/categories/",
"name": "Categories",
"description": "OBSD4* : Site de la communauté francophone autour d'OpenBSD.",
@ -226,6 +226,10 @@
@ -438,6 +442,9 @@
@ -737,6 +744,9 @@
@ -993,6 +1003,560 @@
<li>
<a href="/categories/openiked/" class="category-item">OpenIKED</a>
<span class="category-count">(1)</span>
<ul class="list-categories"><li>
<a href="/categories/rpki-client/" class="category-item">rpki-client</a>
<span class="category-count">(1)</span>
<ul class="list-posts">
<li>
<a href="/posts/2021/05/18/openiked-6.9-rpki-client-7.1/" class="category-post">OpenIKED 6.9.0 ; rpki-client 7.1</a>
</li>
</ul>
</li></ul>
</li>
@ -1018,6 +1582,9 @@
@ -1283,7 +1850,7 @@
<a href="/categories/syspatch/" class="category-item">Syspatch</a>
<span class="category-count">(13)</span>
<span class="category-count">(12)</span>
@ -1296,9 +1863,10 @@
@ -1544,10 +2112,6 @@
<ul class="list-posts">
<li>
<a href="/posts/2021/05/18/openiked-6.9-rpki-client-7.1/" class="category-post">OpenIKED 6.9.0 ; rpki-client 7.1</a>
</li>
<li>
<a href="/posts/2021/05/18/syspatch-libx11-vmd-6.8-6.9/" class="category-post">Syspatch : libX11, vmd (2021/05/18)</a>
</li>

View File

@ -54,7 +54,7 @@
"@context": "https://schema.org",
"@type": "WebPage",
"datePublished": "2016-09-01T01:01:01+00:00",
"dateModified": "2021-05-19T19:07:30+02:00",
"dateModified": "2021-05-19T18:36:27+02:00",
"url": "https://openbsd.fr.eu.org/categories/syspatch/",
"name": "Categories: Syspatch",
"description": "OBSD4* : Site de la communauté francophone autour d'OpenBSD.",
@ -279,11 +279,6 @@
<h3 class="list-month">Mai</h3>
<ul class="list-part">
<li class="list-item">
<a href="/posts/2021/05/18/openiked-6.9-rpki-client-7.1/" class="list-item-title">OpenIKED 6.9.0 ; rpki-client 7.1</a>
<time datetime="2021-05-18T18:49:57&#43;02:00" class="list-item-time">May 18</time>
</li>
<li class="list-item">
<a href="/posts/2021/05/18/syspatch-libx11-vmd-6.8-6.9/" class="list-item-title">Syspatch : libX11, vmd (2021/05/18)</a>
<time datetime="2021-05-18T18:18:12&#43;02:00" class="list-item-time">May 18</time>

View File

@ -56,7 +56,7 @@
"@context": "https://schema.org",
"@type": "WebSite",
"datePublished": "2016-09-01T01:01:01+00:00",
"dateModified": "2021-05-19T19:07:30+02:00",
"dateModified": "2021-05-19T19:32:19+02:00",
"url": "https://openbsd.fr.eu.org/",
"description": "OBSD4* : Site de la communauté francophone autour d'OpenBSD.",
"image": "https://openbsd.fr.eu.org/Puffy.svg",
@ -230,7 +230,7 @@
<time datetime="2021-05-19T19:07:30&#43;02:00" class="post-meta-item modified dt-updated"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="icon post-meta-icon"><path d="M400 64h-48V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H160V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V160h352v298a6 6 0 0 1-6 6zm-52.849-200.65L198.842 404.519c-4.705 4.667-12.303 4.637-16.971-.068l-75.091-75.699c-4.667-4.705-4.637-12.303.068-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l44.104 44.461 111.072-110.181c4.705-4.667 12.303-4.637 16.971.068l22.536 22.718c4.667 4.705 4.636 12.303-.069 16.97z"/></svg>&nbsp;2021.5.19</time>
<time datetime="2021-05-19T19:32:19&#43;02:00" class="post-meta-item modified dt-updated"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="icon post-meta-icon"><path d="M400 64h-48V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H160V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V160h352v298a6 6 0 0 1-6 6zm-52.849-200.65L198.842 404.519c-4.705 4.667-12.303 4.637-16.971-.068l-75.091-75.699c-4.667-4.705-4.637-12.303.068-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l44.104 44.461 111.072-110.181c4.705-4.667 12.303-4.637 16.971.068l22.536 22.718c4.667 4.705 4.636 12.303-.069 16.97z"/></svg>&nbsp;2021.5.19</time>
@ -238,7 +238,7 @@
<span class="post-meta-item category"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon post-meta-icon"><path d="M464 128H272l-54.63-54.63c-6-6-14.14-9.37-22.63-9.37H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48zm0 272H48V112h140.12l54.63 54.63c6 6 14.14 9.37 22.63 9.37H464v224z"/></svg>&nbsp;<a href="/categories/syspatch/" class="category-link p-category">Syspatch</a></span>
<span class="post-meta-item category"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon post-meta-icon"><path d="M464 128H272l-54.63-54.63c-6-6-14.14-9.37-22.63-9.37H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48zm0 272H48V112h140.12l54.63 54.63c6 6 14.14 9.37 22.63 9.37H464v224z"/></svg>&nbsp;<a href="/categories/openiked/" class="category-link p-category">OpenIKED</a>/<a href="/categories/rpki-client/" class="category-link p-category">rpki-client</a></span>

View File

@ -54,7 +54,7 @@
"@context": "https://schema.org",
"@type": "WebPage",
"datePublished": "2016-09-01T01:01:01+00:00",
"dateModified": "2021-05-19T19:07:30+02:00",
"dateModified": "2021-05-19T19:32:19+02:00",
"url": "https://openbsd.fr.eu.org/posts/",
"name": "Posts",
"description": "OBSD4* : Site de la communauté francophone autour d'OpenBSD.",

View File

@ -23,7 +23,7 @@
<copyright>[CC 0](https://creativecommons.org/publicdomain/zero/1.0/deed.fr)</copyright>
<lastBuildDate>Wed, 19 May 2021 19:09:30 &#43;0200</lastBuildDate>
<lastBuildDate>Wed, 19 May 2021 19:33:44 &#43;0200</lastBuildDate>
<atom:link rel="self" type="application/rss&#43;xml" href="https://openbsd.fr.eu.org/rss.xml" />
@ -118,7 +118,13 @@ Windows Subsystem for Linux 2, et OpenBSD.&lt;/li&gt;
<category domain="https://openbsd.fr.eu.org/categories/syspatch/">Syspatch</category>
<category domain="https://openbsd.fr.eu.org/categories/openiked/">OpenIKED</category>
<category domain="https://openbsd.fr.eu.org/categories/rpki-client/">rpki-client</category>

File diff suppressed because one or more lines are too long

View File

@ -4,52 +4,57 @@
<url>
<loc>https://openbsd.fr.eu.org/tags/6.9/</loc>
<lastmod>2021-05-19T19:07:30+02:00</lastmod>
<lastmod>2021-05-19T19:32:19+02:00</lastmod>
</url>
<url>
<loc>https://openbsd.fr.eu.org/tags/7.1/</loc>
<lastmod>2021-05-19T19:07:30+02:00</lastmod>
<lastmod>2021-05-19T19:32:19+02:00</lastmod>
</url>
<url>
<loc>https://openbsd.fr.eu.org/categories/</loc>
<lastmod>2021-05-19T19:07:30+02:00</lastmod>
<lastmod>2021-05-19T19:32:19+02:00</lastmod>
</url>
<url>
<loc>https://openbsd.fr.eu.org/</loc>
<lastmod>2021-05-19T19:07:30+02:00</lastmod>
<lastmod>2021-05-19T19:32:19+02:00</lastmod>
</url>
<url>
<loc>https://openbsd.fr.eu.org/tags/openiked/</loc>
<lastmod>2021-05-19T19:07:30+02:00</lastmod>
<lastmod>2021-05-19T19:32:19+02:00</lastmod>
</url>
<url>
<loc>https://openbsd.fr.eu.org/categories/openiked/</loc>
<lastmod>2021-05-19T19:32:19+02:00</lastmod>
</url>
<url>
<loc>https://openbsd.fr.eu.org/posts/2021/05/18/openiked-6.9-rpki-client-7.1/</loc>
<lastmod>2021-05-19T19:07:30+02:00</lastmod>
<lastmod>2021-05-19T19:32:19+02:00</lastmod>
</url>
<url>
<loc>https://openbsd.fr.eu.org/posts/</loc>
<lastmod>2021-05-19T19:07:30+02:00</lastmod>
<lastmod>2021-05-19T19:32:19+02:00</lastmod>
</url>
<url>
<loc>https://openbsd.fr.eu.org/tags/rpki-client/</loc>
<lastmod>2021-05-19T19:07:30+02:00</lastmod>
<lastmod>2021-05-19T19:32:19+02:00</lastmod>
</url>
<url>
<loc>https://openbsd.fr.eu.org/categories/syspatch/</loc>
<lastmod>2021-05-19T19:07:30+02:00</lastmod>
<loc>https://openbsd.fr.eu.org/categories/rpki-client/</loc>
<lastmod>2021-05-19T19:32:19+02:00</lastmod>
</url>
<url>
<loc>https://openbsd.fr.eu.org/tags/</loc>
<lastmod>2021-05-19T19:07:30+02:00</lastmod>
<lastmod>2021-05-19T19:32:19+02:00</lastmod>
</url>
<url>
@ -67,6 +72,11 @@
<lastmod>2021-05-19T18:36:27+02:00</lastmod>
</url>
<url>
<loc>https://openbsd.fr.eu.org/categories/syspatch/</loc>
<lastmod>2021-05-19T18:36:27+02:00</lastmod>
</url>
<url>
<loc>https://openbsd.fr.eu.org/posts/2021/05/18/syspatch-libx11-vmd-6.8-6.9/</loc>
<lastmod>2021-05-19T18:36:04+02:00</lastmod>

View File

@ -54,7 +54,7 @@
"@context": "https://schema.org",
"@type": "WebPage",
"datePublished": "2016-09-01T01:01:01+00:00",
"dateModified": "2021-05-19T19:07:30+02:00",
"dateModified": "2021-05-19T19:32:19+02:00",
"url": "https://openbsd.fr.eu.org/tags/",
"name": "Tags",
"description": "OBSD4* : Site de la communauté francophone autour d'OpenBSD.",