Zxilly
853781b383
chore: sync to upstream
2025-05-18 15:33:46 +08:00
Zxilly
e81e904b25
fix: disable some optimization
2025-04-10 16:24:30 +08:00
Zxilly
c1c71f399e
feat: add libbacktrace
2025-03-06 18:46:27 +08:00
Zxilly
1442ccf56a
feat: add backtrace
2025-03-06 17:44:26 +08:00
Zxilly
22d3f33687
fix: add more guard
2025-03-06 16:44:08 +08:00
Zxilly
8da0500a11
fix: add missing check
2025-03-06 16:37:54 +08:00
Zxilly
c7ffb02159
feat: fix assert problem
2025-03-05 20:26:00 +08:00
Zxilly
d71afc8169
feat: add more log
2025-03-05 19:39:51 +08:00
Zxilly
5e0d5a3220
fix: add more log
2025-03-05 18:51:58 +08:00
Zxilly
5a03860444
feat: add more assert
2025-03-05 02:05:15 +08:00
Zxilly
76f868e988
fix: early return while met IP_UKN
2025-03-03 00:05:36 +08:00
Zxilly
94fa6a64f9
build: correct build file
2024-12-20 02:50:34 +08:00
Zxilly
7e5f1a68d7
fix: missing header
2024-12-20 02:45:44 +08:00
Zxilly
137ea304dd
fix: add ip packet count
2024-12-15 20:05:17 +08:00
Zxilly
2d17f0c1e3
fix: read ip packet protocol
2024-12-03 18:57:21 +08:00
Zxilly
4f454461f3
fix: always try to enable cache
2024-11-27 14:25:57 +08:00
Zxilly
fb3dc3b412
fix: syntax error
2024-11-27 10:19:06 +08:00
Zxilly
701c591ace
fix: potential ipv6 handle error
2024-11-27 10:16:50 +08:00
Zxilly
abe6362baa
fix: prevent duplicate ct config
2024-11-26 17:40:57 +08:00
Zxilly
8b781b0138
feat: allow disable cache
2024-11-26 17:33:12 +08:00
Zxilly
51cb0cfa9e
chore: remove duplicate check
2024-11-26 15:48:18 +08:00
Zxilly
e1d6231ee6
build: add git dirty var
2024-09-20 17:47:49 +08:00
Zxilly
f85cd460db
fix: should not catch some sig
2024-09-12 23:37:42 +08:00
SivonZn
1ac208da2e
fix: compilation failed ( #135 )
...
* fix: ninja compilation error
* Update src/cache.c
Co-authored-by: Zxilly <31370133+Zxilly@users.noreply.github.com>
Signed-off-by: SivonZn <79399171+SivonZn@users.noreply.github.com>
---------
Signed-off-by: SivonZn <79399171+SivonZn@users.noreply.github.com>
Co-authored-by: Zxilly <31370133+Zxilly@users.noreply.github.com>
2024-09-06 16:23:55 +08:00
Zxilly
657a402be1
chore: fix typo
...
Signed-off-by: Zxilly <31370133+Zxilly@users.noreply.github.com>
2024-08-20 16:56:43 +08:00
Zxilly
d0b136f782
feat: add startup log message
2024-08-07 17:24:59 +08:00
Zxilly
bf080925b7
feat: allow disable connmark with config
2024-07-22 20:26:39 +08:00
Zxilly
aa12ba8c7b
fix: ignore compile time ua if custom ua set
2024-07-21 11:47:13 +08:00
Zxilly
e8b193f0c2
fix: add fail fallback for no conntrack environment
2024-07-01 04:10:46 +08:00
Zxilly
8aeec0a2b3
fix: remove unused code
2024-07-01 00:23:32 +08:00
Zxilly
e1da57102e
refactor: split read buffer and parse packet
2024-07-01 00:19:00 +08:00
Zxilly
5bd35afd06
fix: add missing break
2024-06-30 22:08:56 +08:00
Zxilly
f3032014cd
fix: handle error from nfqueue_receive
2024-06-30 22:07:51 +08:00
miny1233
6133d716aa
fix(ua2f.c): possible deadlock in the queue ( #127 )
...
* fix ua2f.c: possible deadlock in the queue, causing network disconnection
在不支持内核上运行会造成队列死锁。当返回Operation not supported错误的时候,如果继续执行,就会死锁。
Signed-off-by: miny1233 <36765446+miny1233@users.noreply.github.com>
* fix: exit while met IO_ERROR
* fix: should set exit for unknown return value
---------
Signed-off-by: miny1233 <36765446+miny1233@users.noreply.github.com>
Co-authored-by: Zxilly <zxilly@outlook.com>
2024-06-30 19:47:03 +08:00
miny1233
448c047601
fix: cache.c warning that incompatible-pointer-types check
...
The definition of the third parameter of pthread is void *(*start_routine)(void *)
Signed-off-by: miny1233 <36765446+miny1233@users.noreply.github.com>
2024-06-29 21:41:17 +08:00
Zxilly
431824a007
chore: detach cleanup thread
2024-06-19 02:31:41 +08:00
Zxilly
1098fd25a0
fix: pthread header may missing
2024-06-19 02:01:13 +08:00
Zxilly
fa252bb2c2
perf: remove unnecessary string format for addrport
2024-06-19 01:41:04 +08:00
Zxilly
a1aa3f6cb5
style: reformat with clang-format
2024-06-19 00:48:56 +08:00
Zxilly
de2f9f4dec
fix: cli missing macro define
2023-12-25 20:33:58 +08:00
Zxilly
38d8ca89e2
feat: make it possible to run without uci
...
for #113
2023-12-25 20:23:23 +08:00
Zxilly
6be399f59e
fix: remove possible false positive
2023-12-03 21:11:32 +08:00
Zxilly
d880329773
fix: use same definition
2023-11-10 18:45:34 +08:00
Zxilly
027669129b
perf: using const for argument
2023-11-10 18:25:31 +08:00
Zxilly
406c138ad1
feat: check http request method
2023-10-31 16:08:04 +08:00
Zxilly
420762a56a
chore: no need for atomic
2023-10-30 13:49:13 +08:00
Zxilly
94b55c6828
feat: allow set UA with uci
2023-10-20 21:04:12 +08:00
Zxilly
fbbc3ca277
feat: add log for unexpected exit
2023-10-16 22:57:06 +08:00
Zxilly
be200f549b
fix: import time.h in cache
2023-09-10 18:14:02 +08:00
Zxilly
004d797fdc
chore: prevent useless include
2023-09-10 12:23:52 +08:00