Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
irssi [Le 14/05/2019, 21:20] 185.220.102.8 [Modification du fichier torrc et génération du certificat et ajout fingerprint pseudonyme Freenode] |
irssi [Le 16/08/2019, 04:01] 109.70.100.28 [Modification du fichier torrc et génération du certificat et ajout fingerprint pseudonyme Freenode] |
||
---|---|---|---|
Ligne 174: | Ligne 174: | ||
==== Modification du fichier torrc et génération du certificat et ajout fingerprint pseudonyme Freenode ==== | ==== Modification du fichier torrc et génération du certificat et ajout fingerprint pseudonyme Freenode ==== | ||
+ | |||
+ | <note warning>Ce tutoriel nécessite une version > ou = à la version [[https://freenode.net/news/torv3|3]] de [[apt>tor|Tor]].</note> | ||
Veuillez maintenant [[:tutoriel:comment_modifier_un_fichier|éditer]] le fichier **/etc/tor/torrc** et y ajouter : | Veuillez maintenant [[:tutoriel:comment_modifier_un_fichier|éditer]] le fichier **/etc/tor/torrc** et y ajouter : | ||
<code bash># For Freenode IRC | <code bash># For Freenode IRC | ||
- | mapaddress 10.8.0.9 freenodeok2gncmy.onion | + | mapaddress 10.8.0.9 ajnvpgl6prmkb7yktvue6im5wiedlz2w32uhcwaamdiecdrfpwwgnlqd.onion |
</code> | </code> | ||
+ | Ou si vous utilisez une version < à la version [[https://freenode.net/news/tor-online|3]] de [[apt>tor|Tor]] : | ||
+ | <code bash># Freenode IRC | ||
+ | mapaddress 10.8.0.9 freenodeok2gncmy.onion | ||
+ | </code> | ||
<note tip>Voici un exemple d'un fichier **torrc** fonctionnel pour [[https://freenode.net|Freenode]] : | <note tip>Voici un exemple d'un fichier **torrc** fonctionnel pour [[https://freenode.net|Freenode]] : | ||
<code bash> | <code bash> | ||
- | mapaddress 10.8.0.9 freenodeok2gncmy.onion # freenode | + | ############################################################################################################ |
+ | ##torrc par BeAvEr pour Freenode. | ||
+ | ## ⬇️ https://freenode.net/news/torv3 (vous devez avoir une version > ou = à la version 3 de Tor) : ⬇️ | ||
+ | mapaddress 10.8.0.9 ajnvpgl6prmkb7yktvue6im5wiedlz2w32uhcwaamdiecdrfpwwgnlqd.onion | ||
+ | ############################################################################################################ | ||
+ | ## ⬇️ https://freenode.net/news/tor-online ➡️ Si vous utilisez une version < ou = à la version 3 de Tor : ⬇️ | ||
+ | #mapaddress 10.8.0.9 freenodeok2gncmy.onion | ||
+ | ############################################################################################################ | ||
ClientOnly 1 | ClientOnly 1 | ||
- | GuardLifetime 2764800#Note that 2764800 seconds = 32 days. | ||
- | GeoIPExcludeUnknown 1 | ||
- | ConnectionPadding 1#This option governs Tor’s use of padding to defend against some forms of traffic analysis. | ||
- | LongLivedPorts #Reduce the | ||
- | #chance that a node will go down before the stream is finished. | ||
- | #12:19 < beaver> 05/14/19 12:08:43 <@*-mquin> beaver: I'm not yet sure if it actually helps, | ||
- | #but I noticed there's a "LongLivedPorts" torrc setting that might help with irc | ||
- | Sandbox 1 | ||
SocksPort 9050 | SocksPort 9050 | ||
+ | GeoIPExcludeUnknown 1 | ||
+ | ############################################################################################################ | ||
+ | ## ⬇️ Reduce the chance that a node will go down before the stream is finished. ⬇️ | ||
+ | ## ⬇️ 05/14/19 12:08:43 <@*-mquin> beaver: I'm not yet sure if ⬇️ | ||
+ | ## ⬇️ it actually helps but I noticed there's a ⬇️ | ||
+ | ## ⬇️ "LongLivedPorts" torrc setting that might help with irc. ⬇️ | ||
+ | LongLivedPorts 6697 | ||
+ | ############################################################################################################ | ||
+ | #Socks5Proxy 127.0.0.1:8123 # ➡️ ssh -D 8123 -f -C -q -N -p votre_port_ssh beaver@ip_distante :). | ||
+ | ############################################################################################################ | ||
+ | SafeSocks 1 | ||
+ | TestSocks 1 | ||
+ | ClientUseIPv4 1 #Si vous n'avez pas d'IPV6 de disponible. | ||
+ | ## ⬇️ https://gist.github.com/pwnsdx/effd82f4791bf90d8de6 ➡️ https://fr.wikipedia.org/wiki/Five_Eyes ⬇️ | ||
+ | ## ⬇️ + ajout du pays Israël : ⬇️ | ||
+ | #ExcludeNodes {fr} | ||
+ | #ExcludeExitNodes {us},{au},{ca},{nz},{gb},{fr},{il} | ||
+ | ############################################################################################################ | ||
+ | ## ⬇️ https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Sandbox/Linux. ⬇️ | ||
+ | ## ⬇️ Si vous souhaitez utiliser l'option et que vous obtenez une erreur, veuillez recommenter l'option : ⬇️ | ||
+ | #Sandbox 1 | ||
+ | ############################################################################################################ | ||
</code> | </code> | ||
</note> | </note> | ||
Ligne 236: | Ligne 263: | ||
Dans votre [[wpfr>Client_IRC|client]] Irssi y insérer : | Dans votre [[wpfr>Client_IRC|client]] Irssi y insérer : | ||
- | <code bash>/server add -auto -ssl -ssl_cert ~/.irssi/certs/FreenodeTor.pem -net FreenodeTor 10.8.0.9 7000</code> | + | <code bash>/server add -auto -ssl -ssl_cert ~/.irssi/certs/FreenodeTor.pem -net FreenodeTor 10.8.0.9 6697</code> |
Nous ignorons les requêtes de type [[wpfr>Client-To-Client_Protocol|CTCP]] pour ne pas divulguer votre IP originale : | Nous ignorons les requêtes de type [[wpfr>Client-To-Client_Protocol|CTCP]] pour ne pas divulguer votre IP originale : |