Skip to content

Dockerfile + SetAttr Bug Fix#4

Open
wdahlenburg wants to merge 2 commits intoSupermathie:masterfrom
wdahlenburg:master
Open

Dockerfile + SetAttr Bug Fix#4
wdahlenburg wants to merge 2 commits intoSupermathie:masterfrom
wdahlenburg:master

Conversation

@wdahlenburg
Copy link

The RPC dependencies are a bit old, so a Dockerfile was added to allow for nfsshell to continue working on newer systems via a container.

To build:

docker build -t nfsshell:latest .

To run:

docker run --network=host -it nfsshell:latest

For newer NFS shares, I noticed that I was getting a corrupt packet whenever the setattr methods were used. The guard property on the SETATTR3args object did not set the check property. I set this to a default of false. The definition can be seen here: https://datatracker.ietf.org/doc/html/rfc1813#section-3.3.2

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.

1 participant