From: Trixter aka Bret McDanel <trixter@0xdecafbad.com>
To: netfilter@vger.kernel.org
Subject: netfilter + perl payload mangling in userspace
Date: Sun, 26 Jul 2009 20:57:35 -0700 [thread overview]
Message-ID: <1248667055.5801.355.camel@trixeee> (raw)
I wanted to modify the payload of packets in userspace, preferably with
perl. I have tried to google to find something, encountered some dead
links. I have not be able to get the example Net::Divert to work,
however it appears that I am not able to divert properly. I cant find
any working examples of how to do the iptables command to divert.
Is there any other way to modify the payload of a packet from userspace,
preferably with perl?
can someone provide me with a working example of how to do iptables to
divert?
I have iptables 1.4.1.1 on eeebuntu (ubuntu base) and a kernel of 2.6.27
Thank you
--
Trixter http://www.0xdecafbad.com Bret McDanel
pgp key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8AE5C721
next reply other threads:[~2009-07-27 3:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-27 3:57 Trixter aka Bret McDanel [this message]
2009-07-27 15:44 ` netfilter + perl payload mangling in userspace Michael Mefford
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=1248667055.5801.355.camel@trixeee \
--to=trixter@0xdecafbad.com \
--cc=netfilter@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