From owner-freebsd-net Fri Mar 9 12:21:39 2001 Delivered-To: freebsd-net@freebsd.org Received: from molly.straylight.com (molly.straylight.com [209.68.199.242]) by hub.freebsd.org (Postfix) with ESMTP id 9057137B718 for ; Fri, 9 Mar 2001 12:21:36 -0800 (PST) (envelope-from jonathan@graehl.org) Received: from dickie (case.straylight.com [209.68.199.244]) by molly.straylight.com (8.11.0/8.10.0) with SMTP id f29KLWw03033; Fri, 9 Mar 2001 12:21:32 -0800 From: "Jonathan Graehl" To: "Freebsd-Net" Cc: "Walter Goralski" Subject: generating SYN packets with /usr/ports/net/nemesis and sh Date: Fri, 9 Mar 2001 12:21:41 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org #!/bin/sh i=50000; while [ $i -lt 50100 ]; do nemesis-tcp -S 209.68.199.246 -D 209.68.199.242 -fS -x $i -y 25; i=$(($i + 1)); done ... seems to work fine; a perl script would give a more legible for loop though ;) -- Jonathan Graehl email: jonathan@graehl.org web: http://jonathan.graehl.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message