- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS and SSH
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 05:55 AM
07-09-2003 05:55 AM
NFS and SSH
I was told SSH can mitigate risk of using NFS. Can anyone tell me about this more specifically?
Thanks,
Crystal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 05:58 AM
07-09-2003 05:58 AM
Re: NFS and SSH
http://www.math.ualberta.ca/imaging/snfs/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:01 AM
07-09-2003 06:01 AM
Re: NFS and SSH
Since passwords are encrypted, it prevents interception of root passwords.
As far as NFS goes, what risks specifically are you talking about?
If NFS is installed verison 3 or above and properly patched it is quite secure. It may not be as robust or easy to configure as CIFS/9000/Samba, but its pretty reliable.
Here is a search requiring three words, ssh nfs and risk.
If you specify the risk, I can address your question.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:06 AM
07-09-2003 06:06 AM
Re: NFS and SSH
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:15 AM
07-09-2003 06:15 AM
Re: NFS and SSH
Anyone able to sniff a network can re-assemble the packets and reproduce data. Yes, it takes some expertise or tools to do, but once re-assembled the data is ready for use.
NFS does not encrypt, and even using secure mount options does not change the fact that the data is transmitted in a plain un-encrypted state.
SSH creates an encrypted channel for all methods of data exchange. So even if packets could be re-assembled in a proper order, the data would have to be decrypted in order to use.
When you look at the time and work involved in trying to decrypt the standard encryption type used in SSH (cypher or blowfish), it becomes virtually impossible.
Sincerely,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:34 AM
07-09-2003 06:34 AM
Re: NFS and SSH
One application requires to use NFS on the background and therefore there will not be any manual login.
How does the SSH tunnelling work when the application daemon accesses information from other servers?
Since SSH can encrypt the packets through the network traffic. Does this mean using NFS via SSH is no longer insecure? What are the remaining risks?
Crystal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 10:47 PM
07-09-2003 10:47 PM
Re: NFS and SSH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 05:04 AM
07-10-2003 05:04 AM
Re: NFS and SSH
HP does not provide a secure NFS product as mentioned above and NFS is insecure by nature as mentioned.
IPSEC can't be used to Secure an Application like NFS:
http://www.docs.hp.com/hpux/internet/index.html#IPSec/9000
From the HP IPsec Manual:
IPSec Limitations and Constraints
IPSec general limitations and constraints are described below:
Security for multiple destination addresses (i.e. broadcast, subnet broadcast, multicast, and anycast addresses) is not supported.
You cannot selectively encrypt or authenticate services that use dynamic ports, such as NFS (Network File System) mountd, NFS lockd, and NIS (Network Information Service).
http://www.docs.hp.com/hpux/onlinedocs/J4256-90001/J4256-90001.html
Secure Shell wont help w/ NFS you can use it for secure telnet rlogin remsh rcp ftp.
http://www.docs.hp.com/hpux/internet/index.html#HP-UX%20Secure%20Shell
The best thing to do is secure the networks where you have NFS Clients and Servers set up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 05:44 PM
07-11-2003 05:44 PM
Re: NFS and SSH
Mitigating risks should be a combination of security implementations. It really depends on what you are trying to secure. Are you trying to secure authenticity, confidentiality, integrity or availability?
In this case, I gather you will be most concerned with authenticity of the NFS server and clients and the confidentiality of traffic transmitted among them.
Some mitigating methods:
1) Install a network-based firewall upfront of all your NFS servers and clients so that the NFS services on your NFS servers cannot be accessed from the Internet and be exploited.
2) Running a switched network also mitigates the risk of traffic being sniffed on the network, assuming that your switches are physically secured.
3) Running host-based firewalls to limit accesses between your servers and clients for NFS services.
4) To prevent DNS compromises, use either split DNS with an internal DNS or rely on /etc/hosts by putting trusted entries into them. Remember to get /etc/nsswitch.conf to prioritise name search with /etc/hosts first.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2003 10:51 PM
07-12-2003 10:51 PM
Re: NFS and SSH
NFS 3 deals with he performance problems and security issues of NFS 2. The data goes across the network unencrypted and can be picked up by any computer on the LAN.
Installing Secure Shell 3.5 at both ends solves that problem? Without any additional configuration? I've been using Secure Shell for years and NFS, because thats how Ignite works.
I think the way to wrap up this thread with a solution(regardless of whether a rabbit is handed out), would be to post the documentation necssary to use ssh to secure NFS.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2003 11:09 PM
07-12-2003 11:09 PM
Re: NFS and SSH
Just having ssh on both ends will not be sufficient to tunnel the NFS data through ssh. It's not simple port forwarding. You will need to get secure RPC code which is available at
http://www.math.ualberta.ca/imaging/snfs/
There is a bit of configuration involved. You may need to do some research on your own as there may not be many that are extensively using Secure NFS.
If you find it tough to configure Secure NFS, then you can go with Steven Simkok Leong's recommendations of minimizing the risks by enhancing the security.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 04:04 AM
07-14-2003 04:04 AM
Re: NFS and SSH
"You cannot selectively encrypt or authenticate services that use dynamic ports, such as NFS (Network File System) mountd, NFS lockd, and NIS (Network Information Service)."
Isn't the word "selectively" the key here. I wasn't suggesting that you encrypt some of the traffic between your hosts, but all of it. At my company we setup all our AIX systems to talk IPSEC to one another, but not to our client-pc's. In this way (IBM calls it transport mode) packets are encrypted at layer-2/3 and systems can be setup to deny access to hosts not using IP-Sec. Surely this would include NFS, or am I missing something here?
I'll hapilly admit if I'm wrong, but this point is key to our security policy, as the next stage is to get our HP systems to join the party, so any suggestions/comments are welcome.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 05:21 AM
07-14-2003 05:21 AM
Re: NFS and SSH
http://www.docs.hp.com/hpux/pdf/J4256-90001.pdf Page 42. The policy configuration screen shows the option "Protocol=ALL" and I would have expected that selecting this would protect NFS?
I also looked at the other links in the earlier reply, and they are basically the same text.
Suggestions welcome.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 05:44 AM
07-14-2003 05:44 AM
Re: NFS and SSH
Cheers,
Todd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 09:29 PM
07-14-2003 09:29 PM
Re: NFS and SSH
Thanks for clearing that up. I nearly had a heart-attack when I first saw your earlier post! :)
This is what I really like about forums, you can see a reply that makes you really question what you assumed you already knew.
Thanks,
Andrew
Hey, and Crystal, how about some points?