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

	<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>2020-04-15T23:33:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2020-04-15T23:33:06-04:00</updated>

		<published>2020-04-15T23:33:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108219#p108219</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108219#p108219"/>
		<title type="html"><![CDATA[Linking 2 1.8.4 bots using TLS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108219#p108219"><![CDATA[
<blockquote class="uncited"><div>I went to #eggdrop on Freenode and they solved my problem. </div></blockquote>Great !   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><blockquote class="uncited"><div>It came down to port-range.</div></blockquote>That's exactly what I did manage to remember, and mentioned above. But then I discounted it, since changing the value didn't seem to make any difference at all.<br><br>I suppose that it is possible, that on the shell that particular bot of mine is on,  that none of the ports are blocked.   I hadn't considered that.<br><blockquote class="uncited"><div> I had forgotten to open the ports in the port range in the firewall. Once I did that, everything was cool!</div></blockquote><br>I'm glad you got it going.<br>And I'm glad that I'm not nuts.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Wed Apr 15, 2020 11:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LimeyTX]]></name></author>
		<updated>2020-04-15T23:11:27-04:00</updated>

		<published>2020-04-15T23:11:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108218#p108218</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108218#p108218"/>
		<title type="html"><![CDATA[Linking 2 1.8.4 bots using TLS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108218#p108218"><![CDATA[
I went to #eggdrop on Freenode and they solved my problem. It came down to port-range. I had forgotten to open the ports in the port range in the firewall. Once I did that, everything was cool!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11711">LimeyTX</a> — Wed Apr 15, 2020 11:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2020-04-15T19:59:44-04:00</updated>

		<published>2020-04-15T19:59:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108217#p108217</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108217#p108217"/>
		<title type="html"><![CDATA[Linking 2 1.8.4 bots using TLS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108217#p108217"><![CDATA[
<blockquote class="uncited"><div>willyw: Thanks for your help.</div></blockquote>i didn't do anything.   <br>I wish I could.  <br><blockquote class="uncited"><div> If you noticed, I posted an update just after your post where I had solved my original problem.</div></blockquote>Yes.<br>Now, you've got what I used to get.  Bots link, but it craps out if you tell them to share the user file.<br><blockquote class="uncited"><div>I added +d to my console on the leaf and this is what happens...</div></blockquote>Do:<br>.help console<br>and list all the flags and examine their descriptions.<br><br>There are a couple that show raw botnet traffic.   Maybe if you experiment with them, you might get lucky and spot a clue.<br><br>I've looked at the respective eggdrop.conf files on the "hub" and the "link" of mine, that work.   I hope I'm not simply overlooking something.... but I'm not seeing anything special.    Well, other than the  reserved-portrange setting that I already mentioned,  that when experimented both with and without earlier today, didn't seem to make a difference.  It continued to work, either way.   I guess that I was on the wrong track, back when I thought that might be the snag.<br><br>The really sad part is: Nothing is ringing a bell - as to how I got it working.<br>That's sad.   I can understand me forgetting it, off the top of my head... but when I reviewed the .conf files today,  I expected to get reminded.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>You might like to try the Freenode irc network.   Join   #eggdrop.<br>Sometimes there is some chatter there.<br>If you catch one of the admins or more experienced folks,  you could give them the link to this thread.      Just a thought....<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Wed Apr 15, 2020 7:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LimeyTX]]></name></author>
		<updated>2020-04-15T19:23:40-04:00</updated>

		<published>2020-04-15T19:23:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108216#p108216</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108216#p108216"/>
		<title type="html"><![CDATA[Linking 2 1.8.4 bots using TLS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108216#p108216"><![CDATA[
willyw: Thanks for your help. If you noticed, I posted an update just after your post where I had solved my original problem.<br><br>I added +d to my console on the leaf and this is what happens...<br><div class="codebox"><p>Code: </p><pre><code>&lt;leaf&gt; [22:30:01] Linked to hub.&lt;leaf&gt; [22:30:01] Downloading user file from hub&lt;leaf&gt; [22:30:02] TLS: attempting SSL negotiation...&lt;leaf&gt; [22:30:02] TLS: state change: before SSL initialization&lt;leaf&gt; [22:30:02] TLS: state change: before SSL initialization&lt;leaf&gt; [22:30:02] TLS: awaiting more reads&lt;leaf&gt; [22:30:02] TLS: handshake in progress&lt;leaf&gt; [22:30:03] TLS: awaiting more reads&lt;leaf&gt; [22:30:03] sockread EAGAIN: 15 11 (Resource temporarily unavailable)&lt;leaf&gt; [22:30:04] TLS: awaiting more reads&lt;leaf&gt; [22:30:04] sockread EAGAIN: 15 11 (Resource temporarily unavailable)</code></pre></div>And then the last 2 lines repeat until it disconnects.<br><br>Does that help anyone or does anyone suggest more diagnostics I could provide?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11711">LimeyTX</a> — Wed Apr 15, 2020 7:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LimeyTX]]></name></author>
		<updated>2020-04-15T16:02:09-04:00</updated>

		<published>2020-04-15T16:02:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108214#p108214</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108214#p108214"/>
		<title type="html"><![CDATA[Linking 2 1.8.4 bots using TLS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108214#p108214"><![CDATA[
Further information.<br><br>I corrected some details in the SSL portion of the .conf file and now the hub links to the leaf and begins the userfile transfer but then the userfile transfer is aborted and the connection closes.<br><div class="codebox"><p>Code: </p><pre><code>&lt;leaf&gt; [19:50:01] Got STARTTLS from hub. Replying...&lt;leaf&gt; [19:50:01] Received challenge from hub... sending response ...&lt;leaf&gt; [19:50:01] TLS: handshake successful. Secure connection established....               Personal details on certificate edited out&lt;leaf&gt; [19:50:01] TLS: certificate SHA1 Fingerprint: D9:12:E9:B7:86:1D:12:E7:E9:15:B0:BD:80:87:A8:52:84:B3:B7:D1&lt;leaf&gt; [19:50:01] TLS: certificate SHA-256 Fingerprint: C7:DF:83:67:9A:57:98:AA:52:C0:D6:E0:F7:D8:C6:36:3E:A3:62:E3:D5:99:DB:5A:D3:24:69:37:82:57:9A:15&lt;leaf&gt; [19:50:01] TLS: certificate valid from Apr 14 21:21:05 2020 GMT to Apr 14 21:21:05 2021 GMT&lt;leaf&gt; [19:50:01] TLS: cipher used: TLS_AES_256_GCM_SHA384 TLSv1.3; 256 bits (256 secret)&lt;leaf&gt; [19:50:01] TLS: handshake successful. Secure connection established....               Personal details on certificate edited out&lt;leaf&gt; [19:50:01] TLS: certificate SHA1 Fingerprint: D9:12:E9:B7:86:1D:12:E7:E9:15:B0:BD:80:87:A8:52:84:B3:B7:D1&lt;leaf&gt; [19:50:01] TLS: certificate SHA-256 Fingerprint: C7:DF:83:67:9A:57:98:AA:52:C0:D6:E0:F7:D8:C6:36:3E:A3:62:E3:D5:99:DB:5A:D3:24:69:37:82:57:9A:15&lt;leaf&gt; [19:50:01] TLS: certificate valid from Apr 14 21:21:05 2020 GMT to Apr 14 21:21:05 2021 GMT&lt;leaf&gt; [19:50:01] TLS: cipher used: TLS_AES_256_GCM_SHA384 TLSv1.3; 256 bits (256 secret)&lt;leaf&gt; [19:50:01] TLS: handshake successful. Secure connection established....               Personal details on certificate edited out&lt;leaf&gt; [19:50:01] TLS: certificate SHA1 Fingerprint: D9:12:E9:B7:86:1D:12:E7:E9:15:B0:BD:80:87:A8:52:84:B3:B7:D1&lt;leaf&gt; [19:50:01] TLS: certificate SHA-256 Fingerprint: C7:DF:83:67:9A:57:98:AA:52:C0:D6:E0:F7:D8:C6:36:3E:A3:62:E3:D5:99:DB:5A:D3:24:69:37:82:57:9A:15&lt;leaf&gt; [19:50:01] TLS: certificate valid from Apr 14 21:21:05 2020 GMT to Apr 14 21:21:05 2021 GMT&lt;leaf&gt; [19:50:01] TLS: cipher used: TLS_AES_256_GCM_SHA384 TLSv1.3; 256 bits (256 secret)&lt;leaf&gt; [19:50:01] Linked to hub.&lt;leaf&gt; [19:50:01] Downloading user file from hub&lt;leaf&gt; [19:50:07] Failed connection; aborted userfile transfer.&lt;leaf&gt; [19:50:35] Disconnected from: hub. No reason (lost 1 bot and 1 user).</code></pre></div>I'm getting closer but still need help. How can I identify what is causing the transfer to be aborted?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11711">LimeyTX</a> — Wed Apr 15, 2020 4:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2020-04-15T15:54:56-04:00</updated>

		<published>2020-04-15T15:54:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108213#p108213</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108213#p108213"/>
		<title type="html"><![CDATA[Linking 2 1.8.4 bots using TLS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108213#p108213"><![CDATA[
That makes it look like the changing of flags and attempting to share user file, is not the cause of the failure to link.   <br><br>I wonder - when the link did succeed,  which  bot did you enter the .link command on?<br>In other words, have you kept track and/or noticed? .... does it behave the same, from either end?    <br><br>I have had trouble in the past with userfile sharing.  Establishing the basic link without userfile sharing was not a problem.   <br>Eventually, I got it.  I remember thinking that it had to do with defining the reserved-portrange.<br><br>But - just now, I went and found those bots - still linked, still sharing - and played with that setting, and linked and unlinked them a time or two.  It didn't seem to make a difference.   Worked fine, either way.<br><br>Obviously, I am not your bot linking/userfile sharing wizard.  <br>However, if you hang out on some irc network, I will be happy to meet you and compare notes, until we find the difference.   If we succeed, you can come back here and post the solution, for all.<br><br>If you want to pm me here a network/channel/nick/botnick/whatever   and when,  maybe we can work it out.<br><br>p.s.<br>For what it is worth   -   I don't use "make sslcert" .    I use the commands found in eggdrop.conf.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Wed Apr 15, 2020 3:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LimeyTX]]></name></author>
		<updated>2020-04-15T14:25:30-04:00</updated>

		<published>2020-04-15T14:25:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108212#p108212</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108212#p108212"/>
		<title type="html"><![CDATA[Linking 2 1.8.4 bots using TLS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108212#p108212"><![CDATA[
Some additional information that may be useful. When, on hub I do <div class="codebox"><p>Code: </p><pre><code>.link leaf</code></pre></div> the following shows up on the leaf console.<br><div class="codebox"><p>Code: </p><pre><code>&lt;leaf&gt; [15:51:13] Telnet connection: &lt;hub hostname&gt;/51363&lt;leaf&gt; [15:51:13] Sent STARTTLS to hub...&lt;leaf&gt; [15:51:13] Challenging hub...&lt;leaf&gt; [15:51:13] TLS: handshake successful. Secure connection established.&lt;leaf&gt; [15:51:13] TLS: peer did not present a certificate&lt;leaf&gt; [15:51:13] TLS: cipher used: TLS_AES_256_GCM_SHA384 TLSv1.3; 256 bits (256 secret)&lt;leaf&gt; [15:51:13] TLS: handshake successful. Secure connection established.&lt;leaf&gt; [15:51:13] TLS: peer did not present a certificate&lt;leaf&gt; [15:51:13] TLS: cipher used: TLS_AES_256_GCM_SHA384 TLSv1.3; 256 bits (256 secret)&lt;leaf&gt; [15:51:13] TLS: handshake successful. Secure connection established.&lt;leaf&gt; [15:51:13] TLS: peer did not present a certificate&lt;leaf&gt; [15:51:13] TLS: cipher used: TLS_AES_256_GCM_SHA384 TLSv1.3; 256 bits (256 secret)&lt;leaf&gt; [15:51:13] Linked to hub.</code></pre></div>hub has a certificate so I am not sure why it wasn't presented.<br><br>Maybe this will jog someone's memory as to what is wrong.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11711">LimeyTX</a> — Wed Apr 15, 2020 2:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LimeyTX]]></name></author>
		<updated>2020-04-15T11:56:04-04:00</updated>

		<published>2020-04-15T11:56:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108210#p108210</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108210#p108210"/>
		<title type="html"><![CDATA[Linking 2 1.8.4 bots using TLS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108210#p108210"><![CDATA[
Yes I did, not that I understood all of it, but I made sure all verify settings were set to 0 and restarted both bots. The behavior is the same. I can link them manually but if I don't when the hub tries to link to the leaf it fails as stated in my original post.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11711">LimeyTX</a> — Wed Apr 15, 2020 11:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2020-04-15T11:28:40-04:00</updated>

		<published>2020-04-15T11:28:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108209#p108209</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108209#p108209"/>
		<title type="html"><![CDATA[Linking 2 1.8.4 bots using TLS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108209#p108209"><![CDATA[
Did you have a look on <a href="https://github.com/eggheads/eggdrop/issues/252" class="postlink">this issue</a> ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Apr 15, 2020 11:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LimeyTX]]></name></author>
		<updated>2020-04-15T10:58:50-04:00</updated>

		<published>2020-04-15T10:58:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108208#p108208</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108208#p108208"/>
		<title type="html"><![CDATA[Linking 2 1.8.4 bots using TLS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108208#p108208"><![CDATA[
I created two bots, let's call them hub and leaf. They are on different servers. I created via .+bot on each bot a reference to the other and I did .link and they linked. Anything I typed on one bot appeared on the other bot of the botnet as you would expect. I then unlinked the two bots.<br><br>Both bots have an eggdrop.key and eggdrop.crt made using "make sslcert".<br><br>So then on the leaf I typed<br><div class="codebox"><p>Code: </p><pre><code>.botattr hub +hp.botattr hub |s #chan</code></pre></div>and on hub I typed<br><div class="codebox"><p>Code: </p><pre><code>.botattr leaf +s.botattr leaf |s #chan</code></pre></div>and, as I expected, hub tried to link to leaf and the following appeared on leaf.<br><div class="codebox"><p>Code: </p><pre><code>Got STARTTLS from hub. Replying...STARTTLS failed while linking to hubReceived challenge from hub.. sending response ...Lost Bot: hub</code></pre></div>Although they won't link automatically, I can .link them together  but they still don't transfer the userfile. Both transfer and share are loaded.<br><br>Can anyone give me a clue as to what is going on? The fact that they linked correctly BEFORE the botattr was set but not after doesn't make any sense to me.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11711">LimeyTX</a> — Wed Apr 15, 2020 10:58 am</p><hr />
]]></content>
	</entry>
	</feed>
