Skip to content

Conversation

@nange
Copy link
Contributor

@nange nange commented Feb 6, 2026

背景

实现自定义的ICMP消息处理后,其他应用在使用tun2socks代码库时,当需要发送ICMP消息时,需要网卡绑定功能。 但原有的代码逻辑只支持TCP和UDP协议的网卡绑定。

实现

添加ICMP协议判断,以支持ICMP协议的网卡绑定功能。

@nange
Copy link
Contributor Author

nange commented Feb 6, 2026

@xjasonlyu 麻烦review一下。

@xjasonlyu xjasonlyu merged commit 82cca65 into xjasonlyu:main Feb 6, 2026
12 checks passed
@nange nange deleted the fix/icmp-interface-binding branch February 7, 2026 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants