public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
From: "Littlefield, Tyler" <compgeek13@gmail.com>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Subject: Re: shell script request? possibly?
Date: Sat, 19 May 2007 17:20:04 -0600	[thread overview]
Message-ID: <005701c79a6c$3bafc930$6501a8c0@GRANDMA> (raw)
In-Reply-To: <5DDB0BF1-F87A-48F3-9992-6B241EE3AC66@softcon.com>

I don't have an ip.deny file.
Second, I see: sshd: x.x.x.x and some more garble.
I don't think iptables would parse that very well, which was why I wanted to
go through a loop and do it.
Thanks,
----- Original Message ----- 
From: "Travis Siegel" <tsiegel@softcon.com>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Saturday, May 19, 2007 5:06 PM
Subject: Re: shell script request? possibly?


> If you want them in a file, why not just use the ip_deny file itself?
> Why do you need to put them in a different file?
>
>
> On May 19, 2007, at 5:29 PM, Littlefield, Tyler wrote:
>
> > 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~~
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup



  reply	other threads:[~ UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
 Littlefield, Tyler
 ` Travis Siegel
   ` Littlefield, Tyler [this message]
     ` Travis Siegel
       ` Littlefield, Tyler
         ` Doug Sutherland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005701c79a6c$3bafc930$6501a8c0@GRANDMA' \
    --to=compgeek13@gmail.com \
    --cc=speakup@braille.uwo.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).