From: Carolin Latze Subject: Using the userlevel queue via the iptables command Date: Mon, 04 Jul 2005 16:09:30 +0200 Message-ID: <42C9431A.1050800@iam.unibe.ch> 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 everybody, I want to modify every packet, which is addressed to a host, which is generated by this host and which is forwarded by this host using libipq. First of all I set a hook for the outgoing packets: iptables -A OUTPUT -o wlan0 -j QUEUE With that hook, I can modify the outgoing packets (I have it already successfully tested). Afterwards I also wanted to filter the incoming packets (addressed for this host): iptables -A INPUT -i wlan0 -j QUEUE But, these packets do never pass my program. I have only one program in the userspace, which has one handle to the userlevel queue. Is there any possibility to have different handles or do I only have the possibility to filter either incoming traffic or outgoing traffic? Regards, Carolin