From: "Ethan Dameron" Subject: Raw Sockets and Netfiter Date: Tue, 25 Mar 2003 02:06:59 -0500 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <001701c2f29d$20afe1e0$6b01a8c0@COURVOISIER> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0018_01C2F273.37D9D9E0" Return-path: To: Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0018_01C2F273.37D9D9E0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit If I have a an IP datagram in userspace and I send it via a raw socket created with socket(PF_INET, SOCK_RAW, IPPROTO_RAW) using the send() system call, will this packet traverse the netfilter chains? If it does not traverse the firewall, how can I make it do so? Thanks, Ethan Dameron --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.463 / Virus Database: 262 - Release Date: 03/17/2003 ------=_NextPart_000_0018_01C2F273.37D9D9E0 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

If I have a an IP datagram in userspace and I send it = via a raw socket created with socket(PF_INET, SOCK_RAW, IPPROTO_RAW) using the = send() system call, will this packet traverse the netfilter chains?=A0 If it = does not traverse the firewall, how can I make it do so?

 

Thanks,

 

Ethan Dameron


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 03/17/2003

------=_NextPart_000_0018_01C2F273.37D9D9E0--