Skip to content
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

sydump-test1 #1

Closed
wants to merge 3 commits into from
Closed

sydump-test1 #1

wants to merge 3 commits into from

Conversation

linglilongyi
Copy link
Owner

add new subcommand sysdump
but remain fail after building that sysdump have not neither shown in dae --help nor being able to call.

ref: daeuniverse/issues/524

@jschwinger233
Copy link

我运行了 make 之后看起来有 sysdump subcommand:

dae $ make
-strip=/usr/bin/llvm-strip
Compiled /home/liangzc/src/github.com/daeuniverse/dae/control/bpf_bpfel.o
Stripped /home/liangzc/src/github.com/daeuniverse/dae/control/bpf_bpfel.o
Wrote /home/liangzc/src/github.com/daeuniverse/dae/control/bpf_bpfel.go
Compiled /home/liangzc/src/github.com/daeuniverse/dae/control/bpf_bpfeb.o
Stripped /home/liangzc/src/github.com/daeuniverse/dae/control/bpf_bpfeb.o
Wrote /home/liangzc/src/github.com/daeuniverse/dae/control/bpf_bpfeb.go
Compiled /home/liangzc/src/github.com/daeuniverse/dae/trace/bpf_bpfel_x86.o
Stripped /home/liangzc/src/github.com/daeuniverse/dae/trace/bpf_bpfel_x86.o
Wrote /home/liangzc/src/github.com/daeuniverse/dae/trace/bpf_bpfel_x86.go
-DMAX_MATCH_SET_LEN=64 -O2 -Wall -Werror
go build -tags=trace -o dae -trimpath -ldflags "-s -w -X github.com/daeuniverse/dae/cmd.Version=unstable-20240701.r715.94087e0 -X github.com/daeuniverse/dae/common/consts.MaxMatchSetLen_=64"  .
dae $ ./dae -h
dae is a high-performance transparent proxy solution.

Usage:
  dae [command]

Available Commands:
  export      To export some information for UI developers.
  help        Help about any command
  honk        Let dae call for you.
  reload      To reload config file without interrupt connections.
  run         To run dae in the foreground.
  suspend     To suspend dae. This command puts dae into no-load state. Recover it by 'dae reload'.
  sysdump     Dumps system network information
  trace       To trace traffic
  validate    To validate dae config.

Flags:
  -h, --help      help for dae
  -v, --version   version for dae

Use "dae [command] --help" for more information about a command.

@linglilongyi
Copy link
Owner Author

好的,我今晚再确认一下~谢谢 @jschwinger233

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