52 Commits

Author SHA1 Message Date
hengyoush
a57788406f feat(protocol): support dns protocol 2025-04-10 10:30:04 +08:00
AvaIon
8b8fe640b7 feat: Support MongoDB protocol (#275)
* The preliminary parsing of the MongoDB protocol has been completed, but there are still issues such as incorrect end times.

* Mongodb Unit test done

* The preliminary parsing of the MongoDB protocol has been completed, but there are still issues such as incorrect end times.

* Mongodb Unit test done

* feat: support mongo

* fix: install mongsh failed

* fix: install mongodb shell

---------

Signed-off-by: 烈香 <hengyoush1@163.com>
Co-authored-by: xiaoweihao <xiaoweihao@tp-link.com.hk>
Co-authored-by: 烈香 <hengyoush1@163.com>
2025-02-27 22:29:55 +08:00
Laitron
6653fef907 feat: new version detection (#256) 2025-01-08 14:43:29 +08:00
Spencer Cai
6d0b142054 feat: check cap privileges instead of Geteuid during starting the agent (#242)
* feat: Introduce github.com/containerd/containerd/pkg/cap to check whether process has CAP_BPF privilege

Signed-off-by: spencercjh <spencercjh@gmail.com>

* fix: better logs

* fix: adapt to e2e test env

* style: go mod tidy

* fix: make tests pass

* fix: DO NOT use containerd cap package

* test: introduce tests to verify agent/common/permission.go

* fix: correct implementation refer to https://man7.org/linux/man-pages/man2/capset.2.html

* test: test test_add_cap_bpf first

* test: cap-add difference capability for different kernal

* test: load btf file to container and run kyanos with --btf flag

* test: add missing capability CAP_SYS_RESOURCE

* test: try to use --privileged instead of cap-add

---------

Signed-off-by: spencercjh <spencercjh@gmail.com>
2025-01-03 21:05:54 +08:00
renovate[bot]
28c92ed8b1 fix(deps): update module github.com/charmbracelet/bubbletea to v1.2.4 (#120) 2024-12-21 02:20:51 +08:00
Spencer Cai
058cabf29c chore: make go list -m -json all works to import the project by goland (#194)
* fix: add more replace

Signed-off-by: spencercjh <spencercjh@gmail.com>

* fix: downgrade to v0.24.17

Signed-off-by: spencercjh <spencercjh@gmail.com>

---------

Signed-off-by: spencercjh <spencercjh@gmail.com>
2024-12-19 17:24:21 +08:00
烈香
14640b111c Merge pull request #147 from hengyoush/renovate/golang.org-x-exp-digest
fix(deps): update golang.org/x/exp digest to 43b7b7c
2024-12-11 20:14:56 +08:00
hengyoush
a4613ced1f feat(filter): support filter traffic by process name 2024-12-11 01:14:19 +08:00
烈香
e7fb9540d6 Merge pull request #126 from hengyoush/renovate/github.com-stretchr-testify-1.x 2024-12-10 19:54:04 +08:00
renovate[bot]
d435c32db5 fix(deps): update golang.org/x/exp digest to 43b7b7c 2024-12-09 02:37:55 +00:00
renovate[bot]
408a34047e fix(deps): update module golang.org/x/sys to v0.28.0 2024-12-04 14:39:36 +00:00
renovate[bot]
61c23bfa1c fix(deps): update module github.com/stretchr/testify to v1.10.0 2024-11-23 12:03:37 +00:00
renovate[bot]
bd0102e3e5 fix(deps): update module github.com/charmbracelet/bubbletea to v1.2.2 2024-11-13 08:37:38 +00:00
renovate[bot]
52eb05d0bb fix(deps): update module github.com/containerd/errdefs to v1 2024-11-11 18:02:26 +00:00
烈香
6b3e6f3c30 Merge pull request #74 from hengyoush/renovate/go-1.x
chore(deps): update dependency go to v1.23.3
2024-11-11 20:33:34 +08:00
烈香
3510a45b04 Merge pull request #80 from hengyoush/renovate/github.com-docker-docker-27.x
fix(deps): update module github.com/docker/docker to v27
2024-11-11 20:28:34 +08:00
renovate[bot]
dcbfa2820b fix(deps): update module github.com/docker/docker to v27 2024-11-11 10:49:39 +00:00
烈香
7d797ca1eb Merge pull request #103 from hengyoush/renovate/golang.org-x-exp-digest
fix(deps): update golang.org/x/exp digest to 2d47ceb
2024-11-11 18:48:46 +08:00
烈香
7126534b38 Merge pull request #96 from hengyoush/renovate/github.com-containerd-typeurl-v2-2.x
fix(deps): update module github.com/containerd/typeurl/v2 to v2.2.3
2024-11-11 18:48:19 +08:00
renovate[bot]
b11fac7fcb fix(deps): update golang.org/x/exp digest to 2d47ceb 2024-11-11 10:06:46 +00:00
renovate[bot]
f20f408975 fix(deps): update module github.com/charmbracelet/bubbletea to v1.2.1 2024-11-11 09:44:47 +00:00
hengyoush
346e53cb48 fix: fix stuck issue 2024-11-11 17:43:13 +08:00
renovate[bot]
32f6149d1b fix(deps): update module github.com/containerd/typeurl/v2 to v2.2.3 2024-11-08 14:00:04 +00:00
renovate[bot]
a9d9610056 chore(deps): update dependency go to v1.23.3 2024-11-07 00:21:14 +00:00
hengyoush
b2a465718d feat(loader): support download btf when can't find in embedded 2024-11-06 23:14:53 +08:00
hengyoush
6373f868af feat: support capture gotls traffic 2024-11-04 20:32:36 +08:00
renovate[bot]
66861ee1eb fix(deps): update module github.com/charmbracelet/lipgloss to v0.13.1 2024-10-22 22:58:42 +00:00
烈香
ed305f0164 Merge pull request #78 from hengyoush/renovate/golang.org-x-sys-0.x
fix(deps): update module golang.org/x/sys to v0.26.0
2024-10-21 00:37:44 +08:00
renovate[bot]
53d5f0c291 fix(deps): update module golang.org/x/sys to v0.26.0 2024-10-20 16:28:14 +00:00
烈香
69426acd1e Merge pull request #76 from hengyoush/renovate/github.com-cilium-ebpf-0.x
fix(deps): update module github.com/cilium/ebpf to v0.16.0
2024-10-21 00:27:35 +08:00
renovate[bot]
3c00836fdf fix(deps): update module github.com/spf13/viper to v1.19.0 2024-10-20 15:06:08 +00:00
renovate[bot]
b66767fb6c fix(deps): update module github.com/cilium/ebpf to v0.16.0 2024-10-20 15:06:00 +00:00
烈香
60909e0aac Merge pull request #72 from hengyoush/renovate/github.com-containerd-containerd-1.x
fix(deps): update module github.com/containerd/containerd to v1.7.23
2024-10-20 18:47:11 +08:00
renovate[bot]
411fe02837 fix(deps): update module github.com/zcalusic/sysinfo to v1.1.2 2024-10-20 10:05:58 +00:00
renovate[bot]
5f19abde62 fix(deps): update module github.com/containerd/containerd to v1.7.23 2024-10-20 10:05:51 +00:00
renovate[bot]
c45514be21 fix(deps): update golang.org/x/exp digest to f66d83c 2024-10-20 06:19:27 +00:00
hengyoush
ca7876643a [Feature] Visualize watch record time detail 2024-10-13 19:00:21 +08:00
hengyoush
70c53b0dfe feat. beautify watch command 2024-10-11 21:21:57 +08:00
hengyoush
5cadefaf98 [Feature] Support filter by container-id & container-name & pod name 2024-10-03 17:48:33 +08:00
hengyoush
0d38c4d054 [Fix] fix openssl probe bug 2024-10-01 13:58:25 +08:00
hengyoush
6319ea6fe1 [Feature] Openssl Support 2024-09-30 23:40:14 +08:00
hengyoush
d4759d2195 [Fix] fix redis nil bug 2024-09-13 13:01:48 +08:00
hengyoush
4c49047e56 [Improvement] Replace orderedmap with treemap to store seq=>timestamp map 2024-09-05 22:41:54 +08:00
hengyoush
a3910fef67 [Feature] read kernel version to determine whether enter compatible mode 2024-09-04 23:34:51 +08:00
hengyoush
e9402f3cf1 [Protocol] Parse stream into message with stream buffer 2024-09-01 22:29:10 +08:00
hengyoush
844081383d [Refactor] 将项目名称变更为kyanos 2024-08-25 21:29:41 +08:00
hengyoush
ee03671b4b 新增read系统调用 2024-08-24 15:25:19 +08:00
hengyoush
7a733ed498 Add time detail output 2024-08-11 18:27:03 +08:00
hengyoush
8d3fdc5575 [Log] Add logrus to log 2024-05-10 23:57:07 +08:00
hengyoush
a4be218f34 [eBPF] Add daemon mode 2024-05-09 23:03:34 +08:00