From: MYRIAM15 Subject: the state match Date: Tue, 15 Jul 2003 19:05:21 +0300 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <12086108c0.108c012086@teleline.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: To: netfilter-devel@lists.netfilter.org Content-Language: es Content-Disposition: inline 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 Hello! I new with iptables, but readinf documents about it, the possibility of keeping the state even with udp sounds fantastic. What I'm trying to configure is a rules/rules to accept packets coming from the two first hosts connected, and after that, deny packets coming from a new third host whatever it was ( all of them connected by UDP). What I mean in few words is to limit the number of hosts connected to 2. As I've said I'm new with this, so I don't know how to handle it. Could someone help me? What rules would I need? Or even if it's not possible to do it with iptables? Thanks in advance Miriam