hosts.deny script

Steven J Lamb redhattedsheep at adiis.net
Thu Jan 26 19:25:12 UTC 2006


wow that is exactly what imp looking for. thanks
  ----- Original Message ----- 
  From: Arthur Pemberton 
  To: For users of Fedora Core releases 
  Sent: Thursday, January 26, 2006 11:13 AM
  Subject: Re: hosts.deny script





  On 1/26/06, Steven J Lamb <redhattedsheep at adiis.net> wrote:
    I realize that I may be suffering from Re-create the wheel disease but I have already re written the script partially as an exercise and partly as wanting the power to customize it. what I really need at this point is a way to turn symbolic addresses into IPs and leave IPs alone from a command line. but I don't know of one that works easily. I do appreciate the suggestions though.

  Fair enough, if you happen to have the package mysql-server, it comes with an app called /usr/bin/resolveip which would do that task. 

  But more likey you will have the syslinux package which comes with /usr/bin/gethostip. 

  Example:

  resoveip -s pembo13.com
  gethostip -d pemb13.com



      ----- Original Message ----- 
      From: Arthur Pemberton 
      To: For users of Fedora Core releases 
      Sent: Thursday, January 26, 2006 10:48 AM
      Subject: Re: hosts.deny script





      On 1/26/06, Steven J Lamb <redhattedsheep at adiis.net> wrote: 
        I am trying to create a script to block people using hosts.deny. I realize
        that I should just block everyone and then open access for those whom I know
        I trust but because of the nature of our network this is not possible. 
        basically I check log files for login attempts every five minutes and block
        those that attempt to log in more than 3 times that day. this is all working
        great but my problem is this. I sometimes get log entries with the symbolic 
        address instead of the ip. how do I convert these in a systematic way and
        not have a problem when I run IPs through it. I'm sure this is an easy task
        but I don't now what tool to use.

        thanks for your help 

        Steven Lamb


       I think you may be tring to create something like this: http://denyhosts.sourceforge.net/ 



        FC4

        --
        fedora-list mailing list
        fedora-list at redhat.com
        To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list 




      -- 
      As a boy I jumped through Windows, as a man I play with Penguins. 


--------------------------------------------------------------------------


      -- 
      fedora-list mailing list
      fedora-list at redhat.com
      To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


    --
    fedora-list mailing list
    fedora-list at redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list





  -- 
  As a boy I jumped through Windows, as a man I play with Penguins. 


------------------------------------------------------------------------------


  -- 
  fedora-list mailing list
  fedora-list at redhat.com
  To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20060126/8f3499d5/attachment-0002.html 


More information about the users mailing list