text:
[Bug] ipv6 tproxy模式分流无效

Verify Steps

[X] Tracker 我已经在 Issue Tracker 中找过我要提出的问题
[X] Latest 我已经使用最新 Dev 版本测试过，问题依旧存在
[X] Core 这是 OpenClash 存在的问题，并非我所使用的 Clash 或 Meta 等内核的特定问题
[X] Meaningful 我提交的不是无意义的 催促更新或修复 请求

OpenClash Version
v0.45.115
Bug on Environment
Official OpenWrt
Bug on Platform
Linux-arm64
To Reproduce
全局设置-IPv6设置-IPv6代理模式，设置为tproxy模式或redirect模式，访问https://ip.skk.moe/multi
Describe the Bug
ipv6 tproxy模式分流无效
OpenClash Log
OpenClash 调试日志
生成时间: 2023-04-29 22:42:35
插件版本:
隐私提示: 上传此日志前请注意检查、屏蔽公网IP、节点、密码等相关敏感信息

#===================== 系统信息 =====================#

主机型号: FriendlyElec NanoPi R2S
固件版本: OpenWrt 22.03.3 01.07.2023
LuCI版本:
内核版本: 5.15.86
处理器架构:

#此项有值时,如不使用IPv6,建议到网络-接口-lan的设置中禁用IPV6的DHCP
IPV6-DHCP: server

DNS劫持: Dnsmasq 转发
#DNS劫持为Dnsmasq时，此项结果应仅有配置文件的DNS监听地址
Dnsmasq转发设置: 127.0.0.1#7874

#===================== 依赖检查 =====================#

dnsmasq-full: 未安装
coreutils: 未安装
coreutils-nohup: 未安装
bash: 未安装
curl: 未安装
ca-certificates: 未安装
ipset: 已安装
ip-full: 已安装
libcap: 未安装
libcap-bin: 已安装
ruby: 已安装
ruby-yaml: 已安装
ruby-psych: 已安装
ruby-pstore: 已安装
kmod-tun(TUN模式): 已安装
luci-compat(Luci >= 19.07): 已安装
kmod-inet-diag(PROCESS-NAME): 未安装
unzip: 已安装
iptables-mod-tproxy: 未安装
kmod-ipt-tproxy: 已安装
iptables-mod-extra: 已安装
kmod-ipt-extra: 已安装
kmod-ipt-nat: 已安装

#===================== 内核检查 =====================#

运行状态: 运行中
运行内核：Meta
进程pid: 29453
运行权限: 29453: cap_dac_override,cap_net_bind_service,cap_net_admin,cap_net_raw,cap_sys_ptrace,cap_sys_resource=eip
运行用户: nobody
已选择的架构: linux-arm64

#下方无法显示内核版本号时请确认您的内核版本是否正确或者有无权限
Tun内核版本:
Tun内核文件: 不存在
Tun内核运行权限: 否

Dev内核版本:
Dev内核文件: 不存在
Dev内核运行权限: 否

Meta内核版本: v1.14.4
Meta内核文件: 存在
Meta内核运行权限: 正常

#===================== 插件设置 =====================#

当前配置文件: /etc/openclash/config/config.yaml
启动配置文件: /etc/openclash/config.yaml
运行模式: redir-host
默认代理模式: rule
UDP流量转发(tproxy): 启用
自定义DNS: 停用
IPV6代理: 启用
IPV6-DNS解析: 启用
禁用Dnsmasq缓存: 停用
自定义规则: 停用
仅允许内网: 停用
仅代理命中规则流量: 停用
仅允许常用端口流量: 停用
绕过中国大陆IP: 启用
路由本机代理: 停用

#启动异常时建议关闭此项后重试
混合节点: 停用
保留配置: 停用

#启动异常时建议关闭此项后重试
第三方规则: 停用

#===================== 配置文件 =====================#

mixed-port: 7893
geodata-mode: true
tcp-concurrent: true
allow-lan: true
bind-address: "*"
inbound-tfo: true
mode: rule
log-level: info
ipv6: true
external-controller: 0.0.0.0:9090
external-ui: "/usr/share/openclash/ui"
hosts:
sniffer:
  enable: true
  force-dns-mapping: true
profile:
  store-selected: true
  store-fake-ip: true
dns:
  enable: true
  listen: 0.0.0.0:7874
  ipv6: true
  default-nameserver:
  - 223.5.5.5
  enhanced-mode: redir-host
  use-hosts: true
  proxy-server-nameserver:
  - 223.5.5.5
  nameserver:
  - 223.5.5.5
  fallback:
  - 8.8.8.8#torpe
  fallback-filter:
    geoip: true
    geoip-code: cn
    geosite:
    - gfw
    - greatfire
  nameserver-policy:
    www.msftconnecttest.com: 223.5.5.5
proxy-groups:
- name: torpe
  type: select
  proxies:
  - green
  - hatch
  - socks
- name: hatch
  type: select
  proxies:
  - hatcha
  - hatchc
- name: green
  type: select
  proxies:
  - hygr
  - hygrt
  - ssgr
  - vlgrgcf
- name: hatcha
  type: select
  proxies:
  - hyha
  - hyhat
  - ssha
  - vlhagcf
- name: hatchc
  type: select
  proxies:
  - hyhc
  - hyhct
  - sshc
  - vlhcgcf
rules:
- DST-PORT,7895,REJECT
- DST-PORT,7892,REJECT
- IP-CIDR,198.18.0.1/16,REJECT,no-resolve
- SRC-IP-CIDR,192.168.0.1/32,DIRECT
- SRC-IP-CIDR,198.18.0.1/16,DIRECT
- PROCESS-NAME,aria2c,DIRECT
- DST-PORT,7680,DIRECT
- GEOSITE,category-ads-all,REJECT
- DOMAIN-SUFFIX,iknowwhatyoudownload.com,DIRECT
- DOMAIN-SUFFIX,ddns.softether-network.net,DIRECT
- DOMAIN-SUFFIX,ddns.uxcom.jp,DIRECT
- GEOSITE,private,DIRECT
- GEOSITE,tld-cn,DIRECT
- GEOSITE,icloud@cn,DIRECT
- GEOSITE,apple@cn,DIRECT
- GEOSITE,microsoft@cn,DIRECT
- GEOSITE,category-games@cn,DIRECT
- GEOSITE,geolocation-cn,DIRECT
- DOMAIN-SUFFIX,playno1.com,hatch
- DOMAIN-SUFFIX,playio1.com,hatch
- DOMAIN-SUFFIX,javdb.com,hatch
- DOMAIN-SUFFIX,jdbstatic.com,hatch
- GEOSITE,ehentai,hatch
- GEOSITE,geolocation-!cn,torpe
- GEOIP,private,DIRECT,no-resolve
- GEOIP,cn,DIRECT,no-resolve
- MATCH,torpe
listeners:
- name: ss-in
  type: shadowsocks
  port: 9830
  listen: 0.0.0.0
  password: TyNjYiuSbEYGle/LccFuLA==
  cipher: 2022-blake3-aes-128-gcm
redir-port: 7892
tproxy-port: 7895
port: 7890
socks-port: 7891
geodata-loader: memconservative
find-process-mode: strict
authentication:
- Clash:jk15E74Q

#===================== 自定义覆写设置 =====================#

#!/bin/sh
. /usr/share/openclash/ruby.sh
. /usr/share/openclash/log.sh
. /lib/functions.sh

# This script is called by /etc/init.d/openclash
# Add your custom overwrite scripts here, they will be take effict after the OpenClash own srcipts

LOG_OUT "Tip: Start Running Custom Overwrite Scripts..."
LOGTIME=$(echo $(date "+%Y-%m-%d %H:%M:%S"))
LOG_FILE="/tmp/openclash.log"
CONFIG_FILE="$1" #config path

#Simple Demo:
    #General Demo
    #1--config path
    #2--key name
    #3--value
    #ruby_edit "$CONFIG_FILE" "['redir-port']" "7892"
    #ruby_edit "$CONFIG_FILE" "['secret']" "123456"
    #ruby_edit "$CONFIG_FILE" "['dns']['enable']" "true"

    #Hash Demo
    #1--config path
    #2--key name
    #3--hash type value
    #ruby_edit "$CONFIG_FILE" "['experimental']" "{'sniff-tls-sni'=>true}"
    #ruby_edit "$CONFIG_FILE" "['sniffer']" "{'sniffing'=>['tls','http']}"

    #Array Demo:
    #1--config path
    #2--key name
    #3--position(start from 0, end with -1)
    #4--value
    #ruby_arr_insert "$CONFIG_FILE" "['dns']['nameserver']" "0" "114.114.114.114"

    #Array Add From Yaml File Demo:
    #1--config path
    #2--key name
    #3--position(start from 0, end with -1)
    #4--value file path
    #5--value key name in #4 file
    #ruby_arr_add_file "$CONFIG_FILE" "['dns']['fallback-filter']['ipcidr']" "0" "/etc/openclash/custom/openclash_custom_fallback_filter.yaml" "['fallback-filter']['ipcidr']"

#Ruby Script Demo:
    #ruby -ryaml -rYAML -I "/usr/share/openclash" -E UTF-8 -e "
    #   begin
    #      Value = YAML.load_file('$CONFIG_FILE');
    #   rescue Exception => e
    #      puts '${LOGTIME} Error: Load File Failed,【' + e.message + '】';
    #   end;

        #General
    #   begin
    #   Thread.new{
    #      Value['redir-port']=7892;
    #      Value['tproxy-port']=7895;
    #      Value['port']=7890;
    #      Value['socks-port']=7891;
    #      Value['mixed-port']=7893;
    #   }.join;

    #   rescue Exception => e
    #      puts '${LOGTIME} Error: Set General Failed,【' + e.message + '】';
    #   ensure
    #      File.open('$CONFIG_FILE','w') {|f| YAML.dump(Value, f)};
    #   end" 2>/dev/null >> $LOG_FILE

exit 0
#===================== 自定义防火墙设置 =====================#

#!/bin/sh
. /usr/share/openclash/log.sh
. /lib/functions.sh

# This script is called by /etc/init.d/openclash
# Add your custom firewall rules here, they will be added after the end of the OpenClash iptables rules

LOG_OUT "Tip: Start Add Custom Firewall Rules..."

exit 0
#===================== IPTABLES 防火墙设置 =====================#

#IPv4 NAT chain

# Generated by iptables-save v1.8.7 on Sat Apr 29 22:42:36 2023
*nat
:PREROUTING ACCEPT [786:109837]
:INPUT ACCEPT [1153:112905]
:OUTPUT ACCEPT [583:48469]
:POSTROUTING ACCEPT [306:25167]
:MINIUPNPD - [0:0]
:MINIUPNPD-POSTROUTING - [0:0]
:openclash - [0:0]
:openclash_output - [0:0]
:postrouting_lan_rule - [0:0]
:postrouting_rule - [0:0]
:postrouting_wan_rule - [0:0]
:prerouting_lan_rule - [0:0]
:prerouting_rule - [0:0]
:prerouting_wan_rule - [0:0]
:zone_lan_postrouting - [0:0]
:zone_lan_prerouting - [0:0]
:zone_wan_postrouting - [0:0]
:zone_wan_prerouting - [0:0]
-A PREROUTING -d 8.8.4.4/32 -p tcp -m comment --comment "OpenClash Google DNS Hijack" -m tcp --dport 53 -j REDIRECT --to-ports 7892
-A PREROUTING -d 8.8.8.8/32 -p tcp -m comment --comment "OpenClash Google DNS Hijack" -m tcp --dport 53 -j REDIRECT --to-ports 7892
-A PREROUTING -p tcp -m tcp --dport 53 -m comment --comment "OpenClash DNS Hijack" -j REDIRECT --to-ports 53
-A PREROUTING -p udp -m udp --dport 53 -m comment --comment "OpenClash DNS Hijack" -j REDIRECT --to-ports 53
-A PREROUTING -m comment --comment "!fw3: Custom prerouting rule chain" -j prerouting_rule
-A PREROUTING -i br-lan -m comment --comment "!fw3" -j zone_lan_prerouting
-A PREROUTING -i pppoe-wan -m comment --comment "!fw3" -j zone_wan_prerouting
-A PREROUTING -i eth0 -m comment --comment "!fw3" -j zone_wan_prerouting
-A PREROUTING -p tcp -j openclash
-A OUTPUT -j openclash_output
-A POSTROUTING -m comment --comment "!fw3: Custom postrouting rule chain" -j postrouting_rule
-A POSTROUTING -o br-lan -m comment --comment "!fw3" -j zone_lan_postrouting
-A POSTROUTING -o pppoe-wan -m comment --comment "!fw3" -j zone_wan_postrouting
-A POSTROUTING -o eth0 -m comment --comment "!fw3" -j zone_wan_postrouting
-A MINIUPNPD -p udp -m udp --dport 28571 -j DNAT --to-destination 192.168.0.9:28571
-A openclash -m set --match-set localnetwork dst -j RETURN
-A openclash -m set --match-set china_ip_route dst -m set ! --match-set china_ip_route_pass dst -j RETURN
-A openclash -p tcp -j REDIRECT --to-ports 7892
-A openclash_output -m set --match-set localnetwork dst -j RETURN
-A openclash_output -m owner ! --uid-owner 65534 -m set --match-set china_ip_route dst -m set ! --match-set china_ip_route_pass dst -j RETURN
-A openclash_output -p tcp -m owner ! --uid-owner 65534 -j REDIRECT --to-ports 7892
-A zone_lan_postrouting -m comment --comment "!fw3: Custom lan postrouting rule chain" -j postrouting_lan_rule
-A zone_lan_prerouting -m comment --comment "!fw3: Custom lan prerouting rule chain" -j prerouting_lan_rule
-A zone_wan_postrouting -j MINIUPNPD-POSTROUTING
-A zone_wan_postrouting -j MINIUPNPD-POSTROUTING
-A zone_wan_postrouting -m comment --comment "!fw3: Custom wan postrouting rule chain" -j postrouting_wan_rule
-A zone_wan_postrouting -m comment --comment "!fw3" -j FULLCONENAT
-A zone_wan_prerouting -j MINIUPNPD
-A zone_wan_prerouting -j MINIUPNPD
-A zone_wan_prerouting -m comment --comment "!fw3: Custom wan prerouting rule chain" -j prerouting_wan_rule
-A zone_wan_prerouting -m comment --comment "!fw3" -j FULLCONENAT
COMMIT
# Completed on Sat Apr 29 22:42:36 2023

#IPv4 Mangle chain

# Generated by iptables-save v1.8.7 on Sat Apr 29 22:42:36 2023
*mangle
:PREROUTING ACCEPT [80085:10103867]
:INPUT ACCEPT [79024:9795353]
:FORWARD ACCEPT [1060:308482]
:OUTPUT ACCEPT [8778:1640901]
:POSTROUTING ACCEPT [9825:1948693]
:openclash - [0:0]
:openclash_upnp - [0:0]
-A PREROUTING -p udp -j openclash
-A FORWARD -o pppoe-wan -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu
-A FORWARD -i pppoe-wan -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu
-A FORWARD -o eth0 -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu
-A FORWARD -i eth0 -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu
-A openclash -p udp -m udp --sport 500 -j RETURN
-A openclash -p udp -m udp --sport 68 -j RETURN
-A openclash -m set --match-set localnetwork dst -j RETURN
-A openclash -p udp -m udp --dport 53 -j RETURN
-A openclash -m set --match-set china_ip_route dst -m set ! --match-set china_ip_route_pass dst -j RETURN
-A openclash -p udp -j openclash_upnp
-A openclash_upnp -s 192.168.0.9/32 -p udp -m udp --sport 28571 -j RETURN
COMMIT
# Completed on Sat Apr 29 22:42:36 2023

#IPv4 Filter chain

# Generated by iptables-save v1.8.7 on Sat Apr 29 22:42:36 2023
*filter
:INPUT ACCEPT [28:1569]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:MINIUPNPD - [0:0]
:forwarding_lan_rule - [0:0]
:forwarding_rule - [0:0]
:forwarding_wan_rule - [0:0]
:input_lan_rule - [0:0]
:input_rule - [0:0]
:input_wan_rule - [0:0]
:output_lan_rule - [0:0]
:output_rule - [0:0]
:output_wan_rule - [0:0]
:reject - [0:0]
:syn_flood - [0:0]
:zone_lan_dest_ACCEPT - [0:0]
:zone_lan_forward - [0:0]
:zone_lan_input - [0:0]
:zone_lan_output - [0:0]
:zone_lan_src_ACCEPT - [0:0]
:zone_wan_dest_ACCEPT - [0:0]
:zone_wan_forward - [0:0]
:zone_wan_input - [0:0]
:zone_wan_output - [0:0]
:zone_wan_src_ACCEPT - [0:0]
-A INPUT -p udp -m udp --dport 443 -m comment --comment "OpenClash QUIC REJECT" -m set ! --match-set china_ip_route dst -j REJECT --reject-with icmp-port-unreachable
-A INPUT -i lo -m comment --comment "!fw3" -j ACCEPT
-A INPUT -m comment --comment "!fw3: Custom input rule chain" -j input_rule
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m comment --comment "!fw3" -j syn_flood
-A INPUT -i br-lan -m comment --comment "!fw3" -j zone_lan_input
-A INPUT -i pppoe-wan -m comment --comment "!fw3" -j zone_wan_input
-A INPUT -i eth0 -m comment --comment "!fw3" -j zone_wan_input
-A FORWARD -m comment --comment "!fw3: Custom forwarding rule chain" -j forwarding_rule
-A FORWARD -m comment --comment "!fw3: Traffic offloading" -m conntrack --ctstate RELATED,ESTABLISHED -j FLOWOFFLOAD
-A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
-A FORWARD -i br-lan -m comment --comment "!fw3" -j zone_lan_forward
-A FORWARD -i pppoe-wan -m comment --comment "!fw3" -j zone_wan_forward
-A FORWARD -i eth0 -m comment --comment "!fw3" -j zone_wan_forward
-A OUTPUT -o lo -m comment --comment "!fw3" -j ACCEPT
-A OUTPUT -m comment --comment "!fw3: Custom output rule chain" -j output_rule
-A OUTPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
-A OUTPUT -o br-lan -m comment --comment "!fw3" -j zone_lan_output
-A OUTPUT -o pppoe-wan -m comment --comment "!fw3" -j zone_wan_output
-A OUTPUT -o eth0 -m comment --comment "!fw3" -j zone_wan_output
-A MINIUPNPD -d 192.168.0.9/32 -p udp -m udp --dport 28571 -j ACCEPT
-A reject -p tcp -m comment --comment "!fw3" -j REJECT --reject-with tcp-reset
-A reject -m comment --comment "!fw3" -j REJECT --reject-with icmp-port-unreachable
-A syn_flood -m limit --limit 25/sec --limit-burst 50 -m comment --comment "!fw3" -j RETURN
-A syn_flood -m comment --comment "!fw3" -j DROP
-A zone_lan_dest_ACCEPT -o br-lan -m comment --comment "!fw3" -j ACCEPT
-A zone_lan_forward -m comment --comment "!fw3: Custom lan forwarding rule chain" -j forwarding_lan_rule
-A zone_lan_forward -m comment --comment "!fw3: Zone lan to wan forwarding policy" -j zone_wan_dest_ACCEPT
-A zone_lan_forward -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port forwards" -j ACCEPT
-A zone_lan_forward -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT
-A zone_lan_input -m comment --comment "!fw3: Custom lan input rule chain" -j input_lan_rule
-A zone_lan_input -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port redirections" -j ACCEPT
-A zone_lan_input -m comment --comment "!fw3" -j zone_lan_src_ACCEPT
-A zone_lan_output -m comment --comment "!fw3: Custom lan output rule chain" -j output_lan_rule
-A zone_lan_output -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT
-A zone_lan_src_ACCEPT -i br-lan -m conntrack --ctstate NEW,UNTRACKED -m comment --comment "!fw3" -j ACCEPT
-A zone_wan_dest_ACCEPT -o pppoe-wan -m conntrack --ctstate INVALID -m comment --comment "!fw3: Prevent NAT leakage" -j DROP
-A zone_wan_dest_ACCEPT -o pppoe-wan -m comment --comment "!fw3" -j ACCEPT
-A zone_wan_dest_ACCEPT -o eth0 -m conntrack --ctstate INVALID -m comment --comment "!fw3: Prevent NAT leakage" -j DROP
-A zone_wan_dest_ACCEPT -o eth0 -m comment --comment "!fw3" -j ACCEPT
-A zone_wan_forward -j MINIUPNPD
-A zone_wan_forward -j MINIUPNPD
-A zone_wan_forward -m comment --comment "!fw3: Custom wan forwarding rule chain" -j forwarding_wan_rule
-A zone_wan_forward -p esp -m comment --comment "!fw3: Allow-IPSec-ESP" -j zone_lan_dest_ACCEPT
-A zone_wan_forward -p udp -m udp --dport 500 -m comment --comment "!fw3: Allow-ISAKMP" -j zone_lan_dest_ACCEPT
-A zone_wan_forward -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port forwards" -j ACCEPT
-A zone_wan_forward -m comment --comment "!fw3" -j zone_wan_dest_ACCEPT
-A zone_wan_input -m comment --comment "!fw3: Custom wan input rule chain" -j input_wan_rule
-A zone_wan_input -p udp -m udp --dport 68 -m comment --comment "!fw3: Allow-DHCP-Renew" -j ACCEPT
-A zone_wan_input -p icmp -m icmp --icmp-type 8 -m comment --comment "!fw3: Allow-Ping" -j ACCEPT
-A zone_wan_input -p igmp -m comment --comment "!fw3: Allow-IGMP" -j ACCEPT
-A zone_wan_input -p tcp -m multiport --dports 7892,7895,9090,7890,7891,7874 -m comment --comment "!fw3: clash" -j reject
-A zone_wan_input -p udp -m multiport --dports 7892,7895,9090,7890,7891,7874 -m comment --comment "!fw3: clash" -j reject
-A zone_wan_input -p tcp -m tcp --dport 6800 -m comment --comment "!fw3: aria2 api" -j reject
-A zone_wan_input -p tcp -m tcp --dport 22 -m comment --comment "!fw3: ssh" -j reject
-A zone_wan_input -p tcp -m tcp --dport 19999 -m comment --comment "!fw3: netdata" -j reject
-A zone_wan_input -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port redirections" -j ACCEPT
-A zone_wan_input -m comment --comment "!fw3" -j zone_wan_src_ACCEPT
-A zone_wan_output -m comment --comment "!fw3: Custom wan output rule chain" -j output_wan_rule
-A zone_wan_output -m comment --comment "!fw3" -j zone_wan_dest_ACCEPT
-A zone_wan_src_ACCEPT -i pppoe-wan -m conntrack --ctstate NEW,UNTRACKED -m comment --comment "!fw3" -j ACCEPT
-A zone_wan_src_ACCEPT -i eth0 -m conntrack --ctstate NEW,UNTRACKED -m comment --comment "!fw3" -j ACCEPT
COMMIT
# Completed on Sat Apr 29 22:42:36 2023

#IPv6 NAT chain

# Generated by ip6tables-save v1.8.7 on Sat Apr 29 22:42:37 2023
*nat
:PREROUTING ACCEPT [106:7636]
:INPUT ACCEPT [1:90]
:OUTPUT ACCEPT [268:28084]
:POSTROUTING ACCEPT [370:35460]
:openclash_output - [0:0]
-A PREROUTING -d 2001:4860:4860::8844/128 -p tcp -m comment --comment "OpenClash Google DNS Hijack" -m tcp --dport 53 -j ACCEPT
-A PREROUTING -d 2001:4860:4860::8888/128 -p tcp -m comment --comment "OpenClash Google DNS Hijack" -m tcp --dport 53 -j ACCEPT
-A PREROUTING -p tcp -m tcp --dport 53 -m comment --comment "OpenClash DNS Hijack" -j REDIRECT --to-ports 53
-A PREROUTING -p udp -m udp --dport 53 -m comment --comment "OpenClash DNS Hijack" -j REDIRECT --to-ports 53
-A OUTPUT -j openclash_output
-A openclash_output -m set --match-set localnetwork6 dst -j RETURN
-A openclash_output -m owner ! --uid-owner 65534 -m set --match-set china_ip6_route dst -m set ! --match-set china_ip6_route_pass dst -j RETURN
-A openclash_output -p tcp -m owner ! --uid-owner 65534 -j REDIRECT --to-ports 7892
COMMIT
# Completed on Sat Apr 29 22:42:37 2023

#IPv6 Mangle chain

# Generated by ip6tables-save v1.8.7 on Sat Apr 29 22:42:37 2023
*mangle
:PREROUTING ACCEPT [1636:300089]
:INPUT ACCEPT [339:46638]
:FORWARD ACCEPT [1271:251191]
:OUTPUT ACCEPT [468:54268]
:POSTROUTING ACCEPT [1740:305531]
:openclash - [0:0]
-A PREROUTING -j openclash
-A FORWARD -o pppoe-wan -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu
-A FORWARD -i pppoe-wan -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu
-A FORWARD -o eth0 -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu
-A FORWARD -i eth0 -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu
-A openclash -p udp -m udp --sport 500 -j RETURN
-A openclash -p udp -m udp --sport 546 -j RETURN
-A openclash -m set --match-set localnetwork6 dst -j RETURN
-A openclash -p udp -m udp --dport 53 -j RETURN
-A openclash -m set --match-set china_ip6_route dst -m set ! --match-set china_ip6_route_pass dst -j RETURN
COMMIT
# Completed on Sat Apr 29 22:42:37 2023

#IPv6 Filter chain

# Generated by ip6tables-save v1.8.7 on Sat Apr 29 22:42:37 2023
*filter
:INPUT ACCEPT [32:2304]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [78:5360]
:MINIUPNPD - [0:0]
:forwarding_lan_rule - [0:0]
:forwarding_rule - [0:0]
:forwarding_wan_rule - [0:0]
:input_lan_rule - [0:0]
:input_rule - [0:0]
:input_wan_rule - [0:0]
:output_lan_rule - [0:0]
:output_rule - [0:0]
:output_wan_rule - [0:0]
:reject - [0:0]
:syn_flood - [0:0]
:zone_lan_dest_ACCEPT - [0:0]
:zone_lan_forward - [0:0]
:zone_lan_input - [0:0]
:zone_lan_output - [0:0]
:zone_lan_src_ACCEPT - [0:0]
:zone_wan_dest_ACCEPT - [0:0]
:zone_wan_forward - [0:0]
:zone_wan_input - [0:0]
:zone_wan_output - [0:0]
:zone_wan_src_ACCEPT - [0:0]
-A INPUT -p udp -m udp --dport 443 -m comment --comment "OpenClash QUIC REJECT" -m set ! --match-set china_ip6_route dst -j REJECT --reject-with icmp6-port-unreachable
-A INPUT -i lo -m comment --comment "!fw3" -j ACCEPT
-A INPUT -m comment --comment "!fw3: Custom input rule chain" -j input_rule
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m comment --comment "!fw3" -j syn_flood
-A INPUT -i br-lan -m comment --comment "!fw3" -j zone_lan_input
-A INPUT -i pppoe-wan -m comment --comment "!fw3" -j zone_wan_input
-A INPUT -i eth0 -m comment --comment "!fw3" -j zone_wan_input
-A FORWARD -m comment --comment "!fw3: Custom forwarding rule chain" -j forwarding_rule
-A FORWARD -m comment --comment "!fw3: Traffic offloading" -m conntrack --ctstate RELATED,ESTABLISHED -j FLOWOFFLOAD
-A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
-A FORWARD -i br-lan -m comment --comment "!fw3" -j zone_lan_forward
-A FORWARD -i pppoe-wan -m comment --comment "!fw3" -j zone_wan_forward
-A FORWARD -i eth0 -m comment --comment "!fw3" -j zone_wan_forward
-A OUTPUT -o lo -m comment --comment "!fw3" -j ACCEPT
-A OUTPUT -m comment --comment "!fw3: Custom output rule chain" -j output_rule
-A OUTPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
-A OUTPUT -o br-lan -m comment --comment "!fw3" -j zone_lan_output
-A OUTPUT -o pppoe-wan -m comment --comment "!fw3" -j zone_wan_output
-A OUTPUT -o eth0 -m comment --comment "!fw3" -j zone_wan_output
-A reject -p tcp -m comment --comment "!fw3" -j REJECT --reject-with tcp-reset
-A reject -m comment --comment "!fw3" -j REJECT --reject-with icmp6-port-unreachable
-A syn_flood -m limit --limit 25/sec --limit-burst 50 -m comment --comment "!fw3" -j RETURN
-A syn_flood -m comment --comment "!fw3" -j DROP
-A zone_lan_dest_ACCEPT -o br-lan -m comment --comment "!fw3" -j ACCEPT
-A zone_lan_forward -m comment --comment "!fw3: Custom lan forwarding rule chain" -j forwarding_lan_rule
-A zone_lan_forward -m comment --comment "!fw3: Zone lan to wan forwarding policy" -j zone_wan_dest_ACCEPT
-A zone_lan_forward -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT
-A zone_lan_input -m comment --comment "!fw3: Custom lan input rule chain" -j input_lan_rule
-A zone_lan_input -m comment --comment "!fw3" -j zone_lan_src_ACCEPT
-A zone_lan_output -m comment --comment "!fw3: Custom lan output rule chain" -j output_lan_rule
-A zone_lan_output -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT
-A zone_lan_src_ACCEPT -i br-lan -m conntrack --ctstate NEW,UNTRACKED -m comment --comment "!fw3" -j ACCEPT
-A zone_wan_dest_ACCEPT -o pppoe-wan -m conntrack --ctstate INVALID -m comment --comment "!fw3: Prevent NAT leakage" -j DROP
-A zone_wan_dest_ACCEPT -o pppoe-wan -m comment --comment "!fw3" -j ACCEPT
-A zone_wan_dest_ACCEPT -o eth0 -m conntrack --ctstate INVALID -m comment --comment "!fw3: Prevent NAT leakage" -j DROP
-A zone_wan_dest_ACCEPT -o eth0 -m comment --comment "!fw3" -j ACCEPT
-A zone_wan_forward -j MINIUPNPD
-A zone_wan_forward -j MINIUPNPD
-A zone_wan_forward -m comment --comment "!fw3: Custom wan forwarding rule chain" -j forwarding_wan_rule
-A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 128 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT
-A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 129 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT
-A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 1 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT
-A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 2 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT
-A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 3 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT
-A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 4/0 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT
-A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 4/1 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT
-A zone_wan_forward -p esp -m comment --comment "!fw3: Allow-IPSec-ESP" -j zone_lan_dest_ACCEPT
-A zone_wan_forward -p udp -m udp --dport 500 -m comment --comment "!fw3: Allow-ISAKMP" -j zone_lan_dest_ACCEPT
-A zone_wan_forward -m comment --comment "!fw3" -j zone_wan_dest_ACCEPT
-A zone_wan_input -m comment --comment "!fw3: Custom wan input rule chain" -j input_wan_rule
-A zone_wan_input -p udp -m udp --dport 546 -m comment --comment "!fw3: Allow-DHCPv6" -j ACCEPT
-A zone_wan_input -s fe80::/10 -p ipv6-icmp -m icmp6 --icmpv6-type 130/0 -m comment --comment "!fw3: Allow-MLD" -j ACCEPT
-A zone_wan_input -s fe80::/10 -p ipv6-icmp -m icmp6 --icmpv6-type 131/0 -m comment --comment "!fw3: Allow-MLD" -j ACCEPT
-A zone_wan_input -s fe80::/10 -p ipv6-icmp -m icmp6 --icmpv6-type 132/0 -m comment --comment "!fw3: Allow-MLD" -j ACCEPT
-A zone_wan_input -s fe80::/10 -p ipv6-icmp -m icmp6 --icmpv6-type 143/0 -m comment --comment "!fw3: Allow-MLD" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 128 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 129 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 1 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 2 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 3 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 4/0 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 4/1 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 133 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 135 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 134 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 136 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p tcp -m multiport --dports 7892,7895,9090,7890,7891,7874 -m comment --comment "!fw3: clash" -j reject
-A zone_wan_input -p udp -m multiport --dports 7892,7895,9090,7890,7891,7874 -m comment --comment "!fw3: clash" -j reject
-A zone_wan_input -p tcp -m tcp --dport 6800 -m comment --comment "!fw3: aria2 api" -j reject
-A zone_wan_input -p tcp -m tcp --dport 22 -m comment --comment "!fw3: ssh" -j reject
-A zone_wan_input -p tcp -m tcp --dport 19999 -m comment --comment "!fw3: netdata" -j reject
-A zone_wan_input -m comment --comment "!fw3" -j zone_wan_src_ACCEPT
-A zone_wan_output -m comment --comment "!fw3: Custom wan output rule chain" -j output_wan_rule
-A zone_wan_output -m comment --comment "!fw3" -j zone_wan_dest_ACCEPT
-A zone_wan_src_ACCEPT -i pppoe-wan -m conntrack --ctstate NEW,UNTRACKED -m comment --comment "!fw3" -j ACCEPT
-A zone_wan_src_ACCEPT -i eth0 -m conntrack --ctstate NEW,UNTRACKED -m comment --comment "!fw3" -j ACCEPT
COMMIT
# Completed on Sat Apr 29 22:42:37 2023

#===================== IPSET状态 =====================#

Name: localnetwork
Name: china_ip_route
Name: china_ip_route_pass
Name: china_ip6_route
Name: china_ip6_route_pass
Name: localnetwork6

#===================== 路由表状态 =====================#

#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         118.120.184.1   0.0.0.0         UG    0      0        0 pppoe-wan
118.120.184.1   0.0.0.0         255.255.255.255 UH    0      0        0 pppoe-wan
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 br-lan
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.10.0    0.0.0.0         255.255.255.0   U     0      0        0 wg
192.168.20.0    0.0.0.0         255.255.255.0   U     0      0        0 tap_se
192.168.30.0    0.0.0.0         255.255.255.0   U     0      0        0 wg
192.168.30.2    0.0.0.0         255.255.255.255 UH    0      0        0 wg
192.168.30.3    0.0.0.0         255.255.255.255 UH    0      0        0 wg
192.168.30.4    0.0.0.0         255.255.255.255 UH    0      0        0 wg
192.168.30.5    0.0.0.0         255.255.255.255 UH    0      0        0 wg
192.168.30.6    0.0.0.0         255.255.255.255 UH    0      0        0 wg
192.168.130.0   0.0.0.0         255.255.255.0   U     0      0        0 wg
#ip route list
default via 118.120.184.1 dev pppoe-wan proto static
118.120.184.1 dev pppoe-wan proto kernel scope link src *WAN IP*.165
192.168.0.0/24 dev br-lan proto kernel scope link src 192.168.0.1
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.2
192.168.10.0/24 dev wg proto static scope link
192.168.20.0/24 dev tap_se proto kernel scope link src 192.168.20.1
192.168.30.0/24 dev wg proto kernel scope link src 192.168.30.1
192.168.30.2 dev wg proto static scope link
192.168.30.3 dev wg proto static scope link
192.168.30.4 dev wg proto static scope link
192.168.30.5 dev wg proto static scope link
192.168.30.6 dev wg proto static scope link
192.168.130.0/24 dev wg proto static scope link
#ip rule show
0:	from all lookup local
32765:	from all fwmark 0x162 lookup 354
32766:	from all lookup main
32767:	from all lookup default

#===================== 端口占用状态 =====================#

tcp        0      0 :::9090                 :::*                    LISTEN      29453/clash
tcp        0      0 :::7893                 :::*                    LISTEN      29453/clash
tcp        0      0 :::7892                 :::*                    LISTEN      29453/clash
tcp        0      0 :::7895                 :::*                    LISTEN      29453/clash
tcp        0      0 :::7891                 :::*                    LISTEN      29453/clash
tcp        0      0 :::7890                 :::*                    LISTEN      29453/clash
tcp        0      0 :::9830                 :::*                    LISTEN      29453/clash
udp        0      0 :::9830                 :::*                                29453/clash
udp        0      0 :::7874                 :::*                                29453/clash
udp        0      0 :::7891                 :::*                                29453/clash
udp        0      0 :::7892                 :::*                                29453/clash
udp        0      0 :::7893                 :::*                                29453/clash
udp        0      0 :::7895                 :::*                                29453/clash

#===================== 测试本机DNS查询(www.baidu.com) =====================#

Server:		127.0.0.1
Address:	127.0.0.1:53

www.baidu.com	canonical name = www.a.shifen.com
Name:	www.a.shifen.com
Address: 14.119.104.189
Name:	www.a.shifen.com
Address: 14.119.104.254

www.baidu.com	canonical name = www.a.shifen.com
www.a.shifen.com	canonical name = www.wshifen.com

#===================== 测试内核DNS查询(www.instagram.com) =====================#

Status: 0
TC: false
RD: true
RA: true
AD: false
CD: false

Question:
  Name: www.instagram.com.
  Qtype: 1
  Qclass: 1

Answer:
  TTL: 3112
  data: geo-p42.instagram.com.
  name: www.instagram.com.
  type: 5

  TTL: 2894
  data: z-p42-instagram.c10r.instagram.com.
  name: geo-p42.instagram.com.
  type: 5

  TTL: 60
  data: 157.240.31.174
  name: z-p42-instagram.c10r.instagram.com.
  type: 1

#===================== resolv.conf.d =====================#

# Interface WAN_DHCP
nameserver 192.168.1.1
# Interface wan
nameserver 218.6.200.139
nameserver 61.139.2.69
# Interface wan_6
nameserver 240e:56:4000::218
nameserver 240e:56:4000:8000::69

#===================== 测试本机网络连接(www.baidu.com) =====================#

HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Connection: keep-alive
Content-Length: 277
Content-Type: text/html
Date: Sat, 29 Apr 2023 14:42:38 GMT
Etag: "575e1f72-115"
Last-Modified: Mon, 13 Jun 2016 02:50:26 GMT
Pragma: no-cache
Server: bfe/1.0.8.18

#===================== 测试本机网络下载(raw.githubusercontent.com) =====================#

HTTP/2 200
cache-control: max-age=300
content-security-policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
content-type: text/plain; charset=utf-8
etag: "c4bb90ae438326968603faec1fb27380615fa6040485f63636e70d4cbfae644b"
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
x-frame-options: deny
x-xss-protection: 1; mode=block
x-github-request-id: 4C40:6733:1706B6:1A93DF:644C5758
accept-ranges: bytes
date: Sat, 29 Apr 2023 14:42:39 GMT
via: 1.1 varnish
x-served-by: cache-hnd18729-HND
x-cache: HIT
x-cache-hits: 1
x-timer: S1682779359.058976,VS0,VE162
vary: Authorization,Accept-Encoding,Origin
access-control-allow-origin: *
x-fastly-request-id: 3440908e23b42f3e7e0711ad8175d76447424f79
expires: Sat, 29 Apr 2023 14:47:39 GMT
source-age: 0
content-length: 83

#===================== 最近运行日志(自动切换为Debug模式) =====================#

time="2023-04-29T14:40:44.860707988Z" level=info msg="[TCP] 192.168.0.4:52802 --> 109.126.0.98:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:45.326600977Z" level=info msg="[TCP] 192.168.0.4:52803 --> 91.236.103.33:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:45.788284448Z" level=info msg="[TCP] 192.168.0.4:52804 --> 84.22.201.9:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:46.16006458Z" level=info msg="[TCP] 192.168.0.4:52805 --> 109.248.229.1:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:46.495192035Z" level=info msg="[TCP] 192.168.0.4:52807 --> 85.140.127.50:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:47.505479835Z" level=info msg="[TCP] 192.168.0.4:52809 --> 188.130.255.12:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:47.562256892Z" level=info msg="[TCP] 192.168.0.4:52810 --> 212.188.4.227:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:47.642772239Z" level=info msg="[TCP] 192.168.0.4:52811 --> 171.22.215.11:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:48.373019633Z" level=info msg="[TCP] 192.168.0.4:52812 --> 194.186.237.38:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:48.545028826Z" level=info msg="[TCP] 192.168.0.4:52813 --> mtalk.google.com:5228 match GeoSite(geolocation-!cn) using torpe[hygrt]"
time="2023-04-29T14:40:49.49956066Z" level=info msg="[TCP] 192.168.0.4:52818 --> 172.217.163.46:443 match Match using torpe[hygrt]"
time="2023-04-29T14:40:49.537841477Z" level=info msg="[TCP] 192.168.0.4:52819 --> 213.33.158.230:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:49.548209496Z" level=info msg="[TCP] 192.168.0.4:52820 --> 172.217.163.46:443 match Match using torpe[hygrt]"
time="2023-04-29T14:40:50.600853621Z" level=info msg="[TCP] 192.168.0.4:52825 --> 128.242.245.221:443 match Match using torpe[hygrt]"
time="2023-04-29T14:40:50.888511155Z" level=info msg="[TCP] 192.168.0.4:52827 --> speedtest.prepaid-host.com:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:51.005676532Z" level=info msg="[TCP] 192.168.0.4:52828 --> 128.242.245.221:443 match Match using torpe[hygrt]"
time="2023-04-29T14:40:51.435460141Z" level=info msg="[TCP] 192.168.0.4:52829 --> 85.88.170.2:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:51.613089966Z" level=warning msg="[TCP] dial DIRECT (match DstPort/7680) 192.168.0.4:52731 --> 14.8.66.193:7680 error: dial tcp 14.8.66.193:7680: i/o timeout"
time="2023-04-29T14:40:51.614294016Z" level=warning msg="[TCP] dial DIRECT (match DstPort/7680) 192.168.0.4:52730 --> 126.249.33.30:7680 error: dial tcp 126.249.33.30:7680: i/o timeout"
time="2023-04-29T14:40:51.615276682Z" level=warning msg="[TCP] dial DIRECT (match DstPort/7680) 192.168.0.4:52732 --> 42.145.211.131:7680 error: dial tcp 42.145.211.131:7680: i/o timeout"
time="2023-04-29T14:40:52.91851139Z" level=info msg="[TCP] 192.168.0.4:52833 --> 217.61.249.253:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:53.331431846Z" level=info msg="[TCP] 192.168.0.4:52835 --> 81.177.76.253:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:53.385131386Z" level=info msg="[TCP] 192.168.0.4:52836 --> 5.181.48.175:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:55.036027666Z" level=info msg="[TCP] 192.168.0.4:52837 --> 46.167.8.91:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:56.049476055Z" level=info msg="[TCP] 192.168.0.4:52838 --> 109.73.31.177:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:57.320596693Z" level=info msg="[TCP] 192.168.0.4:52841 --> speedtest.heuer-und-sack.de:8080 match GeoSite(geolocation-!cn) using torpe[hygrt]"
time="2023-04-29T14:40:57.852153948Z" level=info msg="[TCP] 192.168.0.4:52842 --> 193.176.120.6:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:40:58.599656187Z" level=info msg="[TCP] 192.168.0.4:52844 --> 128.242.245.221:443 match Match using torpe[hygrt]"
time="2023-04-29T14:40:59.002300424Z" level=info msg="[TCP] 192.168.0.4:52846 --> 128.242.245.221:443 match Match using torpe[hygrt]"
time="2023-04-29T14:40:59.328374583Z" level=info msg="[TCP] 192.168.0.4:52847 --> 212.59.38.78:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:01.538945496Z" level=info msg="[TCP] 192.168.0.4:52851 --> fr5.speedtest.gslnetworks.com.prod.hosts.ooklaserver.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:02.806613563Z" level=info msg="[TCP] 192.168.0.4:52853 --> 185.53.218.24:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:03.857843969Z" level=info msg="[TCP] 192.168.0.4:52856 --> 216.131.114.246:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:04.05921082Z" level=info msg="[TCP] 192.168.0.4:52857 --> bordeaux.lafibre.info:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:05.330779673Z" level=info msg="[TCP] 192.168.0.4:52860 --> 185.7.64.38:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:05.417582975Z" level=info msg="[TCP] 192.168.0.5:43644 --> gr.torpe.ga:80 match DomainSuffix(torpe.ga) using DIRECT"
time="2023-04-29T14:41:05.547984375Z" level=info msg="[TCP] 192.168.0.4:52861 --> speedtest.shpv.network.prod.hosts.ooklaserver.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:06.079138073Z" level=info msg="[TCP] 192.168.0.4:52867 --> bbr-ipv4.testdebit.info:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:06.119716127Z" level=info msg="[TCP] 192.168.0.4:52868 --> 5.51.3.10:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:06.311705486Z" level=info msg="[TCP] 192.168.0.4:52870 --> massy.testdebit.info:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:06.59912075Z" level=info msg="[TCP] 192.168.0.4:52871 --> 128.242.245.221:443 match Match using torpe[hygrt]"
time="2023-04-29T14:41:07.127180882Z" level=info msg="[TCP] 192.168.0.4:52873 --> 128.242.245.221:443 match Match using torpe[hygrt]"
time="2023-04-29T14:41:07.676814141Z" level=info msg="[TCP] 192.168.0.4:52875 --> testdevelocidad.imatel.es.prod.hosts.ooklaserver.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:07.73760057Z" level=info msg="[TCP] 192.168.0.4:52876 --> 5.51.3.9:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:08.585057324Z" level=info msg="[TCP] 192.168.0.4:52878 --> github.com:443 match GeoSite(geolocation-!cn) using torpe[hygrt]"
time="2023-04-29T14:41:09.074362068Z" level=info msg="[TCP] 192.168.0.4:52882 --> cubic.testdebit.info:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:09.125677393Z" level=info msg="[TCP] 192.168.0.4:52883 --> content-autofill.googleapis.com:443 match GeoSite(geolocation-!cn) using torpe[hygrt]"
time="2023-04-29T14:41:09.175312357Z" level=info msg="[TCP] 192.168.0.4:52885 --> content-autofill.googleapis.com:443 match GeoSite(geolocation-!cn) using torpe[hygrt]"
time="2023-04-29T14:41:11.210900617Z" level=info msg="[TCP] 192.168.0.4:52889 --> 93.191.205.29:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:11.597099521Z" level=info msg="[TCP] 192.168.0.4:52890 --> speedtest.clientxcms.com:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:11.823634392Z" level=info msg="[TCP] 192.168.0.4:52891 --> speedtest.jtglobal.com.prod.hosts.ooklaserver.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:15.001984097Z" level=info msg="[TCP] 192.168.0.4:52895 --> 128.242.245.221:443 match Match using torpe[hygrt]"
time="2023-04-29T14:41:15.669777957Z" level=info msg="[TCP] 192.168.0.4:52896 --> ashburn02.speedtest.windstream.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:16.361166271Z" level=info msg="[TCP] 192.168.0.4:52897 --> 93.20.126.204:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:17.271842636Z" level=info msg="[TCP] 192.168.0.4:52899 --> 216.151.191.249:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:17.894215961Z" level=info msg="[TCP] 192.168.0.4:52900 --> ue1a.ookla-speedtests.e2ro.com.prod.hosts.ooklaserver.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:18.252470209Z" level=info msg="[TCP] 192.168.0.4:52902 --> speedash.phoenixnap.com.prod.hosts.ooklaserver.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:18.569734567Z" level=info msg="[TCP] 192.168.0.4:52903 --> ashburn.speedtest.shentel.net.prod.hosts.ooklaserver.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:18.620719986Z" level=info msg="[TCP] 192.168.0.4:52904 --> speedtest.iad01.wdc.pilotfiber.com.prod.hosts.ooklaserver.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:19.094808842Z" level=info msg="[TCP] 192.168.0.4:52905 --> vaspeedtest.rackdog.com.prod.hosts.ooklaserver.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:19.999078396Z" level=info msg="[TCP] 192.168.0.4:52906 --> speedtest.oceansls.com.prod.hosts.ooklaserver.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:20.696576096Z" level=info msg="[TCP] 192.168.0.4:52907 --> 199.168.117.38:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:24.050053229Z" level=info msg="[TCP] 192.168.0.4:52914 --> 64.79.50.98:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:24.069189674Z" level=info msg="[TCP] 192.168.0.4:52915 --> 184.182.243.209:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:24.222612877Z" level=info msg="[TCP] 192.168.0.4:52916 --> speedtest-server-ash.starry.com.prod.hosts.ooklaserver.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:25.318339173Z" level=info msg="[TCP] 192.168.0.4:52921 --> 44.203.129.250:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:25.667341865Z" level=info msg="[TCP] 192.168.0.4:52923 --> 205.215.240.70:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:26.023448971Z" level=info msg="[TCP] 192.168.0.4:52924 --> 210.200.140.178:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:26.120619627Z" level=info msg="[TCP] 192.168.0.4:52925 --> 210.201.72.16:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:26.45885937Z" level=info msg="[TCP] 192.168.0.4:52926 --> 111.71.228.33:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:26.794400211Z" level=info msg="[TCP] 192.168.0.4:52927 --> 115.43.115.15:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:26.998481253Z" level=info msg="[TCP] 192.168.0.4:52928 --> sptty1.taiwanmobile.com.prod.hosts.ooklaserver.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:27.024919868Z" level=info msg="[TCP] 192.168.0.4:52929 --> 123.195.237.110:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:27.147151538Z" level=info msg="[TCP] 192.168.0.4:52930 --> 123.195.236.110:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:27.219947785Z" level=info msg="[TCP] 192.168.0.4:52931 --> 103.31.196.221:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:27.964725809Z" level=info msg="[TCP] 192.168.0.4:52934 --> 202.75.250.35:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:28.252901832Z" level=info msg="[TCP] 192.168.0.4:52935 --> speedtest.twds.com.tw.prod.hosts.ooklaserver.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:31.627002334Z" level=warning msg="[TCP] dial DIRECT (match DstPort/7680) 192.168.0.4:52862 --> 203.139.197.217:7680 error: dial tcp 203.139.197.217:7680: i/o timeout"
time="2023-04-29T14:41:31.627156049Z" level=warning msg="[TCP] dial DIRECT (match DstPort/7680) 192.168.0.4:52863 --> 60.115.223.238:7680 error: dial tcp 60.115.223.238:7680: i/o timeout"
time="2023-04-29T14:41:31.629398473Z" level=warning msg="[TCP] dial DIRECT (match DstPort/7680) 192.168.0.4:52864 --> 150.249.251.248:7680 error: dial tcp 150.249.251.248:7680: i/o timeout"
time="2023-04-29T14:41:36.866798353Z" level=info msg="[TCP] 192.168.0.4:52946 --> 27.67.51.171:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:37.555496277Z" level=info msg="[TCP] 192.168.0.4:52948 --> 118.70.115.12:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:37.680365551Z" level=info msg="[TCP] 192.168.0.4:52950 --> 20.44.229.112:443 match Match using torpe[hygrt]"
time="2023-04-29T14:41:37.948539924Z" level=info msg="[TCP] 192.168.0.4:52951 --> speedtest2.vtn.com.vn.prod.hosts.ooklaserver.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:38.296520415Z" level=info msg="[TCP] 192.168.0.4:52953 --> speedtest.bkns.vn:8080 match GeoSite(geolocation-!cn) using torpe[hygrt]"
time="2023-04-29T14:41:38.485711479Z" level=info msg="[TCP] 192.168.0.4:52954 --> 27.68.226.129:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:39.410653981Z" level=info msg="[TCP] 192.168.0.4:52956 --> vhn.vietpn.com.prod.hosts.ooklaserver.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:39.474421875Z" level=info msg="[TCP] 192.168.0.4:52957 --> 103.233.49.18:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:40.386829758Z" level=info msg="[TCP] 192.168.0.4:52958 --> coverage1.mobicom.mn.prod.hosts.ooklaserver.net:8080 match Match using torpe[hygrt]"
time="2023-04-29T14:41:50.787379196Z" level=warning msg="[TCP] dial DIRECT (match DstPort/7680) 192.168.0.4:52962 --> 35.75.231.111:7680 error: dial tcp 35.75.231.111:7680: i/o timeout"
time="2023-04-29T14:42:11.791702666Z" level=warning msg="[TCP] dial DIRECT (match DstPort/7680) 192.168.0.4:52960 --> 116.222.204.246:7680 error: dial tcp 116.222.204.246:7680: i/o timeout"
time="2023-04-29T14:42:11.791820796Z" level=warning msg="[TCP] dial DIRECT (match DstPort/7680) 192.168.0.4:52961 --> 106.146.80.192:7680 error: dial tcp 106.146.80.192:7680: i/o timeout"
time="2023-04-29T14:42:19.184027844Z" level=info msg="[TCP] 192.168.0.4:52963 --> 184.26.243.69:443 match Match using torpe[hygrt]"
time="2023-04-29T14:42:30.973127794Z" level=warning msg="[TCP] dial DIRECT (match DstPort/7680) 192.168.0.4:52967 --> 125.103.20.241:7680 error: dial tcp 125.103.20.241:7680: i/o timeout"
time="2023-04-29T14:42:38.776388587Z" level=info msg="[TCP] [240e:398:29ae:6ea2::1]:53840(curl) --> raw.githubusercontent.com:443 match GeoSite(geolocation-!cn) using torpe[hygrt]"
time="2023-04-29T14:42:39.298014961Z" level=info msg="[TCP] 192.168.0.4:52971 --> cloudflareinsights.com:443 match GeoSite(geolocation-!cn) using torpe[hygrt]"
time="2023-04-29T14:42:46.974935258Z" level=debug msg="[Rule] use default rules"
time="2023-04-29T14:42:46.975038804Z" level=debug msg="[Rule] use default rules"
time="2023-04-29T14:42:46.975611367Z" level=debug msg="[Process] find process 180.6.152.106: process not found"
time="2023-04-29T14:42:46.975883794Z" level=debug msg="[Process] find process 210.138.194.167: process not found"

#===================== 最近运行日志获取完成(自动切换为silent模式) =====================#

#===================== 活动连接信息 =====================#

1. SourceIP:【192.168.0.4】 - Host:【mtalk.google.com】 - DestinationIP:【74.125.203.188】 - Network:【tcp】 - RulePayload:【geolocation-!cn】 - Lastchain:【hygrt】
2. SourceIP:【192.168.0.4】 - Host:【content-autofill.googleapis.com】 - DestinationIP:【172.217.175.234】 - Network:【tcp】 - RulePayload:【geolocation-!cn】 - Lastchain:【hygrt】
3. SourceIP:【192.168.0.4】 - Host:【blog.maplesugar.top】 - DestinationIP:【172.67.130.245】 - Network:【tcp】 - RulePayload:【】 - Lastchain:【hygrt】
4. SourceIP:【192.168.0.4】 - Host:【github.com】 - DestinationIP:【20.27.177.113】 - Network:【tcp】 - RulePayload:【geolocation-!cn】 - Lastchain:【hygrt】
5. SourceIP:【192.168.0.4】 - Host:【Empty】 - DestinationIP:【20.44.229.112】 - Network:【tcp】 - RulePayload:【】 - Lastchain:【hygrt】
6. SourceIP:【192.168.0.4】 - Host:【ip.skk.moe】 - DestinationIP:【104.20.135.21】 - Network:【tcp】 - RulePayload:【】 - Lastchain:【hygrt】
7. SourceIP:【192.168.0.4】 - Host:【Empty】 - DestinationIP:【172.217.163.46】 - Network:【tcp】 - RulePayload:【】 - Lastchain:【hygrt】
8. SourceIP:【192.168.0.4】 - Host:【cloudflareinsights.com】 - DestinationIP:【104.16.56.101】 - Network:【tcp】 - RulePayload:【geolocation-!cn】 - Lastchain:【hygrt】
9. SourceIP:【192.168.0.4】 - Host:【github.com】 - DestinationIP:【20.27.177.113】 - Network:【tcp】 - RulePayload:【geolocation-!cn】 - Lastchain:【hygrt】
10. SourceIP:【192.168.0.4】 - Host:【Empty】 - DestinationIP:【184.26.243.69】 - Network:【tcp】 - RulePayload:【】 - Lastchain:【hygrt】

OpenClash Config
No response
Expected Behavior
ipv6 tproxy模式正确分流非cn流量
Screenshots
redirect模式

tproxy模式

依赖

奇怪了，iptables-mod-tproxy这个是新版本增加的依赖吗，升级之前都没问题的

authors: escapezn vernesong


text:
覆写设置的DNS设置中，default-nameserver未覆盖订阅中的配置，仅做了添加

Verify Steps

[X] Tracker 我已经在 Issue Tracker 中找过我要提出的问题
[X] Latest 我已经使用最新 Dev 版本测试过，问题依旧存在
[X] Core 这是 OpenClash 存在的问题，并非我所使用的 Clash 或 Meta 等内核的特定问题
[X] Meaningful 我提交的不是无意义的 催促更新或修复 请求

OpenClash Version
v0.45.132-beta
Bug on Environment
Lean
Bug on Platform
Linux-amd64(x86-64)
To Reproduce
覆写设置的DNS设置中，default-nameserver未覆盖订阅中的配置，仅做了添加。
比如订阅文件中的default-nameserver设置为：
default-nameserver:

223.5.5.5
1.1.1.1

在luci中添加一条127.0.0.1:5454
配置文件变成了
default-nameserver:

223.5.5.5
1.1.1.1
127.0.0.1:5454

Describe the Bug
见重现
OpenClash Log
无
OpenClash Config
No response
Expected Behavior
覆写设置的DNS设置中，default-nameserver未覆盖订阅中的配置，仅做了添加。
比如订阅文件中的default-nameserver设置为：
default-nameserver:

223.5.5.5
1.1.1.1

在luci中添加一条127.0.0.1:5454
配置文件应该为：
default-nameserver:

127.0.0.1:5454

Screenshots
No response

暂时是这样，因为一般机场配置也不会写这个

遇到了相同的问题。请问有解决办法吗？每次都要手动更改比较麻烦

source: gharchive/issue

authors: qrekkwijjtx54 vernesong yyysuo

repo: vernesong/OpenClash

license: MIT

license_type: permissive

license_source: github-api


text:
Enable cross-compiling

This changes allows cross compiling. It lets me cross-compile the library for an ARM device.
Also added a config option to set the MATREX_BLAS makefile variable. Use it by config :matrex, blas: "noatlas", which if unset defaults to using the system variable $MATREX_BLAS as before.

Pull Request Test Coverage Report for Build 321

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 77.88%

Totals

Change from base Build 318:
0.0%

Covered Lines:
507

Relevant Lines:
651

💛  - Coveralls

Thanks!

source: gharchive/pull-request

authors: coveralls elcritch versilov

repo: versilov/matrex


text:
Filter Repositories on basis of repository's description

What to do:

Filter the repositories returned from GitHub on  the basis of stars of repo, forks and the length of the description. You are free to implement your own algorithms to get this done.
Research the GitHub API properly to understand how this can be done.

Give a description of  how you would like to implement this and I will assign it to you. PR without proper descriptions will not be accepted.

Hello! Newbie here.
Do we have to sort the repositories page-wise or sort all the repos at once and then return 10 repos per page?


text:
[DRDS] Adding Aliyun DRDS(PolarDB-X 1.0) CDC Support

We are now trying using flink cdc in our business, which are backed with DRDS.
We did some survey recently and willing to contributing cdc support for drds.
But there are little information in previous issues.
As far as I know, drds is a middle-ware layer top on aliyun rds instances, and there is no general binlog collection layer on top of rds.(Added after PolarDB 2.0).
Inspire by DTS(which works for drds by using distribute binlog collector), should we just using mysql-cdc for individual RDS instance which behind DRDS and then collect them together?

DTS is using separate subscribe binlog collector for drds, and then collection them together by using "DistributeDTSConsumer".
Are there any other blockers for implement this feature?

 分布式订阅使用说明 #8

repo: ververica/flink-cdc-connectors


text:
Support lookup indexScan using IN expression as filter

Fix constant fold for container expressions
Convert IN expression to OR expression in LOOKUP if the property in theIN expression has a valid index:

Stand alone IN expr: A in [B, C, D]  =>  (A == B) or (A == C) or (A == D)
With AND expr : A in [a, b] AND B  =>  (A==a AND B) OR (A==b AND B)
With OR expr: A in [a, b] OR B  =>   A==a OR A==b OR B

If the container has only one element, the IN expression will be transformed to a relEQ expression. e.g.  A in [B]  =>  A==B

This PR will be moved to vesoft-nebula repo.

This PR has been transferred to https://github.com/vesoft-inc/nebula/pull/2906

repo: vesoft-inc/nebula-graph


text:
fix: session is not released

update nebula-http-gateway

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zengxiang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks @soul-gin for the contribution!
Could you plz sign the cla?

authors: CLAassistant soul-gin wey-gu

repo: vesoft-inc/nebula-studio


text:
Correct allocated memory accounting for vespalib::string.

@arnej27959 : please review

You might want to add a unit test.

The unit test was compiling with clang.

authors: baldersheim toregge

repo: vespa-engine/vespa


text:
Tweak command documentation and argument validation

@bratseth

I didn't even recognize the title. Coldplay?! 😞

Abject failure 😞

haha! when working on https://docs.vespa.ai/en/text-matching-ranking.html I needed some titles for all the use cases described there. I am quite sure songs can be replaced with objectively high-quality ones, feel free (but don't break the documentation) 😎 😎

authors: bratseth kkraune mpolden


text:
Add getSystemTime interface.

@vekterli PR

Part one 1 of revert of #25893


text:
Doesn't Support Authenticated Commands

Our Redis instances require authentication in order to issue commands. It doesn't appear that this PhpRedis implementation supports that.

I'm investigating this right now. This may not be an issue, but on the surface it didn't seem as though it was supporting the auth call.

This has been fixed in the submitted PR #12

@vetruvet Can you create a new release Tag for the latest master that includes this PR #12 ? Thanks!

Good call, thanks for the PR!

authors: timnolte vetruvet

repo: vetruvet/laravel-phpredis

license_source: bigquery


text:
Support change those basis css vars via js config when install

Description
Just like:
import { install } from 'vexip-ui'

createApp(App).use(install, {
  style: {
    // ...
  }
})

import { overrideStyle } from 'vexip-ui'

overrideStyle({
  // ...
})

Validations

[X] Ensure this issue neither a bug report nor a feature proposal.
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that descript the same thing to avoid creating a duplicate.

This issue relates #200.

repo: vexip-ui/vexip-ui


text:
How I can can hook functions?

Hello ,
Here 's my code 👍
const Modulebase = Module.load("libil2cpp.so").base
const CSharp = Il2Cpp.Domain.assembly("Assembly-CSharp").image;
const targetClass = CSharp.class("gameManager")
const story = "Hello"
//console.log(ptr(story))
var targetMethod = targetClass.method("addMoney")
var diff1 = (ptr(CSharp)-Modulebase)
var diff2 = (ptr(targetClass)-ptr(CSharp))

I am trying to hook the targetmetod variable ,but i can't . In the dump.cs file dumped by the ill2cppdumper ,this method has an offset of ( 0x6DD060) .
My debugging output is as follows :
Difference between libil2cpp and Assembly-CSharp  : 22624712
Difference between Assembly-CSharp and TargetClass:  466822088
libil2cpp Base: 0x7c57990000
ptr(Assembly-Csharp) : 0x7c563fc638
targetMethod : System.Void addMoney(System.Int32 amount, System.Boolean counting); // 0x00ae7358
ptr(targetMethod):  0x7c6c31fe00
Instuction of the targetclass : ldr x24, #0x7c6c3aec68
I can't use the intercept function,it tells me access violation and file bug ,or can't intercept the function .
Tried heap scanning using the code in the snippets but i get a syntax error saying "SyntaxError: expecting ',' "

Uhm, I see a lot of confusion here. All you need to do is:
Il2Cpp.perform(() => {
    const AssemblyCSharp = Il2Cpp.Domain.assembly("Assembly-CSharp").image;
    const gameManager = AssemblyCSharp.class("gameManager");

   gameManager.method("addMoney").implementation = function (amount: number, counting: boolean) {
       // do whatever you want
       this.method("addMoney").invoke<void>(amount + 1000, counting);
   }
});

Failed to load script: script(line 5): SyntaxError: expecting ','
I am running the _.js file ,not the typescript file . I am guessing the code you wrote has typescript syntax in it and not Javascript . This is why it's not working

Uhm, I see a lot of confusion here. All you need to do is:
Il2Cpp.perform(() => {
    const AssemblyCSharp = Il2Cpp.Domain.assembly("Assembly-CSharp").image;
    const gameManager = AssemblyCSharp.class("gameManager");

   gameManager.method("addMoney").implementation = function (amount: number, counting: boolean) {
       // do whatever you want
       this.method("addMoney").invoke<void>(amount + 1000, counting);
   }
});

authors: Abdelrahmanamhawy vfsfitvnm


text:
Limit ticket and document title length

Title lengths are not limited in the front or backend (lengths should match).  Should the returned length also be limited for the ticket list to allow for longer titles?

Set a limit to 128 for doc and ticket titles, enforced in backend with input max length on frontend.  No DB enforcement at the moment.

repo: vgwidt/sumi


text:
Crack down on copyright infringement PDFs

Related to #1683
I feel we need to crack down on these types of documents, which are mainly PDFs
https://github.com/vhf/free-programming-books/blob/42908b8c92135a765e7bbc9a70979d707f91a8f0/free-programming-books.md#competitive-programming
Copyright included:

Therefore, no part of this book may be reproduced or transmitted in any form or by any means,
electronically or mechanically, including photocopying, scanning, uploading to any information
storage and retrieval system.

I forgot to post my findings over the weekend! I am no expert in licensing, so the list may include harmless items.
Here they are, English only, before programming languages

No copyright/license mentioned

http://www.jjj.de/fxt/fxtbook.pdf
http://igm.univ-mlv.fr/~mac/REC/text-algorithms.pdf
http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf
http://lampwww.epfl.ch/~schinz/thesis-final-A4.pdf
http://www.stack.nl/~marcov/compiler.pdf
http://arxiv.org/pdf/1206.1754v2.pdf
http://www.csee.umbc.edu/csee/research/cadip/readings/IR.report.120600.book.pdf
https://www.ics.uci.edu/~welling/teaching/ICS273Afall11/IntroMLBook.pdf
http://home.iitk.ac.in/~arlal/book/nptel/pdf/book_linear.pdf
http://www.ii.uib.no/~michal/und/i227/book/book.pdf
http://www.math.cornell.edu/~bterrell/dn.pdf
http://softwarebyrob.wpengine.netdna-cdn.com/assets/Software_by_Rob _How_to_Become_a _Programmer_1.0.pdf
http://homepages.inf.ed.ac.uk/dts/pm/Papers/nasa-manage.pdf
http://www.tac.mta.ca/tac/reprints/articles/22/tr22.pdf

Simply "copyright"

http://algorithmics.lsi.upc.edu/docs/Dasgupta-Papadimitriou-Vazirani.pdf
http://www.ethoberon.ethz.ch/WirthPubl/AD.pdf
http://www.cs.cmu.edu/~rwh/theses/okasaki.pdf
http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf
https://www.math.byu.edu/klkuttle/linearalgebra.pdf
http://hintjens.wdfiles.com/local--files/main%3Afiles/cc1pe.pdf
http://www.di.unipi.it/~ricci/501302.pdf
http://artofcommunityonline.org/Art_of_Community_Second_Edition.pdf
http://www.st.ewi.tudelft.nl/~arie/phds/Hemel.pdf
http://downloads.nakedobjects.net/resources/Pawson thesis.pdf
http://homepages.inf.ed.ac.uk/dts/pm/Papers/nasa-manage.pdf
http://carlos.bueno.org/optimization/mature-optimization.pdf

Possibly breached copyright

http://larc.unt.edu/ian/books/free/lnoa.pdf
http://larc.unt.edu/ian/books/free/poa.pdf
http://www.comp.nus.edu.sg/~stevenha/myteaching/competitive_programming/cp1.pdf
http://wps.aw.com/wps/media/objects/5771/5909832/PDF/Luger_0136070477_1.pdf
http://alex.smola.org/drafts/thebook.pdf
http://ai.stanford.edu/~nilsson/QAI/qai.pdf
http://spivey.oriel.ox.ac.uk/~mike/zrm/zrm.pdf
http://www.nobius.org/~dbg/practical-file-system-design.pdf
http://www.dreamsongs.com/Files/PatternsOfSoftware.pdf

Replacements

http://www1.maths.leeds.ac.uk/~charles/statlog/whole.pdf > http://www1.maths.leeds.ac.uk/~charles/statlog/
http://tutorial.math.lamar.edu/pdf/DE/DE_Complete.pdf > http://tutorial.math.lamar.edu/Classes/DE/DE.aspx
Maybe removed for a reason?

http://static.fsf.org/nosvn/faif-2.0.pdf > https://web.archive.org/web/20151122031019/http://static.fsf.org/nosvn/faif-2.0.pdf
https://www.sics.se/~joe/thesis/armstrong_thesis_2003.pdf > https://web.archive.org/web/20150706063330/https://www.sics.se/~joe/thesis/armstrong_thesis_2003.pdf

Unfinished/drafted works

http://ciml.info/dl/v0_9/ciml-v0_9-all.pdf
http://www.cse.buffalo.edu/~rapaport/Papers/phics.pdf
http://www.cs.cmu.edu/~rwh/plbook/book.pdf

Many thanks! It will take me quite some time to handle all of these.
I took a random link from "possibly" : http://www.nobius.org/~dbg/practical-file-system-design.pdf and it took some digging to find this : "it's now out of print, if you click on the second link you can download a copy" on the book's author webpage... Checking all these will be a long process I guess. :)

Yep, this will definitely take a while. What are your thoughts on documents that just sy "Copyright" or © ? I did not do a text search for any terms -- just checked the first few and last few pages.

I'll look through these (slowly) but just looking at the urls...
anything from arxiv.org is cool.
I've previously verified the Open license for the fsf book- "Free as in Freedom".

@eshellman I will cross-out the ones you mentioned are good when I have the chance. :-)

I keep trying to find an automated solution, this is what I found after a
bit of searching. It's not the complete answer I don't think it'll straight
up tell us if a book is free or not but I think it is a start.
https://openlibrary.org/developers/api
On Jan 4, 2016 4:20 PM, "Hunter Stevens" notifications@github.com wrote:

@eshellman https://github.com/eshellman I will cross-out the ones you
mentioned are good when I have the chance. :-)
—
Reply to this email directly or view it on GitHub
https://github.com/vhf/free-programming-books/issues/1769#issuecomment-168851715
.

http://www.dreamsongs.com/Files/PatternsOfSoftware.pdf is CC BY-NC-SA per the author's website.

http://spivey.oriel.ox.ac.uk/~mike/zrm/zrm.pdf Copyright © J. M. Spivey, 1988, 1992, 2001.
http://spivey.oriel.ox.ac.uk/~mike/zrm/
The Z Reference Manual has now been allowed to go out of print by the publisher, Prentice Hall, but they have kindly returned the copyright to me, so I can make the full text available here.

That's interesting, you have the copyright now? What will it be, CC?

http://ai.stanford.edu/~nilsson/QAI/qai.pdf
from http://ai.stanford.edu/~nilsson/ (author's webpage)
"A free online web version of this book is available at: http://ai.stanford.edu/~nilsson/QAI/qai.pdf. Its pagination is different than that of the print version, but the web version has the advantage that its web links are clickable."

http://larc.unt.edu/ian/books/free/lnoa.pdf
http://larc.unt.edu/ian/books/free/poa.pdf
These are hosted on author's website: http://larc.unt.edu/ian/books/
The license agreement in the files says
"If you wish to provide access to this work in either print or electronic form, you may do so by providing a link to, and/or listing the URL for the online version of this license agreement: http://hercule.csci.unt.edu/ian/books/free/license.html . You may not link to the PDF file."
Of course, the specified url does not exist, but the license can be found at https://larc.unt.edu/ian/books/free/license.html
This sort of license can't be enforced - if so, Google would be infringing. However, for the purposes of FPB, I suggest the url be changed to the (corrected) license url, perhaps with a note to use the drop down menu. Meanwhile, I will reach out to the author and the library at his university, suggesting that other strategies may be more effective.

@eshellman some questions

What link should we then submit for the zrm files?
What about the LNOA/POA books?

@onebree for zrm the link we have is fine. (the quote is from the author)
Will submit a PR to change LNO/POA links.

* [Free as in Freedom](https://archive.org/details/faif-2.0) (PDF) I suggest we keep this one.
@onebree I took the liberty to edit your awesome list to cross a few items!

I think it would be useful to have the urls to check in a PR so that we can comment on them line by line.

@eshellman what do you mean by that? In new PRs, or a PR in respect to this post?

Good idea @eshellman.
@onebree A PR removing all these links such that we can comment directly on the commit whenever we find a link we should keep.
I'll do this PR as soon as I get home.

or, easier, a PR (which never needs to be accepted) with a file check_copyright containing the urls to check

Good idea, even better. Let's talk over there. #1799

If anyone speaks a foreign language and wants to check a file for copyright infringement, please do!

Side note: In some file C, C Sharp and C++ are in the wrong "order"; travis won´t like it

I think we're clean. Thanks everyone. File a new issue id there are new concerns.

authors: borgified eshellman onebree switchhax vhf

repo: vhf/free-programming-books


text:
added "How to Design Programs, Second Edition"

from: http://htdp.org/

Since it's a book, could you please add it in the free-programming-books.md instead?
Thanks a lot.

sorry I added there by mistake, and it is already cited in the right file! :-)

authors: seralf vhf


text:
DOCS-1398,DOCS-1399: Update README

Update README to be inline with established MR readme structure, as seen in the Agilex LIMO readme.

Merged all content from Docs reference page to this readme.
Will delete Docs reference page in separate PR ... to separate repo.

Happy to make any changes!

Hi @martha-johnston , Docs is sweeping through module readmes and updating with a standardizes set of headings and other info. We will then remove our version of this on docs.viam.com with this same info.
Let me know if you'd like to see any changes, if I've missed anything in my conversion here, or if you'd rather I ping a different engineer. Thanks so much!

@martha-johnston thanks for the great feedback! Appreciated!

@andf-viam this looks good but I think we're missing the serial example. I think in this case we can skip the template because it's so similar to the example but adding the serial one might be good?

Thanks for helpful reviews, all!

authors: andf-viam npentrel

repo: viamrobotics/odrive


text:
DOCS-2031: Add arm, base, board example snippets

Not sure of syntax on many of these Viam-specific types--apologies if this is super wrong.

repo: viamrobotics/viam-flutter-sdk


text:
启用OTG失败

机型：nova9
错误提示：ERROR: OTG mode: could not turn screen off

和 控制时关闭屏幕 冲突了 你先手动关一下 我下个版本处理一下

v1.17.8 已解决该问题

repo: viarotel-org/escrcpy


text:
chore(main): release 1.2.2

:robot: I have created a release beep boop
1.2.2 (2023-09-01)
Bug Fixes

🔧 修复渐变动画不工作的问题 (903c8bb)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/viarotel/viarotel.github.io/releases/tag/v1.2.2 :sunflower:


text:
Make ujson opt-in instead of required

I raised the same concern for apistar (https://github.com/encode/apistar/issues/126). But I'm not a fan forcing ujson upon the user for the sake of pushing a few more requests in a benchmark. And as mentioned in #31, ujson seems to have gone stale in terms of development with open issues like https://github.com/esnme/ultrajson/issues/252 and https://github.com/esnme/ultrajson/issues/258 (seg fault!!).
I kind of feel the same way about uvloop. What if I wanted to use another event loop?

Ujson will probably be replaced by Rapidjson but speed-ups libraries will be opt-out (pip install vibora[pure], currently pending release) instead of opt-in. I understand your concerns but I'm not sure if I like the idea of a performance-focused framework with non-optimal performance defaults.

@lithammer Do you know what uvloop is? It's actively developed by the MagicStack team:
https://github.com/MagicStack/uvloop
They use it, among other things, as a component in their new database, EdgeDB. Given that the last commit was pushed 20 hours ago with an issue fix + tests, I don't see how it could be considered stale.
It's also much better than asyncio's built-in event loop, so it's only reasonable to require it in Vibora.

authors: frnkvieira lithammer rubik

repo: vibora-io/vibora


text:
🛑 SC is down

In 4397d26, SC (https://shop.line.me/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SC is back up in 2036564.

repo: vichaos/upptime


text:
Add Layoutit CSS Grid Generator

Add Layoutit CSS Grid Generator https://grid.layoutit.com/ to HTML_CSS Tools

Thank you @marianabeldi 👍 ❤

license: mit


text:
Allow for manually specifying the files that the clean task will delete

Here is one approach to fixing Issue #303. I just added the ability to override the glob pattern that del matches against in the clean task. I had to also switch from fs to node-fs-extra for copying the production files from their temporary build location, since fs.renameSync requires the destination folder to not already exist.
I'm sure there are any number of other ways of handling this that would give similar results....

Thanks! I'll merge when I get a chance take a closer look sometime this week.

authors: elivz greypants

repo: vigetlabs/blendid


text:
Nh revisit start and tree

@solomonhawk and @mzlock found some fun issues in transaction history that would cause store handlers to execute more times than expected. We've addressed that in the latest beta release (9.14.1-beta), however I wanted to rethink this a bit.
There are a couple of changes:

Do not re-evaluate state when a store is added. In future releases, I may consider throwing an error if a store is added after a Microcosm starts.
:start() pushes the willStart lifecycle action instead of resetting. This sounds pretty obvious, I'm not sure why it wasn't this way before.
Removed some null optimization checks that aren't necessary.

:+1:

authors: ltk nhunzaker

repo: vigetlabs/microcosm


text:
Random access throughut test should generate randomness up front

You probably want to allocate and fill a vector of random numbers first, and only then start the timed loop where you do the random accesses:
https://github.com/vigna/sux-rs/blob/95b8018c1eeeff138e33b632deb90b04e0f267b7/examples/bench_compact_array.rs#L63

You're 100% right. I was using that test mostly for the iterator, so I didn't do the rest properly...

authors: RagnarGrootKoerkamp vigna

repo: vigna/sux-rs


text:
Update eff to 5.11.0

Updates org.atnos:eff from 5.10.0 to 5.11.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.atnos", artifactId = "eff" } ]

labels: library-update, semver-minor

Codecov Report

Merging #118 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #118   +/-   ##
=======================================
  Coverage   71.59%   71.59%
=======================================
  Files          12       12
  Lines         426      426
  Branches       19       19
=======================================
  Hits          305      305
  Misses        121      121

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d7f7fcf...ddcca22. Read the comment docs.

authors: codecov-commenter scala-steward

repo: vigoo/clipp


text:
Batches should be.... streams....and tested

It occurs to me now after converts to mocha testing that batches don't have test cases and should probably be a stream pattern.

Sounds good to me :)

Track here: https://github.com/ipfs/js-ipfs-merkle-dag/pull/25

authors: diasdavid vijayee

repo: vijayee/js-ipfs-merkle-dag

license: ISC


text:
Provide an export PageContextProvider

Some users may have needs that dictate they use something other than the provided onRenderClient/onRenderHtml in this package; so an export of PageContextProvider would be nice so that it can be set up to use the useData/usePageContext hooks

Why do you want to use your on onRender{Client,Html}?
So far I'm thinking it should be all-or-nothing.

@brillout thanks for a quick response. I will take a closer look at the provided onRender classes, they may suit my needs. I am doing some custom stuff in my onRenderHtml, but I can probably move it to the Page instead

Closing, but let me know if you still need something.

authors: brillout ivangreene

repo: vikejs/vike-react


text:
About page size

Hi Viktor!
Please help me know about page_size!
Why are you evaluate 0x800 for the define?
I was check in datasheet they talk that the size of page is 1 or 2 Kb
Thanks

Yes, page size is 2kB. A number 0x800 is in decimal 2048 and it is 2kB.
Datasheet says that at page 82 ("Page (2 KB) erase time"): https://www.st.com/resource/en/datasheet/stm32f303cb.pdf
And also a generated code (file: "stm32f3xx_hal_flash_ex.h"):
/** @defgroup FLASHEx_Page_Size FLASHEx Page Size

@{
*/
#define FLASH_PAGE_SIZE          0x800


text:
alloc profile: record string allocs

This calls directly into gc_pool_alloc, so we were missing it. Knocks a couple percentage points off of the missed alloc percentage.

Great catch, btw 👍

Maybe something like this?:

julia> Profile.Allocs.clear()

julia> Profile.Allocs.@profile sample_rate=1 "$(rand())"
"0.46487797515442597"

julia> p = Profile.Allocs.fetch()
Profile.Allocs.AllocResults(Profile.Allocs.Alloc[Profile.Allocs.Alloc(Vector{UInt8}, Base.StackTraces.StackFrame[unsafe_wrap at string.jl:85 [inlined], ...], 48)])

julia> @test length(p.allocs) >= 1
Test Passed
  Expression: length(p.allocs) >= 1
   Evaluated: 1 >= 1

julia> @test length([a for a in p.allocs if a.type == String]) >= 1
Test Failed at REPL[42]:1
  Expression: length([a for a = p.allocs if a.type == String]) >= 1
   Evaluated: 0 >= 1
ERROR: There was an error during testing

^ which failed for me, since i don't have this PR merged yet 😊

authors: NHDaly vilterp

repo: vilterp/julia


text:
bramblex's BlxVimrc

@bramblex
你好，上次v2ex上未完成的，后面会在这个仓库下面完成。
https://github.com/bramblex/BlxVimrc/tree/fb0689fec6c49e7dc53e5f7813cdd6cf574cfbf9

喵喵喵？OwO 什么情况？

是这样的，我在做 vim-china 这个社区，目前开了6个仓库分别做不同的事情。这个仓库主要是想阅读一些vimrc，一来是帮review一下，而来是想提炼一些创意的思想。有点像上次在v2ex上的活动，当时你也留下了链接，但是我没来得及看。

authors: bramblex wsdjeg

repo: vim-china/reading-vimrc


text:
Add Haskell test runner: cabaltest

vim-test already has a runner for stack and this adds cabal as another option. Both stack and cabal are used throughout the Haskell ecosystem, so it makes sense to support them both.
This runner is based on the stacktest runner. I duplicated the fixtures etc. so that each runner is self-contained (I saw that that was the approach taken for other languages with multiple runners e.g. Rust).
stacktest remains as the default for Haskell so that we don't break the experience for current users.
Thank you for creating and maintaining vim-test, it's awesome!
PR template
Make sure these boxes are checked before submitting your pull request:

[x] Add fixtures and spec when implementing or updating a test runner
[x] Update the README accordingly
[x] Update the Vim documentation in doc/test.txt

Tests are passing and this is ready for review 👌

Thank you for this and the kind words. Do both runners use Hspec for the tests and the only difference is the executable you use to run the tests, or is it more nuanced than that?

@codeinabox My pleasure!
Yes, both use HSpec, and the differences are:

The test args are different
The project and package files in the fixtures, and the matchers for finding them, are different (and conflicting)
They handle escaping of test names differently

This could surely be abstracted, but I didn't invest the time. I usually abstract when I get to three occurrences and here we're at two. I don't foresee alternatives to stack and cabal popping up, but we may want to support more test frameworks in the future (beyond HSpec). If we do, we'd have to abstract at that point as we'd have to manage the matrix of package managers vs. test frameworks.

authors: codeinabox niclas-ahden

repo: vim-test/vim-test


text:
loading ddl on windows doesn't start gui vim

Steps to reproduce

Download extism https://github.com/extism/extism/releases/download/v0.3.0/libextism-x86_64-pc-windows-msvc-v0.3.0.tar.gz
Extract the tar file
In vimrc add the following line.

let s:ctx = libcall(expand("c:/path_to_dll/extism.dll"), "extism_context_new", '')

Start gvim.

Gvim starts but no ui is loaded the process can still found be found running in task manager.
Expected behaviour
Should load the dll.
Version of Vim
9.0.1425
Environment
Windows GVIM
Logs and stack traces
N/A

Hm, it seems this works as expected. The help libcall states this:

For Win32, the functions you write must be placed in a DLL
and use the normal C calling convention (NOT Pascal which is
used in Windows System DLLs).  The function must take exactly
one parameter, either a character pointer or a long integer,
and must return a character pointer or NULL.  The character
pointer returned must point to memory that will remain valid
after the function has returned (e.g. in static data in the
DLL).  If it points to allocated memory, that memory will
leak away.  Using a static buffer in the function should work,
it's then freed when the DLL is unloaded.

That doesn't seem to be the case according to the projects documentation: https://extism.org/docs/concepts/runtime-apis#extism_context_new
I guess you rather are interested in #12255
So I am inclined to close this.

I think what Christian points out is that extism_context_new() returns a struct pointer, not a string pointer.  That won't work.

authors: brammool chrisbra prabirshrestha

repo: vim/vim

license: Vim


text:
NeoMutt mail file does not detected

NeoMutt creates temporary files for editing with neomutt- prefix. filetype.vim does not handle this, so the filetype will not be be mail as expected.
This patch solves this:
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index de00f23c5..5fba72525 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1155,8 +1155,8 @@ au BufNewFile,BufRead *.m4
 " MaGic Point
 au BufNewFile,BufRead *.mgp			setf mgp

-" Mail (for Elm, trn, mutt, muttng, rn, slrn)
-au BufNewFile,BufRead snd.\d\+,.letter,.letter.\d\+,.followup,.article,.article.\d\+,pico.\d\+,mutt{ng,}-*-\w\+,mutt[[:alnum:]_-]\\\{6\},ae\d\+.txt,/tmp/SLRN[0-9A-Z.]\+,*.eml setf mail
+" Mail (for Elm, trn, mutt, muttng, neomutt, rn, slrn)
+au BufNewFile,BufRead snd.\d\+,.letter,.letter.\d\+,.followup,.article,.article.\d\+,pico.\d\+,{neo,}mutt{ng,}-*-\w\+,{neo,}mutt[[:alnum:]_-]\\\{6\},ae\d\+.txt,/tmp/SLRN[0-9A-Z.]\+,*.eml setf mail

 " Mail aliases
 au BufNewFile,BufRead */etc/mail/aliases,*/etc/aliases	setf mailaliases
@@ -2717,7 +2717,7 @@ au BufNewFile,BufRead [mM]akefile*		call s:StarSetf('make')
 au BufNewFile,BufRead [rR]akefile*		call s:StarSetf('ruby')

 " Mail (also matches muttrc.vim, so this is below the other checks)
-au BufNewFile,BufRead mutt[[:alnum:]._-]\\\{6\}	setf mail
+au BufNewFile,BufRead {neo,}mutt[[:alnum:]._-]\\\{6\}	setf mail

 au BufNewFile,BufRead reportbug-*		call s:StarSetf('mail')

I guess this will be included with the next runtime file update, since an inclusion has been requested https://groups.google.com/forum/#!searchin/vim_dev/neomutt|sort:date/vim_dev/qxIXCYkJe18/PTbWuPDCAgAJ
But Bram hasn't published new runtime files since then.

In the meantime please consider neomutt syntax plugin.

Thanks, but a simple autocmd will be enough right now.

fixed by https://github.com/vim/vim/commit/01164a6546b4c635daf96a1f17d1cb2d07f32a66

authors: chrisbra riesebie tgyurci


text:
VIM 7.4: Possible regression via patch 2146?

Hello,
With patch 2146 (472472898ab71ac80a86fedc37f8eb91461788dd), text may be inserted while backspacing or typing if you have configured VIM to automatically display a popup menu with possible completions.  This is most noticeable when trying to backspace on a word that has a possible match.
Using vim -u NONE alleviates this use, but that would be expected.
I'm currently using ACP to handle autocompletion.
Using the below patch fixes/reverts the issue (on HEAD) for me:
diff --git a/src/edit.c b/src/edit.c
index 6dae4a0..2281232 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -3893,7 +3893,7 @@ ins_compl_prep(int c)

            /* CTRL-E means completion is Ended, go back to the typed text.
             * but only do this, if the Popup is still visible */
-           if (c == Ctrl_E && pum_visible())
+           if (c == Ctrl_E)
            {
                ins_compl_delete();

Hopefully someone can shed some insight on this.  I'm unsure if it's a bug in VIM or the plugins implementation of the VIM popup via ACP.
Below is the git bisect where I traced from patch 1051(af8af8bfac5792fa64efbc524032d568cc7754f7) to patch 2181(a772ec5e91efbd5c4b99bb5cf5704a6c6f0baf3f):
git bisect start
# good: [af8af8bfac5792fa64efbc524032d568cc7754f7] patch 7.4.1051 Problem:    Segfault when unletting "count". Solution:   Check for readonly and locked first. (Dominique Pelle)             Add a test.
git bisect good af8af8bfac5792fa64efbc524032d568cc7754f7
# bad: [a772ec5e91efbd5c4b99bb5cf5704a6c6f0baf3f] patch 7.4.2181 Problem:    Compiler warning for unused variable. Solution:   Remove it. (Dominique Pelle)
git bisect bad a772ec5e91efbd5c4b99bb5cf5704a6c6f0baf3f
# good: [a4f6ca717b4483eb82c6c71f71a5a5cf70e55d80] patch 7.4.1618 Problem:    Starting job with output to buffer changes options in the current             buffer. Solution:   Set "curbuf" earlier. (Yasuhiro Matsumoto)
git bisect good a4f6ca717b4483eb82c6c71f71a5a5cf70e55d80
# good: [28b942a064dd486cc241894b625ab72f5a5c6d1b] patch 7.4.1900 Problem:    Using CTRL-] in the help on "{address}." doesn't work. Solution:   Recognize an item in {}. (Hirohito Higashi, closes #814)
git bisect good 28b942a064dd486cc241894b625ab72f5a5c6d1b
# good: [93431df9eb02f7cf3d7f2142bb1bef24c5f325b2] patch 7.4.2043 Problem:    setbuvfar() causes a screen redraw. Solution:   Only use aucmd_prepbuf() for options.
git bisect good 93431df9eb02f7cf3d7f2142bb1bef24c5f325b2
# good: [ad9c2a08f0509294269a2f11a59a438b944bdd5a] patch 7.4.2109 Problem:    Setting 'display' to "lastline" is a drastic change, while             omitting it results in lots of "@" lines. Solution:   Add "truncate" to show "@@@" for a truncated line.
git bisect good ad9c2a08f0509294269a2f11a59a438b944bdd5a
# good: [bc8801c9317eb721a2ee91322669f2dd5d136380] Updated runtime files.
git bisect good bc8801c9317eb721a2ee91322669f2dd5d136380
# bad: [7522f6982197f83a5c0f6e9af07fb713934f824a] patch 7.4.2162 Problem:    Result of getcompletion('', 'sign') depends on previous             completion. Solution:   Call set_context_in_sign_cmd(). (Dominique Pelle)
git bisect bad 7522f6982197f83a5c0f6e9af07fb713934f824a
# bad: [ee695f787ade7fd88fc5f5497553d95c0c3645b5] patch 7.4.2152 Problem:    No proper translation of messages with a count. Solution:   Use ngettext(). (Sergey Alyoshin)
git bisect bad ee695f787ade7fd88fc5f5497553d95c0c3645b5
# bad: [abb71fbd399772d467aaa7b34b958b0f975c7e65] patch 7.4.2147 Problem:    test_alot fails. Solution:   Close window.
git bisect bad abb71fbd399772d467aaa7b34b958b0f975c7e65
# good: [86f2cd5bc574c23fa276d7f57cd1300e24222913] patch 7.4.2145 Problem:    Win32: Using CreateThread/ExitThread is not safe. Solution:   Use _beginthreadex and return from the thread. (Ken Takata)
git bisect good 86f2cd5bc574c23fa276d7f57cd1300e24222913
# bad: [472472898ab71ac80a86fedc37f8eb91461788dd] patch 7.4.2146 Problem:    Not enough testing for popup menu.  CTRL-E does not always work             properly. Solution:   Add more tests.  When using CTRL-E check if the popup menu is             visible. (Christian Brabandt)
git bisect bad 472472898ab71ac80a86fedc37f8eb91461788dd
# first bad commit: [472472898ab71ac80a86fedc37f8eb91461788dd] patch 7.4.2146 Problem:    Not enough testing for popup menu.  CTRL-E does not always work             properly. Solution:   Add more tests.  When using CTRL-E check if the popup menu is             visible. (Christian Brabandt)

On Monday, 8 August 2016 19:59:21 UTC+2, Jaren Stangret  wrote:

Hello,
With patch 2146 (4724728), text may be inserted while backspacing or typing if you have configured VIM to automatically display a popup menu with possible completions.  This is most noticeable when trying to backspace on a word that has a possible match.
Using vim -u NONE alleviates this use, but that would be expected.
I'm currently using ACP to handle autocompletion.

Hi,
I think I'm seeing the same thing (with YouCompleteMe). The behaviour is really strange: some completion gets appended to what I type without me actually selecting it, and I sometimes cannot even backspace over it because it seems to keep appending more than one characte for a single press of backspace key press. Reverting patch 2146 seems to cure the issue for me, too. Not sure if that helps anybody in tracking it down.
Manuel

Using the below patch fixes/reverts the issue (on HEAD) for me:
diff --git a/src/edit.c b/src/edit.c
index 6dae4a0..2281232 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -3893,7 +3893,7 @@ ins_compl_prep(int c)
        /* CTRL-E means completion is Ended, go back to the typed text.
         * but only do this, if the Popup is still visible */

      if (c == Ctrl_E && pum_visible())

      if (c == Ctrl_E)
      {
          ins_compl_delete();

Hopefully someone can shed some insight on this.  I'm unsure if it's a bug in VIM or the plugins implementation of the VIM popup via ACP.
Below is the git bisect where I traced from patch 1051(af8af8b) to patch 2181(a772ec5):
git bisect start
good: [af8af8bfac5792fa64efbc524032d568cc7754f7] patch 7.4.1051 Problem:    Segfault when unletting "count". Solution:   Check for readonly and locked first. (Dominique Pelle)             Add a test.
git bisect good af8af8bfac5792fa64efbc524032d568cc7754f7
bad: [a772ec5e91efbd5c4b99bb5cf5704a6c6f0baf3f] patch 7.4.2181 Problem:    Compiler warning for unused variable. Solution:   Remove it. (Dominique Pelle)
git bisect bad a772ec5e91efbd5c4b99bb5cf5704a6c6f0baf3f
good: [a4f6ca717b4483eb82c6c71f71a5a5cf70e55d80] patch 7.4.1618 Problem:    Starting job with output to buffer changes options in the current             buffer. Solution:   Set "curbuf" earlier. (Yasuhiro Matsumoto)
git bisect good a4f6ca717b4483eb82c6c71f71a5a5cf70e55d80
good: [28b942a064dd486cc241894b625ab72f5a5c6d1b] patch 7.4.1900 Problem:    Using CTRL-] in the help on "{address}." doesn't work. Solution:   Recognize an item in {}. (Hirohito Higashi, closes #814)
git bisect good 28b942a064dd486cc241894b625ab72f5a5c6d1b
good: [93431df9eb02f7cf3d7f2142bb1bef24c5f325b2] patch 7.4.2043 Problem:    setbuvfar() causes a screen redraw. Solution:   Only use aucmd_prepbuf() for options.
git bisect good 93431df9eb02f7cf3d7f2142bb1bef24c5f325b2
good: [ad9c2a08f0509294269a2f11a59a438b944bdd5a] patch 7.4.2109 Problem:    Setting 'display' to "lastline" is a drastic change, while             omitting it results in lots of "@" lines. Solution:   Add "truncate" to show "@@@" for a truncated line.
git bisect good ad9c2a08f0509294269a2f11a59a438b944bdd5a
good: [bc8801c9317eb721a2ee91322669f2dd5d136380] Updated runtime files.
git bisect good bc8801c9317eb721a2ee91322669f2dd5d136380
bad: [7522f6982197f83a5c0f6e9af07fb713934f824a] patch 7.4.2162 Problem:    Result of getcompletion('', 'sign') depends on previous             completion. Solution:   Call set_context_in_sign_cmd(). (Dominique Pelle)
git bisect bad 7522f6982197f83a5c0f6e9af07fb713934f824a
bad: [ee695f787ade7fd88fc5f5497553d95c0c3645b5] patch 7.4.2152 Problem:    No proper translation of messages with a count. Solution:   Use ngettext(). (Sergey Alyoshin)
git bisect bad ee695f787ade7fd88fc5f5497553d95c0c3645b5
bad: [abb71fbd399772d467aaa7b34b958b0f975c7e65] patch 7.4.2147 Problem:    test_alot fails. Solution:   Close window.
git bisect bad abb71fbd399772d467aaa7b34b958b0f975c7e65
good: [86f2cd5bc574c23fa276d7f57cd1300e24222913] patch 7.4.2145 Problem:    Win32: Using CreateThread/ExitThread is not safe. Solution:   Use _beginthreadex and return from the thread. (Ken Takata)
git bisect good 86f2cd5bc574c23fa276d7f57cd1300e24222913
bad: [472472898ab71ac80a86fedc37f8eb91461788dd] patch 7.4.2146 Problem:    Not enough testing for popup menu.  CTRL-E does not always work             properly. Solution:   Add more tests.  When using CTRL-E check if the popup menu is             visible. (Christian Brabandt)
git bisect bad 472472898ab71ac80a86fedc37f8eb91461788dd
first bad commit: [472472898ab71ac80a86fedc37f8eb91461788dd] patch 7.4.2146 Problem:    Not enough testing for popup menu.  CTRL-E does not always work             properly. Solution:   Add more tests.  When using CTRL-E check if the popup menu is             visible. (Christian Brabandt)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, .

Jaren Stangret wrote:

With patch 2146 (472472898ab71ac80a86fedc37f8eb91461788dd), text may
be inserted while backspacing or typing if you have configured VIM to
automatically display a popup menu with possible completions.  This is
most noticeable when trying to backspace on a word that has a possible
match.
Using vim -u NONE alleviates this use, but that would be expected.
I'm currently using ACP to handle autocompletion.
Using the below patch fixes/reverts the issue (on HEAD) for me:
diff --git a/src/edit.c b/src/edit.c
index 6dae4a0..2281232 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -3893,7 +3893,7 @@ ins_compl_prep(int c)

            /* CTRL-E means completion is Ended, go back to the typed text.
             * but only do this, if the Popup is still visible */
-           if (c == Ctrl_E && pum_visible())
+           if (c == Ctrl_E)
            {
                ins_compl_delete();

Hopefully someone can shed some insight on this.  I'm unsure if it's a
bug in VIM or the plugins implementation of the VIM popup via ACP.

The insert completion code is very complex.  I don't see an alternative
to rolling back the change.  Also requires disabling one test case.
--
It doesn't really matter what you are able to do if you don't do it.
(Bram Moolenaar)
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Thank you for the fix!

On Mo, 08 Aug 2016, Jaren Stangret wrote:

Hello,
With patch 2146 (472472898ab71ac80a86fedc37f8eb91461788dd), text may be inserted while backspacing or typing if you have configured VIM to automatically display a popup menu with possible completions.  This is most noticeable when trying to backspace on a word that has a possible match.
Using vim -u NONE alleviates this use, but that would be expected.
I'm currently using ACP to handle autocompletion.
Using the below patch fixes/reverts the issue (on HEAD) for me:
diff --git a/src/edit.c b/src/edit.c
index 6dae4a0..2281232 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -3893,7 +3893,7 @@ ins_compl_prep(int c)

            /* CTRL-E means completion is Ended, go back to the typed text.
             * but only do this, if the Popup is still visible */
-           if (c == Ctrl_E && pum_visible())
+           if (c == Ctrl_E)
            {
                ins_compl_delete();

I still think, that patch 2146 is the correct way to fix Ctrl-E in popup
menu mode. I would like to further investigate the problem. Can you tell
me an exact way to reproduce the problem? Is it reproducible without any
plugin? Further, I don't understand, why this happens on Backspacing...
Best,
Christian
Letzte Worte eines Machos:
"Hallo Süße, wie wär's mit uns beiden?"

authors: brammool sirjaren vim-ml


text:
ftplugin(python): Fix bad define regex

Thanks to @zeertzjq

thanks, I merge it now.
FTR: In the future you may want to consider using :let syntax, see :h :let-& so you don't need to escape the \ anymore:
let &l:include='^\s*\(from\|import\)'
let &l:define='^\s*\(\(async\s\+\)\?def\|class\)'

authors: chrisbra tpict


text:
tests: Macos tests are very flaky in CI

Increased tolerance in macos tests.
Improved output messages in flaky state.

Related: #15395

The FreeBSD test is teimed out as well. Should we increase that timeout_in as well?

No, rebase the PR on latest master

thanks!

It kind of seems to me that these flaky tests are starting to balloon, as I keep seeing issues like this on MacVim side as well. I wonder if we should really try to look into this more (like what https://github.com/vim/vim/pull/15940#issuecomment-2440644293 linked to). Otherwise eventually our tests are going to balloon to longer and longer even though computers are objectively getting faster which seems counterintuitive to me. This also matters if we want to run tests in paid CI environment as well which charges per time. E.g. Neovim tests seem to take 5-6 minutes on macOS runners.

Well I would agree if this would also happen on other environments. But this seems to happen mostly on Mac OS runners. And I have neither a Mac to debug this there nor do I have a clue, why this only happens over there. Is this getting better with MacOS 15?

That's fair. My perspectives are mainly on the macOS side. I do think there are some case-by-case situations where the tests could be rewritten to be less timing dependent. I can file PRs for those when I see them.
I haven't tried macOS 15 much due to the Xcode 16 miscompilation bug, so I'm not sure. It does seem like it's mostly a GitHub Actions VM issue as it seems to be a common complaint from looking around other projects as well. Just looking at WaitForCommon() invocation in the test scripts, even though it's asking to wait for 10 ms, sometimes it could sleep for way longer (example run showing the sleep intervals from 0 to 900ms which was the timeout):
sleep durations [11, 65, 137, 165, 246, 264, 282, 300, 318, 336, 354, 372, 390, 408, 486, 540, 625, 643, 662, 680, 698, 716, 734, 752, 770, 789, 801, 852, 917]

I guess there isn't too much we could do there as it's just how the CI environment works unless GitHub buys more Macs.

authors: Milly chrisbra k-takata ychin zeertzjq