Linux Today: Linux News On Internet Time.
Search Linux Today
search.internet.com
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Become a Marketplace Partner

internet.commerce
Be a Commerce Partner














The Linux Channel at internet.com
Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Server Daily
IT Management Daily
Subscribe News
Subscribe PR
Subscribe Security

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

Using a Bamboo Tablet with Ubuntu 10.04

Clonezilla Live

Are You Intimidated By Breakfast Cereal?

Announcing WriteType 1.0.98

How to install PC-BSD on an encrypted ZFS file system

Ubuntu 10.10 beta arrives with new netbook UI

Webcam server on Linux 2

SECURITY: PS3 hack source code published

Oracle offers student coders free access to JavaOne

Your Linux system keeps falling and it can't get up




UNIX Systems Administrator (IL)
Next Step Systems
US-IL-Chicago

Justtechjobs.com Post A Job | Post A Resume
:SysAdmin: Encrypted NFS with OpenSSH and Linux
SysAdmin: Encrypted NFS with OpenSSH and Linux
Feb 13, 2002, 16 :42 UTC (3 Talkback[s]) (8409 reads)

(Other stories by James Strandboge)

"NFS is a widely deployed, mature, and understood protocol that allows computers to share files over a network. The main problems with NFS are that it relies on the inherently insecure UDP protocol, transactions are not encrypted, hosts and users cannot be easily authenticated, and its difficulty in firewalling. This article provides a solution to most of these problems for Linux clients and servers. These principles may also be applied to any UNIX server with ssh installed. This article assumes basic knowledge of NFS and firewalling for Linux.

First, make sure ssh is installed. Although any version of ssh should work, testing for this article was done using OpenSSH 2.9p2-4 from Debian woody. Because ssh is installed by default in most major Linux distributions, and easily obtainable in other UNIX systems, installation will not be covered here. Ssh protocol version 2 will be used in this article, however version 1 can be used instead. To use ssh to encrypt communications, the NFS server must be able to handle TCP requests, since ssh cannot do anything with UDP packets at present. This is easily tested with rpcinfo -p on the server.

FreeBSD and Solaris natively support a TCP NFS server. As of this writing, the 2.4 Linux kernel NFS server does not, but progress is being made toward that end. However, the Linux user space NFS server does handle TCP, and this article was tested using nfs-user-server 2.2beta47 from Debian woody. It is also best, though not strictly necessary, if portmap or rpc.bind have support for TCP Wrappers compiled in and have proxy forwarding disabled. Wietse VenemaÕs portmap, the one shipped with all major Linux distributions, should be set up properly."

Complete Story

Related Stories:
Byte.com: Keeping in Sync with Intermezzo(Jan 07, 2002)
802.11 Planet: WiFi and the Penguin: Setting Up 802.11b Under Linux(Dec 26, 2001)
SysAdmin: NFS Part II, Usage (Nov 17, 2001)
SysAdmin: NFS: Part I, The Protocol (Sep 09, 2001)
UnixReview.com: Evaluating the AccessNFS Suite(Jul 22, 2001)
FreeOS.com: Sharing, the NFS way(Feb 07, 2001)


Index Mode   |   Flat Mode   |   Thread Mode   |   Thread Flat  
  Talkback(s) Name  and Date
It seems to me that this is exactly the  ...   What about IPSec   
JimDennis
Feb 13, 2002, 19:16:01
 
No URL is mentioned, but apparently is:h ...   URL   
Neil Pilgrim
Feb 13, 2002, 19:32:36
 
Very excellent points, which address the ...   Re: What about IPSec   
John Bell
Feb 13, 2002, 23:37:21
 
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!






..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP