Skip to content

Tidy up some client/server behaviors

Eric Sandeen fio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3client: sanitize FIO_NET_CMD_SENDFILE requestsclient.c+18 -53 replies
2/3client: don't send uninitialized data in fio_send_file error repliesclient.c+4 -50 replies
3/3fio: server: Warn when listening on networkserver.c+7 -05 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Tidy up some client/server behaviors

Someone got happy with AI scanning and reported a bunch of items related to fio's client/server architecture - an architecture which is neither authenticated nor encrypted, and which *by design* allows arbitrary code execution, which is even documented in the man page.

A couple of the items stood out as probably worth fixing anyway, and I figured it might be worth being more explicit about the security posture of fio when the server is started listening on TCP, so that's patch 3.

I'm not wedded to any of this, tbh, so Jens if you don't like any of this I have no problem with just dropping any or all of these changes.

Thanks!

-Eric