From: Benjamin Coddington <bcodding@redhat.com>
To: linux-nfs@vger.kernel.org
Subject: [PATCH pynfs 0/3] MITM tool for NFS traffic on linux
Date: Wed, 27 May 2015 14:01:29 -0400 [thread overview]
Message-ID: <cover.1432749206.git.bcodding@redhat.com> (raw)
What follows is a small tool I think may be convenient to test and reproduce
certain types of bugs that are difficult to create from above the
filesystem, but are clearly problematic and have well-defined network
triggers. Anna's recent BAD_STATEID on WRITES with delegation is a good
example of that. This tool uses netfilters NFQUEUE target to allow a linux
host to modify the NFS network traffic between existing clients and servers.
In that sense, it is very similar to nfs-proxy, however I find it to be much
more convenient to use, as it can be quickly inserted and removed from an
existing network conection.
Benjamin Coddington (3):
Fix default arg order error on swig > 1.x
Add a tool for modification of NFS network traffic: itm
itm: add a handler that truncates READDIR response page data
gssapi/gssapi.i | 2 +
itm/README | 26 ++++
itm/handlers.py | 9 ++
itm/handlers/default.py | 19 +++
itm/handlers/example.py | 14 ++
itm/handlers/readdir_reply_nopages.py | 86 ++++++++++++
itm/itm.py | 230 +++++++++++++++++++++++++++++++++
itm/run_itm.sh | 41 ++++++
itm/use_local.py | 14 ++
9 files changed, 441 insertions(+), 0 deletions(-)
create mode 100644 itm/README
create mode 100644 itm/__init__.py
create mode 100644 itm/handlers.py
create mode 100644 itm/handlers/__init__.py
create mode 100644 itm/handlers/default.py
create mode 100644 itm/handlers/example.py
create mode 100644 itm/handlers/readdir_reply_nopages.py
create mode 100755 itm/itm.py
create mode 100755 itm/run_itm.sh
create mode 100644 itm/use_local.py
next reply other threads:[~2015-05-27 18:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-27 18:01 Benjamin Coddington [this message]
2015-05-27 18:01 ` [PATCH pynfs 1/3] Fix default arg order error on swig > 1.x Benjamin Coddington
2015-06-25 3:18 ` Kinglong Mee
2015-05-27 18:01 ` [PATCH pynfs 2/3] Add a tool for modification of NFS network traffic: itm Benjamin Coddington
2015-05-27 18:01 ` [PATCH pynfs 3/3] itm: add a handler that truncates READDIR response page data Benjamin Coddington
2015-05-27 18:03 ` [PATCH pynfs 0/3] MITM tool for NFS traffic on linux Benjamin Coddington
2015-06-01 18:12 ` J. Bruce Fields
2015-06-01 18:25 ` Benjamin Coddington
2015-06-01 20:36 ` J. Bruce Fields
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=cover.1432749206.git.bcodding@redhat.com \
--to=bcodding@redhat.com \
--cc=linux-nfs@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).