From 9bcfb53c4506c42799c1e9c776ed177af0dd206c Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Wed, 24 Jul 2024 00:33:08 +0200 Subject: [PATCH] notes Signed-off-by: Pierre Fenoll --- fix_when_no_monkey.shell | 10 ++++++++++ fix_when_zero_intensity | 17 +++++++++++++++++ notes | 14 ++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 fix_when_no_monkey.shell create mode 100644 fix_when_zero_intensity create mode 100644 notes diff --git a/fix_when_no_monkey.shell b/fix_when_no_monkey.shell new file mode 100644 index 00000000..ce919de0 --- /dev/null +++ b/fix_when_no_monkey.shell @@ -0,0 +1,10 @@ +12:19:27.590515 reset.go:98: [NFO] re-initialized model state +12:19:27.590530 reset.go:55: [ERR] ExecReset: no resetter selected +12:19:27.590546 chans_bidi.go:118: [DBG] sending *fm.Clt_ResetProgress_... +12:19:27.590644 chans_bidi.go:120: [DBG] sent! (err: ) +12:19:27.590672 fuzz.go:141: [NFO] handled *fm.Srv_Reset_ +12:19:27.590684 fuzz.go:86: [DBG] receiving msg... +12:19:27.594708 chans_bidi.go:96: [DBG] received *fm.Srv_FuzzingResult_ +12:19:27.594812 chans_bidi.go:92: [DBG] received err: EOF +12:19:27.594889 progress.go:61: [DBG] srvprogress: failure:true total_tests_count:1 +12:19:27.594944 fuzz.go:117: [NFO] handling *fm.Srv_FuzzingResult_ diff --git a/fix_when_zero_intensity b/fix_when_zero_intensity new file mode 100644 index 00000000..a3824b0c --- /dev/null +++ b/fix_when_zero_intensity @@ -0,0 +1,17 @@ +12:22:48.579042 fuzz.go:64: [DBG] sending initial msg +12:22:48.579234 chans_bidi.go:118: [DBG] sending *fm.Clt_Fuzz_... +12:22:48.580240 chans_bidi.go:120: [DBG] sent! (err: ) +12:22:48.580267 fuzz.go:86: [DBG] receiving msg... +12:22:48.586204 chans_bidi.go:92: [DBG] received err: rpc error: code = Unknown desc = unexpected data from Monkey +12:22:48.586214 chans_bidi.go:94: [NFO] terminated rcv-er of Srv +12:22:48.586219 fuzz.go:89: [ERR] rpc error: code = Unknown desc = unexpected data from Monkey +12:22:48.586224 fuzz.go:162: [NFO] ran tests:0 calls:0 checks:0 +12:22:48.586238 chans_bidi.go:131: [NFO] Close()-ing ChBiDi... +12:22:48.586252 main.go:235: [ERR] rpc error: code = Unknown desc = unexpected data from Monkey +12:22:48.586276 chans_bidi.go:110: [ERR] context canceled +12:22:48.586281 reset.go:24: [NFO] terminating resetter +12:22:48.586325 main.go:86: [ERR] (not an error) ran for 40.175541ms + + monkey fuzz --intensity=0 + +should end cleanly diff --git a/notes b/notes new file mode 100644 index 00000000..69e89248 --- /dev/null +++ b/notes @@ -0,0 +1,14 @@ +MNK periodical concurrent `nc -v …` +MNK https://github.com/microsoft/restler-fuzzer/blob/main/docs/user-guide/QuickStart.md +MNK drop custom auth bearer thing. Use func that can modify headers + +MNK: add/rewrite headers and rest of request in before_request() +Disallow state mutation for now tho + +https://pkg.go.dev/net/http#Header +https://cs.opensource.google/go/go/+/refs/tags/go1.21.1:src/net/http/header.go;l=24 +https://pkg.go.dev/net/textproto#MIMEHeader +https://pkg.go.dev/go.starlark.net/starlark#Mapping +https://github.com/google/starlark-go/blob/745481cf39ed/starlark/value.go#L950 + +https://github.com/FuzzyMonkeyCo/monkey/compare/befreq?expand=1