LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-12-2005, 11:22 PM   #16
IRIGHTI
Member
 
Registered: Oct 2003
Distribution: Slackware64 13.1 x86_64, Ubuntu 10.04 x86_64
Posts: 121

Rep: Reputation: 15

Quote:
Originally posted by gbonvehi
You may want to try this: http://freshmeat.net/projects/blockh...ease_id=195611

By the way, IRIGHTI that script won't work as it is (just need to change the directory init.d) in a default Slackware install since Slackware doesn't use SysV init scripts as default so init.d doesn't exist.
Whoops, I was in Gentoo when I posted that. I have a slackware script as well, the log it parses is /var/log/messages in that one along with your change.
 
Old 05-31-2005, 08:40 PM   #17
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I quite like blockhosts approach ... the neat thing is
that it gets launched whenever an ssh connection is
attempted, scans the file(s) you configured and blocks
the IP using the tcp wrappers, that is it edits your
/etc/hosts.allow (.deny - whatever makes your skirt
rise). You can (to avoid blocking a million hosts in
the end) set an expiration - by default a host will be
blocked for 12 hours. Very clever. :}


Cheers,
Tink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh: deny all users, except one hamish Linux - Security 13 09-07-2008 07:58 PM
how to deny ssh for ip range? maginotjr Slackware 11 11-01-2005 07:01 AM
Can I deny access based on mac or IP address with shorewall? enigma_0Z Linux - Networking 1 06-02-2005 04:15 PM
Deny FTP by IP address with ipchains loiter99 Linux - Security 3 05-27-2004 01:54 PM
Deny access by IP address plisken Linux - Security 1 12-29-2001 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration