Skip to content

feat: agent - eBPF Support unix domain sockets #9530

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: v6.6
Choose a base branch
from

Conversation

yinjiping
Copy link
Contributor

This PR is for:

  • Agent

Affected branches

  • main
  • v6.6

@yinjiping yinjiping marked this pull request as draft April 20, 2025 18:41
@yinjiping
Copy link
Contributor Author

模拟测试: (unix domain socket server and client test)

+ --------------------------------- +
2025-04-21 02:44:05.848605 [datadump] SEQ 0 <HTTP1> DIR out TYPE unknown(7) PID 24507 THREAD_ID 24507 COROUTINE_ID 0 ROLE client CONTAINER_ID null SOURCE 0 COMM client Unknow 0.0.0.0.0 > 0.0.0.0.0 LEN 35 SYSCALL_LEN 35 SOCKET_ID 17451745511133267 TRACE_ID 0 TCP_SEQ 0 DATA_SEQ 0 TLS false KernCapTime 2025-04-21 02:44:05.848321 KernMonoTime 65135099745 us
GET / HTTP/1.1
Host: localhost

+ --------------------------------- +
+ --------------------------------- +
2025-04-21 02:44:05.848780 [datadump] SEQ 1 <HTTP1> DIR in TYPE unknown(7) PID 24458 THREAD_ID 24458 COROUTINE_ID 0 ROLE server CONTAINER_ID null SOURCE 0 COMM server Unknow 0.0.0.0.0 > 0.0.0.0.0 LEN 35 SYSCALL_LEN 35 SOCKET_ID 377739715700772947 TRACE_ID 377739715700772947 TCP_SEQ 0 DATA_SEQ 0 TLS false KernCapTime 2025-04-21 02:44:05.848365 KernMonoTime 65135099789 us
GET / HTTP/1.1
Host: localhost

+ --------------------------------- +
+ --------------------------------- +
2025-04-21 02:44:05.857153 [datadump] SEQ 2 <HTTP1> DIR in TYPE unknown(7) PID 24507 THREAD_ID 24507 COROUTINE_ID 0 ROLE client CONTAINER_ID null SOURCE 0 COMM client Unknow 0.0.0.0.0 > 0.0.0.0.0 LEN 78 SYSCALL_LEN 78 SOCKET_ID 17451745511133267 TRACE_ID 17451745511133267 TCP_SEQ 0 DATA_SEQ 1 TLS false KernCapTime 2025-04-21 02:44:05.848463 KernMonoTime 65135099887 us
HTTP/1.1 200 OK
Content-Length: 13
Content-Type: text/plain

Hello, world
+ --------------------------------- +
+ --------------------------------- +
2025-04-21 02:44:05.857228 [datadump] SEQ 3 <Unknown> DIR out TYPE unknown(7) PID 24507 THREAD_ID 24507 COROUTINE_ID 0 ROLE unknown CONTAINER_ID null SOURCE 6 COMM client Unknow 0.0.0.0.0 > 0.0.0.0.0 LEN 0 SYSCALL_LEN 0 SOCKET_ID 17451745511133267 TRACE_ID 0 TCP_SEQ 0 DATA_SEQ 2 TLS false KernCapTime 2025-04-21 02:44:05.848532 KernMonoTime 65135099956 us
+ --------------------------------- +
+ --------------------------------- +
2025-04-21 02:44:05.857335 [datadump] SEQ 4 <HTTP1> DIR out TYPE unknown(7) PID 24458 THREAD_ID 24458 COROUTINE_ID 0 ROLE server CONTAINER_ID null SOURCE 0 COMM server Unknow 0.0.0.0.0 > 0.0.0.0.0 LEN 78 SYSCALL_LEN 78 SOCKET_ID 377739715700772947 TRACE_ID 377739715700772947 TCP_SEQ 0 DATA_SEQ 1 TLS false KernCapTime 2025-04-21 02:44:05.848424 KernMonoTime 65135099848 us
HTTP/1.1 200 OK
Content-Length: 13
Content-Type: text/plain

Hello, world
+ --------------------------------- +
+ --------------------------------- +
2025-04-21 02:44:05.857403 [datadump] SEQ 5 <Unknown> DIR out TYPE unknown(7) PID 24458 THREAD_ID 24458 COROUTINE_ID 0 ROLE unknown CONTAINER_ID null SOURCE 6 COMM server Unknow 0.0.0.0.0 > 0.0.0.0.0 LEN 0 SYSCALL_LEN 0 SOCKET_ID 377739715700772947 TRACE_ID 0 TCP_SEQ 0 DATA_SEQ 2 TLS false KernCapTime 2025-04-21 02:44:05.848444 KernMonoTime 65135099868 us
+ --------------------------------- +

@yinjiping yinjiping force-pushed the support_unix_socket branch 2 times, most recently from e429272 to 71e40fe Compare April 21, 2025 23:47
@yinjiping yinjiping force-pushed the support_unix_socket branch from 71e40fe to 9b4c3d7 Compare April 22, 2025 00:07
@yinjiping yinjiping force-pushed the support_unix_socket branch from 7439233 to e678fbc Compare April 23, 2025 01:19
@yinjiping yinjiping force-pushed the support_unix_socket branch from e678fbc to bfb07f5 Compare April 23, 2025 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants