From: Jan Kasprzak <kas@fi.muni.cz>
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: nfs@lists.sourceforge.net
Subject: Re: mountd gives "illegal port"
Date: Wed, 27 Oct 2004 23:13:03 +0200 [thread overview]
Message-ID: <20041027211303.GD27180@fi.muni.cz> (raw)
In-Reply-To: <3412.1098911073@marajade.sandelman.ottawa.on.ca>
Michael Richardson wrote:
: What version are you using?
: On client? on server?
:
Kernel 2.6.9 on both hosts (server is x86-64, client i386),
client nfs-utils-1.0.6-22 on Fedora Core 2, server nfs-utils-1.0.6-34
on Fedora Core 3 test 3.
: Jan> And in NFS server the following is added to syslog:
:
: Jan> Oct 27 14:28:48 nfs-server rpc.mountd: refused mount request
: Jan> from nfs-client.fi.muni.cz for /tmp/nfs/6 (/tmp/nfs/6): illegal
: Jan> port 54071
:
: Does your server expect to see reserved ports only (<1024).
Yes (there is no "insecure" option in /etc/exports).
: Can you do a tcpdump of the mounts?
:
Yes - I did. The failing mount request uses unprivileged source port
unlike the previous ones.
: tcpdump -s 1600 -i eth0 -n -p -w somefile.pcap udp port X or tcp port X
:
:
: tcpdump -r somefile.pcap -T rpc -n
I will do this on Monday - now I am not nowhere near these servers.
But as I said, the problem is that the client runs out of privileged
ports, because both portmap request and mountd request are done over TCP.
-Yenya
--
| Jan "Yenya" Kasprzak <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839 Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/ Czech Linux Homepage: http://www.linux.cz/ |
> Whatever the Java applications and desktop dances may lead to, Unix will <
> still be pushing the packets around for a quite a while. --Rob Pike <
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2004-10-27 21:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-27 12:42 mountd gives "illegal port" Jan Kasprzak
2004-10-27 15:45 ` J. Bruce Fields
2004-10-27 16:23 ` Jan Kasprzak
2004-10-27 16:39 ` J. Bruce Fields
2004-10-27 16:40 ` Jan Kasprzak
2004-10-27 18:28 ` Peter Astrand
2004-10-27 16:12 ` Jan Kasprzak
2004-10-27 21:04 ` Michael Richardson
2004-10-27 21:13 ` Jan Kasprzak [this message]
2004-10-27 22:19 ` Michael Richardson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041027211303.GD27180@fi.muni.cz \
--to=kas@fi.muni.cz \
--cc=mcr@sandelman.ottawa.on.ca \
--cc=nfs@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox