dice
dice copied to clipboard
Reinforce RESP handler
Describe the bug RESP handler often breaks, need to fix it.
To Reproduce Steps to reproduce the behavior: DO THIS-
(printf '+PING\r\n+PING\r\n';) | nc localhost 7379
(printf '+PING\r\n+PING\r\n';) | nc localhost 7379
(printf '+OING\r\n+PING\r\n';) | nc localhost 7379
Expected behavior This should log "Possible security attack" on the server side and disconnect the client issuing the command.
Additional context Try Fuzzers to break the current RESP implementation to explore more steps to reproduce the larger issue with RESP handler.