liurunrun
e9f0598bd3
add testsuites for net-snoop
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-09-03 14:01:33 +08:00
liurunrun
9c69f81314
add testsuites for mountsnoop
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-09-03 14:01:33 +08:00
liurunrun
88681c7c2c
add testsuites for lsock
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-09-03 14:01:33 +08:00
liurunrun
98e970ad8e
add testsuites for kmemleak
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-09-03 14:01:33 +08:00
liurunrun
39522ffac1
add testsuites for irqsnoop
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-09-03 14:01:33 +08:00
xulang
29f14922f3
fix: demo help message
2025-09-03 10:56:45 +08:00
liurunrun
d886e9f39a
add testsuites for elfverify
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-08-29 17:24:46 +08:00
liurunrun
fd484d0538
modified frtp to work with testsuits
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-08-29 14:41:17 +08:00
liurunrun
c913b0a4f7
change some structs and functions to static
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-08-29 14:41:17 +08:00
liurunrun
fc15028f87
updated frtp testsuits
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-08-29 14:41:17 +08:00
xulang
99f1b84925
optimize: change uuid to dev num
...
since some filesystem has no uuid(such as tmpfs), we can't use uuid as a filter parameter
2025-08-29 14:24:07 +08:00
xulang
5061191ce9
fix: circle buf creation fail occasionally
2025-08-27 13:21:53 +08:00
xulang
790a2ae758
fix: compiling warnings
2025-08-27 10:58:18 +08:00
xulang
00516d7808
delete: drawio backup file is accidently uploaded
2025-08-27 10:57:38 +08:00
xulang
d46d250be6
update: rename file-occupation to lsof
2025-08-27 10:42:11 +08:00
xulang
175dff5b89
fix: remove unused header including
2025-08-27 10:08:07 +08:00
xulang
525615cdb1
test: add more cases and details for bpf-test
2025-08-26 19:38:48 +08:00
xulang
dc010eb05e
optimize: shm multi-proc gtest case
2025-08-26 15:44:23 +08:00
xulang
4bb1f31d96
fix: ring buffer shm creation occasionally fail
2025-08-26 15:43:46 +08:00
xulang
14533c2a24
fix: shm map failure in multi-thread gtest case
2025-08-26 15:18:33 +08:00
xulang
9ad52bc070
fix: RingBuffer() do things accordingly
2025-08-25 16:39:25 +08:00
liurunrun
2b4439497d
add proc info node loginuid
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-08-25 16:38:49 +08:00
shanzhiwei
c46e9f242c
feat: add tc-if-test
2025-08-25 16:38:02 +08:00
xulang
41468d797b
fix: change "EXPEXT_XX" to "ASSERT_XX" in ring-buffer gtest
2025-08-22 11:02:43 +08:00
xulang
d75e532be3
fix: MirrorMemory are not supposed to del the shm
2025-08-22 11:02:43 +08:00
xulang
0513fd80a3
update: change construct param to key_t for MirrorMemory
2025-08-22 11:02:43 +08:00
xulang
5af415a508
test: add gtest for mirror memory class
2025-08-22 11:02:43 +08:00
xulang
39a2dc407f
feat: we can safely alloc mirror buffer now
2025-08-22 11:02:43 +08:00
shanzhiwei
c37c181349
feat: add traffic control for process
2025-08-20 17:24:51 +08:00
liurunrun
b3fde13620
fixed bug in makefile
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-08-20 17:24:06 +08:00
xulang
8f2af4da74
add gtest for ring-buffer.cpp and fix found problems
2025-08-20 17:10:56 +08:00
xulang
14a8d164a9
add gtest for spinlock.h
2025-08-20 17:10:50 +08:00
liurunrun
3df57340bd
updated .clang-format using morden options
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-08-20 17:06:19 +08:00
xulang
f946c9d643
fix compiling error in tc-ip for clang-18
2025-08-19 17:36:14 +08:00
xulang
ee1c691d03
add gtest for shm.cpp
2025-08-19 17:22:40 +08:00
liurunrun
a36c7ab9dd
add a script to format modified files
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-08-19 17:13:23 +08:00
liurunrun
928dde6420
add .clang-format file and formatted all source files
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-08-19 17:13:23 +08:00
liurunrun
cfe8eadc2f
add proc info node ns
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-08-19 17:13:23 +08:00
xulang
2e766b40a7
rename shared-memory to shm
2025-08-15 17:24:52 +08:00
shanzhiwei
2e6c2c2979
feat: add traffic control for ip , protocol and port
2025-08-15 17:23:58 +08:00
shanzhiwei
28f42f41b4
feat: add traffic control for ifnet
2025-08-15 17:22:37 +08:00
liurunrun
c0ea9b08b4
add documents for frtp and elfverify
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-08-15 17:21:10 +08:00
liurunrun
16ae32f7e8
add testsuits for frtp
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-08-15 17:20:43 +08:00
liurunrun
e770b9a20e
add elfverify to forbid invalid executing out of the whitelist
...
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-08-15 13:58:54 +08:00
liurunrun
b0be38cd8c
using dev_t instead of uuid_t to work better with overlayfs
...
1.Virtual file systems like overlayfs do not have an uuid, in that case
frtp couldn't work correctly.By using dev_t instead of uuid_t, we can fix
the bug.
2.Fixed irregular logging behaviors by using pr_info and pr_error.
Signed-off-by: liurunrun <liurunrun@uniontech.com>
2025-08-15 13:54:24 +08:00
xulang
694a7a2dd7
complete test cases and fix issuses found by test
...
1. complete mock functions
2. fix Makefiles
3. fix test cases
4. fix issuses found by test
2025-08-15 10:48:18 +08:00
xulang
2560f6d6f4
update documents
2025-08-15 10:48:18 +08:00
shanzhiwei
1ecfce5b2d
fix: rename tc-group to tc-cgroup
2025-08-13 14:41:01 +08:00
shan9227
ada1ee1c9f
feat: add traffic control cgroup ( #2 )
...
Co-authored-by: lax <xu_lang@foxmail.com>
2025-08-12 14:36:45 +08:00
shan9227
dc0ca50ee3
feat: add arp observe ( #4 )
...
Co-authored-by: lax <xu_lang@foxmail.com>
2025-08-12 14:31:51 +08:00