This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Unable to DCC Chat and Bot Ignores all commands

General support and discussion of Eggdrop bots.
m
marvz
Halfop
Posts: 64
Joined: Fri Jun 18, 2010 2:37 pm

Unable to DCC Chat and Bot Ignores all commands

Post by marvz »

So, when I try to dcc chat with my bot it ignores me. Actually, it says access denied. Here is what the partyline shows:

Code: Select all

[22:53] Refused DCC chat (no access): marvz!pedro@netadmin.irc4lyf.com
[22:53] CTCP CHAT: CHAT 1199572234 5101 from marvz (pedro@netadmin.irc4lyf.com)
[22:54] [marvz!pedro@netadmin.irc4lyf.com] Pending DCC. 60 secs to timeout
[22:54] Refused DCC chat (no access): marvz!pedro@netadmin.irc4lyf.com
[22:54] CTCP CHAT: CHAT 1199572234 5556 from marvz (pedro@netadmin.irc4lyf.com)
[22:54] Refused DCC chat (no access): marvz!pedro@netadmin.irc4lyf.com
[22:54] CTCP CHAT: CHAT 1199572234 5551 from marvz (pedro@netadmin.irc4lyf.com)
[22:55] @#spf (+trna) : [m/30 o/8 h/1 v/17 n/4 b/0 e/0 I/0]
[22:55] [marvz!pedro@netadmin.irc4lyf.com] Pending DCC. 60 secs to timeout
[22:55] [marvz!pedro@netadmin.irc4lyf.com] Pending DCC. 30 secs to timeout
[22:56] [marvz!pedro@netadmin.irc4lyf.com] DCC timed out
This is the result when I do a whois/match:

Code: Select all

*** Matching 'marvz':
HANDLE                           PASS NOTES FLAGS           LAST
marvz                            yes      0 hjlmnoptx       22:53 (partyline)
  HOSTS: *!marvz@*.irvnca.pacbell.net, -telnet!*@*
         *!pedro@east.LA, *!marvz@*.irc4lyf.com
         marvz@netadmin.irc4lyf.com
         marvz!pedro@netadmin.irc4lyf.com
I have access to the partyline with no problem. but when I try to dcc chat It times out. I didn't have this problem until a few days ago. Before this I was able to dcc chat with no problem. the ports are all set up correctly for dcc/telnet connections.

I must mention though, when I try to use the quote script it also ignores me , but when I use the fml quote script it works fine. other users can use the scripts with no problems. It seems that the problem is with me. Just throwing that out there in case it might have something to do with that.

As usual, thanks in advance and any hlp is appreciated.
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

what eggdrop version are you using? Also, is this to with /dcc chat <eggdrop nickname> or /ctcp <eggdrop nickname> CHAT or both? and you can still telnet into the bot to get onto the partyline?
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

Might be the simple fact that...

Code: Select all

         marvz@netadmin.irc4lyf.com
         marvz!pedro@netadmin.irc4lyf.com 
These aren't hostmasks. Betcha you need to mask these for them to work. Try something like:

Code: Select all

         marvz!*@netadmin.irc4lyf.com
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Speechles,
Though you're right on the first one, the second one is a perfect match to his irc identity. Wildcards such as * are not mandatory.

Though, this is most likely a hostmask issue.

Marvz,
Could you issue the .channels command while in telnet'd to the bot, and in the same channel as the bot on irc?
That should show you a list of all channel attendants, along with the handle the bot recognizes them by..
NML_375
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

nml375 wrote:Speechles,
Though you're right on the first one, the second one is a perfect match to his irc identity. Wildcards such as * are not mandatory.
<speechles> .help +host
<sp33chy> ### +host [handle] <hostmask>
<sp33chy> Adds a hostmask to a user's user record. Hostmasks are used to identify your
<sp33chy> handle on IRC. If a handle is not specified, the hostmask will be added to
<sp33chy> YOUR user record.
<sp33chy> See also: -host
Are you sure? Because it specifically says mask. A mask would imply it isn't the same as the exact host, part of it needs to be masked.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

speechles,
A mask may contain wildcards, but a literal string would also qualify as a mask.

Much simplified, the matching is done on a character by character basis, where each entity in the mask must be present in the matched string (nick!user@host) in the same sequence, and where * matches 0 or more characters, ? matches exactly 1 character, and probably a few other wildcards I've forgotten about.

Though this is yet to be confirmed, my suspicions are that there's a low-privilege user with a hostmask that also matches marvz, which has taken precedence. Thus marvz is seen as this user and not marvs, granting the wrong set of privileges.
NML_375
m
marvz
Halfop
Posts: 64
Joined: Fri Jun 18, 2010 2:37 pm

Post by marvz »

this is the message using the .channels command via telnet:

Code: Select all

[12:34] #marvz# (#spf) channel
Channel #spf, 28 members, mode +trna:
Channel Topic: HEY ICKA http://sports.yahoo.com/mlb/recap?gid=301022113
(n = owner, m = master, o = op, d = deop, b = bot)
 NICKNAME     HANDLE      JOIN  IDLE  USER@HOST
@beersnob     *          19Oct       <- it's me!
+skeet        *           ---     5d  skeetar@look-random-characters-ABBC67C5.dhcp.insightbb.com
@Aaron5k      *           ---     1d  Aaron@pecos.jim.com
@MoeFoe       *           ---     8h  coinbird@a.f.k
+dranyam      *           ---    14h  dranyam@wallowing.in.my.own.chaotic.insecure.delusions
+ln           *           ---    10h  ln@look-random-characters-66160C5.hfc.comcastbusiness.net
+gerb         *           ---     2d  Hi@look-random-characters-249EEE30.ph.ph.cox.net
+skutter      *           ---     5d  jack@look-random-characters-5D3126F1.faceofboe.net
+localhost    *           ---     5d  irc4lyf@127.0.0.1
@MrWee        mrwee      21Oct F 20h  mrwee@oh.hi.i.upgraded.your.ram
+ashp         *          21Oct    2d  ashp@look-random-characters-6985FE1A.kimsufi.com
+fV3          *          22Oct    2d  Josh@look-random-characters-17E7860C.hsd1.ca.comcast.net
+RumAndCoke   rumandcoke 22Oct F 11h  RumAndCoke@look-random-characters-16EFCF36.abhsia.telus.net
+icka         icka       20:56 F 13h  ickadotnu@look-random-characters-1AFA58B8.nycmny.fios.verizon.net
+bone-daddy   bone-daddy 22:46 F 13h  myballs@98886CBE.93C4EE02.EF32760.IP
+chudsworth   chudsworth 22:48 F  9h  chud@look-random-characters-A5950ACF.hsd1.ut.comcast.net
@peer         *          22:50   13h  peer@look-random-characters-FEE8816B.lv.lv.cox.net
 wiciltd-     wiciltd-   22:56 F  9h  wiciltd@look-random-characters-1D8CA792.cpe.net.cable.rogers.com
@marvz        marvz      23:15 N 12h  pedro@netadmin.irc4lyf.com
+acefire      *          00:00    8h  xacefirex@look-random-characters-4B10C1A.hsd1.pa.comcast.net
%Golem        golem      00:01 F 12h  goleadfkh@look-random-characters-3452BDDF.dyn.optonline.net
@fayzeshyfft  *          00:02   12h  fayzeshyff@look-random-characters-B8591808.dynamic.mts.net
 Hairy_Pooter *          00:05   12h  garhans@look-random-characters-1C6668E0.dsl.airstreamcomm.net
 holly        *          02:12   10h  ihateyoufo@look-random-characters-8A36FD75.hsd1.ca.comcast.net
 hollystar    *          02:13   10h  ihateyoufo@look-random-characters-8A36FD75.hsd1.ca.comcast.net
 bio2-droidX  *          03:14    9h  biohazard2@look-random-characters-1BBF311E.sub-97-53-181.myvzw.com
 Dismal       *          07:23    5h  dismal@look-random-characters-E58E1EA1.hsd1.ma.comcast.net
+biohazard2   biohazard2 11:12 F  1h  biohazard2@look-random-characters-342BE68.tampabay.res.rr.com
End of channel info.
I'm using eggdrop v1.6.19+ctcpfix. I am able to telnet to the bot with no problem. i has to do with both /dcc chat <eggdrop nickname> or /ctcp <eggdrop nickname> CHAT. It also does it with a legoman's quote script sometimes now. I thought it might be related to the script but when I restart/rehash the bot ater commenting out the script it still does the same thing. So I really don't know what else to try or do in this case.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Well, it seems your eggdrop does recognize you properly.

One remote possibility; could you list all the ignores (using .ignores), and see that there's no ignore matching you there?
NML_375
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

Since he can telnet into bot, would it not be worth it - a quick and easy little experiment - to try
.adduser
command on himself, while he is in the channel?

Follow it up, with another .whois and/or .match , to see if it changed anything in his listed HOSTS?

... just to be sure ... ?
m
marvz
Halfop
Posts: 64
Joined: Fri Jun 18, 2010 2:37 pm

Post by marvz »

.ignores results:

Code: Select all

.ignores
[14:18] #marvz# ignores 
No ignores.
.adduser marvz results:

Code: Select all

.adduser marvz
marvz is already known as marvz.
whois results:

Code: Select all

.whois marvz
[14:20] #marvz# whois marvz
HANDLE                           PASS NOTES FLAGS           LAST
marvz                            yes      0 hjlmnoptx       14:20 (#spf)
  HOSTS: *!marvz@*.irvnca.pacbell.net, -telnet!*@*
         *!pedro@east.LA, *!marvz@*.irc4lyf.com
         marvz@netadmin.irc4lyf.com
         marvz!pedro@netadmin.irc4lyf.com
Let me know if you need anything else for me to try. Thanks again for all the help.
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

marvz wrote: .adduser marvz results:

Code: Select all

.adduser marvz
marvz is already known as marvz.
whois results:

Code: Select all

.whois marvz
[14:20] #marvz# whois marvz
HANDLE                           PASS NOTES FLAGS           LAST
marvz                            yes      0 hjlmnoptx       14:20 (#spf)
  HOSTS: *!marvz@*.irvnca.pacbell.net, -telnet!*@*
         *!pedro@east.LA, *!marvz@*.irc4lyf.com
         marvz@netadmin.irc4lyf.com
         marvz!pedro@netadmin.irc4lyf.com

Experimenting on a test bot of mine now.
I can't exactly duplicate what you are experiencing, yet. But I'm close.

If I use a hostmask like this:
blah@*.something.somewhere.net
bot will react the same as it did with you. I watched, while logged in to partyline via telnet. "no access"

Next, I used .adduser on myself, and bot added me with hostmask like this:
*!blah@*.something.somewhere.net
and then, I could dcc chat the bot once again.
Apparently, the bot does want to see that leading *!

But, you said the bot already knew you, when you tried the .adduser command. That's interesting.

Still fiddling around here, experimenting.....

In the meantime, if you are safely logged in via telnet - you might want to .-host all but the one that applies to telnet... be sure to leave it.
Check to be sure they are gone, with .whois
*Then* when you try .adduser on yourself, it should pick you up, and add your hostmask.
Check again with .whois to see what it added. Then test again, by trying to log in via DCC.
m
marvz
Halfop
Posts: 64
Joined: Fri Jun 18, 2010 2:37 pm

Post by marvz »

here is the log:

Code: Select all

.whois marvz
[14:55] #marvz# whois marvz
HANDLE                           PASS NOTES FLAGS           LAST
marvz                            yes      0 hjlmnoptx       14:20 (#spf)
  HOSTS: -telnet!*@*

.adduser marvz
Added hostmask *!pedro@*.irc4lyf.com to marvz.
[14:55] #marvz# adduser marvz 


.whois marvz
[14:56] #marvz# whois marvz
HANDLE                           PASS NOTES FLAGS           LAST
marvz                            yes      0 hjlmnoptx       14:20 (#spf)
  HOSTS: -telnet!*@*, *!pedro@*.irc4lyf.com
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

marvz wrote: .whois marvz
[14:56] #marvz# whois marvz
HANDLE PASS NOTES FLAGS LAST
marvz yes 0 hjlmnoptx 14:20 (#spf)
HOSTS: -telnet!*@*, *!pedro@*.irc4lyf.com
[/code]
I don't think we've seen:
*!pedro@*.irc4lyf.com
before.

What happens when you try to log in via DCC now?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

@willy,
blah@*.somewhere.net will not work as a hostmask, as it does not match nick!blah@host1.somewhere.net. Still, it should not prevent the *!blah@*.somewhere.net hostmask (later added) from working.

Both the .channel listing, and the shown user records does indicate that the eggdrop has no problems whatsoever to identify marvz within the channel, so the current records should work.

Though, just to double-check one thing:
@marvz,
Remove all but the -telnet!*@* hostmask, and re-issue the .channel command. Look for the line with your nickname, and tell me if it's followed by a * or a different handle-name?
NML_375
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

nml375 wrote: ...
so the current records should work.
cool.
Though, just to double-check one thing:
@marvz,
Remove all but the -telnet!*@* hostmask, and re-issue the .channel command. Look for the line with your nickname, and tell me if it's followed by a * or a different handle-name?
ahhh... you had mentioned this earlier. It will be interesting to see what he posts.

Thanks
Post Reply