NetFilter
[Top] [All Lists]

Re: netfilter_queue: how to obtain address info from queued packet

To: Gáspár Lajos <swifty@freemail.hu>
Subject: Re: netfilter_queue: how to obtain address info from queued packet
From: Michal Martinek <michal.martinek@siemens.com>
Date: Tue, 23 Jan 2007 11:18:04 +0100
Cc: netfilter@lists.netfilter.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: netfilter-list1@securepoint.com
In-reply-to: <45B5DF09.6030001@freemail.hu>
List-archive: </pipermail/netfilter>
List-help: <mailto:netfilter-request@lists.netfilter.org?subject=help>
List-id: General discussion and user questions <netfilter.lists.netfilter.org>
List-post: <mailto:netfilter@lists.netfilter.org>
List-subscribe: <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=subscribe>
List-unsubscribe: <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=unsubscribe>
References: <45B5DD80.70809@siemens.com> <45B5DF09.6030001@freemail.hu>
Sender: netfilter-bounces@lists.netfilter.org
User-agent: Thunderbird 1.5 (Windows/20051201)


Gáspár Lajos wrote:

Michal Martinek írta:
Hello all,

I am quite a newbie to the netfilter world, so maybe my approach is naive. I would like to block communication coming from/to some ports according to the content of packets. Unfortunately these ports are not static, so port specific netfilter rule cannot be used. So my question is:

Do you know the STRING module ?

I'm afraid not. Can you give me some explanation (or link)?

Is it possible to obtain some address info (source/destination address and ports) from the packet queued from netfilter?



<Prev in Thread] Current Thread [Next in Thread>