From: Andi Kleen <ak@muc.de>
To: landley@trommello.org (Rob Landley)
Cc: linux-kernel@vger.kernel.org
Subject: Re: packet created by local raw socket
Date: 04 Feb 2002 02:34:10 +0100 [thread overview]
Message-ID: <m31yg2vxm5.fsf@averell.firstfloor.org> (raw)
In-Reply-To: <Pine.SOL.4.10.10202031800220.24685-100000@dogbert> <20020204005015.DXSW15583.femail44.sdc1.sfba.home.com@there>
In-Reply-To: landley@trommello.org's message of "Mon, 4 Feb 2002 00:52:43 +0000 (UTC)"
landley@trommello.org (Rob Landley) writes:
> If you asked for a raw socket, the system won't append an IP header to it for
> you. You asked it not to.
I guess you mean prepend instead of append.
In fact the raw sockets add an IP header, unless you specify
IPPROTO_RAW or IP_HDRINCL. Both are discouraged.
-Andi
next prev parent reply other threads:[~2002-02-04 1:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-03 18:45 raw socket packet and iptables Xinwen - Fu
2002-02-03 22:15 ` Rob Landley
2002-02-04 0:24 ` packet created by local raw socket Xinwen - Fu
2002-02-04 0:51 ` Rob Landley
2002-02-04 1:34 ` Andi Kleen [this message]
2002-02-04 0:33 ` SOCK_PACKET bypasses IPTABLES queue? Xinwen - Fu
2002-02-04 2:35 ` packet_socket = socket(PF_PACKET, int socket_type, int protocol); Xinwen - Fu
2002-02-04 3:29 ` Rob Landley
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=m31yg2vxm5.fsf@averell.firstfloor.org \
--to=ak@muc.de \
--cc=landley@trommello.org \
--cc=linux-kernel@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