Commit Graph
1343 Commits
Author SHA1 Message Date
秋のかえでandGitHub 07ed4e0d29 Chore: use Go 1.20 (#2297) 2023-02-03 17:08:53 +08:00
VigilansandGitHub f8ac919d66 [app/dns] Support per-client configuration for fakedns (#2212)
* Move `filterIP` from `hosts.go` to `dnscommon.go`

* Implement adding pools for fakedns.HolderMulti

* Implement per-client fakedns for DNS app

* Remove `dns.ClientWithIPOption` and replace with new programming model

* Implement JSON config support for new fakedns config

* Fix lint and tests

* Fix some codacy analysis
2022-12-15 10:38:28 +08:00
32475d9239 [app/dns] Add tests for idn support (#2213)
Co-authored-by: kallydev <kallydev@gmail.com>

Co-authored-by: kallydev <kallydev@gmail.com>
2022-12-15 10:26:53 +08:00
kviiandGitHub 7c12b706c7 fix: unexpected typo (#2146) 2022-12-10 17:28:10 +08:00
VigilansandGitHub ac0d9480bd [app/dispatcher] [proxy/dns] Support domain string validation (#2188) 2022-12-10 17:07:59 +08:00
VigilansandGitHub 291b5466de Fix: Charset of ACAutomationMatcherGroup should accept all ASCII characters (#1988) 2022-11-29 10:35:49 +08:00
NaLan ZeYuandGitHub a4a3f4deec fix: Replace "math/rand" with "crypto/rand" in padding generation(#2032) 2022-10-06 18:21:09 +08:00
VigilansandGitHub f494df2567 feat: Implement Match and MatchAny for all MatcherGroup, IndexMatcher
[common/strmatcher] Implement Match and MatchAny for all MatcherGroup and IndexMatcher
2022-09-16 14:40:03 +08:00
秋のかえで 4bdb411747 Style: remove duplicate FetchHTTPContent function 2022-09-07 21:42:25 +08:00
Shelikhoo 137cd7093c chore: regenerate protobuf file 2022-09-06 20:36:27 +01:00
HellojackandGitHub a8b0991b52 Feat: refine the logic of security type AUTO (#1913)
* Feat: refine the logic of security type AUTO

https://cs.opensource.google/go/go/+/master:src/crypto/tls/cipher_suites.go;drc=9e6cd3985dbcdcfe0ed2075be6dbe8c5d6de59cb;l=364

* fix fmt
2022-08-19 20:56:32 +01:00
秋のかえでandGitHub adb7871f82 Feat: refine cipher and network config (#1436) 2022-08-19 20:41:18 +08:00
秋のかえで a788be738e Lint: add nolint flags to avoid lint 2022-08-19 20:05:50 +08:00
秋のかえで 9ae51c1f15 Chore: use Go v1.19 2022-08-19 19:37:09 +08:00
世界 fc6ae4d4e7 Fix lint 2022-06-28 21:36:12 +08:00
VigilansandXiaokang Wang (Shelikhoo) 81ef92c077 Refactor strmatcher.ACAutomatonMatcherGroup 2022-06-25 19:38:35 +01:00
Shelikhoo 0468cdfa56 Fix convert time ip parsing in jsonv5 2022-05-11 15:04:28 +01:00
Shelikhoo d7ad10ff14 fix coding style issue 2022-04-29 21:36:26 +01:00
Shelikhoo 0b20760e17 Add TODO for NarrowScopeToConnection 2022-04-28 19:32:55 +01:00
Shelikhoo 7e35509381 Add environment implementation 2022-04-28 19:32:55 +01:00
Shelikhoo 3b142ae319 Add relax capability set type 2022-04-28 19:32:55 +01:00
Shelikhoo 7888c10622 refine capability deisgn 2022-04-28 19:32:55 +01:00
Shelikhoo 2a90a46ed5 implement scoped transient storage: auto generated 2022-04-28 19:32:55 +01:00
Shelikhoo f19f4eb430 implement scoped transient storage 2022-04-28 19:32:55 +01:00
秋のかえで e0df70b16d Feat: use different qtls modules for different Go version 2022-04-05 14:47:21 +08:00
Nick CaoandGitHub 118a99e773 search for assets in xdg data directories on non-windows platforms (#1578)
* common/platform: cleanup unused functions

* common/platform: search for assets in xdg data directories on non-windows platforms
2022-02-06 14:24:23 +08:00
Shelikhoo 0b8eeb0f98 fix error introduced by rebase: auto generated 2022-01-03 15:55:18 +00:00
Shelikhoo 1e98e0ae92 fix error introduced by rebase 2022-01-03 15:55:18 +00:00
Shelikhoo 0f2da63f0c fix lint warnings in packetaddr 2022-01-03 15:55:18 +00:00
Shelikhoo cdfef7e66b rewrite connection interface 2022-01-03 15:55:18 +00:00
Shelikhoo 899b8fefca fix buffer reuse bug 2022-01-03 15:55:18 +00:00
Shelikhoo c4f850f1a9 fullcone bug fixes 2022-01-03 15:55:18 +00:00
Shelikhoo ddf25beec1 release used buffer in packet connection wrapper 2022-01-03 15:55:18 +00:00
Shelikhoo 5b536a7d02 change ToPacketAddrConnWrapper to fused connection 2022-01-03 15:55:18 +00:00
Shelikhoo 409c4e9c98 add address type classification function 2022-01-03 15:55:18 +00:00
Shelikhoo 7ee06c8239 add connection adaptor func 2022-01-03 15:55:18 +00:00
Shelikhoo 31d248aac7 packetaddr: auto generated 2022-01-03 15:55:18 +00:00
Shelikhoo 75a2448c48 change CreatePacketAddrConn signature 2022-01-03 15:55:18 +00:00
Shelikhoo 8bf3da7c7f add socks packetaddr config 2022-01-03 15:55:18 +00:00
Shelikhoo ff704d15a7 add packet connection adaptor 2022-01-03 15:55:18 +00:00
Shelikhoo 6f4c7af5a3 add IPv6 packet addr encoding test 2022-01-03 15:55:18 +00:00
Shelikhoo 16bff33858 add IPv4 packet addr encoding test 2022-01-03 15:55:18 +00:00
Shelikhoo fd763c9bab release packet buffer after usage 2022-01-03 15:55:18 +00:00
Shelikhoo 1ec1bbffa4 packet header encoder decoder 2022-01-03 15:55:18 +00:00
Shelikhoo 3ef7feaeaf update version: auto replacement to v5 path 2022-01-02 15:16:23 +00:00
MachtergreifungandGitHub 25ae87aad2 fix typo (#1512)
* fix typo

* fix typo

* fix typo

* fix typo

* fix typo

* fix typo

* fic typo
2022-01-02 13:36:07 +00:00
KujouRinkaandGitHub d24c276cc5 fix typo (#1503) 2022-01-02 17:16:12 +08:00
秋のかえで 423d566024 fix typo 2021-12-23 13:14:43 +08:00
LoyalsoldierandGitHub dce8764fd7 Lint: fix lint (#1427)
* Lint: replace golint with revive
* Lint: fix lint
2021-11-27 17:16:41 +08:00
LoyalsoldierandGitHub 43447aa2e4 Chore: format code to fix lint (#1426) 2021-11-27 14:32:07 +08:00