From: Subhash Gopinath <subhashg@gmail.com>
To: Hudson Delbert J Contr 61 CS/SCBN <delbert.hudson@losangeles.af.mil>
Cc: netfilter@lists.netfilter.org
Subject: Re: problem with hook function for DHCP
Date: Tue, 30 Nov 2004 15:21:28 -0800 [thread overview]
Message-ID: <81703d8a0411301521141c99e0@mail.gmail.com> (raw)
In-Reply-To: <29F6FAF7F2C0D41190980002A513591E0E93BABB@FSNSAB30>
Hi,
I need the o/p netfilter part for something else and not just for
viewing DHCP packets(which can be done with TCPDump as u said).
Basically, I need to store the transaction ID of outgoing DHCP packets
in a table ...
When the server replies, the reply contains the transaction ID, and I
need to match that with the corresponding entry in the table and then
do some stunts later on....
Unfortunately, I am not able to grab all outgoing DHCP
packets....atleast when I put printk in the ougoing filter, messages
are not printed in the dmesg .
Do u think there's a problem with the printk LOG LEVEL ?
thanks,
~Subhash
On Tue, 30 Nov 2004 13:52:23 -0800, Hudson Delbert J Contr 61 CS/SCBN
<delbert.hudson@losangeles.af.mil> wrote:
> why not try tcpdump or hardware sniffer onm the lan itself.
>
>
>
> -----Original Message-----
> From: netfilter-bounces@lists.netfilter.org
> [mailto:netfilter-bounces@lists.netfilter.org]On Behalf Of Jason
> Opperisano
> Sent: Tuesday, November 30, 2004 12:42 PM
> To: netfilter@lists.netfilter.org
> Subject: Re: problem with hook function for DHCP
>
> On Mon, Nov 29, 2004 at 11:58:44PM -0800, Subhash Gopinath wrote:
> > Hello all,
> >
> > I am facing problems capturing DHCP packets sent from a client to a
> server....
> > Basically, the hook function (defined below) is not getting called for
> > each packet going out of the system.. Any ideas ?
>
> my idea: DHCP packets are generated and processed at the BPF layer
> (which is below netfilter in the stack); and never pass through any
> netfilter hooks.
>
> -j
>
> --
> "Default! The two sweetest words in the English language!"
> --The Simpsons
>
>
next prev parent reply other threads:[~2004-11-30 23:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-30 21:52 problem with hook function for DHCP Hudson Delbert J Contr 61 CS/SCBN
2004-11-30 23:21 ` Subhash Gopinath [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-11-30 7:58 Subhash Gopinath
2004-11-30 20:41 ` Jason Opperisano
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=81703d8a0411301521141c99e0@mail.gmail.com \
--to=subhashg@gmail.com \
--cc=delbert.hudson@losangeles.af.mil \
--cc=netfilter@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.