<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>wow that is exactly what imp looking for. 
thanks</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=pemboa@gmail.com href="mailto:pemboa@gmail.com">Arthur Pemberton</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=fedora-list@redhat.com 
  href="mailto:fedora-list@redhat.com">For users of Fedora Core releases</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, January 26, 2006 11:13 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: hosts.deny script</DIV>
  <DIV><BR></DIV><BR><BR>
  <DIV><SPAN class=gmail_quote>On 1/26/06, <B class=gmail_sendername>Steven J 
  Lamb</B> &lt;<A 
  href="mailto:redhattedsheep@adiis.net">redhattedsheep@adiis.net</A>&gt; 
  wrote:</SPAN>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV><FONT face=Arial size=2>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.</FONT></DIV></BLOCKQUOTE>
  <DIV><BR>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. <BR><BR>But 
  more likey you will have the syslinux package which comes with 
  /usr/bin/gethostip. <BR><BR>Example:<BR><BR>resoveip -s <A 
  href="http://pembo13.com">pembo13.com</A><BR>gethostip -d <A 
  href="http://pemb13.com">pemb13.com</A><BR></DIV><BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <BLOCKQUOTE 
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
      <DIV><SPAN class=e id=q_10907a5c72f9bf97_1>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">----- 
      Original Message ----- </DIV>
      <DIV 
      style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial"><B>From:</B> 
      <A title=pemboa@gmail.com 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:pemboa@gmail.com" target=_blank>Arthur Pemberton</A> </DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B> 
      <A title=fedora-list@redhat.com 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:fedora-list@redhat.com" target=_blank>For users of Fedora 
      Core releases</A> </DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B> 
      Thursday, January 26, 2006 10:48 AM</DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B> 
      Re: hosts.deny script</DIV>
      <DIV><BR></DIV><BR><BR>
      <DIV><SPAN class=gmail_quote>On 1/26/06, <B class=gmail_sendername>Steven 
      J Lamb</B> &lt;<A onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:redhattedsheep@adiis.net" 
      target=_blank>redhattedsheep@adiis.net</A>&gt; wrote:</SPAN> 
      <BLOCKQUOTE class=gmail_quote 
      style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">I 
        am trying to create a script to block people using hosts.deny. I 
        realize<BR>that I should just block everyone and then open access for 
        those whom I know<BR>I trust but because of the nature of our network 
        this is not possible. <BR>basically I check log files for login attempts 
        every five minutes and block<BR>those that attempt to log in more than 3 
        times that day. this is all working<BR>great but my problem is this. I 
        sometimes get log entries with the symbolic <BR>address instead of the 
        ip. how do I convert these in a systematic way and<BR>not have a problem 
        when I run IPs through it. I'm sure this is an easy task<BR>but I don't 
        now what tool to use.<BR><BR>thanks for your help <BR><BR>Steven 
      Lamb<BR></BLOCKQUOTE>
      <DIV><BR>&nbsp;I think you may be tring to create something like this: <A 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="http://denyhosts.sourceforge.net/" 
      target=_blank>http://denyhosts.sourceforge.net/</A> <BR></DIV><BR>
      <BLOCKQUOTE class=gmail_quote 
      style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">FC4<BR><BR>--<BR>fedora-list 
        mailing list<BR><A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="mailto:fedora-list@redhat.com" 
        target=_blank>fedora-list@redhat.com</A><BR>To unsubscribe: <A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="https://www.redhat.com/mailman/listinfo/fedora-list" 
        target=_blank>https://www.redhat.com/mailman/listinfo/fedora-list 
        </A><BR></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- <BR>As a boy I jumped 
      through Windows, as a man I play with Penguins. </SPAN></DIV>
      <P></P>
      <HR>

      <P></P>-- <SPAN class=q><BR>fedora-list mailing list<BR><A 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:fedora-list@redhat.com" 
      target=_blank>fedora-list@redhat.com</A><BR>To unsubscribe: <A 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="https://www.redhat.com/mailman/listinfo/fedora-list" 
      target=_blank>https://www.redhat.com/mailman/listinfo/fedora-list</A></SPAN>
      <P></P></BLOCKQUOTE><BR>--<BR>fedora-list mailing list<BR><A 
    onclick="return top.js.OpenExtLink(window,event,this)" 
    href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</A><BR>To 
    unsubscribe: <A onclick="return top.js.OpenExtLink(window,event,this)" 
    href="https://www.redhat.com/mailman/listinfo/fedora-list" 
    target=_blank>https://www.redhat.com/mailman/listinfo/fedora-list</A><BR><BR></BLOCKQUOTE></DIV><BR><BR 
  clear=all><BR>-- <BR>As a boy I jumped through Windows, as a man I play with 
  Penguins. 
  <P>
  <HR>

  <P></P>-- <BR>fedora-list mailing list<BR>fedora-list@redhat.com<BR>To 
  unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-list</BLOCKQUOTE></BODY></HTML>