Commit Graph
1318 Commits
Author SHA1 Message Date
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
Shelikhoo 65174fa487 rename buf type adaptor into FromBytes 2021-11-13 14:24:43 +00:00
Shelikhoo 802780e9e1 rename buf pool membership status to unmanaged 2021-11-13 14:23:29 +00:00
世界andShelikhoo d781cc0cfd Add uTP sniffer 2021-11-13 14:22:36 +00:00
世界andShelikhoo dbc26775c9 Add quic sniffer 2021-11-13 14:21:57 +00:00
Ye ZhihaoandGitHub ed9641dad1 Refactor strmatcher.MphMatcherGroup (#1364)
* Refactor strmatcher.MphMatcherGroup

* Add test for empty mph matcher group
2021-11-05 13:24:46 +08:00
ayanamistandGitHub 80d92381af Add PATCH TRACE http method to sniffer (#1314) 2021-11-05 13:22:30 +08:00
Ye ZhihaoandGitHub d4da365c5f Refactor: strmatcher module (#1333)
* Reorganize strmatcher's package structure

* Rename types in strmatcher package according to their file names

* Stablize strmatcher's Matcher interface

* Implement []matcherEntry as SimpleMatcherGroup

* Implement mph algorithm extracted from MphIndexMatcher as MphMatcherGroup

* Implement AddMatcher/AddFullMatcher/AddDomainMatcher/AddSubstrMatcher for each MatcherGroup

* Stablize strmatcher's MatcherGroup interface

* Stablize strmatcher's IndexMatcher interface

* Update strmatcher's benchmark

* Compatibility fix for app/router's DomainMatcher condition

* Fix code quality issue

* Fix basic matcher issues

* Update priority specification for Substr matcher
2021-10-31 18:01:13 +08:00
世界 a66bb28aee Reformat code 2021-10-28 18:34:19 +08:00
Shelikhoo 82e730bb70 fix: switch away from ioutil 2021-09-28 18:12:40 +01:00
Shelikhoo 0c3105691f refactor: move from io/ioutil to io and os package (#1298)
Author: Eng Zer Jun <engzerjun@gmail.com>
Date:   Mon Sep 27 00:56:31 2021 +0800

    refactor: move from io/ioutil to io and os package (#1298)
2021-09-27 23:02:19 +01:00
Ye ZhihaoandShelikhoo 27614e56fc 🐛 http dialer add socket config; sockopt.mark use uint32 (#1264)
(cherry picked from commit 4d155bc2bf)
2021-09-27 21:37:45 +01:00
Shelikhoo 2fcc0ba1bb add ip preprocessor logic 2021-09-18 21:04:30 +01:00
Shelikhoo d9f293e135 add transport original name support 2021-09-07 16:53:09 +01:00
Shelikhoo c89d629943 support more than one type for a config 2021-09-07 14:48:44 +01:00
Shelikhoo 9b93bb614a improve reflection logic in registry 2021-09-07 14:45:56 +01:00
秋のかえでandShelikhoo 35ba772e6e feat: add Dokodemo simplified config 2021-09-07 13:51:05 +01:00
秋のかえでandShelikhoo 383bd4ce62 feat: add network to Shadowsocks simplified config 2021-09-07 13:50:47 +01:00
Shelikhoo b368ac3b7c added general purpose tagged features config loader 2021-09-07 13:02:09 +01:00
Shelikhoo bcc59b153b added convert time resource loading instruction 2021-09-06 22:06:16 +01:00
Shelikhoo 6fe8010caa improve error message for implementation set 2021-09-06 13:45:01 +01:00
Shelikhoo 179d6568fc fix auto file content loader 2021-09-05 16:37:27 +01:00
Shelikhoo a8c58c9ad4 skip file content reading if unnecessary 2021-09-05 16:37:27 +01:00
Shelikhoo 4c4d6c6944 use environment based operation in protofilter 2021-09-05 16:37:27 +01:00
Shelikhoo 141cd30ee3 refactor environment context 2021-09-05 16:37:27 +01:00
Shelikhoo 908dd96f1f add context arg to LoadImplementationByAlias 2021-09-05 16:37:27 +01:00