A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.
Go to file
HamsterReserved 8679968ab0
Fix: multiple port string parsing overflow (#1868)
Ports in TCP and UDP should be parsed as an unsigned integer,
otherwise ports > 32767 get truncated to 32767. As this is
the case with Metadata.UDPAddr(), this fundamentally breaks
UDP connections where demand for high port numbers is high.

This commit fixes all known cases where ParseInt is used for ports,
and has been verified to fix Discord voice connections on port
50001~50004.

Fixes: d40e5e4fe6

Co-authored-by: Hamster Tian <haotia@gmail.com>
2022-01-02 01:09:29 +08:00
.github Feature: add linux/arm/v6 for the container image (#1771) 2021-12-02 21:12:45 +08:00
adapter Fix: multiple port string parsing overflow (#1868) 2022-01-02 01:09:29 +08:00
common
component Fix: multiple port string parsing overflow (#1868) 2022-01-02 01:09:29 +08:00
config
constant Fix: multiple port string parsing overflow (#1868) 2022-01-02 01:09:29 +08:00
context
dns Chore: ReCreate* do side effect job (#1849) 2021-12-26 22:08:53 +08:00
docs
hub Chore: ReCreate* do side effect job (#1849) 2021-12-26 22:08:53 +08:00
listener Chore: ReCreate* do side effect job (#1849) 2021-12-26 22:08:53 +08:00
log
rule
test
transport
tunnel
.gitignore
Dockerfile
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Clash
Clash

A rule-based tunnel in Go.

Github Actions

Features

  • Local HTTP/HTTPS/SOCKS server with authentication support
  • VMess, Shadowsocks, Trojan, Snell protocol support for remote connections
  • Built-in DNS server that aims to minimize DNS pollution attack impact, supports DoH/DoT upstream and fake IP.
  • Rules based off domains, GEOIP, IPCIDR or Process to forward packets to different nodes
  • Remote groups allow users to implement powerful rules. Supports automatic fallback, load balancing or auto select node based off latency
  • Remote providers, allowing users to get node lists remotely instead of hardcoding in config
  • Netfilter TCP redirecting. Deploy Clash on your Internet gateway with iptables.
  • Comprehensive HTTP RESTful API controller

Premium Features

Getting Started

Documentations are now moved to GitHub Wiki.

Premium Release

Release

Development

If you want to build an application that uses clash as a library, check out the the GitHub Wiki

Credits

License

This software is released under the GPL-3.0 license.

FOSSA Status