feat: 完成 M2 mosh(LAN + tsnet 端到端验证)

- mosh(blinksh/ios C++)+protobuf-lite 交叉编译为 MoshCore.xcframework
  (CommonCrypto 后端、含 arm64 模拟器 slice;绕 autotools 用 CMake 直编 + 手写 config.h)
- tsnet 桥新增 UDP relay(StartMoshRelay:loopback↔tsnet.Dial 逐包搬运)
- MoshSession(pipe↔FILE*/pthread/SIGWINCH)+ MoshConnectScanner(TXCore,+4 单测=39)
- SSHTerminalModel 编排:SSH 引导 mosh-server→解析 MOSH CONNECT→relay→mosh 接管
- LAN 直连 + mosh-over-tsnet 均端到端验证通过,R1(tsnet UDP 数据报语义) 证伪

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
kid
2026-07-24 16:14:40 +08:00
parent aa92d0e676
commit 32520f09e0
1232 changed files with 728138 additions and 37 deletions

47
vendor/mosh/ocb-license.html vendored Normal file
View File

@@ -0,0 +1,47 @@
<TITLE>OCB - An Authenticated-Encryption Scheme - GPL Patent Grant - Rogaway</TITLE>
<body bgcolor="#FFFFFF">
<H2><a name="ocb-grant"> <font face="Arial, Helvetica, sans-serif" size="6" color="#FF0000">OCB:
Patent Grant for GNU GPL</font> </a> </H2>
Whereas I, Phillip Rogaway (hereinafter "Inventor") have sought
patent protection for certain technology
(hereinafter "Patented Technology"),
and Inventor wishes to aid the Free Software Foundation in achieving its goals,
and Inventor wishes to increase public awareness of Patented Technology,
Inventor hereby grants a fully paid-up, nonexclusive,
royalty-free license to
practice any patents claiming priority to the
patent applications below ("the Patents")
if practiced by
software distributed
under the terms of any version of
the GNU General Public License as published by the Free Software Foundation,
59 Temple Place, Suite 330, Boston, MA 02111.
Inventor reserves all other rights, including without limitation
licensing for software not distributed under the GNU General Public License.
<h4>The patents:</h4>
<ul>
<li> <a href="http://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&amp;Sect2=HITOFF&amp;p=1&amp;u=%2Fnetahtml%2FPTO%2Fsearch-bool.html&amp;r=2&amp;f=G&amp;l=50&amp;co1=AND&amp;d=PG01&amp;s1=rogaway.IN.&amp;OS=IN/rogaway&amp;RS=IN/rogaway">
09/918,615</a> -
Method and Apparatus for Facilitating Efficient Authenticated Encryption.
<li> <a href="http://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&amp;Sect2=HITOFF&amp;p=1&amp;u=%2Fnetahtml%2FPTO%2Fsearch-bool.html&amp;r=3&amp;f=G&amp;l=50&amp;co1=AND&amp;d=PG01&amp;s1=rogaway.IN.&amp;OS=IN/rogaway&amp;RS=IN/rogaway">
09/948,084</a> -
Method and Apparatus for Realizing a Parallelizable Variable-Input-Length
Pseudorandom Function.
</ul>
<hr>
<p><b>June 12, 2012</b>: Phillip Rogaway licensed the distribution of OCB
in Mosh under the GPL with the OpenSSL linking exception and iOS
waiver contained in the <code>COPYING.iOS</code> file.</p>
<blockquote>
"Mosh with the two GPL exemptions you specify in the attached note
is freely licensed to use for any OCB-related IP that I own."
</blockquote>