sing-box icon indicating copy to clipboard operation
sing-box copied to clipboard

tun接口IP地址/30使用后一位可用IP 异常

Open luweijun1992 opened this issue 6 months ago • 4 comments

操作系统

Linux

系统版本

Debian 12.6

安装类型

sing-box 原始命令行程序

如果您使用图形客户端程序,请提供该程序版本。

No response

版本

sing-box version 1.10.0-alpha.28

Environment: go1.22.5 linux/amd64
Tags: with_gvisor,with_quic,with_dhcp,with_wireguard,with_ech,with_utls,with_reality_server,with_acme,with_clash_api
Revision: 3c21bd7f6bfdff0f01a523ab6a5d6734e339e6af
CGO: disabled

描述

tun接口IP地址使用/30掩码,且使用后一个可用IP地址 比如使用172.31.255.254/30 无法正常使用,无报错 使用172.31.255.253/30 正常使用

重现方式

{ "inbounds": [ { "address": "172.31.255.254/30", "auto_route": true, "gso": true, "interface_name": "tun0", "route_address": [ "198.18.0.0/16" ], "sniff": true, "sniff_override_destination": false, "stack": "system", "strict_route": true, "tag": "tunIn", "type": "tun" } ] }

日志

`journalctl -xf -u sing-box.service  | grep tun`

无日志打印

支持我们

完整性要求

  • [X] 我保证阅读了文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
  • [X] 我保证提供了可以在本地重现该问题的服务器、客户端配置文件与流程,而不是一个脱敏的复杂客户端配置文件。
  • [X] 我保证提供了可用于重现我报告的错误的最简配置,而不是依赖远程服务器、TUN、图形界面客户端或者其他闭源软件。
  • [X] 我保证提供了完整的配置文件与日志,而不是出于对自身智力的自信而仅提供了部分认为有用的部分。

luweijun1992 avatar Aug 05 '24 08:08 luweijun1992