Hardening SunRPC XDR encoding and decoding #2698
chucklever
started this conversation in
General
Replies: 2 comments 3 replies
-
Hi there, sorry for the slow response. If you're interested in obtaining verified C code for just the decoders, one approach might be to use EverParse/3D. See this paper: https://www.fstar-lang.org/papers/EverParse3D.pdf If you could provide some specifics about the fragments of XDR that you're particularly interested in, perhaps with some samples, I'd be happy to comment a bit more on the feasibility using EverParse. |
Beta Was this translation helpful? Give feedback.
3 replies
-
You might also find this useful: https://project-everest.github.io/everparse |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given recent advances with RPC-with-TLS, I would like to verify the XDR encoder and decoder functions in the Linux NFS server as part of introducing support for transport-layer security. The Linux NFS server implementation is open-coded in C and does not rely directly on the XDR language snippets provided in the NFS specifications. Formal proof is one approach, but I'm a rank beginner in this area. Any advice appreciated!
Beta Was this translation helpful? Give feedback.
All reactions