<?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/14010" />

	<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>2007-09-18T18:10:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-09-18T18:10:46-04:00</updated>

		<published>2007-09-18T18:10:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76027#p76027</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76027#p76027"/>
		<title type="html"><![CDATA[Can a hub link out instead of in?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76027#p76027"><![CDATA[
<strong class="text-strong">Simple answer:</strong><br>Setting my-ip will affect any listen-command (as well as any outbound connection apart from the socket-command) executed <span style="text-decoration:underline">after</span> it has been set, it will however <span style="text-decoration:underline">not</span> affect any previous sockets.<br><br><br><strong class="text-strong">Some further info, perhaps not directly related to topic:</strong><br>With some care, you could craft some more advanced setups..<br>Imagine your server has several subnets routed to it, such as 10.1.1.253 and 192.168.73.18. Then you could do a setup such as this:<br><div class="codebox"><p>Code: </p><pre><code>set my-ip 10.1.1.253listen 4432 botsset my-ip 192.168.73.18listen 5213 usersunset my-ip</code></pre></div>Here bots will have to connect to a completely different ip than normal users, making it alittle more complicated to join a rogue bot..<br>Meanwhile, it will still rely on the host's routing-tables for outbound connections.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Sep 18, 2007 6:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-09-18T17:58:10-04:00</updated>

		<published>2007-09-18T17:58:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76026#p76026</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76026#p76026"/>
		<title type="html"><![CDATA[Can a hub link out instead of in?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76026#p76026"><![CDATA[
I've never seen an eggdrop listening on 0.0.0.0, but I always set "my-ip" in the .conf - that might be the solution.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Sep 18, 2007 5:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[anotheregglover]]></name></author>
		<updated>2007-09-18T17:49:19-04:00</updated>

		<published>2007-09-18T17:49:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76025#p76025</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76025#p76025"/>
		<title type="html"><![CDATA[Can a hub link out instead of in?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76025#p76025"><![CDATA[
Thanks, I'll give that a shot!<br><br>One more question: Is it possible to make eggdrop listen on a specific IP instead of 0.0.0.0?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5886">anotheregglover</a> — Tue Sep 18, 2007 5:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-09-18T16:14:04-04:00</updated>

		<published>2007-09-18T16:14:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76023#p76023</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76023#p76023"/>
		<title type="html"><![CDATA[Can a hub link out instead of in?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76023#p76023"><![CDATA[
I've never tried this, but it might work... on the leafs, add the hub with no botaddr (so they won't try to link), then on the hub, make sure you have botaddrs for all your leafs, .chattr them +L (that's the custom user flag "L" as I'm guessing you don't want them to be .botattr +l), then add this little script to make the hub try to link to them every minute:<div class="codebox"><p>Code: </p><pre><code>bind time - * checkLinksproc checkLinks args {foreach bot [userlist bL&amp;] {if {![islinked $bot]} {link $bot}}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Sep 18, 2007 4:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-09-18T12:32:39-04:00</updated>

		<published>2007-09-18T12:32:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76018#p76018</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76018#p76018"/>
		<title type="html"><![CDATA[Can a hub link out instead of in?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76018#p76018"><![CDATA[
From a single eggdrop's point of view, +h ("hub") basically means always try to keep a direct link with this bot. The same goes with +a ("althub") if there is no other +h or +a bot directly linked.<br><br>Remove any +h and/or +a flags, and you could easily set up the links manually using .link, as suggested by YooHoo. Any automated linking would require some non-trivial scripting.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Sep 18, 2007 12:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2007-09-18T09:19:23-04:00</updated>

		<published>2007-09-18T09:19:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76013#p76013</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76013#p76013"/>
		<title type="html"><![CDATA[Can a hub link out instead of in?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76013#p76013"><![CDATA[
that's a good question, not real clear on the specifics of the way ports open/close... have you tried to manually link the bots via the <strong class="text-strong">.link</strong> command, instead of letting the bot auto-connect?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Tue Sep 18, 2007 9:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[anotheregglover]]></name></author>
		<updated>2007-09-18T09:16:53-04:00</updated>

		<published>2007-09-18T09:16:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76012#p76012</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76012#p76012"/>
		<title type="html"><![CDATA[Can a hub link out instead of in?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76012#p76012"><![CDATA[
I'd prefer not to open a port on my hub. Is there any way to make the hub connect to the leaves instead of the leaves connecting to the hub?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5886">anotheregglover</a> — Tue Sep 18, 2007 9:16 am</p><hr />
]]></content>
	</entry>
	</feed>
