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.

the bot doesn't recieve file from me

Old posts that have not been replied to for several years.
A
AL-3AsHiG^^
Voice
Posts: 14
Joined: Thu Dec 09, 2004 9:40 am

the bot doesn't recieve file from me

Post by AL-3AsHiG^^ »

hi,
i have been searching for a solution for my problem since this morning. i tried google. #egghelp. #eggtcl and #eggdrop on efnet. I connected to freenode but no one answer on #egghelp.

i want my bot to recieve files. thats all. i tried to make my bot send my to me and he sent the file successfully (.tcl dccsend ..). when i send a file to him, i get these msgs:
16:24:29 ¤ <CooKies> [08:24] -AL-3AsHiG^^` (hd@62.150.203.WeArab-D1BFEE8457ECA)- DCC Send code.txt (62.150.203.169)
16:24:30 ¤ <CooKies> [08:24] Refused DCC SEND: AL-3AsHiG^^`!hd@62.150.203.WeArab-D1BFEE8457ECA
16:24:30 ¤ <CooKies> [08:24] CTCP SEND: code.txt 1050069929 4779 3233 from AL-3AsHiG^^` (hd@62.150.203.WeArab-D1BFEE8457ECA)

my flag is: 16:54:14 ¤ <CooKies> Tcl: fjlmnoptx

also i tried this forum and i found same topic as mine but no one solves the problem. this is the link: http://forum.egghelp.org/viewtopic.php?t=7154

thanks
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

make sure the bot recognizes you under that hostmask

if so, check your firewall, it must allow outside connections on random ports (or within the range of ports you specified in your IRC client for DCC usage)
A
AL-3AsHiG^^
Voice
Posts: 14
Joined: Thu Dec 09, 2004 9:40 am

Post by AL-3AsHiG^^ »

the bot recognizes me and i am sure about that.

i don't have firewall also i can send file to other users. That prevents the firewall as a cause for not accepting my dcc send. :(
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

no, it doesn't recognize you

from src/mod/server.mod/servmsg.c:

Code: Select all

                if ((lowercase_ctcp && !egg_strcasecmp(code, "DCC")) ||
                    (!lowercase_ctcp && !strcmp(code, "DCC"))) {
                  /* If it gets this far unhandled, it means that
                   * the user is totally unknown.
                   */
                  code = newsplit(&ctcp);
                  if (!strcmp(code, "CHAT")) {
                    if (!quiet_reject) {
                      if (u)
                        dprintf(DP_HELP, "NOTICE %s :I'm not accepting calls "
                                "at the moment.\n", nick);
                      else
                        dprintf(DP_HELP, "NOTICE %s :%s\n", nick,
                                DCC_NOSTRANGERS);
                    }
                    putlog(LOG_MISC, "*", "%s: %s", DCC_REFUSED, from);
                  } else
                    putlog(LOG_MISC, "*", "Refused DCC %s: %s", code, from);
                }
the "Refused" log message without a reason appears only there, and in your log:

Code: Select all

16:24:30 ¤ <CooKies> [08:24] Refused DCC SEND: AL-3AsHiG^^`!hd@62.150.203.WeArab-D1BFEE8457ECA 
so, as the code comment says, you are "totally unknown" to the bot (under that hostmask)
A
AL-3AsHiG^^
Voice
Posts: 14
Joined: Thu Dec 09, 2004 9:40 am

Post by AL-3AsHiG^^ »

ok here you are:
18:49:31 ¤ <CooKies> [10:49] Refused DCC SEND: AL-3AsHiG^^!hd@195.39.180.WeArab-54D1CE14C0A86B
this one happened 1 min ago. with that mask, here is the mask on the bot:
18:50:12 ¤ <CooKies> HOSTS: -telnet!*@*, AL-3AsHiG^^*!CooKies@*, AL-3AsHiG^^*!hd@*
18:50:12 ¤ <CooKies> AL-3AsHiG^^*!radio@*, AL-3AsHiG^^!hd@*

if with these mask the bot doesn't recognize me, how to make him does that?

thanks
A
AL-3AsHiG^^
Voice
Posts: 14
Joined: Thu Dec 09, 2004 9:40 am

Post by AL-3AsHiG^^ »

as a help channel, i joined #egghelp on efnet again and asked them how to make my bot recognize me. Someone told me if the bot accepts the dcc chat that you have sent to him, that means he recognize me. so what should i do ://
User avatar
CrazyCat
Revered One
Posts: 1359
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

2day is my "stupid hypothesis day": is your config file ok?
have a look in transfer, filesystem...
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

after some source investigation, I think I found what's causing your problem: it's your cloaked hostname

you surely have in your config dcc-sanitycheck set to 1; try setting it to 0 and let me know if that remedies the problem
A
AL-3AsHiG^^
Voice
Posts: 14
Joined: Thu Dec 09, 2004 9:40 am

Post by AL-3AsHiG^^ »

set dcc-sanitycheck 0

that what i found on my config file. it's already sets to 0
A
AL-3AsHiG^^
Voice
Posts: 14
Joined: Thu Dec 09, 2004 9:40 am

Post by AL-3AsHiG^^ »

and look:
21:24:05 ¤ <CooKies> FazLeeeN AL-3AsHiG --- N Faz@195.39.180.50

21:24:39 ¤ <CooKies> *** Matching 'AL-3AsHiG':
21:24:39 ¤ <CooKies> HANDLE PASS NOTES FLAGS LAST
21:24:39 ¤ <CooKies> AL-3AsHiG yes 0 fjlmnoptx 13:15 (partyline)
21:24:39 ¤ <CooKies> #helpdesk mno 10:37
21:24:39 ¤ <CooKies> HOSTS: -telnet!*@*, AL-3AsHiG^^*!CooKies@*, AL-3AsHiG^^*!hd@*
21:24:39 ¤ <CooKies> AL-3AsHiG^^*!radio@*, AL-3AsHiG^^!hd@*, FazLeeeN!Faz@*
21:24:39 ¤ <CooKies> --- Found 1 match.


21:23:36 ¤ <CooKies> [13:23] -FazLeeeN (Faz@195.39.180.50)- DCC Send code.txt (195.39.180.50)
21:23:37 ¤ <CooKies> [13:23] Refused DCC SEND: FazLeeeN!Faz@195.39.180.50
21:23:37 ¤ <CooKies> [13:23] CTCP SEND: code.txt 3274159154 4770 3233 from FazLeeeN (Faz@195.39.180.50)


still not accepting
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

well I simply can't believe what you are stating - I had a look at eggdrop source and the only way that "Refused DCC SEND" message (with no reason specified) could show up is because of a failed sanity check - which is controlled by dcc-sanitycheck

anyhow, try to get rid of that host cloaking if you can and see what happens
A
AL-3AsHiG^^
Voice
Posts: 14
Joined: Thu Dec 09, 2004 9:40 am

Post by AL-3AsHiG^^ »

well, i changed the network to have a clean host and also i tried to send a file from a bot on the botnet to CooKies but also the same error.

can you please try it yourself? try to send a file to your bot.

thanks
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

on my bot everything works, always been working ;)
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

make sure the transfer and filesys module is loaded.
A
AL-3AsHiG^^
Voice
Posts: 14
Joined: Thu Dec 09, 2004 9:40 am

Post by AL-3AsHiG^^ »

i don't know what to do :<
it is a small thing and didn't solve and nobody knows what is the problem.
Locked