From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Martinek Subject: netfilter_queue: how to obtain address info from queued packet Date: Tue, 23 Jan 2007 11:03:44 +0100 Message-ID: <45B5DD80.70809@siemens.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: netfilter@lists.netfilter.org 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: Is it possible to obtain some address info (source/destination address and ports) from the packet queued from netfilter? Thanks in advance for any help, Michal