commit 3f8efebf07538e9931b8531ab55b2c25d48f694a Author: Vincent Finance Date: Sat Mar 26 11:48:12 2022 +0100 Creation of the repo diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md new file mode 100644 index 0000000..3639c8c --- /dev/null +++ b/README.md @@ -0,0 +1,75 @@ +# Openbsd.fr.eu.org v2 + +## Français + +Site principal de openbsd.fr.eu.org + +### Description + +Ceci est le site principal de openbsd.fr.eu.org, un site francophone d'une communautée centrée sur OpenBSD. Il est entièrement conçu à l'aide du générateur de site kiln. + +### Construction + +#### Dépendances + + * Go + * Python 3 & pip + * [kiln](https://git.sr.ht/~adnano/kiln) + * [gmitohtml](https://git.sr.ht/~adnano/gmnitohtml) + * [mdtohtml](https://git.sr.ht/~adnano/mdtohtml) + * [md2gemini](https://github.com/makeworld-the-better-one/md2gemini) + +#### Installation + + * Fedora GNU/Linux : +```bash +$ sudo dnf install go scdoc +$ git clone https://git.sr.ht/~adnano/kiln +$ cd kiln && make && sudo make install +$ git clone https://git.sr.ht/~adnano/mdtohtml +$ cd mdtohtml && make && sudo make install +$ git clone https://git.sr.ht/~adnano/gmnitohtml +$ cd gmnitohtml && make && sudo make install +$ sudo pip3 install md2gemini +``` + +### Génération du site + +Pour construire le site, utiliser la commande `kiln build` à la racine du dépôt. + +## English + +Main website of openbsd.fr.eu.org + +### Description + +This is the main website of openbsd.fr.eu.org, a French website of a community about OpenBSD. It is entirely build with kiln, a static website generator. + +### Construction + +#### Dependencies + + * Go + * Python 3 & pip + * [kiln](https://git.sr.ht/~adnano/kiln) + * [gmitohtml](https://git.sr.ht/~adnano/gmnitohtml) + * [mdtohtml](https://git.sr.ht/~adnano/mdtohtml) + * [md2gemini](https://github.com/makeworld-the-better-one/md2gemini) + +#### Installation + + * Fedora GNU/Linux : +```bash +$ sudo dnf install go scdoc +$ git clone https://git.sr.ht/~adnano/kiln +$ cd kiln && make && sudo make install +$ git clone https://git.sr.ht/~adnano/mdtohtml +$ cd mdtohtml && make && sudo make install +$ git clone https://git.sr.ht/~adnano/gmnitohtml +$ cd gmnitohtml && make && sudo make install +$ sudo pip3 install md2gemini +``` + +### Site generation + +To build the website, use the `kiln build` command at the repo's root. diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..a19b3cc --- /dev/null +++ b/config.toml @@ -0,0 +1,23 @@ +title = "OpenBSD pour tous" + +[permalinks] +"/" = "{{with .Params.slug}}/{{.}}/{{else}}{{.Path}}{{end}}" + +[[tasks]] +name = "gemini" +input = [".md", ".gmi"] +output = ".gmi" +template = ".gmi" +preprocess.md = "md2gemini --links at-end" +static_dir = "static" +output_dir = "public/gemini" + +[[tasks]] +name = "https" +input = [".md", ".gmi"] +output = ".html" +template = ".html" +preprocess.md = "mdtohtml" +preprocess.gmi = "gmnitohtml" +static_dir = "static" +output_dir = "public/https" diff --git a/content/_index.gmi b/content/_index.gmi new file mode 100644 index 0000000..b730bea --- /dev/null +++ b/content/_index.gmi @@ -0,0 +1,11 @@ +--- +title: OpenBSD pour tou(te)s - OBSD4A +--- + +Bienvenue sur le site de la communauté OpenBSD pour tou(te)s. + +Ce site regroupe une communauté francophone autour du système d'exploitation OpenBSD, afin de promouvoir son usage, rassembler des ressources en français dont de la documentation et accueillir tous types d'utilisateurs, qu'ils soient débutants ou non. + +Ce site est accessible via le protocole HTTPS et le protocole Gemini, afin de toucher le plus grand nombre. + +Nous sommes d'ailleurs hébergé sur un serveur virtuel sous OpenBSD ! diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..af60de9 --- /dev/null +++ b/content/about.md @@ -0,0 +1,72 @@ +--- +date: 2020-12-09 +description: "À propos de cette communauté francophone autour d'OpenBSD" +title: "À propos de cette communauté francophone autour d'OpenBSD" +template: page +--- + +Ce site est ouvert à tou(te)s : des débutant(e)s qui n'oseraient pas +discuter sur la [liste de diffusion anglaise][1] et aux plus expérimenté(e)s +qui voudraient échanger des astuces à propos d'[OpenBSD][2]. + +### Flux de syndication + +Retrouvez les flux de syndication suivants : + +- [Atom](/atom.xml) +- [RSS](/rss.xml) + +### Les services + +La communauté **OpenBSD Pour Tous** fournit : + +- un [forum][11] de discussion, entraide, et informations +- un [wiki][12] collaboratif - une documentation fournissant diverses + traductions dont celles du site OpenBSD, de ses différentes FAQ - + celle de PF et des Ports. +- une [liste de diffusion][13]. + +Elle est également présente à travers : +- IRC : **irc.geeknode.org #obsd4a** +- Matrix : **[#obsd4a:matrix.fdn.fr](https://matrix.to/#/#obsd4a:matrix.fdn.fr)** +- et sur le salon XMPP : **[#obsd4a%irc.geeknode.org@irc.automario.eu](xmpp:#obsd4a%irc.geeknode.org@irc.automario.eu?join)**. + +## Remerciements + +[Merci][20] à toutes les personnes qui donnent de leur temps ou un peu d'argent +pour faire vivre ce site. + +## Historique + +Cette communauté, historiquement appelée **OBSD4a**, est créée depuis 2016, +vers l'époque d'OpenBSD 5.9. + +Les raisons : partant du constat de la nécessité de promouvoir en français, +de manière claire et simple, OpenBSD auprès d'un public débutant, Xavier Cartron, +@prx, est l'initiateur de ce projet. Auquel s'est joint Stéphane HUC, @PengouinBSD, +afin de le soutenir dans l'administration de celui-ci. Ce sont les deux +fondateurs de cette communauté. + +En novembre 2020, Vincent Finance, @vinishor, a décidé de rejoindre le projet +suite à un appel lancé par @prx sur le forum. Il est donc devenu le nouvel +administrateur par interim et c'est sur une de ses machines que le site +a été transféré. +En 2021, @raspbeguy a également rejoint l'aventure et aide notamment +pour l'administration de certains services, notamment sur le salon IRC. + +## Hébergement + +Ce site, ainsi que le forum et le wiki, sont hébergés sur une machine +virtuelle louée chez [obsd.ams][40]. + +--- + +[1]: http://www.openbsd.org/mail.html +[2]: http://www.openbsd.org + +[11]: https://forum.openbsd.fr.eu.org/ +[12]: https://wiki.openbsd.fr.eu.org/ +[13]: /liste + +[20]: /donate +[40]: https://openbsd.amsterdam/ diff --git a/content/donate.md b/content/donate.md new file mode 100644 index 0000000..3dfcf19 --- /dev/null +++ b/content/donate.md @@ -0,0 +1,44 @@ +--- +date: 2020-12-09 +description: "Page de dons et remerciements publics auprès de tous ceux qui supportent, voire financent la communauté OBSD4a - OpenBSD Pour Tous" +title: "Page de dons et remerciements" +template: page +--- + +Ce site ne comporte aucune publicité ni traceur. Il n'existe que grâce + aux contributeurs qui accordent de leur temps ou participent financièrement. + Merci à eux ! + +- PengouinBSD, pour tout son temps d'administration, de traduction, + sa +participation financière de **12** € / an *(directement auprès de prx, et +depuis novembre 2020, auprès de Vincent Finance, @vinishor, notre "hébergeur" +actuel)*. +- Mimoza, pour son temps de relecture et de modération. + +- 16/10/2016 : linox +- 02/05/2017 : Arnoux Yannic +- 09/06/2017 : Frederic P. aka trefix +- 22/12/2020 : un utilisateur qui souhaite rester anonyme décide de faire +une participation hebdomadaire de **5** €… +- 07/01/2020 : @Mimoza - notre 3ème donateur - nous offre +une participation hebdomadaire de **2** €. + +Merci beaucoup à vous tous ! :D + +--- + +Sans oublier tous les contributeurs qui rédigent sur le wiki et donnent +de leur temps sur le forum et la liste de diffusion ♥. + +## Dons + +Vos dons financiers pour supporter le coût du serveur, une 60aine d'€ / an +auprès d'obsd.ams, peuvent être fait par le moyen de : + +- [Liberapay][1] + +[][1] + +--- + +[1]: https://liberapay.com/OpenBSD-fr/donate diff --git a/content/liste.md b/content/liste.md new file mode 100644 index 0000000..ec86bb6 --- /dev/null +++ b/content/liste.md @@ -0,0 +1,34 @@ +--- +date: 2020-12-09 +description: "Liste de diffusion de la communauté OBSD4a - OpenBSD Pour Tous" +title: "Liste de diffusion" +template: page +--- + +## Description + +Une liste de diffusion est disponible pour toute personne souhaitant +demander de l'aide ou simplement discuter par un autre biais que le forum. + +Pour écrire ou recevoir un message sur la liste, il est nécessaire d'être +inscrit. Cela empêche ainsi les spammeurs de pouvoir publier dessus. + +## Utilisation + +- Pour vous inscrire à la liste et recevoir les messages + qui y sont postés, envoyez un message à blabla+subscribe@openbsd.fr.eu.org. + Le sujet du mail n'a aucune incidence ou importance. +- Pour écrire à la liste, adressez un email à l'adresse blabla@openbsd.fr.eu.org. +- Merci d'écrire vos messages au format text/plain. Les messages en html + ne seront pas publiés. +- Les messages envoyés sur la liste sont gardés en copie pour consultation + et recherche ultérieure. Les archives sont [publiques et disponibles ici][1]. + Les messages sont synchronisés tous les soirs, à une heure fixe. +- Pour ne plus recevoir les messages de la liste, envoyez un message à + l'adresse blabla+unsubscribe@openbsd.fr.eu.org. +- Le serveur utilise Rspamd pour l'anti-spam, un délai est possible + avant que votre message ne soit publié. + +--- + +[1]: https://openbsd.fr.eu.org/blabla/ diff --git a/content/posts/_index.gmi b/content/posts/_index.gmi new file mode 100644 index 0000000..a43abfc --- /dev/null +++ b/content/posts/_index.gmi @@ -0,0 +1,3 @@ +--- +title: Hello, world! +--- diff --git a/content/posts/changement-irc-matrix-xmpp.md b/content/posts/changement-irc-matrix-xmpp.md new file mode 100644 index 0000000..ecac81d --- /dev/null +++ b/content/posts/changement-irc-matrix-xmpp.md @@ -0,0 +1,23 @@ +--- +date: 2021-06-01 +description: "La communauté 'OpenBSD Pour Tous' change de canaux de communications." +title: "Changement de canal sur IRC, Jabber et Matrix" +template: blog +--- + +## Description + +Une petite annonce officielle pour informer de nos changements de canaux +de discussion : + + * Canal IRC : #obsd4a / irc.geeknode.org + * Salon Matrix : [#obsd4a:matrix.fdn.fr](https://matrix.to/#/#obsd4a:matrix.fdn.fr) + * *la communauté est "visible" sur son [espace de communauté Matrix](https://matrix.to/#/+obsd4a:matrix.org)* + * Salon Jabber (XMPP) : #obsd4a%irc.geeknode.org\@irc.automario.eu + + +À vous de basculer vers ses nouveaux canaux de discussions officiels ! + +Merci d'en tenir compte… + +--- diff --git a/content/posts/libressl-3.2.4.md b/content/posts/libressl-3.2.4.md new file mode 100644 index 0000000..3dab3e3 --- /dev/null +++ b/content/posts/libressl-3.2.4.md @@ -0,0 +1,46 @@ +--- +categories: ['LibreSSL'] +date: 2021-02-13T06:32:39+01:00 +description: "Sortie de LibreSSL: 3.2.4 (2021/02/12)" +draft: false +tags: ['LibreSSL','3.2'] +title: "LibreSSL : 3.2.4" +--- + +## Description + +Suite au correctif [libressl][1], l'équipe OpenBSD délivre une nouvelle version de LibreSSL. + +Elle inclut les correctifs des bogues et d'interopérabilités suivants : + +``` +* Switch back to certificate verification code from LibreSSL 3.1.x. The +new verifier is not bug compatible with the old verifier causing issues +with applications expecting behavior of the old verifier. + +* Unbreak DTLS retransmissions for flights that include a CCS + +* Only check BIO_should_read() on read and BIO_should_write() on write + +* Implement autochain for the TLSv1.3 server + +* Use the legacy verifier for autochain + +* Implement exporter for TLSv1.3 + +* Free alert_data and phh_data in tls13_record_layer_free() + +* Plug leak in x509_verify_chain_dup() + +* Free the policy tree in x509_vfy_check_policy() +``` + +--- + +Retrouvez la note de version : + +- [3.2.4](https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.2.4-relnotes.txt) + +--- + +[1]: /posts/2021/02/03/syspatch-libressl-6.8/ diff --git a/content/posts/libressl-3.2.5.md b/content/posts/libressl-3.2.5.md new file mode 100644 index 0000000..8ae62be --- /dev/null +++ b/content/posts/libressl-3.2.5.md @@ -0,0 +1,28 @@ +--- +categories: ['LibreSSL'] +date: 2021-03-17T08:45:49+01:00 +description: "Sortie de LibreSSL: 3.2.5 (2021/03/17)" +draft: false +tags: ['LibreSSL','3.2'] +title: "LibreSSL : 3.2.5" +--- + +## Description + +Suite au correctif [libressl][1], l'équipe OpenBSD délivre une nouvelle version de LibreSSL. + +Elle inclut le correctif suivant : + +``` +* A TLS client using session resumption may cause a use-after-free. +``` + +--- + +Retrouvez la note de version : + +- [3.2.45](https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.2.5-relnotes.txt) + +--- + +[1]: /posts/2021/03/15/syspatch-libssl-6.8/ diff --git a/content/posts/libressl-3.3.1-3.2.3-3.1.5.md b/content/posts/libressl-3.3.1-3.2.3-3.1.5.md new file mode 100644 index 0000000..37de7c9 --- /dev/null +++ b/content/posts/libressl-3.3.1-3.2.3-3.1.5.md @@ -0,0 +1,24 @@ +--- +categories: ['LibreSSL'] +date: 2020-12-09T13:23:17+01:00 +description: "Sortie de trois versions de LibreSSL: 3.3.1, 3.2.3, 3.1.5 (2020/12/09)" +draft: false +tags: ['LibreSSL','3.3','3.2','3.1'] +title: "LibreSSL : 3.3.1, 3.2.3, 3.1.5" +--- + +## Description + +Suite au [correctif de sécurité à-propos d'asn.1][1], l'équipe OpenBSD +délivre trois nouvelles versions de LibreSSL. + +Retrouvez les notes respectives de ces trois versions : + +- [3.3.1](https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.3.1-relnotes.txt) +- [3.2.3](https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.2.3-relnotes.txt) +- [3.1.5](https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.1.5-relnotes.txt) + + +--- + +[1]: /posts/2020/12/09/syspatch-asn1-exit/#correctif-de-s%C3%A9curit%C3%A9-asn1 diff --git a/content/posts/libressl-3.3.3.md b/content/posts/libressl-3.3.3.md new file mode 100644 index 0000000..9478e75 --- /dev/null +++ b/content/posts/libressl-3.3.3.md @@ -0,0 +1,287 @@ +--- +categories: ['LibreSSL'] +date: 2021-05-04T12:36:47+02:00 +description: "Sortie de LibreSSL: 3.3.3 (2021/05/04)" +draft: false +tags: ['LibreSSL','3.3'] +title: "LibreSSL : 3.3.3" +--- + +## Description + +L'équipe d'OpenBSD dévoile la nouvelle version stable de LibreSSL, basée +sur OpenBSD 6.9. + +Cette version inclut les changements suivants : + +⇒ De nouvelles fonctionnalités : + +``` +* Support for DTLSv1.2. +* Continued rewrite of the record layer for the legacy stack. +* Numerous bugs and interoperability issues were fixed in the new verifier. A +few bugs and incompatibilities remain, so this release uses the old verifier +by default. +* The OpenSSL 1.1 TLSv1.3 API is not yet available. +``` + +⇒ Des améliorations pour la version portable : + +``` +* Added '--enable-libtls-only' build option, which builds and installs a +statically-linked libtls, skipping libcrypto and libssl. This is useful for +systems that ship with OpenSSL but wish to also package libtls. +* Update getentropy on Windows to use Cryptography Next Generation (CNG). +wincrypt is deprecated and no longer works with newer Windows environments, +such as in Windows Store apps. +``` + +⇒ Des améliorations de l'API et de la Documentation : + +``` +* Add a number of RPKI OIDs from RFC 6482, 6484, 6493, 8182, 8360, +draft-ietf-sidrops-rpki-rta, and draft-ietf-opsawg-finding-geofeeds. +* Add support for SSL_get_shared_ciphers(3) with TLSv1.3. +* Add DTLSv1.2 methods. +* Implement SSL_is_dtls(3) and use it internally in place of the SSL_IS_DTLS +macro. +* Provide EVP_PKEY_new_CMAC_KEY(3). +* Add missing prototype for d2i_DSAPrivateKey_fp(3) to x509.h. +* Add DTLSv1.2 to openssl(1) s_server and s_client protocol message logging. +* Provide SSL_use_certificate_chain_file(3). +* Provide SSL_set_hostflags(3) and SSL_get0_peername(3). +* Provide various DTLSv1.2 specific functions and defines. +* Document meaning of '*' in the genrsa output. +* Updated documentation for SSL_get_shared_ciphers(3). +* Add documentation for SSL_get_finished(3). +* Document EVP_PKEY_new_CMAC_key(3). +* Document SSL_use_certificate_chain_file(3). +* Document SSL_set_hostflags(3) and SSL_get0_peername(3). +* Update SSL_get_version(3) manual for DTLSv.1.2 support. +* Make supported protocols and options for DHE params more prominent in +tls_config_set_protocols(3). +* Various documentation improvements around TLS methods. +``` + +⇒ Des changements de compatibilités : + +``` +* Make openssl(1) s_server ignore -4 and -6 for compatibility with OpenSSL. +* Set SO_REUSEADDR on the server socket in the openssl(1) ocsp command. +* Send a host header with OCSP queries to make openssl(1) ocsp work with some +widely used OCSP responders. +* Add ability to ocspcheck(8) to parse a port in the specified OCSP URL. +* Implement auto chain for the TLSv1.3 server since some software relies on +this. +* Implement key exporter for TLSv1.3. +* Align SSL_get_shared_ciphers(3) with OpenSSL. This takes into account that +it never returned server ciphers, so now it will fail when called from the +client side. +* Sync cert.pem with Mozilla NSS root CAs except "GeoTrust Global CA". +* Make SSL{_CTX,}_get_{min,max}_proto_version(3) return a version of zero if +the minimum or maximum has been set to zero to match OpenSSL's behavior. +* Add DTLSv1.2 support to openssl(1) s_client/s_server. +* Testing and Proactive Security +* Malformed ASN.1 in a certificate revocation list or a timestamp response +token can lead to a NULL pointer dereference. +* Pull in fix for EVP_CipherUpdate(3) overflow from OpenSSL. +* Use EXFLAG_INVALID to handle out of memory and parse errors in +x509v3_cache_extensions(). +* Refactor and clean up ocspcheck(8) and add regression tests. +* Internal Improvements +* Further cleanup of the DTLS record handling. +* Continue the replacement of the TLSv1.2 record layer by reimplementing the +read side of the TLSv1.2 record handling. +* Replace DTLSv1_enc_data() with TLSv1_1_enc_data(). +* Merge d1_{clnt,srvr}.c into ssl_{clnt,srvr}.c. +* Add const to ssl_ciphers and tls1[23]_sigalgs* to push them into +.data.rel.ro and .rodata, respectively. +* Add a const qualifier to srtp_known_profiles. +* Simplify TLS method by removing the client and server specific methods +internally. +* Avoid casting away const in ssl_ctx_make_profiles(). +* Avoid explicitly conditioning an assert on DTLS1_VERSION to make the assert +work for newer DTLS versions. +* Merge SSL_ENC_METHOD into SSL_METHOD_INTERNAL. +* Add a flag to mark DTLS methods as DTLS to have an easy way to recognize +DTLS methods that avoids inspecting the version number. +* Mark a few more internal static tables const. +* Switch finish{,_peer}_md_len from an int to a size_t. +* Use EVP_MD_MAX_MD_SIZE instead of 2 * EVP_MD_MAX_MD_SIZE as size for +cert_verify_md[], finish_md[] and peer_finish_md[]. The factor 2 was a +historical artefact. +* Free struct members in tls13_record_layer_free() in their natural order for +reviewability. +* Use consistent names in tls13_{client,server}_finished_{recv,send}(). +* Add tls13_secret_{init,cleanup}() and use them throughout the TLSv1.3 code +base. +* Move the read MAC key into the TLSv1.2 record layer. +* Make tls12_record_layer_free() NULL safe. +* Split the record protection from the TLSv1.2 record layer. +* Clean up sequence number handling in the new TLSv1.2 record layer. +* Clean up sequence number handling in DTLS. +* Clean up dtls1_reset_seq_numbers(). +* Factor out code for explicit IV length, block size and MAC length from +tls12_record_layer_open_record_protected_cipher(). +* Provide record layer overhead for DTLS. +* Provide functions to determine if TLSv1.2 record protection is engaged. +* Add code to handle change of cipher state in the new TLSv1.2 record layer. +* Mop up now unused dtls1_build_sequence_numbers() function. +* Allow setting a keypair on a tls context without specifying the private key, +and fake it internally in libtls. This removes the need for privsep engines +like relayd to use bogus keys. +* Skip the private key check for fake private keys. +* Move the private key setup from tls_configure_ssl_keypair() to a helper +function with proper error checking. +* Change the internal tls_configure_ssl_keypair() function to return -1 +instead of 1 on failure. +* Move sequence numbers into the new TLSv1.2 record layer. +* Move AEAD handling into the new TLSv1.2 record layer. +* Factor out legacy stack version checks. +* Correct handshake MAC/PRF for various TLSv1.2 cipher suites which were +originally added with the default handshake MAC and PRF rather than the +SHA256 handshake MAC and PRF. +* Absorb ssl3_get_algorithm2() into ssl_get_handshake_evp_md(). +* Use dtls1_record_retrieve_buffered_record() to load buffered application +data. +* Enforce read ahead with DTLS. +* Remove bogus DTLS checks that disabled ECC and OCSP. +* Clean up and simplify dtls1_get_cipher(). +* Group HelloVerifyRequest decoding and add missing check for trailing data. +* Revise HelloVerifyRequest handling for DTLSv1.2. +* Handle DTLS1_2_VERSION in various places. +* Rename the "truncated" label into "decode_err" and the "f_err" label into +"fatal_err". +* Factor out and change some of the legacy client version code. +* Simplify version checks in the TLSv1.3 client. Ensure that the server +announced TLSv1.3 and nothing higher and check that the legacy_version is +set to TLSv1.2 as required by RFC 8446. +* Only use TLS versions internally rather than both TLS and DTLS versions +since the latter are the one's complement of the human readable version +numbers, which means that newer versions decrease in value. +* Identify DTLS based on the version major value. +* Move handling of cipher/hash based cipher suites into the new record layer. +* Add tls12_record_protection_unused() and call it from CCS functions. +* Move key/IV length checks closer to usage sites. Also add explicit checks +against EVP_CIPHER_{iv,key}_length(). +* Replace two handrolled tls12_record_protection_engaged(). +* Improve internal version handling: add handshake fields for our minimum +version, our maximum version and the TLS version negotiated during the +handshake. Convert most of the internal code to use these version fields. +* Guard against future internal use of TLS1_get_{client,}_version() macros. +* Remove the internal ssl_downgrade_max_version() function which is no longer +needed. +* Add support for DTLSv1.2 version handling. +* Remove no longer needed read ahead workarounds in the s_client and s_server. +* Split TLSv1.3 record protection from record layer. +* Move the TLSv1.3 handshake struct inside the shared handshake struct. +* Fully initialize rrec in tls12_record_layer_open_record_protected() to avoid +confusing some static analyzers. +* Use tls_set_errorx() on OCSP_basic_verify() failure since the latter does +not set errno. +* Convert openssl(1) x509 to new option handling and do the usual clean up +that goes along with it. +* Add SSL_HANDSHAKE_TLS12 for TLSv1.2 specific handshake data. +* Rename new_cipher to cipher to align naming with keyblock or other parts of +the handshake data. +* Move the TLSv1.2 record number increment into the new record layer. +* Move finished and peer finished into the handshake struct. +* Remove pointless assignment in SSL_get0_alpn_selected(). +* Add some error checking to openssl(1) x509. +``` + +⇒ Des correctifs de bogue : + +``` +* Move point-on-curve check to set_affine_coordinates to avoid verifying ECDSA +signatures with unchecked public keys. +* Fix SSL_is_server(3) to behave as documented by re-introducing the +client-specific methods. +* Avoid undefined behavior due to memcpy(NULL, NULL, 0). +* Make SSL_get{,_peer}_finished() work when used with TLSv1.3. +* Correct the return value type from ERR_peek_error() to a long. +* Avoid use of uninitialized in ASN1_time_parse() which could happen on +parsing UTCTime if the caller did not initialize the passed struct tm. +* Destroy the mutex in a tls_config object on tls_config_free(). +* Free alert_data and phh_data in tls13_record_layer_free(). These could leak +if SSL_shutdown(3) or tls_close(3) were called after closing the underlying +socket(). +* Gracefully handle root certificates being both trusted and untrusted. +* Handle X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE in the new verifier. +* Use the legacy verifier when building auto chains for TLS. +* Search the intermediates only after searching the root certs in the new +verifier to avoid problems with the legacy callback. +* Bail out early after finding a single chain in the new verifier, if we have +been called via the legacy verifier API. +* Set (invalid and likely incomplete) chain on the xsc on chain build failure +prior to calling the callback. This is required by various callers, including +auto chain. +* Remove direct assignment of aead_ctx to avoid a leak. +* Fail early in legacy exporter if the master secret is not available to avoid +a segfault if it is called when the handshake is not completed. +* Only print the certificate file once on verification failure. +* Fix an off-by-one in x509_verify_set_xsc_chain() to make sure that the new +validator checks for EXFLAG_CRITICAL in x509_vfy_check_chain_extension() for +all untrusted certs in the chain. Take into account that the root is not +necessarily trusted. +* Avoid passing last and depth to x509_verify_cert_error() on ENOMEM. +* Fix two bugs in the legacy verifier that resulted from refactoring of +X509_verify_cert(3) for the new verifier: a return value was incorrectly +treated as boolean, making it insufficient to decide whether validation +should carry on or not. +* Fix checks for memory caps of constraints names. There are internal caps on +the number of name constraints and other names, that the new name constraints +code allocates per cert chain. These limits were checked too late, making +them only partially effective. +* Fix a copy-paste error - skid was confused with an akid when checking for +EXFLAG_INVALID. This broke OCSP validation with certain mirrors. +* Avoid a use-after-scope in tls13_cert_add(). +* Avoid mangled output in BIO_debug_callback(). +* Fix client initiated renegotiation by replacing use of s->internal-type with +s->server. +* Avoid transcript initialization when sending a TLS HelloRequest, fixing +server initiated renegotiation. +* Avoid leaking param->name in x509_verify_param_zero(). +* Avoid a leak in an error path in openssl(1) x509. +* When sending an alert in TLSv1.3, only set its error code when no other +error was set previously. Certain clients rely on specific SSL_R_ error +codes to identify that they are dealing with a self signed cert. +* When switching from the TLSv1.3 stack to the legacy stack include a TLS +record header. This is necessary if there is more than one handshake message +in the TLS plaintext record. +* Fix resource handling on error in OCSP_request_add0_id(). +* Make sure there is enough room for stashing the handshake message when +switching to the legacy TLS stack. +* Fix a memory leak in the openssl(1) s_client. +* Unbreak DTLS retransmissions for flights that include a CCS. +* If x509_verify() fails, ensure that the error is set on both the +x509_verify_ctx() and its store context to make some failures visible from +SSL_get_verify_result(). +* Use the X509_STORE_CTX get_issuer() callback from the new X.509 verifier to +fix hashed certificate directories. +* Only check BIO_should_read(3) on read and BIO_should_write(3) on write. +Previously, BIO_should_write(3) was also checked after read and +BIO_should_read(3) after write which could cause stalls in software that +uses the same BIO for read and write. +* In openssl(1) verify, also check for error on the store context since the +return value of X509_verify_cert(3) is unreliable in presence of a callback +that returns 1 too often. +* Handle additional certificate error cases in the new X.509 verifier. Keep +track of the errors encountered if a verify callback tells the verifier to +continue and report them back via the error on the store context. This +mimics the behavior of the old verifier that would persist the first error +encountered while building the chain. +* Report specific failures for "self signed certificates" in a way compatible +with the old verifier since software relies on the error code. +* Plug a large memory leak in the new verifier caused by calling +X509_policy_check(3) repeatedly. +* Avoid leaking memory in x509_verify_chain_dup(). +``` + +--- + +Retrouvez la note de version : + +- [3.3.3](https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.3.3-relnotes.txt) + +--- diff --git a/content/posts/openbsd-6.9.md b/content/posts/openbsd-6.9.md new file mode 100644 index 0000000..cb15b21 --- /dev/null +++ b/content/posts/openbsd-6.9.md @@ -0,0 +1,96 @@ +--- +categories: ['OpenBSD'] +date: 2021-05-01T00:00:00+02:00 +description: "Sortie d'OpenBSD 6.9 (20210501)" +draft: false +tags: ['OpenBSD','6.9'] +title: "OpenBSD 6.9" +--- + +## Description + +L'équipe OpenBSD sort la version **6.9** d'**OpenBSD**. + +C'est la 50ème mouture du système d'exploitation. + +L'équipe est fière d'annoncer que cela fait plus de 20 ans qu'elle n'a eu +que deux failles de sécurités à distance dans l'installation de base. + +![Bandeau OpenBSD 6.9](/images/puffy69.png) + +## Changelog + +⇒ De nombreux changements, améliorations sont apportés : + +* début de la prise en charge du SOC M1 Apple +* amélioration du support des plateformes arm64, PowerPC64 +* des améliorations autour du noyau, dont parmi les plus notables : + * RAID1C: prise en charge du chiffrement pour le Raid1 + * video(4): introduction du paramètre sysctl kern.video.record désactivé + par défaut, dans le contexte de politique de confidentialité ; + et la possibilité d'activer plusieurs dispositifs en même temps. +* des améliorations pour le SMP (*processeurs multiples*) +* des améliorations pour la virtualisation VMD/VMM, dont principalement : + * ajout du dispositif veb(4) en tant que bridge supporté par vmd(8). + * ajout de la capacité de démarrer sur les ramdisk compressés +* de nouvelles fonctionnalités en "espace utilisateur" : + * doas.conf: ajout de l'option "nolog" afin de ne pas avoir d'enregistrement + dans syslog(3). + * sndio(7) et sndiod(8): autovolume désactivé par défaut, et volume par + défaut sur 127 + * logger(1) pour rcctl(8), rc.subr(8) et rc.d(8) + * wscontl(8): une meilleure gestion des mouvements et autres touchés + des touchpads + * apm(4) actif pour l'architecture arm64. +* de nombreuses améliorations et autres ajouts de différents matériels, + de dispositifs réseaux dont wifi +* des changements notables dans PF, IPSec, httpd, d'outils tels rpki-client, + dig, dhclient, dont : + * deux nouveaux démons dhcpleased(8) et resolvd(8) ont été ajoutés, + désactivés par défaut, gérables par le contrôleur rcctl afin de fournir + une configuration simple et cohérente des interfaces réseaux et de + la résolution DNS. + +et, bien sûr bien d'autres changements, correctifs et ajouts, lisibles +en anglais dans l'[annonce](https://ftp.fr.openbsd.org/pub/OpenBSD/6.9/ANNOUNCEMENT) officielle. + +⇒ Parmi les nouvelles versions de logiciels internes à OpenBSD 6.9, retrouvons : + +* LibreSSL 3.3.2 +* OpenSSH 8.5 +* OpenSMTPD 6.9.0 + +## Guide de Migration + +Retrouvez le **Guide de Migration 6.8 → 6.9** qui explique : + +1. ce qu'il faut faire **avant d'utiliser la méthode de mise à niveau** +2. de choisir sa **méthode de mise à niveau**, dont la **méthode de mise sans surveillance** + par le biais de sysupgrade(8). +3. ce qu'il est nécessaire de faire **après la mise à niveau** +4. sans oublier ensuite de gérer les **changements de configuration et de syntaxe**, + les **fichiers à supprimer**, et de vérifier certains **paquets spécifiques**. + + +* la version officielle EN du guide : https://www.openbsd.org/faq/upgrade69.html +* la traduction EN → FR officieuse par nos soins : https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/faq/upgrade69 + +--- + +## Art + +⇒ Voici le poster : + +[![Poster OpenBSD 6.9](/images/OpenBSD-6.9-Poster.png)](https://www.openbsd.org/images/nice.png) + +⇒ Retrouvez la nouvelle chanson nommée "Vetera Novis". + +- https://www.OpenBSD.org/lyrics.html#69 + +## Vente + +⇒ Et voici la vente officielle de vêtements estampillés **OpenBSD 6.9** : + +- https://openbsd.creator-spring.com/search?searchterm=6.9 + +--- diff --git a/content/posts/openbsd-7.0.md b/content/posts/openbsd-7.0.md new file mode 100644 index 0000000..a50b65b --- /dev/null +++ b/content/posts/openbsd-7.0.md @@ -0,0 +1,87 @@ +--- +categories: ['OpenBSD'] +date: 2021-10-14T15:00:00+02:00 +description: "Sortie d'OpenBSD 7.0 (20211014)" +draft: false +tags: ['OpenBSD','7.0'] +title: "OpenBSD 7.0" +--- + +## Description + +L'équipe OpenBSD sort la version **7.0** d'**OpenBSD**. + +C'est la 51ème mouture du système d'exploitation. + +L'équipe est fière d'annoncer que cela fait plus de 20 ans qu'elle n'a eu +que deux failles de sécurités à distance dans l'installation de base. + +![Bandeau OpenBSD 7.0](/images/puffy70.png) + +## Changelog + +⇒ De nombreux changements, améliorations sont apportés : + +* début de la prise en charge de la plateforme RISC-V 64 bits (riscv64) +* fin de la prise en charge de la plateforme loongson pour les prochaines versions +* amélioration du support des plateformes arm64, PowerPC64 +* des améliorations autour du noyau, dont parmi les plus notables : + * augmentation de la vitesse d'écriture du processus d'hibernation (hibernation plus rapide avec **ZZZ**) + * ajout de bsd.re-config(5) pour pouvoir faire des changements dans le noyau GENERIC, via l'usage de KARL +* des améliorations pour le SMP (*processeurs multiples*) +* des améliorations pour la virtualisation VMD/VMM, dont principalement : + * ajout, dans vmm(4), d'une limite théorique de 512 pour le nombre de CPU virtuels allouables. +* de nouvelles fonctionnalités en "espace utilisateur" : + * import de l'utilitaire timeout(1) depuis NetBSD. timeout(1) peut être utilisé pour lancer des commandes avec une limite de temps + * doas(1) propose 3 essais lors d'une tentative erronée d'authentification par mot de passe +* de nombreuses améliorations et autres ajouts de différents matériels, + de dispositifs réseaux dont wifi +* des changements notables dans les divers outils systèmes : + * dhcpleased(8) est maintenant activé par défaut pour obtenir des adresses IPv4 via DHCP (aucun changement de configuration requis). + resolvd(8) est également activé par défaut et permet de gérer le fichier resolv.conf(5) pour les DNS du système + * xterm(1) utilise maintenant la fonction unveil(2) + * sshd(8) désactive par défaut le support des clés RSA utilisant SHA-1 comme algorithme de chiffrement + +et, bien sûr bien d'autres changements, correctifs et ajouts, lisibles +en anglais dans l'[annonce](https://ftp.fr.openbsd.org/pub/OpenBSD/7.0/ANNOUNCEMENT) officielle. + +⇒ Parmi les nouvelles versions de logiciels internes à OpenBSD 7.0, retrouvons : + +* LibreSSL 3.4.1 +* OpenSSH 8.8 +* OpenSMTPD 7.0.0 + +## Guide de Migration + +Retrouvez le **Guide de Migration 6.9 → 7.0** qui explique : + +1. ce qu'il faut faire **avant d'utiliser la méthode de mise à niveau** +2. de choisir sa **méthode de mise à niveau**, dont la **méthode de mise sans surveillance** + par le biais de sysupgrade(8). +3. ce qu'il est nécessaire de faire **après la mise à niveau** +4. sans oublier ensuite de gérer les **changements de configuration et de syntaxe**, + les **fichiers à supprimer**, et de vérifier certains **paquets spécifiques**. + + +* la version officielle EN du guide : https://www.openbsd.org/faq/upgrade70.html +* la traduction EN → FR officieuse par nos soins : https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/faq/upgrade70 + +--- + +## Art + +⇒ Voici le poster : + +[![Poster OpenBSD 7.0](/images/OpenBSD-7.0-Poster.png)](https://www.openbsd.org/images/nice.png) + +⇒ Retrouvez la nouvelle chanson nommée "The Style Hymn". + +- https://www.OpenBSD.org/lyrics.html#70 + +## Vente + +⇒ Et voici la vente officielle de vêtements estampillés **OpenBSD 7.0** : + +- https://openbsd.creator-spring.com/search?searchterm=7.0 + +--- diff --git a/content/posts/openbsd-webzine.md b/content/posts/openbsd-webzine.md new file mode 100644 index 0000000..2c25169 --- /dev/null +++ b/content/posts/openbsd-webzine.md @@ -0,0 +1,26 @@ +--- +categories: ['Annonce'] +date: 2021-10-01T13:26:44+02:00 +description: 'Un Webzine OpenBSD vient de naître !' +draft: false +tags: ['Annonce','Webzine'] +title: "OpenBSD Webzine" +--- + +## Description + +Un **OpenBSD Webzine** est né ! + +C’est une initiative de promotion, en langue anglaise principalement, +d’OpenBSD, dont l’instigatrice est Solène Rapenne - *membre de l’équipe +des développeurs d’OpenBSD - aidée de certains membres de la communauté +française “OpenBSD Pour Tous”*. + +À mettre dans vos marque-pages : + +- Page d’accueil : https://webzine.puffy.cafe/ +- la première publication : https://webzine.puffy.cafe/issue-1.html + +Souhaitons à cette initiative une longue vie ! + +--- diff --git a/content/posts/openiked-6.9-rpki-client-7.1.md b/content/posts/openiked-6.9-rpki-client-7.1.md new file mode 100644 index 0000000..5070473 --- /dev/null +++ b/content/posts/openiked-6.9-rpki-client-7.1.md @@ -0,0 +1,96 @@ +--- +categories: ['OpenIKED','rpki-client'] +date: 2021-05-18T18:49:57+02:00 +description: "Sortie des versions d'OpenIKED 6.9 et rpki-client 7.1" +draft: false +tags: ['OpenIKED','rpki-client','6.9','7.1'] +title: "OpenIKED 6.9.0 ; rpki-client 7.1" +--- + +## Description + +L'équipe OpenBSD dévoile deux nouvelles versions de ses produits phares : + +- OpenIKED v6.9.0 +- rpki-client v7.1 + +## OpenIKED + +Cette implémentation libre d'IKEv2, faisant partie du projet d'OpenBSD, +est basée sur la version d'OpenBSD 6.9. + +--- + +L'équipe en profite pour renouveller complétement la version portable, +connue pour fonctionner sur : + +- certaines distributions Linux, telles Arch Linux, Debian 10 +- et sur certains BSD : FreeBSD 12, FreeBSD 13 et NetBSD 9. + +--- + +Pour rappel, la version portable peut être téléchargée depuis les +[miroirs du projet OpenBSD](https://www.openbsd.org/ftp.html), sous +le répertoire : `/pub/OpenBSD/OpenIKED`. + +--- + +Ceux qui veulent faire remonter des bogues, peuvent le faire sur : + +- **bugs@openbsd.org** : pour les bogues de manière générale +- **https://github.com/openiked/openiked-portable**, spécifiques à la version + portable + +## rpki-client + +Cette nouvelle version 7.1 intègre les changements suivants : + +``` + * Add keep-alive support to the HTTP client code for RRDP, + * Reference-count and delete unused files synced via RRDP, as far as + possible, + * In the JSON output, change the AS Number from a string ("AS123") to + an integer ("123") to make processing of the output easier, + * Add an 'expires' column to CSV & JSON output, based on certificate + and CRL validity times. The 'expires' value can be used to avoid route + selection based on stale data when generating VRP sets, when faced + with loss of communication between consumer and valdiator, or + validator and CA repository, + * Make the runtime timeout (-s option) also triggers in + child proecesses. + * Improved RRDP support, we encourage testing of RRDP with the -r + option so that RRDP can be enabled by default in a future release. + Please report any issues found. +``` + +Quant à la version portable : + +``` + * Improve support for older libressl versions (altough the latest + stable release is recommended), + * Add missing compat headers in release packages so they build on + Alpine Linux and macOS. +``` + +--- + +Pour rappel, rpki-client est connu pour fonctionner sur les systèmes d'exploitation +suivant : + +- Alpine 3.12, Debian 9, 10, Fedora 31, 32, 33, macOS, RHEL/CentOS 7, 8, + Windows Subsystem for Linux 2, et OpenBSD. + +--- + +La version portable peut être téléchargée depuis : + +- https://www.rpki-client.org/portable.html + +--- + +Si vous souhaitez faire remonter des bogues, faites-le sur : + +- **tech@openbsd.org** pour les bogues généraux +- **https://github.com/rpki-client/rpki-client-portable** pour ceux relatifs à la version portable + +--- diff --git a/content/posts/openntpd-6.8p1.md b/content/posts/openntpd-6.8p1.md new file mode 100644 index 0000000..f12e46f --- /dev/null +++ b/content/posts/openntpd-6.8p1.md @@ -0,0 +1,44 @@ +--- +categories: ['OpenNTPD'] +date: 2020-12-09T13:13:58+01:00 +description: "Sortie d'OpenNTPD 6.8p1 (20201209)" +draft: false +tags: ['OpenNTPD','6.8'] +title: "OpenNTPD 6.8p1" +--- + +## Description + +L'équipe OpenBSD sort une nouvelle version d'OpenNTDP, la **6.8p1**. + +*cela fait quelques années qu'il n'y avait pas eu de sortie majeure, depuis la 6.2p3* + +## Changelog + +* The ntpd daemon now gets and sets the clock in a secure way when booting + even when a battery-backed clock is absent. + +* Improvements in DNS resolving and constraints checking, especially during + startup. Unreliable NTP peers are removed from the pool and DNS resolving + is repeated to add replacements. + +* Improved reliability and security of TLS constraint checking. + +* Improved logging of failure cases. + +* Prevent the case of multiple ntpds running at once by checking presence + of the local control socket. + +* TLS certificates are now searched in TLS_CA_CERT_FILE. + +* The default ntpd.conf configuration file now uses 9.9.9.9 and + 2620:fe::fe, in addition to google.com, when performing time constraint + validation. + +* Improved handling unsynched mode when there is no replies from an NTP + server, such as when there are network connectivity issues. + +* To build OpenNTPD with time constraint support, libtls from LibreSSL + 3.2.2 or later is recommended. + +--- diff --git a/content/posts/syspatch-asn1-exit.md b/content/posts/syspatch-asn1-exit.md new file mode 100644 index 0000000..6955a07 --- /dev/null +++ b/content/posts/syspatch-asn1-exit.md @@ -0,0 +1,36 @@ +--- +categories: ['Syspatch'] +date: 2020-12-09T12:51:50+01:00 +description: "Correctif OpenBSD: asn.1 & exit" +draft: false +tags: ['Syspatch','asn.1','exit','6.7','6.8'] +title: "Syspatch : asn.1, exit (2020/12/08)" +--- + +## Correctif de Sécurité asn.1 + +Concernant LibreSSL, **une notation ASN.1 mal formée dans une liste de +révocation de certificat ou une réponse de timestamp peut amener vers un +pointeur de déréférencement NULL** + +- le correctif affecte le noyau OpenBSD 6.7 et 6.8 et nécessite le redémarrage +de la machine + + +## Correctif de fiabilité exit + +**Lors d'un processus de sortie, dans des programmes multithread un faux +code de sortie peut être reporté**. + +--- + +Plus d'informations sur les pages d'Errata [6.8][1] et [6.7][2]…
+*et leurs versions FR respectives : [6.8 FR][3] et [6.7 FR][4].* + +--- + +[1]: https://openbsd.org/errata68.html +[2]: https://openbsd.org/errata67.html +[3]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata68 +[4]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata67 + diff --git a/content/posts/syspatch-bgpd-relayd-libc-6.8-6.9.md b/content/posts/syspatch-bgpd-relayd-libc-6.8-6.9.md new file mode 100644 index 0000000..efdc3e3 --- /dev/null +++ b/content/posts/syspatch-bgpd-relayd-libc-6.8-6.9.md @@ -0,0 +1,164 @@ +--- +categories: ['Syspatch'] +date: 2021-07-26T08:08:39+02:00 +description: "Correctifs OpenBSD: bgpd, relayd (6.9 : toutes architectures) et libc (6.8, 6.9 : mips64)" +draft: false +tags: ['Syspatch','bgpd','libc','relayd','6.8','6.9'] +title: "Syspatch : bgpd, relayd, libc (2021/07/25)" +--- + +## Correctif de fiabilité : bgpd + +**Lors de rechargements de la configuration de bgpd, des préfixes de mauvaises +familles d'adresses pouvaient fuir vers des pairs, entraînant des réinitialisations +de sessions.** + +- Architectures ciblées : toutes celles supportées par le projet OpenBSD 6.9 + +## Correctifs de sécurité + +1/ relayd + +**Lors de l'utilisation de la directive de filtrage strip ou de l'expansion +de macro du protocole http, les processus formatent les chaînes de caractères. ** + +- Architectures ciblées : toutes celles supportées par le projet OpenBSD 6.9 + + +2/ libc + +**Les fonctions strchr/index/strrchr/rindex dans la libc géraient de manière incorrecte les caractères signés**. + +- Architectures ciblées : mips64 pour OpenBSD 6.8 et 6.9 + +--- + +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, préférez [redémarrer](#restart) le service. + +## Recompilation + +Voici les étapes de recompilation nécessaires : + +Après avoir téléchargé le correctif, vérifiez-le, et appliquez-le : + +⇒ pour bgpd + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.9/common/009_bgpd.patch.sig +# signify -Vep /etc/signify/openbsd-69-base.pub -x 009_bgpd.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +⇒ La phase de recompilation : + +```ksh +$ cd /usr/src/usr.sbin/bgpd +# make obj +# make +# make install +``` + +Ensuite, préférez [redémarrer](#restart) le service. + +--- + +⇒ pour relayd + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.9/common/010_relayd.patch.sig +# signify -Vep /etc/signify/openbsd-69-base.pub -x 010_relayd.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +⇒ La phase de recompilation : + +```ksh +$ cd /usr/src/usr.sbin/relayd +# make obj +# make +# make install +``` + +Ensuite, préférez [redémarrer](#restart) le service. + +--- + +⇒ pour la libc : + +- sur 6.8 : + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/026_strchr.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 026_strchr.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- sur 6.9 : + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.9/common/011_strchr.patch.sig +# signify -Vep /etc/signify/openbsd-69-base.pub -x 011_strchr.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +⇒ La phase de recompilation : + +```ksh +$ cd /usr/src/lib/libc +# make obj && make && make install +$ cd /usr/src/bin +# make obj && make && make install +$ cd /usr/src/sbin +# make obj && make && make install +$ cd /usr/src/usr.bin/kdump +# make obj && make && make install +$ cd /usr/src/usr.bin/ktrace +# make obj && make && make install +$ cd /usr/src/usr.sbin/chroot +# make obj && make && make install +$ cd /usr/src/usr.sbin/installboot +# make obj && make && make install +$ cd /usr/src/usr.sbin/watchdogd +# make obj && make && make install +``` + +Ensuite, préférez redémarrer la machine. + +## Restart + +```ksh +# rcctl restart bgpd +# rcctl restart relayd +``` + +--- + +## Documentations + +- [man bgpd](https://man.openbsd.org/bgpd.8)(8) +- [man relayd.conf](https://man.openbsd.org/relayd.conf.5)(5), [man relayd](https://man.openbsd.org/relayd.8)(8) + +Plus d'informations sur les pages d'Errata [6.9][1] et [6.8][2]…
+*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 + diff --git a/content/posts/syspatch-carp-bpf.md b/content/posts/syspatch-carp-bpf.md new file mode 100644 index 0000000..66cd7dc --- /dev/null +++ b/content/posts/syspatch-carp-bpf.md @@ -0,0 +1,80 @@ +--- +categories: ['Syspatch'] +date: 2021-01-13T20:02:39+01:00 +description: "Correctif OpenBSD: carp, bpf" +draft: false +tags: ['Syspatch','carp','bpf','6.8'] +title: "Syspatch : carp (2021/01/13)" +--- + +## Correctif de fiabilité carp + +**L'utilisation de bpf(4) sur une interface CARP pourrait entraîner une +utilisation après une erreur**. + +Il est nécessaire de **redémarrer la machine** car ce correctif affecte +le noyau. + +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 ! + +## 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.8 : + + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/012_carp.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 012_carp.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 +``` + +Pour finir, [redémarrez](#restart) la machine ! + +## Restart + +```ksh +# reboot +``` + +--- + +Plus d'informations sur les pages d'Errata [6.8][1] et [6.7][2]…
+*et leurs versions FR respectives : [6.8 FR][3] et [6.7 FR][4].* + +--- + +[1]: https://openbsd.org/errata68.html +[2]: https://openbsd.org/errata67.html +[3]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata68 +[4]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata67 + diff --git a/content/posts/syspatch-cpuswitch-inteldrm-6.8-6.9.md b/content/posts/syspatch-cpuswitch-inteldrm-6.8-6.9.md new file mode 100644 index 0000000..53dbcf9 --- /dev/null +++ b/content/posts/syspatch-cpuswitch-inteldrm-6.8-6.9.md @@ -0,0 +1,70 @@ +--- +categories: ['Syspatch'] +date: 2021-06-07T20:48:52+02:00 +description: "Correctif OpenBSD: Intel et AMD CPU" +draft: false +tags: ['Syspatch','cpu','6.8','6.9'] +title: "Syspatch : cpuswitch + inteldrm (2021/06/07)" +--- + +## Correctifs de fiabilité + +1/ pour les CPU Intel et AMD : **cpuswitch** + +**Les machines récentes basées sur les CPU Intel ou AMD peuvent planter +car le noyau ne vidait pas toutes les TLB dont les processus multi-thread +requerraient.** + +- Architectures ciblées : amd64. + +2/ pour les GPU Intel : **inteldrm** + +**Désactive la fonctionnalité PPGTT des GPU Intel Cherryview et Braswell +afin d'éviter une corruption de la mémoire.** + +- Architecture ciblée : amd64 et i386. + +--- + +## Syspatch + +Cette étape ne concerne que les architectures amd64, i386 ! + +```ksh +# syspatch +``` + +Ensuite [redémarrez](#restart) la machine car ces correctifs affectent le noyau ! + + +## Restart + +```ksh +# reboot +``` + +--- + +## Documentations + +⇒ **Note** : La TLB est une mémoire cache du processeur.
+cf : Article Wikipédia à-propos de la TLB : [FR][10], [EN][11] + +⇒ **Note** : la fonctionnalité PPGTT *(Per-Process Graphics Translation Tables)* +semble être un processus d'isolation du GPU.
+cf : Article sur [Phoronix](https://www.phoronix.com/scan.php?page=news_item&px=MTUzNzQ) + + +⇒ Plus d'informations sur les pages d'Errata [6.9][1] et [6.8][2]…
+*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 + +[10]: https://fr.wikipedia.org/wiki/Translation_lookaside_buffer +[11]: https://en.wikipedia.org/wiki/Translation_lookaside_buffer + diff --git a/content/posts/syspatch-kernel-6.8-6.9.md b/content/posts/syspatch-kernel-6.8-6.9.md new file mode 100644 index 0000000..fbf86f3 --- /dev/null +++ b/content/posts/syspatch-kernel-6.8-6.9.md @@ -0,0 +1,75 @@ +--- +categories: ['Syspatch'] +date: 2021-08-04T22:34:28+02:00 +description: "Correctif OpenBSD: kernel" +draft: false +tags: ['Syspatch','kernel','6.8','6.9'] +title: "Syspatch : kernel (2021/08/04)" +--- + +## Correctif de fiabilité : kernel + +**Une adresse mal alignée pourrait déclencher une assertion du noyau et faire paniquer le noyau. .** + +- Architecture ciblée : sparc64. + +## Recompilation + +Voici les étapes de recompilation nécessaires : + +Après avoir téléchargé le correctif, vérifiez-le, et appliquez-le : + +### patch kernel + +- pour 6.9 + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.9/common/012_vmparam.patch.sig +# signify -Vep /etc/signify/openbsd-69-base.pub -x 012_vmparam.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- pour 6.8 + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/027_vmparam.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 027_vmparam.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 ! + + +## Restart + +```ksh +# reboot +``` + +--- + +## Documentations + +Plus d'informations sur les pages d'Errata [6.9][1] et [6.8][2]…
+*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 + + diff --git a/content/posts/syspatch-kernel-perl-6.8-6.9.md b/content/posts/syspatch-kernel-perl-6.8-6.9.md new file mode 100644 index 0000000..65f745b --- /dev/null +++ b/content/posts/syspatch-kernel-perl-6.8-6.9.md @@ -0,0 +1,124 @@ +--- +categories: ['Syspatch'] +date: 2021-08-11T10:34:28+02:00 +description: "Correctif OpenBSD: kernel (wg) + perl" +draft: false +tags: ['Syspatch','kernel','wg','perl','6.8','6.9'] +title: "Syspatch : kernel, perl (2021/08/11)" +--- + +## Correctif de fiabilité : kernel + +**Dans une configuration spécifique, wg(4) a des fuites dans les mémoires tampons mbuf.** + +- Architecture ciblée : toutes les architectures supportées par le projet. + +## Correctif de sécurité : perl + +**La fonctionnalité Encode (3p) de perl(1) charge un module depuis un chemin relatif incorrect.** + +- Architecture ciblée : toutes les architectures supportées par le projet. + +--- + +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 ! + +## 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 : + +### patch kernel + +- pour 6.9 + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.9/common/013_wg.patch.sig +# signify -Vep /etc/signify/openbsd-69-base.pub -x 013_wg.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- pour 6.8 + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/028_wg.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 028_wg.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 ! + +### patch perl + +Ce correctif ne concerne que 6.9 ! + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.9/common/014_perl.patch.sig +# signify -Vep /etc/signify/openbsd-69-base.pub -x 014_perl.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- la phase de recompilation : + +```ksh +$ cd /usr/src/gnu/usr.bin/perl/ +# make -f Makefile.bsd-wrapper obj +# make -f Makefile.bsd-wrapper depend +# make -f Makefile.bsd-wrapper +# make -f Makefile.bsd-wrapper install +``` + +Voilà !
+*rien à faire de plus…* + +## Restart + +```ksh +# reboot +``` + +--- + +## Documentations + +- [man mbuf](https://man.openbsd.org/mbuf.9)(9) +- [man perl](https://man.openbsd.org/perl.1)(1) + +Plus d'informations sur les pages d'Errata [6.9][1] et [6.8][2]…
+*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 + + diff --git a/content/posts/syspatch-libressl-6.8.md b/content/posts/syspatch-libressl-6.8.md new file mode 100644 index 0000000..2488032 --- /dev/null +++ b/content/posts/syspatch-libressl-6.8.md @@ -0,0 +1,84 @@ +--- +categories: ['Syspatch'] +date: 2021-02-03T07:14:19+01:00 +description: "Correctif OpenBSD: libressl" +draft: false +tags: ['Syspatch','libressl','6.8'] +title: "Syspatch : libressl (2021/02/02)" +--- + +## Correctif de fiabilité libressl + +**De nombreux problèmes d'interopérabilité et failles mémoire ont été découvertes dans les bibliothèques libcrypto et libssl.** + +Il peut-être nécessaire de redémarrer certains services, tels isakmpd, unwind. + +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) les services utilisés, si c'est le cas ! + +## 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 : + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/013_libressl.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 013_libressl.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +⇒ La phase de recompilation : + +```ksh +cd /usr/src/lib/libcrypto +make obj +make +make install +cd /usr/src/lib/libssl +make obj +make +make install +cd /usr/src/sbin/isakmpd +make obj +make +make install +cd /usr/src/sbin/unwind +make obj +make +make install +``` + +Pour finir, [redémarrez](#restart) les services, si utilisés. + +## Restart + +```ksh +# rcctl restart isakmpd unwind +``` + +--- + +Plus d'informations sur les pages d'Errata [6.8][1]…
+*et leurs versions FR respectives : [6.8 FR][3].* + +--- + +[1]: https://openbsd.org/errata68.html +[3]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata68 + + diff --git a/content/posts/syspatch-libressl-dst-root-x3-cert-6.8-6.9.md b/content/posts/syspatch-libressl-dst-root-x3-cert-6.8-6.9.md new file mode 100644 index 0000000..fbf77f5 --- /dev/null +++ b/content/posts/syspatch-libressl-dst-root-x3-cert-6.8-6.9.md @@ -0,0 +1,121 @@ +--- +categories: ['Syspatch'] +date: 2021-10-01T13:05:16+02:00 +description: "Correctif OpenBSD: libressl (DST Root X3 cert)" +draft: false +tags: ['Syspatch','libressl','cert','6.8','6.9'] +title: "Syspatch : libressl (DST Root X3 cert) (30/09/2021)" +--- + +## Correctif de fiabilité : libressl (DST Root X3 cert) + +**Compenser l'expiration du certificat DST Root X3. L'utilisation d'un +certificat expiré inutile dans les chaînes de certificats peut provoquer +des erreurs de validation.**. + +- Architectures ciblées : toutes les architectures 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) les services nécessaires, si utilisés. + +## 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 +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.9/common/018_cert.patch.sig +# signify -Vep /etc/signify/openbsd-69-base.pub -x 018_cert.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- pour 6.8 + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/032_cert.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 032_cert.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +⇒ la phase de recompilation : + +- pour 6.9 + +```ksh +$ cd /usr/src/lib/libcrypto +# make obj +# make includes +# make +# make install +$ cd /usr/src/sbin/unwind +# make obj +# make +# make install +``` + +- pour 6.8 + +```ksh +$ cd /usr/src/lib/libcrypto +# make obj +# make includes +# make +# make install +$ cd /usr/src/sbin/isakmpd +# make obj +# make +# make install +$ cd /usr/src/sbin/unwind +# make obj +# make +# make install +``` + +Ensuite [redémarrez](#restart) les services nécessaires, si utilisés. + + +## Restart + +- le service **isakmpd** est à redémarrer, si utilisé, sur 6.8 +- le service **unwind** est à redémarrer sur les deux versions, si utilisé. + +```ksh +# rcctl restart isakmpd +# rcctl restart unwind +``` + +--- + +## Documentations + +- https://www.libressl.org/ + +Plus d'informations sur les pages d'Errata [6.9][1] et [6.8][2]…
+*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 diff --git a/content/posts/syspatch-libressl-x509-name-constraints-6.8-6.9.md b/content/posts/syspatch-libressl-x509-name-constraints-6.8-6.9.md new file mode 100644 index 0000000..6b78fe0 --- /dev/null +++ b/content/posts/syspatch-libressl-x509-name-constraints-6.8-6.9.md @@ -0,0 +1,121 @@ +--- +categories: ['Syspatch'] +date: 2021-09-27T16:34:12+02:00 +description: "Correctif OpenBSD: libressl (x509)" +draft: false +tags: ['Syspatch','libressl','unwind','x509','6.8','6.9'] +title: "Syspatch : libressl (x509) (27/09/2021)" +--- + +## Correctif de sécurité : libressl (x509) + +**Une erreur de type stack overrread (surcharge de lecture de la stack) peut se produire +durant la vérification des restrictions de noms pour X.509**. + +- Architectures ciblées : toutes les architectures 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) le service unwind, si utilisé. + +## 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 +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.9/common/017_x509.patch.sig +# signify -Vep /etc/signify/openbsd-69-base.pub -x 017_x509.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- pour 6.8 + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/031_x509.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 031_x509.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + + +⇒ la phase de recompilation : + +- pour 6.9 + +```ksh +$ cd /usr/src/lib/libcrypto +# make obj +# make includes +# make +# make install +$ cd /usr/src/sbin/unwind +# make obj +# make +# make install +``` + +- pour 6.8 + +```ksh +$ cd /usr/src/lib/libcrypto +# make obj +# make includes +# make +# make install +$ cd /usr/src/sbin/isakmpd +# make obj +# make +# make install +$ cd /usr/src/sbin/unwind +# make obj +# make +# make install +``` + +Ensuite [redémarrez](#restart) les services nécessaires, si utilisés. + + +## Restart + +- le service **isakmpd** est à redémarrer, si utilisé, sur 6.8 +- le service **unwind** est à redémarrer sur les deux versions, si utilisé. + +```ksh +# rcctl restart isakmpd +# rcctl restart unwind +``` + +--- + +## Documentations + +- https://www.libressl.org/ + +Plus d'informations sur les pages d'Errata [6.9][1] et [6.8][2]…
+*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 diff --git a/content/posts/syspatch-libressl-x509-print-6.8-6.9.md b/content/posts/syspatch-libressl-x509-print-6.8-6.9.md new file mode 100644 index 0000000..ee06652 --- /dev/null +++ b/content/posts/syspatch-libressl-x509-print-6.8-6.9.md @@ -0,0 +1,101 @@ +--- +categories: ['Syspatch'] +date: 2021-08-21T20:34:12+02:00 +description: "Correctif OpenBSD: libressl" +draft: false +tags: ['Syspatch','libressl','x509','unwind','6.8','6.9'] +title: "Syspatch : libressl (20/08/2021)" +--- + +## Correctif de sécurité : libressl + +**Dans LibreSSL, l'affichage d'un certificat peut résulter un crash +dans la fonction X509_CERT_AUX_print()**. + +- Architectures ciblées : toutes les architectures 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) le service unwind, si utilisé ! + +## 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 +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.9/common/015_x509.patch.sig +# signify -Vep /etc/signify/openbsd-69-base.pub -x 015_x509.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- pour 6.8 + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/029_x509.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 029_x509.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + + +- la phase de recompilation : + +```ksh +$ cd /usr/src/lib/libcrypto +# make obj +# make includes +# make +# make install +$ cd /usr/src/sbin/unwind +# make obj +# make +# make install +``` + +Ensuite [redémarrez](#restart) le service unwind, si utilisé ! + + +## Restart + +```ksh +# rcctl restart unwind +``` + +--- + +## Documentations + +- https://www.libressl.org/ + +Plus d'informations sur les pages d'Errata [6.9][1] et [6.8][2]…
+*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 + + + + diff --git a/content/posts/syspatch-libssl-6.8.md b/content/posts/syspatch-libssl-6.8.md new file mode 100644 index 0000000..273992f --- /dev/null +++ b/content/posts/syspatch-libssl-6.8.md @@ -0,0 +1,76 @@ +--- +categories: ['Syspatch'] +date: 2021-03-15T18:08:33+01:00 +description: "Correctif OpenBSD: libssl" +draft: false +tags: ['Syspatch','libssl','6.8'] +title: "Syspatch : libssl (2021/03/15)" +--- + +## Correctif de sécurité + +**Un client TLS utilisant la reprise de session peut provoquer une utilisation après libération *(use-after-free)*.** + +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) le service **unwind** *si vous l'utilisez* ! + +## 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.8 : + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/017_libssl.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 017_libssl.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +⇒ La phase de recompilation : + +```ksh +$ cd /usr/src/lib/libssl +# make obj +# make +# make install +$ cd /usr/src/sbin/unwind +# make obj +# make +# make install +``` + +Ensuite [redémarrez](#restart) le service **unwind** *si vous l'utilisez* ! + +## Restart + +```ksh +# rcctl restart unwind +``` + +--- + +Plus d'informations sur les pages d'Errata [6.8][1]…
+*et leurs versions FR respectives : [6.8 FR][3].* + +--- + +[1]: https://openbsd.org/errata68.html +[3]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata68 + + diff --git a/content/posts/syspatch-libx11-vmd-6.8-6.9.md b/content/posts/syspatch-libx11-vmd-6.8-6.9.md new file mode 100644 index 0000000..5a7ce06 --- /dev/null +++ b/content/posts/syspatch-libx11-vmd-6.8-6.9.md @@ -0,0 +1,99 @@ +--- +categories: ['Syspatch'] +date: 2021-05-18T18:18:12+02:00 +description: "Correctif OpenBSD: libX11 & vmd" +draft: false +tags: ['Syspatch','libX11','vmd','6.8','6.9'] +title: "Syspatch : libX11, vmd (2021/05/18)" +--- + +## Correctifs de sécurité + +1/ pour la libX11 : + +**Les vérifications des longueurs de requêtes dans la bibliothèque libX11 étaient manquantes.** + +- Architectures ciblées : toutes celles supportées par le projet OpenBSD. + +2/ pour vmd : + +**Les pilotes virtio des invités de vmd pouvaient provoquer des débordements de pile en fabriquant des longueurs de descripteurs virtio invalides.** + +- Architecture ciblée : amd64. + +--- + +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) le service, *si utilisé* ! + +## 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 la libX11 : + +- pour 6.9 + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.9/common/002_libx11.patch.sig +# signify -Vep /etc/signify/openbsd-69-base.pub -x 002_libx11.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- pour 6.8 + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/019_libx11.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 019_libx11.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- la phase de recompilation : + +```ksh +$ cd /usr/xenocara/lib/libX11 +# make -f Makefile.bsd-wrapper obj +# make -f Makefile.bsd-wrapper build +``` + +Ensuite [redémarrez](#restart) le service **xenodm**, *si utilisé* ! + +⇒ pour vmd, utilisez simplement `syspatch`… + +Ensuite [redémarrez](#restart) le service **vmd**, voire les VM, *si utilisés* ! + +## Restart + +```ksh +# rcctl restart vmd xenodm +``` + +--- + +Plus d'informations sur les pages d'Errata [6.9][1] et [6.8][2]…
+*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 + + diff --git a/content/posts/syspatch-nd6.md b/content/posts/syspatch-nd6.md new file mode 100644 index 0000000..341d5b4 --- /dev/null +++ b/content/posts/syspatch-nd6.md @@ -0,0 +1,87 @@ +--- +categories: ['Syspatch'] +date: 2021-01-11T15:05:12+01:00 +description: "Correctif OpenBSD: NDP" +draft: false +tags: ['Syspatch','NDP','IPv6','6.7','6.8'] +title: "Syspatch : NDP - IPv6 (2021/01/11)" +--- + +## Correctif de fiabilité nd6 + +**Quand une entrée NDP est invalide sur la couche de niveau 2, celle-ci +n'est pas invalidée.** + +Il est nécessaire de **redémarrer la machine** car ce correctif affecte +le noyau. + +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 ! + +## 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.8 : + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/011_nd6.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 011_nd6.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- Pour 6.7 : + +```ksh +# https://ftp.openbsd.org/pub/OpenBSD/patches/6.7/common/034_nd6.patch.sig +# signify -Vep /etc/signify/openbsd-67-base.pub -x 034_nd6.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 +``` + +Pour finir, [redémarrez](#restart) la machine ! + +## Restart + +```ksh +# reboot +``` + +--- + +Plus d'informations sur les pages d'Errata [6.8][1] et [6.7][2]…
+*et leurs versions FR respectives : [6.8 FR][3] et [6.7 FR][4].* + +--- + +[1]: https://openbsd.org/errata68.html +[2]: https://openbsd.org/errata67.html +[3]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata68 +[4]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata67 + diff --git a/content/posts/syspatch-net82011-6.8-6.9.md b/content/posts/syspatch-net82011-6.8-6.9.md new file mode 100644 index 0000000..913a649 --- /dev/null +++ b/content/posts/syspatch-net82011-6.8-6.9.md @@ -0,0 +1,90 @@ +--- +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 abusé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 +``` + +--- + +## Documentations + +Plus d'informations sur les pages d'Errata [6.9][1] et [6.8][2]…
+*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 + + diff --git a/content/posts/syspatch-npppd-6.7-6.8.md b/content/posts/syspatch-npppd-6.7-6.8.md new file mode 100644 index 0000000..76e6ad3 --- /dev/null +++ b/content/posts/syspatch-npppd-6.7-6.8.md @@ -0,0 +1,86 @@ +--- +categories: ['Syspatch'] +date: 2021-03-09T12:14:49+01:00 +description: "Correctif OpenBSD: npppd" +draft: false +tags: ['Syspatch','npppd','6.7','6.8'] +title: "Syspatch : npppd (2021/03/09)" +--- + +## Correctif de sécurité npppd + +**Le gestionnaire de protocole PPTP peut provoquer une sur-lecture du tas, ce qui peut entraîner un crash.** + + +Il est nécessaire de **redémarrer le service** après l'application du correctif ! + + +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) le service, *si utilisé* ! + +## 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.8 : + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/016_npppd.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 016_npppd.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- Pour 6.7 : + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.7/common/037_npppd.patch.sig +# signify -Vep /etc/signify/openbsd-67-base.pub -x 037_npppd.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +⇒ La phase de recompilation : + +```ksh +$ cd /usr/src/usr.sbin/npppd +# make obj +# make +# make install +``` + +Ensuite [redémarrez](#restart) le service, *si utilisé* ! + +## Restart + +```ksh +# rcctl restart npppd +``` + +--- + +Plus d'informations sur les pages d'Errata [6.8][1] et [6.7][2]…
+*et leurs versions FR respectives : [6.8 FR][3] et [6.7 FR][4].* + +--- + +[1]: https://openbsd.org/errata68.html +[2]: https://openbsd.org/errata67.html +[3]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata68 +[4]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata67 + + diff --git a/content/posts/syspatch-nsd-bpf-uipc-6.9-7.0.md b/content/posts/syspatch-nsd-bpf-uipc-6.9-7.0.md new file mode 100644 index 0000000..41b4de3 --- /dev/null +++ b/content/posts/syspatch-nsd-bpf-uipc-6.9-7.0.md @@ -0,0 +1,159 @@ +--- +categories: ['Syspatch'] +date: 2021-10-31T15:34:28+02:00 +description: "Correctifs OpenBSD: nsd + bpf + uipc" +draft: false +tags: ['Syspatch','kernel','uipc','bpf','6.9','7.0'] +title: "Syspatchs : nsd, bpf, uipc (2021/10/31)" +--- + +## Correctif de fiabilité : nsd + +**Dans certaines configurations, nsd peut se couper à distance et tomber en rade. Ce correctif est uniquement valable sur OpenBSD 7.0.** + +- Architecture ciblée : toutes les architectures supportées par le projet. + +## Correctif de fiabilité : bpf + +**Ouvrir /dev/bpf trop rapidement et/ou trop souvent peut conduire à un crash du noyau système.** + +- Architecture ciblée : toutes les architectures supportées par le projet. + +## Correctif de sécurité : uipc + +**Le noyau système peut laisser échapper des informations mémoire lors de la fermeture de sockets Unix.** + +- Architecture ciblée : toutes les architectures supportées par le projet. + +--- + +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 ! + +## 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 : + +### patch nsd + +Ce correctif ne concerne que 7.0 ! + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/7.0/common/001_nsd.patch.sig +# signify -Vep /etc/signify/openbsd-70-base.pub -x 001_nsd.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- la phase de recompilation : + +```ksh +$ cd /usr/src/usr.sbin/nsd +# make -f Makefile.bsd-wrapper obj +# make -f Makefile.bsd-wrapper +# make -f Makefile.bsd-wrapper install +``` + +Ensuite [redémarrez](#restart) le service nsd, si utilisé + +### patch bpf + +- pour 7.0 + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/7.0/common/002_bpf.patch.sig +# signify -Vep /etc/signify/openbsd-70-base.pub -x 002_bpf.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- pour 6.9 + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.9/common/019_bpf.patch.sig +# signify -Vep /etc/signify/openbsd-69-base.pub -x 019_bpf.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 ! + +### patch uipc + +- pour 7.0 + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/7.0/common/003_uipc.patch.sig +# signify -Vep /etc/signify/openbsd-70-base.pub -x 003_uipc.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- pour 6.9 + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.9/common/020_uipc.patch.sig +# signify -Vep /etc/signify/openbsd-69-base.pub -x 020_uipc.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 ! + +## Restart + + * le service **nsd** est à redémarrer, si utilisé, sur 7.0 + +```ksh +# rcctl restart nsd +# reboot +``` + +--- + +## Documentations + +Plus d'informations sur les pages d'Errata [7.0][1] et [6.9][2]…
+*et leurs versions FR respectives : [7.0 FR][3] et [6.9 FR][4].* + +--- + +[1]: https://openbsd.org/errata70.html +[2]: https://openbsd.org/errata69.html +[3]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata70 +[4]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata69 + + diff --git a/content/posts/syspatch-pffrag-6.7-6.8.md b/content/posts/syspatch-pffrag-6.7-6.8.md new file mode 100644 index 0000000..b0238ad --- /dev/null +++ b/content/posts/syspatch-pffrag-6.7-6.8.md @@ -0,0 +1,88 @@ +--- +categories: ['Syspatch'] +date: 2021-02-24T18:52:52+01:00 +description: "Correctif OpenBSD: PF" +draft: false +tags: ['Syspatch','PF','6.7','6.8'] +title: "Syspatch : pffrag (2021/02/24)" +--- + +## Correctif de sécurité pffrag + +**Une séquence de fragments IPv4 se chevauchant pourrait faire planter le +noyau en pf en raison d'une assertion.** + +Il est nécessaire de redémarrer le noyau ! + +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 ! + +## 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.8 : + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/014_pffrag.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 014_pffrag.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- Pour 6.7 : + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.7/common/035_pffrag.patch.sig +# signify -Vep /etc/signify/openbsd-67-base.pub -x 035_pffrag.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 +``` + +Pour finir, [redémarrez](#restart) la machine ! + +## Restart + +```ksh +# reboot +``` + +--- + +Plus d'informations sur les pages d'Errata [6.8][1] et [6.7][2]…
+*et leurs versions FR respectives : [6.8 FR][3] et [6.7 FR][4].* + +--- + +[1]: https://openbsd.org/errata68.html +[2]: https://openbsd.org/errata67.html +[3]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata68 +[4]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata67 + + + diff --git a/content/posts/syspatch-pmapglobal-6.8-6.9.md b/content/posts/syspatch-pmapglobal-6.8-6.9.md new file mode 100644 index 0000000..356309d --- /dev/null +++ b/content/posts/syspatch-pmapglobal-6.8-6.9.md @@ -0,0 +1,54 @@ +--- +categories: ['Syspatch'] +date: 2021-05-23T23:55:15+02:00 +description: "Correctif OpenBSD: pmapglobal" +draft: false +tags: ['Syspatch','pmapglobal','6.8','6.9'] +title: "Syspatch : pmapglobal (2021/05/22)" +--- + +## Correctifs de fiabilité pmapglobal + +**Les machines Intel récentes pouvaient planter ou se bloquer car les mappages globaux venant de la TLB n'étaient pas vidés**. + +- Architecture ciblée : amd64. + +--- + +## Syspatch + +```ksh +# syspatch +``` + +Ensuite [redémarrez](#restart) la machine car ce correctif affecte le noyau ! + +## Restart + +```ksh +# reboot +``` + +--- + +## Documentations + +⇒ ***Note** : La TLB est une mémoire cache du processeur.* +⇒ Article Wikipédia à-propos de la TLB : [FR][10], [EN][11] + +⇒ Plus d'informations sur les pages d'Errata [6.9][1] et [6.8][2]…
+*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 + +[10]: https://fr.wikipedia.org/wiki/Translation_lookaside_buffer +[11]: https://en.wikipedia.org/wiki/Translation_lookaside_buffer + + diff --git a/content/posts/syspatch-smptd-6.7-6.8.md b/content/posts/syspatch-smptd-6.7-6.8.md new file mode 100644 index 0000000..7849069 --- /dev/null +++ b/content/posts/syspatch-smptd-6.7-6.8.md @@ -0,0 +1,87 @@ +--- +categories: ['Syspatch'] +date: 2020-12-24T15:05:12+01:00 +description: "Correctif OpenBSD: smtpd" +draft: false +tags: ['Syspatch','smtpd','6.7','6.8'] +title: "Syspatch : smptd (2020/12/23)" +--- + +## Correctif de fiabilité smtpd + +**La machine à états de filtrage de smtpd peut libérer prématurément des +ressources conduisant à un plantage**. + +Il est nécessaire de **redémarrer le service** après l'application du correctif ! + + +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) le service ! + +## 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.8 : + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/010_smtpd.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 010_smtpd.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- Pour 6.7 : + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.7/common/033_smtpd.patch.sig +# signify -Vep /etc/signify/openbsd-67-base.pub -x 033_smtpd.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +⇒ La phase de recompilation : + +```ksh +# cd /usr/src/usr.sbin/smtpd +# make obj +# make +# make install +``` + +Pour finir, [redémarrez](#restart) le service ! + +## Restart + +```ksh +# rcctl restart smtpd +``` + +--- + +Plus d'informations sur les pages d'Errata [6.8][1] et [6.7][2]…
+*et leurs versions FR respectives : [6.8 FR][3] et [6.7 FR][4].* + +--- + +[1]: https://openbsd.org/errata68.html +[2]: https://openbsd.org/errata67.html +[3]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata68 +[4]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata67 + + + diff --git a/content/posts/syspatch-ssh-agent-6.7-6.8.md b/content/posts/syspatch-ssh-agent-6.7-6.8.md new file mode 100644 index 0000000..e9e61bc --- /dev/null +++ b/content/posts/syspatch-ssh-agent-6.7-6.8.md @@ -0,0 +1,77 @@ +--- +categories: ['Syspatch'] +date: 2021-03-03T23:12:34+01:00 +description: "Correctif OpenBSD: SSH" +draft: false +tags: ['Syspatch','ssh','6.7','6.8'] +title: "Syspatch : ssh-agent (2021/03/03)" +--- + +## Correctif de sécurité ssh-agent + +**Double libération (de mémoire) dans ssh-agent(1)** + +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 votre client ssh-agent ! + +## 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.8 : + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/015_sshagent.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 015_sshagent.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- Pour 6.7 : + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.7/common/036_sshagent.patch.sig +# signify -Vep /etc/signify/openbsd-67-base.pub -x 036_sshagent.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +⇒ La phase de recompilation : + +```ksh +$ cd /usr/src/usr.bin/ssh +# make obj +# make clean +# make +# make install +``` + +Ensuite redémarrez votre client ssh-agent ! + + +--- + +Plus d'informations sur les pages d'Errata [6.8][1] et [6.7][2]…
+*et leurs versions FR respectives : [6.8 FR][3] et [6.7 FR][4].* + +--- + +[1]: https://openbsd.org/errata68 +[2]: https://openbsd.org/errata67 +[3]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata68 +[4]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata67 + diff --git a/content/posts/syspatch-sshd-6.8-6.9.md b/content/posts/syspatch-sshd-6.8-6.9.md new file mode 100644 index 0000000..c85aafd --- /dev/null +++ b/content/posts/syspatch-sshd-6.8-6.9.md @@ -0,0 +1,96 @@ +--- +categories: ['Syspatch'] +date: 2021-09-27T16:34:12+02:00 +description: "Correctif OpenBSD: sshd" +draft: false +tags: ['Syspatch','sshd','ssh','6.8','6.9'] +title: "Syspatch : sshd (27/09/2021)" +--- + +## Correctif de sécurité : sshd + +**sshd(8) n'arrive pas à enlever les groupes supplémentaires lors de l'exécution de commandes avec +AuthorizedUsersCommand ou AuthorizedPrincipalsCommand**. + +- Architectures ciblées : toutes les architectures 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) le service sshd. + +## 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 +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.9/common/016_sshd.patch.sig +# signify -Vep /etc/signify/openbsd-69-base.pub -x 016_sshd.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- pour 6.8 + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/030_sshd.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 030_sshd.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + + +- la phase de recompilation : + +```ksh +$ cd /usr/src/usr.bin/ssh +# make obj +# make +# make install +``` + +Ensuite [redémarrez](#restart) le service sshd. + + +## Restart + +```ksh +# rcctl restart sshd +``` + +--- + +## Documentations + +- https://www.openssh.com/ + +Plus d'informations sur les pages d'Errata [6.9][1] et [6.8][2]…
+*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 + + + + diff --git a/content/posts/syspatch-vmd-6.8-6.9.md b/content/posts/syspatch-vmd-6.8-6.9.md new file mode 100644 index 0000000..aae8be8 --- /dev/null +++ b/content/posts/syspatch-vmd-6.8-6.9.md @@ -0,0 +1,49 @@ +--- +categories: ['Syspatch'] +date: 2021-06-08T20:55:42+02:00 +description: "Correctif OpenBSD: vmd" +draft: false +tags: ['Syspatch','vmd','6.8','6.9'] +title: "Syspatch : vmd (2021/06/08)" +--- + +## Correctif de sécurité : vmd + +**Les VM invitées pouvaient causer des débordements de la pile en créant +des requêtes dhcp malicieuses lors de l'utilisation des interfaces locales.** + + +- Architecture ciblée : amd64. + +--- + +## Syspatch + +```ksh +# syspatch +``` + +Ensuite, préférez [redémarrer](#restart) le service et vos VM. + + +## Restart + +```ksh +# rcctl restart vmd +``` + +--- + +## Documentations + +⇒ Plus d'informations sur les pages d'Errata [6.9][1] et [6.8][2]…
+*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 diff --git a/content/posts/syspatch-vmd-6.9.md b/content/posts/syspatch-vmd-6.9.md new file mode 100644 index 0000000..6a64c22 --- /dev/null +++ b/content/posts/syspatch-vmd-6.9.md @@ -0,0 +1,69 @@ +--- +categories: ['Syspatch'] +date: 2021-05-04T12:26:10+02:00 +description: "Correctif OpenBSD: vmd" +draft: false +tags: ['Syspatch','vmd','6.9'] +title: "Syspatch : vmd (2021/05/04)" +--- + +## Correctif de fiabilité : vmd + +**Les VM invités de vmd peuvent déclencher des messages de journalisation excessifs sur l'hôte par l'envoi de certains paquets réseaux.** + +Pour toutes les architectures supportées : +- amd64 par `syspatch` ou par [recompilation](#recompilation) + +--- + +## Syspatch + +Cette étape ne concerne que les architectures amd64, arm64, i386 ! + +```ksh +# syspatch +``` + +Ensuite, préférez [redémarrer](#restart) le service et vos VM. + +## Recompilation + +Voici les étapes de recompilation nécessaires : + +⇒ Après avoir téléchargé le correctif, vérifiez-le, et appliquez-le : + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.9/common/010_relayd.patch.sig +# signify -Vep /etc/signify/openbsd-69-base.pub -x 010_relayd.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +⇒ La phase de recompilation : + +```ksh +$ cd /usr/src/usr.sbin/relayd +# make obj +# make +# make install +``` + +Ensuite, préférez [redémarrer](#restart) le service. + +## Restart + +```ksh +# rcctl restart relayd +``` + +--- + +Plus d'informations sur les pages d'Errata [6.9][1]…
+*et la versions FR respective : [6.9 FR][3].* + +--- + +[1]: https://openbsd.org/errata69.html + +[3]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata69 + + diff --git a/content/posts/syspatch-xi-6.7-6.8.md b/content/posts/syspatch-xi-6.7-6.8.md new file mode 100644 index 0000000..6c41b96 --- /dev/null +++ b/content/posts/syspatch-xi-6.7-6.8.md @@ -0,0 +1,86 @@ +--- +categories: ['Syspatch'] +date: 2021-04-13T17:23:58+02:00 +description: "Correctif OpenBSD: Serveur X" +draft: false +tags: ['Syspatch','XInput','6.7','6.8'] +title: "Syspatch : XInput (2021/04/13)" +--- + +## Correctif de sécurité XInput + +**Des échecs de validations d'entrées dans les extensions XInput du serveur X peuvent permettre une élévation des privilèges pour des clients autorisés.** + + +Il vaut mieux **redémarrer le service X** après l'application du correctif ! +
*(ou les clients X utilisés)* + + +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) le service ! + +## 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.8 : + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/018_xi.patch.sig +# signify -Vep /etc/signify/openbsd-68-base.pub -x 018_xi.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +- Pour 6.7 : + +```ksh +# wget https://ftp.openbsd.org/pub/OpenBSD/patches/6.7/common/038_xi.patch.sig +# signify -Vep /etc/signify/openbsd-67-base.pub -x 038_xi.patch.sig \ + -m - | (cd /usr/src && patch -p0) +``` + +⇒ La phase de recompilation : + +```ksh +$ cd /usr/xenocara/xserver +# make -f Makefile.bsd-wrapper obj +# make -f Makefile.bsd-wrapper build +``` + +Pour finir, [redémarrez](#restart) le service ! + +## Restart + +```ksh +# rcctl restart xenodm +``` + +--- + +Plus d'informations sur les pages d'Errata [6.8][1] et [6.7][2]…
+*et leurs versions FR respectives : [6.8 FR][3] et [6.7 FR][4].* + +--- + +[1]: https://openbsd.org/errata68.html +[2]: https://openbsd.org/errata67.html +[3]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata68 +[4]: https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/errata67 + + diff --git a/public/.gitignore b/public/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/static/fonts/Andika-Bold.woff b/static/fonts/Andika-Bold.woff new file mode 100644 index 0000000..0b5bb34 Binary files /dev/null and b/static/fonts/Andika-Bold.woff differ diff --git a/static/fonts/Andika-Regular.woff b/static/fonts/Andika-Regular.woff new file mode 100644 index 0000000..4fd4fca Binary files /dev/null and b/static/fonts/Andika-Regular.woff differ diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..a5e8f72 --- /dev/null +++ b/static/style.css @@ -0,0 +1,171 @@ +@charset "UTF-8"; +/* Andika */ +@font-face { + font-family: 'andika'; + src: url('/fonts/Andika-Regular.woff') format('woff'); + font-weight: normal; + font-style: normal; +} +@font-face { + font-family: 'andika-bold'; + src: url('/fonts/Andika-Bold.woff') format('woff'); + font-weight: bold; + font-style: bold; +} +/* default theme */ + +:root { + --bg: white; + --fg: #171a1f; + --nav-bg: #fafafa; + --nav-fg: #363c46; + --link-fg: #0084ff; +} + +html { + height: 100%; + overflow-x: hidden; +} + +body { + min-height: 100%; + margin: 0; + background-color: var(--bg); + color: var(--fg); + font-family: "andika", sans-serif; + overflow-x: hidden; +} + +h1,h2,h3,h4 { + font-family: "andika-bold"; +} + +/* Réglages pour le menu de navigation */ +nav { + padding: 20px 0; + text-align: right; + font-size: large; + background-color: var(--nav-bg); +} +nav a { + padding: 15px; +} +#title { + float: left; +} + +/* main */ + +main { + position: relative; + flex: 1; +} + +article { + box-sizing: border-box; + padding: 3rem 2rem; + margin: 0 auto; + max-width: 750px; +} + +article h1 { + font-size: 2rem; +} + +article h2, article h3 { + margin-top: 2.5rem; +} + +main nav { + display: flex; + margin-top: 2rem; +} + +main nav .prev { + margin-right: auto; +} + +main nav .next { + margin-left: auto; +} + +a { + color: inherit; + transition: color .05s; + text-decoration-style: dotted; +} + +a:hover { + color: var(--link-fg); +} + +code { + font-family: monospace; + font-size: 0.875rem; +} + +/* footer */ + +footer { + text-align: center; +} + +/* dark theme */ + +@media (prefers-color-scheme: dark) { + :root { + --bg: #111316; + --fg: white; + --nav-bg: #171a1f; + --nav-fg: white; + --link-fg: #ffc400; + } +} + +/* small screens */ + +@media screen and (max-width: 1080px) { + #menu-button { + display: initial; + } + + main { + margin-left: 0; + } + + article { + padding: 3rem 1rem; + } + + #menu-control:checked ~ aside { + display: initial; + } + + #menu-control:checked ~ main, + #menu-control:checked ~ #menu-button { + transform: translateX(var(--aside-width)); + } +} + +/* print */ + +@media print { + :root { + --bg: white; + --fg: black; + } + + main { + margin-left: 0; + } + + article { + padding: 0; + margin: 0; + max-width: initial; + } + + aside, main > h1, main nav { + display: none; + } +} diff --git a/templates/_default/atom.xml b/templates/_default/atom.xml new file mode 100644 index 0000000..536a31e --- /dev/null +++ b/templates/_default/atom.xml @@ -0,0 +1,13 @@ +{{ `` | safeHTML }} + +{{ .URL }} +{{ .Title }} +{{ site.Generated.Format "2006-01-02T15:04:05Z07:00" }} + +{{ range .Pages }} + {{ .URL }} + {{ .Title }} + {{ .Date.Format "2006-01-02T15:04:05Z07:00" }} + +{{ end -}} + diff --git a/templates/_default/index.gmi b/templates/_default/index.gmi new file mode 100644 index 0000000..6b661b0 --- /dev/null +++ b/templates/_default/index.gmi @@ -0,0 +1,6 @@ +# {{ .Title }} +{{ if .Content }} +{{ .Content }}{{ end }} +{{ range .Pages }}=> {{ .Path }} {{ if not .Date.IsZero -}} +{{.Date.Format "2006-01-02"}} {{end}}{{.Title}} +{{ end -}} diff --git a/templates/_default/index.html b/templates/_default/index.html new file mode 100644 index 0000000..2ea43f4 --- /dev/null +++ b/templates/_default/index.html @@ -0,0 +1,28 @@ + + + + + + + {{ .Title }} – {{ site.Title }} + + + +
+
+

{{ .Title }}

+ {{ .Content | safeHTML }} +
+
+ + + diff --git a/templates/_default/page.gmi b/templates/_default/page.gmi new file mode 100644 index 0000000..d340363 --- /dev/null +++ b/templates/_default/page.gmi @@ -0,0 +1,13 @@ +# {{ .Title }} - {{ site.Title }} + +{{ .Content }} + +{{- with .Next }} +=> {{ .Path }} Next: {{ .Title }} +{{- else }} +=> / Back to home +{{- end }} + +--- +Généré avec kiln +=> https://sr.ht/~adnano/kiln Code source de kiln diff --git a/templates/_default/page.html b/templates/_default/page.html new file mode 100644 index 0000000..32220df --- /dev/null +++ b/templates/_default/page.html @@ -0,0 +1,28 @@ + + + + + + + {{ .Title }} – {{ site.Title }} + + + +
+
+

{{ .Title }}

+ {{ .Content | safeHTML }} +
+
+ + + diff --git a/templates/posts/index.gmi b/templates/posts/index.gmi new file mode 100644 index 0000000..6b661b0 --- /dev/null +++ b/templates/posts/index.gmi @@ -0,0 +1,6 @@ +# {{ .Title }} +{{ if .Content }} +{{ .Content }}{{ end }} +{{ range .Pages }}=> {{ .Path }} {{ if not .Date.IsZero -}} +{{.Date.Format "2006-01-02"}} {{end}}{{.Title}} +{{ end -}} diff --git a/templates/posts/index.html b/templates/posts/index.html new file mode 100644 index 0000000..32220df --- /dev/null +++ b/templates/posts/index.html @@ -0,0 +1,28 @@ + + + + + + + {{ .Title }} – {{ site.Title }} + + + +
+
+

{{ .Title }}

+ {{ .Content | safeHTML }} +
+
+ + + diff --git a/templates/posts/page.gmi b/templates/posts/page.gmi new file mode 100644 index 0000000..aec917d --- /dev/null +++ b/templates/posts/page.gmi @@ -0,0 +1,15 @@ +# {{ .Title }} - {{ site.Title }} + +{{ .Content }} + +{{- with .Next }} +=> {{ .Path }} Next: {{ .Title }} +{{- else }} +=> / Back to home +{{- end }} + +--- +Généré avec kiln +=> https://sr.ht/~adnano/kiln Code source de kiln + +Ceci est un template sympa diff --git a/templates/posts/page.html b/templates/posts/page.html new file mode 100644 index 0000000..db4a52d --- /dev/null +++ b/templates/posts/page.html @@ -0,0 +1,37 @@ + + + + + + + {{ .Title }} – {{ site.Title }} + + + +
+ +
+ + +