From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ip-206-123-194-16.static.fasttrackcomm.net ([206.123.194.16] helo=tysdomain.com) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1HpXQy-0000TI-00 for ; Sat, 19 May 2007 18:29:56 -0400 Received: from [192.168.1.101] (helo=GRANDMA) by tysdomain.com with smtp (Exim 3.36 #1 (Debian)) id 1HpRpZ-0003k4-00 for ; Sat, 19 May 2007 10:30:58 -0600 Message-ID: <003b01c79a65$3b5689d0$6501a8c0@GRANDMA> From: "Littlefield, Tyler" To: "Speakup is a screen review system for Linux." Subject: shell script request? possibly? Date: Sat, 19 May 2007 16:29:57 -0600 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Antivirus: avast! (VPS 000741-4, 05/18/2007), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.9 X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.9 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2007 22:29:57 -0000 hello list, Could I possibly bauther someone to tell me how to do this? I have little to no experience with ssh scripting at all. My idea is this: I want to take the ip addresses from /etc/hosts.deny and put them in a = file, or just do the following: iptables -A INPUT -s x.x.x.x -j DROP where x.x.x.x would be the IP found in the hosts.deny file. I have a or will have a script in init.d that will add all the rules to = iptables when it starts, so the script can be executed. Any help with this would be appriciated. Thanks, ~~TheCreator~~