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

	<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>2005-08-28T02:54:47-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-08-28T02:54:47-04:00</updated>

		<published>2005-08-28T02:54:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54954#p54954</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54954#p54954"/>
		<title type="html"><![CDATA[Help us to help you (and try to help yourself)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54954#p54954"><![CDATA[
(moderators, this might be worthwhile sticking)<br><br>Okay folks, here's what you should do <strong class="text-strong">before posting</strong> in order to get better help service. Please make sure you do the steps outlined below for each class of common problems and most frequent issues.<br><ul><li><strong class="text-strong">Connect problems</strong> - your bot doesn't show up on IRC, doesn't join channel(s), etc.<br>Log into the bot via DCC or telnet and type <em class="text-italics">.console +rv</em> (please note that this will work only if you have <em class="text-italics">raw-log</em> set to 1 in your config file); +r flag shows server's output to the bot and +v shows bot's output to the server. Observe what happens after you've set these flags, you might get valuable clues. If you are still unable to find solution to the problem, post the console log along your question.</li><li><strong class="text-strong">Userfile sharing and botnet problems</strong> - bots won't share, won't link, etc.<br>Log into the bot via DCC or telnet and type <em class="text-italics">.console +th</em>; +t flag shows botnet traffic and +h shows share traffic. In some cases it might be necessary also to set <strong class="text-strong">+d</strong> (debug flag); give it a try. After setting these flags, observe for a while. If you are still unable to remedy the problem, post your question and don't forget to include the console log. If possible, show logs from both bots.</li><li><strong class="text-strong">DCC problems</strong> - dcc is not rocket science, here's how to deal with those:<br>When you try to DCC CHAT your eggdrop, your IRC client sends (via CTCP message) two things to the bot: your IP address and a port number it will be listening on for incoming connection (DCC stands for <strong class="text-strong">D</strong>irect <strong class="text-strong">C</strong>lient to <strong class="text-strong">C</strong>lient tcp connection). If that DCC request fails, investigate the following possible reasons:<br>--- your IRC client didn't get your IP right (this might happen if, for example, you use mIRC, your <em class="text-italics">Local Info/Lookup Method</em> is set to <em class="text-italics">Server</em> and you connect to IRC via proxy, in which case you need to change the lookup method to <em class="text-italics">Normal</em>); in any case, make sure that your client has the correct IP<br>--- you are behind firewall that doesn't allow outside connections on requested port; and since the port is usually chosen randomly, chances are most firewalls with elevated security setup won't allow such connections; in such case what you need to do is: 1) check your OS/firewall manual and set the firewall to accept TCP connections on some designated port range and 2) set your IRC client to use only that port range for DCC (in mIRC, that's done via <em class="text-italics">Connect/Options/Advanced</em>)<br>--- you are on LAN, behind NAT gateway (that is, you have a local IP like 192.168.*.* or 10.*.*.*), you try to dcc a bot that is on the Internet, and the only Internet IP you have is that of the gateway; in such case you need to use some DCC-aware NAT/firewall software on the gateway - for Linux, there's DCC-aware module of <em class="text-italics">iptables</em>; I personally use <em class="text-italics">tircproxy</em> on my FreeBSD router<br>BTW these troubleshooting tips are valid for any DCC requests initiated by you, not only to bots<br><br>If you are unable to get DCC initiated by you to work, try the reverse - force the bot to try DCC with you by typing <em class="text-italics">/ctcp &lt;botnick&gt; CHAT</em> while on IRC; in that case everything said above still applies - to the bot, not to you - therefore you must make sure that:<br>--- the bot has its IP address right - you might need to set <em class="text-italics">my-ip</em> in the config file correctly (and in some cases also <em class="text-italics">my-hostname</em>)<br>--- there isn't firewall issue for outside connections; if there is, you'll need to talk to your shell admin(s) and have them open a port range in the firewall for your bot's needs; then set <em class="text-italics">reserved-portrange</em> in your config to that port range<br>--- if the bot is behind NAT, you have to set <em class="text-italics">nat-ip</em> with IP of the gateway and have gateway's NAT/firewall software forward outside connections on designated port range to the local IP of your bot<br><br>All of these hints apply also for DCC SEND, therefore for sending userfile - eggdrop's mechanism for that is very similar to DCC SEND (with the only difference being that the send request is transmitted via botnet, not via CTCP on IRC); so, to ensure proper userfile sharing functionality, you need to make sure your hub bot is able to DCC SEND successfully, i.e. there are no problems of the above nature</li></ul>And don't forget to <em class="text-italics">.rehash</em> (sometimes <em class="text-italics">.restart</em> is required) after any changes in bot's config file!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Aug 28, 2005 2:54 am</p><hr />
]]></content>
	</entry>
	</feed>
