egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unable to DCC Chat and Bot Ignores all commands
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
marvz
Halfop


Joined: 18 Jun 2010
Posts: 64

PostPosted: Sat Oct 23, 2010 11:24 pm    Post subject: Unable to DCC Chat and Bot Ignores all commands Reply with quote

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:
[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:
*** 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.
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Sun Oct 24, 2010 4:52 am    Post subject: Reply with quote

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?
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Sun Oct 24, 2010 8:48 am    Post subject: Reply with quote

Might be the simple fact that...
Code:
         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:
         marvz!*@netadmin.irc4lyf.com

_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sun Oct 24, 2010 9:03 am    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Sun Oct 24, 2010 11:32 am    Post subject: Reply with quote

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.


Quote:
<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.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sun Oct 24, 2010 11:43 am    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
marvz
Halfop


Joined: 18 Jun 2010
Posts: 64

PostPosted: Sun Oct 24, 2010 12:41 pm    Post subject: Reply with quote

this is the message using the .channels command via telnet:
Code:
[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.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sun Oct 24, 2010 2:03 pm    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sun Oct 24, 2010 2:07 pm    Post subject: Reply with quote

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 ... ?
Back to top
View user's profile Send private message
marvz
Halfop


Joined: 18 Jun 2010
Posts: 64

PostPosted: Sun Oct 24, 2010 2:22 pm    Post subject: Reply with quote

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


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


whois results:
Code:
.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.
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sun Oct 24, 2010 2:48 pm    Post subject: Reply with quote

marvz wrote:

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


whois results:
Code:
.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.
Back to top
View user's profile Send private message
marvz
Halfop


Joined: 18 Jun 2010
Posts: 64

PostPosted: Sun Oct 24, 2010 2:58 pm    Post subject: Reply with quote

here is the log:
Code:
.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
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sun Oct 24, 2010 3:03 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sun Oct 24, 2010 3:14 pm    Post subject: Reply with quote

@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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sun Oct 24, 2010 3:20 pm    Post subject: Reply with quote

nml375 wrote:

...
so the current records should work.


cool.

Quote:

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber