All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Brian J. Murrell" <netfilter@interlinx.bc.ca>
To: netfilter-devel@lists.netfilter.org
Subject: Interesting failure with RPC state tracker
Date: 21 May 2003 17:58:55 -0400	[thread overview]
Message-ID: <1053554334.2072.50.camel@pc> (raw)

[-- Attachment #1: Type: text/plain, Size: 993 bytes --]

I have been trying to get NFS to work through Netfilter with the rpc
mdoule in p-o-m/extra.

I have finally gotten it to work successfully, but the struggle I had
getting it to work had an interesting outcome.

The reason my initial attempts failed is because the RPC tracking module
depends on intercepting GETPORT calls and opening expectations on the
assumption that if a client asks for the port for a given service on a
given server, it will want to connect to it.

The problem that this causes with Linux's "mount" command is that the
mount command (in util-linux) does a RPC portmap "DUMP" (tcp:111 on the
server) just like "rpcinfo -p" does.  It then extracts the port number
from there.

If you put a rule in the filter to block access to the portmapper's TCP
port on the server, the above process fails and then normal RPC
processing continues, with a GETPORT call to determine the port number.

Thots?

b.

-- 
Brian J. Murrell <netfilter@interlinx.bc.ca>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

                 reply	other threads:[~2003-05-21 21:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1053554334.2072.50.camel@pc \
    --to=netfilter@interlinx.bc.ca \
    --cc=netfilter-devel@lists.netfilter.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.