From: Pablo Neira Ayuso <pablo@netfilter.org>
To: miguel Angel Vazquez <mikinho21@gmail.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: queue and HTTP
Date: Thu, 09 Nov 2006 12:14:50 +0100 [thread overview]
Message-ID: <45530DAA.6040301@netfilter.org> (raw)
In-Reply-To: <f015bcab0611090240s39dcff9g4cbd58dfbce9dcf4@mail.gmail.com>
miguel Angel Vazquez wrote:
> Hello mates.
>
> I'm trying to intercept my own HTTP packages in the OUTPUT hook (I
> don't want to use sniffers or ethereal). For that reason I've decided
> to use the iptables-queue-modules...recently I can get all the
> IP-header information using iphdr struct...but now I don't know how to
> continue in order to get the INFO (HTTP packet).
payload_offset = iph->ihl * 4 + tcph->doff * 4
--
The dawn of the fourth age of Linux firewalling is coming; a time of
great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris
prev parent reply other threads:[~2006-11-09 11:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-09 10:40 queue and HTTP miguel Angel Vazquez
2006-11-09 11:14 ` Pablo Neira Ayuso [this message]
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=45530DAA.6040301@netfilter.org \
--to=pablo@netfilter.org \
--cc=mikinho21@gmail.com \
--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.