public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* shell script request? possibly?
@  Littlefield, Tyler
   ` Travis Siegel
  0 siblings, 1 reply; 6+ messages in thread
From: Littlefield, Tyler @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

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~~

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 shell script request? possibly? Littlefield, Tyler
 ` Travis Siegel
   ` Littlefield, Tyler
     ` Travis Siegel
       ` Littlefield, Tyler
         ` Doug Sutherland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).