NetFilter
[Top] [All Lists]

Re: Droping all SYN

To: netfilter@lists.netfilter.org
Subject: Re: Droping all SYN
From: Arnd-Hendrik Mathias <arnd-hendrik.mathias@nefkom.net>
Date: Sat, 31 Mar 2007 17:01:29 +0200
Delivered-to: sp-com-lists@consult.net
Delivered-to: netfilter-list1@securepoint.com
In-reply-to: <20070327151521.371d4312@notebook.chaosbringer.de>
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: <20070327151521.371d4312@notebook.chaosbringer.de>
Sender: netfilter-bounces@lists.netfilter.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060806
Hey Julian,
I'm not sure if I get your question right but it sounds like

iptables -A FORWARD -d 192.168.1.4 -o vif1.0 -p tcp -m conntrack --ctstate NEW 
-j DROP

Have you checked this out?
Greetz

Arnd-Hendrik

Julian Hagenauer wrote:

Hi,
this may be a simple Question.
I have a xen-domain which is acting as a server.
For some experiments i want, that every attempt to connect to a services on this server is blocked, but none of the existing connections is affected. So, the ip of the server is 192.168.1.4 and the interface on dom0 is vif1.0. Dom0 acts as a arpproxy.
Would 'iptables -A FORWARD -d 192.168.1.4 -o vif1.0 -p tcp --syn -j DROP' 
enough?

Its crucial for me, so i have to be sure that the syntax is correct.

Thanks,
Julian





<Prev in Thread] Current Thread [Next in Thread>
  • Droping all SYN, Julian Hagenauer
    • Re: Droping all SYN, Arnd-Hendrik Mathias <=