Commit Graph

275 Commits

Author SHA1 Message Date
Zxilly
593c644b38 build: gc unused function 2023-04-23 14:00:42 +08:00
Zxilly
5469d76032 fix: add missing log 2023-04-23 10:33:05 +08:00
Zxilly
aace74c3c7 fix: regard connmark 0 as not set
(#73)
2023-04-22 21:44:49 +08:00
Tianling Shen
d3fa09e7df ci: refactor using gh-action-sdk
Signed-off-by: Tianling Shen <i@cnsztl.eu.org>
2023-04-22 11:17:52 +08:00
Tianling Shen
4525d92b96 build(openwrt): move to dedicated dir and build with cmake
Signed-off-by: Tianling Shen <i@cnsztl.eu.org>
2023-04-22 11:17:52 +08:00
Tianling Shen
515f64257b build(CMakeLists): improve compatibility
- Disable AddressSanitizer for non-glibc based libc

- Manually pass `-std=gnu17` flag as `CMAKE_C_STANDARD 17` is only
  available on cmake 3.21+

Signed-off-by: Tianling Shen <i@cnsztl.eu.org>
2023-04-22 11:17:52 +08:00
Zxilly
9684556847 ci: revert v4 release spec 2023-04-21 22:11:16 +08:00
Zxilly
f7f4f6cfe5 fix: fix missing __uint128_t 2023-04-21 22:02:11 +08:00
Zxilly
b58f3a2081 ci: rename sdk dir 2023-04-21 21:38:48 +08:00
Zxilly
ac738caaa1 ci: fix env 2023-04-21 21:35:56 +08:00
Zxilly
912bedfa6c ci: release v4 2023-04-21 21:33:28 +08:00
Zxilly
59aff9b801 ci: set release tag 2023-04-21 21:27:13 +08:00
Zxilly
6c760a0807 refactor: rewrite to support ipv6
Closes: #44
2023-04-21 21:26:27 +08:00
Zxilly
84e1ac90f1 refactor: remove ipset 2023-04-13 22:21:57 +08:00
Zxilly
f3c90cdd09 style: clean code 2023-04-12 22:08:34 +08:00
Tianling Shen
da8ed67881 fix procd service inactive
Exit directly will result procd service inactive and uci
configuration changes are no longer monitored.

Reported-by: Lvc Revincx <revincx233@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-20 13:33:50 +08:00
Zxilly
965fd28811
chore: follow OpenWRT version specs 2022-09-02 05:50:11 +00:00
Zxilly
8f99316009
chore: bump version 2022-09-01 00:26:44 +00:00
Tianling Shen
a85772b76f
fix(init): minor improvements (#53)
* Revert "refactor: uci scripts"

Revert ugly changes.

This reverts commit c2388e3186.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* fix(init): minor improvements

1. Add fallback value for uci options.
2. As suggested by wulishui, directly set rules when reload firewall.
3. Do not delay when restart, pointless.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-01 08:15:54 +08:00
Zxilly
401b039b4a
build: bump version 2022-08-27 15:35:12 +08:00
wulishui
c2388e3186
refactor: uci scripts 2022-08-27 15:28:21 +08:00
Zxilly
52e88acf8f
ci: update stale message
[skip ci]
2022-05-21 17:27:00 +08:00
Zxilly
a1b48f9e71
ci: add stale check 2022-05-21 17:20:50 +08:00
Zxilly
21a0cf2bc5
build: bump version
Signed-off-by: Zxilly <zxilly@outlook.com>
2022-04-21 14:09:13 +08:00
Zxilly
7da3807b5c
build: enable address sanitize
[skip ci]

Signed-off-by: Zxilly <zxilly@outlook.com>
2022-04-21 14:07:46 +08:00
Zxilly
1afac6f4a3
fix: fix potential wild pointer and update log
Signed-off-by: Zxilly <zxilly@outlook.com>
2022-04-21 14:03:35 +08:00
Zxilly
b76a76d38e
feat: add ignore mmtls option
Signed-off-by: Zxilly <zxilly@outlook.com>
2022-04-21 14:00:54 +08:00
emptyList()
4065015db3
docs: update readme 2022-03-19 10:44:27 +08:00
emptyList()
ecd7fcad1b
chore: add code of conduct 2022-03-12 17:36:38 +08:00
Zxilly
d0aa9395d8 fix: cover edge case 2022-03-05 02:13:03 +08:00
imguoliwei
3466e95870
fix pointer out of bounds (#42)
[skip ci]

Co-authored-by: imguoliwei <imguoliwei@github.com>
2022-03-05 01:58:40 +08:00
undefined
cbe8f6ebfb
docs: no longer maintain 2021-12-11 19:55:01 +08:00
undefined
4b06db820f
revert: Revert "feat(init): ua2f auto start (#35)" (#37)
This reverts commit 0befa59816.
2021-11-12 13:10:31 +08:00
SunBK201
0befa59816
feat(init): ua2f auto start (#35) 2021-11-10 20:00:35 +08:00
Tianling Shen
d4e4c4dfe1
chore(init): cleanup script (#34)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-11-02 14:42:25 +08:00
undefined
bd22c0028b
build: bump version 2021-11-02 13:38:46 +08:00
Zxilly
061d14a04e fix: exit correctly 2021-11-02 13:15:22 +08:00
Zxilly
a288a3fc0c fix: kill child when parent dies
Closes https://github.com/Zxilly/UA2F/issues/27
2021-11-02 00:37:27 +08:00
Zxilly
327f312925 style: add log 2021-09-12 09:08:09 +08:00
Zxilly
6fe0b26201
fix: shorten wait time 2021-08-10 16:48:03 +08:00
SunBK201
c8a11a1bff
fix(init): bug fix (#29) 2021-08-10 14:28:55 +08:00
Zxilly
f3d4c1be0b
docs: update readme 2021-08-09 21:52:50 +08:00
Zxilly
057769ca96
chore: bump version 2021-08-09 14:06:19 +08:00
SunBK201
9b9fff2045
feat(init): handle intranet (#28)
* feat(init): handle intranet

* feat(init): handle intranet

* feat(init): handle intranet

* feat(init): handle intranet

* feat(init): handle intranet
2021-08-08 13:15:16 +08:00
Tianling Shen
665a1cdd39
feat(init): handle firewall rules (#25)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-04 17:20:47 +08:00
Zxilly
d82e7543e7 chore: bump version 2021-06-26 18:42:10 +08:00
Zxilly
84a358c5e6 feat: use default ua string 2021-06-26 13:12:38 +08:00
CN_SZTL
c25f5e775b
build(Makefile): correct build path (#24)
On OpenWrt, buildbot will copy all files from src to builddir root.

Fixes: 8b6739a16c ("build: format OpenWrt Makefile and fix CMakeLists (#23)")

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-17 11:35:56 +08:00
CN_SZTL
8b6739a16c
build: format OpenWrt Makefile and fix CMakeLists (#23)
* style: format OpenWrt Makefile

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* fix: remove obsolete targets in CMakeLists

Fixes: 661334b48e ("chore: remove reference")

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* fix: remove compile warnings

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-17 00:57:53 +08:00
Zxilly
661334b48e chore: remove reference
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
2021-05-31 23:45:59 +08:00