Skip to content

nfs-get: handle "nfs://" URLs with port number and quick optim#2

Open
cnotin wants to merge 1 commit into
hegusung:masterfrom
cnotin:patch-2
Open

nfs-get: handle "nfs://" URLs with port number and quick optim#2
cnotin wants to merge 1 commit into
hegusung:masterfrom
cnotin:patch-2

Conversation

@cnotin

@cnotin cnotin commented Sep 26, 2019

Copy link
Copy Markdown

rpc-scan generates "nfs://" URLs with the port number in it, ex:

# ./rpc-scan.py --nfs  10.0.0.1
rpc://10.0.0.1:111	Portmapper
nfs://10.0.0.1:2049/test/
[...]

Then if we use those URLs with nfs-get it fails because "o.netloc" = "10.0.0.1:2049" which isn't a valid host

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