<br><br><div><span class="gmail_quote">On 1/26/06, <b class="gmail_sendername">Steven J Lamb</b> <<a href="mailto:redhattedsheep@adiis.net">redhattedsheep@adiis.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div><span class="e" id="q_10907a5c72f9bf97_1"><div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="pemboa@gmail.com" href="mailto:pemboa@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Arthur Pemberton</a>
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="fedora-list@redhat.com" href="mailto:fedora-list@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
For users of Fedora Core releases</a>
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Thursday, January 26, 2006 10:48
AM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; 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> <<a href="mailto:redhattedsheep@adiis.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">redhattedsheep@adiis.net</a>>
wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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> I think you may be tring to create something like this: <a href="http://denyhosts.sourceforge.net/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://denyhosts.sourceforge.net/</a>
<br></div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">FC4<br><br>--<br>fedora-list
mailing list<br><a href="mailto:fedora-list@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">fedora-list@redhat.com</a><br>To
unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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 href="mailto:fedora-list@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">fedora-list@redhat.com</a><br>To
unsubscribe:
<a href="https://www.redhat.com/mailman/listinfo/fedora-list" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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.