sahlberg/libnfs — pull request #23 by warped-rudi (2012-09-18 06:49:45+00:00)
Title: Port assignment

This pachset changes the way privileged ports are assigned. I have a system here that will not only check for port numbers below 1024 but also for numbers above 512. See http://www.sunsolarisadmin.com/security/nfs-security-nfs_portmon-to-restrict-client-source-port-to-privileged-ports/ . I implemented this and enabled to code path for Windows targets. Also the code avoids to bind to well-known ports. I have removed SO_REUSEADDR, however this might be added back in. The second part cleans up error handling for Windows clients and adds some file types to .gitignore.