Commit graph

203 commits

Author SHA1 Message Date
iosmanthus 4b7a83da16
Introduce bittorrent related protocol sniffers
* Introduce bittorrent related protocol sniffers

including, sniffers of
1. BitTorrent Protocol (TCP)
2. uTorrent Transport Protocol (UDP)

Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
Co-authored-by: 世界 <i@sekai.icu>
2024-10-07 04:58:48 +08:00
世界 9415444ebd
Fix base path not applied to local rule-sets 2024-10-07 04:34:48 +08:00
世界 27d6b63e71
Fix stream sniffer 2024-09-08 10:07:07 +08:00
世界 db5719e22f
Fix no error return when empty DNS cache retrieved 2024-08-20 23:23:48 +08:00
世界 21b1ac26b9
Fix UDP conn stuck on sniff
This change only avoids permanent hangs. We need to implement read deadlines for UDP conns in 1.10 for server inbounds.
2024-08-18 11:27:12 +08:00
世界 07c678fb85
Fix crash on Android when using process rules 2024-08-18 10:23:28 +08:00
ayooh 6144c8e340
Fix default end value of the rangeItem 2024-07-13 17:45:32 +08:00
世界 06fa5abf63
Fix non-IP queries accepted by address filter rules 2024-06-24 10:13:16 +08:00
世界 74d662f7a3
Fix always create package manager 2024-06-11 21:16:57 +08:00
世界 bb9bd9bff6
Fix package manager start order 2024-06-09 07:21:50 +08:00
世界 c1f4755c4e
Fix parse UDP DNS server with addr:port address 2024-06-08 22:00:46 +08:00
世界 e77a8114c5
Fix rule-set start order 2024-06-08 22:00:46 +08:00
世界 51964801ff
Fix enforced power listener on windows 2024-06-06 22:20:23 +08:00
世界 53927d8bbd
Remove logs in router initialize 2024-06-06 22:20:19 +08:00
世界 968b9bc217
Fix crash on *bsd 2024-06-06 22:20:17 +08:00
世界 d612620c5d
Add rule-set match command 2024-05-23 14:57:26 +08:00
世界 da9e22b4e6
Add custom prefix support in EDNS0 client subnet options 2024-05-21 15:12:05 +08:00
气息 0e120f8a44
Fix DNS exchange index
Signed-off-by: 气息 <qdshizh@gmail.com>
2024-05-21 15:12:05 +08:00
dyhkwong d918863ac5
Always disable cache for fake-ip servers 2024-05-21 15:12:04 +08:00
PuerNya 2ae192305c
Always disable cache for fake-ip DNS transport if independent_cache disabled 2024-05-21 15:12:03 +08:00
世界 71d1879bd6
Fix missing rule_set_ipcidr_match_source item in DNS rules 2024-05-21 15:12:03 +08:00
世界 5327aeaea4
Fix DNS fallthrough incorrectly 2024-05-21 15:12:03 +08:00
世界 93ae3f7a1e
Add rejected DNS response cache support 2024-05-21 15:12:03 +08:00
世界 f24a2aed7d
Add support for client-subnet DNS options 2024-05-21 15:12:03 +08:00
世界 0517ceef76
Add address filter support for DNS rules 2024-05-21 15:12:02 +08:00
世界 cd0fcd5ddc
Improve loopback detector 2024-05-21 15:11:52 +08:00
世界 b5dcd6bf59
Migrate ntp service to library 2024-05-21 15:11:52 +08:00
世界 11c7b4a866
Handle Windows power events 2024-05-21 15:11:52 +08:00
世界 d20a389043
Fix timer usage 2024-04-08 11:45:00 +08:00
dyhkwong 965ab075d9
Fix source_ip_is_private matching 2024-03-24 19:06:02 +08:00
世界 96ac931b11
Fix network/interface monitor 2024-02-26 22:53:31 +08:00
世界 5583e01c99
platform: Export NeedWIFIState for Android 2024-02-18 14:24:21 +08:00
世界 8332878cdc
Fix destination IP CIDR match in DNS 2024-02-10 22:37:42 +08:00
世界 46be319976
Fix external controller crash before started 2024-02-08 20:31:40 +08:00
kkocdko 704545a2ec
Fix rule description header of domain_suffix
I read other rule_item_xxx.go files, they are all snake case. This description is showed on dashboard like yacd.

Signed-off-by: kkocdko <31189892+kkocdko@users.noreply.github.com>
2024-02-01 10:42:12 +08:00
世界 c4d9be9e0d
Fix rule match 2024-01-14 13:01:57 +08:00
世界 2e607118c3
Remove unnecessary context wrappers 2024-01-03 12:21:48 +08:00
世界 89c723e3e4
Improve read wait interface &
Refactor Authenticator interface to struct &
Update smux &
Update gVisor to 20231204.0 &
Update quic-go to v0.40.1 &
Update wireguard-go &
Add GSO support for TUN/WireGuard &
Fix router pre-start &
Fix bind forwarder to interface for systems stack
2024-01-03 12:21:47 +08:00
世界 21283b554a
Avoid opening log output before start &
Replace tracing logs with task monitor
2024-01-03 12:21:46 +08:00
世界 a99deb2cb5
Skip internal fake-ip queries 2024-01-03 12:21:37 +08:00
世界 38d28e0763
Migrate contentjson and badjson to library &
Add omitempty in format
2024-01-03 12:21:37 +08:00
世界 a21c5324fd
Independent source_ip_is_private and ip_is_private rules 2024-01-03 12:21:36 +08:00
世界 4b43acfec0
Add rule-set 2024-01-03 12:21:36 +08:00
世界 7df151e820
Update buffer usage 2024-01-03 12:21:36 +08:00
世界 5948ffb965
Allow nested logical rules 2024-01-03 12:21:36 +08:00
世界 bf4e556f67
Migrate to independent cache file 2024-01-03 12:21:36 +08:00
世界 40c7f3e170
Fix geoip close 2024-01-02 14:31:23 +08:00
世界 5269231df0
Fix URLTest outbound 2023-12-02 17:55:58 +08:00
世界 253976d6c0
Add wifi_ssid and wifi_bssid route and DNS rules 2023-11-28 11:21:44 +08:00
世界 1b71e52e90
Migrate multiplex and UoT server to inbound & Add tcp-brutal support for multiplex 2023-11-28 11:21:44 +08:00