<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/5929" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2003-10-26T19:38:02-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/5929</id>

		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-10-26T19:38:02-04:00</updated>

		<published>2003-10-26T19:38:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29043#p29043</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29043#p29043"/>
		<title type="html"><![CDATA[wideban in sentinel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29043#p29043"><![CDATA[
Thanks a lot.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Sun Oct 26, 2003 7:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2003-10-26T18:04:30-04:00</updated>

		<published>2003-10-26T18:04:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29035#p29035</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29035#p29035"/>
		<title type="html"><![CDATA[wideban in sentinel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29035#p29035"><![CDATA[
Find the proc sl_dcheck and replace it with the following. It is based on the sentinel.tcl included with netbots.tcl v4.09, and all that's been added is an extra check in an if statement and a comment about it.<br><div class="codebox"><p>Code: </p><pre><code>proc sl_dcheck {bhosts} {  set blist ""  foreach bhost $bhosts {    set baddr [lindex [split [maskhost $bhost] "@"] 1]    set bident [string trimleft [lindex [split $bhost "@"] 0] "~"]    if {![info exists baddrs($baddr)]} {      set baddrs($baddr) 1    } else {      incr baddrs($baddr)    }    if {![info exists bidents($bident)]} {      set bidents($bident) 1    } else {      incr bidents($bident)    }  }  foreach baddr [array names baddrs] {    # don't ban *.undernet.org as it's used as a hidden host for authenticated users on Undernet    if {![string match -nocase "*.undernet.org" $baddrs($baddr)] &amp;&amp; $baddrs($baddr) &gt;= 2} {      lappend blist *!*@$baddr    }  }  foreach bident [array names bidents] {    if {$bidents($bident) &gt;= 2} {      lappend blist *!*$bident@*    }  }  return $blist}</code></pre></div>This quick and untested fix is probably not suitable for general use as it opens a hole on other networks (could allow flooders with *.undernet.org hosts to subvert wideban, as unlikely as that may be).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Sun Oct 26, 2003 6:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-10-25T22:33:18-04:00</updated>

		<published>2003-10-25T22:33:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28962#p28962</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28962#p28962"/>
		<title type="html"><![CDATA[wideban in sentinel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28962#p28962"><![CDATA[
Hi,<br><br>I like this "sl_wideban" feature in sentinel, but how do i ignore the undernet host "users.undernet.org" in the codes?? i mean which procedure in the sentinel?? i am new and don't want to mess the codes. Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Sat Oct 25, 2003 10:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
