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

	<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>2010-02-23T17:10:41-04:00</updated>

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

		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2010-02-23T17:10:41-04:00</updated>

		<published>2010-02-23T17:10:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92217#p92217</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92217#p92217"/>
		<title type="html"><![CDATA[protect-telnet / global hostmask match]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92217#p92217"><![CDATA[
You <strong class="text-strong">*may*</strong> want to look at the "livestats" feature of the <strong class="text-strong">stats.mod</strong>, since this has a simlar system to what you are asking about for my very basic usage of it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> Thinking that you'll no doubt be using a socket for this, i wouldn't think any protect telnet or likewise, would affect this unless you add some feature for this to be included.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Tue Feb 23, 2010 5:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[charles]]></name></author>
		<updated>2010-02-23T12:41:20-04:00</updated>

		<published>2010-02-23T12:41:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92212#p92212</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92212#p92212"/>
		<title type="html"><![CDATA[protect-telnet / global hostmask match]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92212#p92212"><![CDATA[
TCL_no_TK,<br><br>Thank you for the explanation.<br>I already have "set require-p 1" in my config for security purposes, but what I am looking for for my script user is a bit differently.<br><br>I wanted the user (whose credentials will be unencrypted in a php script) to have access to the bot only via telnet and <strong class="text-strong">only from localhost</strong>.<br>So even in case there would be a security leak through the php script, a potential attacker would not be able to use the stolen login information.<br><br>But as there seemingly is no way to limit a user to telnet-only access and the telnet access by hostmask on per user basis, I will probably have to think of something else.<br><br>Maybe I will abandon telnet access for regular users all together and only allow telnet from localhost and therefore for the script user - not exactly what I had wished for, but I am willing to sacrifice a bit of convenience for security <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=11114">charles</a> — Tue Feb 23, 2010 12:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2010-02-23T08:54:38-04:00</updated>

		<published>2010-02-23T08:54:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92208#p92208</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92208#p92208"/>
		<title type="html"><![CDATA[protect-telnet / global hostmask match]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92208#p92208"><![CDATA[
<blockquote class="uncited"><div># This setting will drop telnet connections not matching a known host.</div></blockquote> There isn't any behavior change as far i can remenber. The telnet hosts are allowed to telnet regardless of who there username is with the telnet address.<br><br>If youre looking for the feature you have mentioned, you should look at <blockquote class="uncited"><div># Define here whether or not a +o user still needs the +p flag to dcc the bot.<br>set require-p 0</div></blockquote> And give the +p flag to people you wish to allow dcc/telnet access to.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Tue Feb 23, 2010 8:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[charles]]></name></author>
		<updated>2010-02-22T11:42:54-04:00</updated>

		<published>2010-02-22T11:42:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92202#p92202</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92202#p92202"/>
		<title type="html"><![CDATA[protect-telnet / global hostmask match]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92202#p92202"><![CDATA[
I just experienced odd behavior on my first eggdrop (1.6.19+ctcpfix+ssl) and wanted some clarification from the pros if this is intentional behavior or indeed a bug.<br><br>I want to issue certain commands to the eggdrop via php by utilizing a telnet connection.<br>For security purposes I want to limit the eggdrop script user as much as possible. <br>I.e. only allow telnet connections and no IRC connections.<br>And furthermore only allow telnet connections for that user coming from localhost.<br>I have activated the protect-telnet option but apparently eggdrop is not matching the allowed hosts on per-user basis, but immediately on connect and independently from the users the host mask was specified for.<br><br>Example:<br>User A has access with this hostmask: -telnet!*@*.t-dialin.net<br>User B has access with this hostmask: -telnet!*@*.comcast.net<br>User C does not have a telnet hostmask at all.<br><br>Instead of refusing all telnet login attempts for user C, someone with the hostmask of user A or B can log in via telnet as user C.<br>Also connections to user A and B are not limited to their own hostmasks, but to all known hostmasks, meaning a user with user Bs telnet hostmask could log in as user A and vice-versa.<br><br>Now I am wondering if this behavior is intentional or a bug and if there is any way to bypass this?<br><br><br>Thanks in advance for any assistance.<br>Regards,<br>charles<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11114">charles</a> — Mon Feb 22, 2010 11:42 am</p><hr />
]]></content>
	</entry>
	</feed>
