Linux Netfilter discussions
 help / color / mirror / Atom feed
* Newbie netfi;ter question
@ 2003-05-10 14:05 Ken Kachnowich
  2003-05-20  7:48 ` Ralf Spenneberg
  0 siblings, 1 reply; 2+ messages in thread
From: Ken Kachnowich @ 2003-05-10 14:05 UTC (permalink / raw)
  To: netfilter

Hi,

   I have created a very simple module to use netfilters. I
display some info from the sk_buff structures.
The protocol field always has an 8 in it.

What does the 8 mean? I would expect this to indicate this is
an IP packet of some type, but so far I have not found a header
or any docs that explains it. Where would be a good place for me
to find these things out (please don't say read the kernel source).

Thanks,

Ken



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Newbie netfi;ter question
  2003-05-10 14:05 Newbie netfi;ter question Ken Kachnowich
@ 2003-05-20  7:48 ` Ralf Spenneberg
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Spenneberg @ 2003-05-20  7:48 UTC (permalink / raw)
  To: Ken Kachnowich; +Cc: Netfilter

Am Sam, 2003-05-10 um 16.05 schrieb Ken Kachnowich:
> Hi,
> 
>    I have created a very simple module to use netfilters. I
> display some info from the sk_buff structures.
> The protocol field always has an 8 in it.
If you are reading the ethernet header, the protocol field is supposed
to be 8!

> 
> What does the 8 mean? I would expect this to indicate this is
> an IP packet of some type, but so far I have not found a header
> or any docs that explains it. Where would be a good place for me
> to find these things out (please don't say read the kernel source).
8 means IP (in the ethernet header).

Cheers,

Ralf
-- 
Ralf Spenneberg
RHCE, RHCX

Book: Intrusion Detection für Linux Server   http://www.spenneberg.com
IPsec-Howto				     http://www.ipsec-howto.org
Honeynet Project Mirror:                    
http://honeynet.spenneberg.org


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-20  7:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-10 14:05 Newbie netfi;ter question Ken Kachnowich
2003-05-20  7:48 ` Ralf Spenneberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox