does nfsd must have both UDP and TCP

does nfsd must have both UDP and TCP

Post by dan » Tue, 08 Aug 2000 04:00:00



Hi al,

I am just having trouble to setup the NFS server.  after reading the
HOWTO's it seems like the step that I have differnent is that when I
type in rpcinfo -p , it only reports back with 1 "nfs" with proto UDP
but not TCP?  Could this be a problem?  If so, how to get it up?  Any
help will be greatly appreciated.

THx

Dan.

 
 
 

does nfsd must have both UDP and TCP

Post by Steve Housem » Wed, 09 Aug 2000 04:00:00


I have a nfs checklist at

http://freespace.*.net/steve.houseman/nfschecklist

AIUI, nfs was intended as a stateless protocol to make crash recovery
easier, so it was only implemented in udp ... however locking
requirements introduced state and so might as well have tcp version.
So some other unices may already have a tcp version but I dont
*think* the current standard (?) linux nfsd version has tcp yet.

Hope you fix it soon,

Steve Houseman

--

currently  steve.houseman at * net      

 
 
 

1. ipchains/TCP/UDP, Why should I open UDP ports so that my TCP ports can work?

Hi,

I have set up firewall to accept some ports.
/sbin/ipchains -F input
/sbin/ipchains -P input ACCEPT
/sbin/ipchains -A input -p TCP -s 0/0 --dport ssh -j ACCEPT
/sbin/ipchains -A input -p UDP -s 0/0 --dport ssh -j ACCEPT
....

Then I want to lock down all other ports.
/sbin/ipchains -A input -p TCP -s ! 192.168.0.0/24 -j DENY

#??? what's wrong with this UDP ???
/sbin/ipchains -A input -p UDP -s ! 192.168.0.0/24 -j DENY

If I comment out the UDP line, I can ssh into firewall from outside.
If I don't comment out that line, I can no longer ssh into firewall from
outside.

Why should I open UDP ports so that my TCP ports can work?

Thanks for any help.

Ed Wu

2. libproc.so not found (huh?)

3. Fw: NFSD over TCP: TCP broken?

4. iomega jazz drives

5. NFSD over TCP: TCP broken?

6. Matrox MGA-G200 Info

7. rpc.nfsd having problems!

8. CMU Common Lisp

9. mountd & nfsd can't register udp

10. can't get NFS to go ("nfsd: could not make a UDP socket"?)

11. Q: nfsd cant get tcp-socket

12. NFS DOS mount problems using nfsd or hclnfsd

13. nfsd: Problem with corrupt files and dying rpc.nfsd with Redhat Linux 5.1 + Solaris 2.5