Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

option to force/prefer IPv6 over IPv4

未關閉
#85 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
python
領域
networking

研究方向

先追蹤輸出連線的建立位置,以及 bridge 設定的載入方式;issue 未指定任何檔案或測試。確立 IPv6 與 IPv4 之間預期的優先順序,然後確認所選的位址族群確實受到遵循,同時維持預設行為不變。

由索引模型根據 Issue 內容生成。

描述

Sometimes either IPv6 or IPv4 connection is fucked up, not on hoster's side. This is a today's example:

laura@hakase:~$ traceroute graph.facebook.com -4
traceroute to graph.facebook.com (31.13.81.9), 30 hops max, 60 byte packets
 1  edge01.waw.bgp.wtf (185.236.240.1)  1.028 ms  1.092 ms  1.013 ms
 2  facebook.ip4.epix.net.pl (89.46.145.202)  26.891 ms  26.915 ms  26.898 ms
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
[nothing happens later, just packet loss]

This yet another disaster at EPIX obviously breaks the mautrix-facebook bridge. Of course, one could say that in this situation you should tell your provider to scream at their provider, re-route the traffic to avoid the broken provider, and so on, and they'll be absolutely right! But anyway, I think this kind of situation should also have a quick workaround - an option in the bridge config, like one of these:

prefer_ip_version: 6
prefer_address: inet6
prefer_ipv6: true
主要語言
Python
星號
250
分支
84
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

mautrix/python 的其他 Issue

查看 mautrix/python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。