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 

CTCP doesn't reply - followed all instructions
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
flyingbaobab
Voice


Joined: 22 Sep 2006
Posts: 8
Location: Europe

PostPosted: Fri Sep 22, 2006 4:45 am    Post subject: CTCP doesn't reply - followed all instructions Reply with quote

Hi,

Whenever I try to /ctcp mybot CHAT i get no ctcp reply.

What I've tried so far:
- opened proper firewall port on my Suse Linux home OS
- logged in with different irc clients (kvirc, konversation & xchat)
- tried many different ports
- tried both connecting trough and without bouncer
- changed my vhost / IP
- logged in from a windows comp with mirc, addjusted the settings like I've found in the 'Help us to help you (and try to help yourself)' post in this forum.
- went 4 times trough the config file to find a setting i missed
- the ports on my shell aren't blocked, cause i've tried to connect through them via psybnc and that works fine

Other info

- Running Eggdrop 1.6.18
- I'm not on a LAN
- 1.6.17 used to work fine with same home configuration and on the same shell
- The bot appears fine on irc, and when opping him he does what he needs to do regarding channel management
- I'm on a private irc network using chanserv/nickserv
- When I telnet from the console to my bot and then try to ctcp him on irc i get following message in telnet:

*** X joined the party line.
[09:34] CTCP CHAT: from X (~X@X.users.X.com)
(where X is my nick and irc server)


- When I start the bot i get
Eggdrop v1.6.18 (C) 1997 Robey Pointer (C) 2006 Eggheads
[09:18] --- Loading eggdrop v1.6.18 (Fri Sep 22 2006)
[09:18] Listening at telnet port 34567 (all).
[09:18] Module loaded: dns
[09:18] Module loaded: channels
[09:18] Module loaded: server
[09:18] Module loaded: ctcp
[09:18] Module loaded: irc
[09:18] Module loaded: notes (with lang support)
[09:18] Module loaded: console (with lang support)
[09:18] Module loaded: blowfish
[09:18] Module loaded: uptime
[09:18] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[09:18] use '.help userinfo' for commands.
[09:18] Userfile loaded, unpacking...
[09:18] === flyingbao: 1 channels, 1 users.
Launched into the background (pid: 13976)


- In my logs I see

[06:09] CTCP hello: from X (~X@X.users.X.com)
[06:13] CTCP CHAT: from X (~X@X.users.X.com)


My question

Since I run out of knowledge cq ideas how to solve this: anyone a tip / tutorial / debug tool / etc for what I could do to fix this? Or at least know why it isn't working?


Thx in advance
F.B. Rolling Eyes
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Fri Sep 22, 2006 6:51 am    Post subject: Reply with quote

Checked your userfile for the +p flag to allow connecting to the partyline? Checked your hostmasks for your handle in the userfile? Smile

The other suggestions I have would be:

Most clients use "/dcc chat nick" not /ctcp (although I don't know if that even makes a difference..Never thought to look at the src for my irc client for that.)

I'm thinking that's the problem cos my log shows (and yours does not show the DCC):

[00:32] CTCP DCC: CHAT chat 3454983022 33069 from rosc (~rosc@xanadu.rush2112.vh)

The other idea that occurred to me, was to make sure you have the ip_conntrack_irc module loaded for your firewall in linux if you're using iptables.
Back to top
View user's profile Send private message
flyingbaobab
Voice


Joined: 22 Sep 2006
Posts: 8
Location: Europe

PostPosted: Fri Sep 22, 2006 10:39 am    Post subject: Reply with quote

First of all thx for your reply and suggested help. When I tell my 'commercial' friends about the level of feedback and willigness of helping someone with opensource stuff, they never believe me Razz

rosc2112 wrote:
Checked your userfile for the +p flag to allow connecting to the partyline? Checked your hostmasks for your handle in the userfile? Smile


Yeah, this is how it looks like to me:
mynick - hjlmnoptx
--HOSTS -telnet!*@*
--LASTON 1158914058 partyline
--PASS +2q3HI1BtHHl0
--XTRA created 1158903384
::#mynick bans
&&#mynick exempts
$$#mynick invites


So nothing strange imo

rosc2112 wrote:
The other suggestions I have would be:

Most clients use "/dcc chat nick" not /ctcp (although I don't know if that even makes a difference..Never thought to look at the src for my irc client for that.)

I'm thinking that's the problem cos my log shows (and yours does not show the DCC):

[00:32] CTCP DCC: CHAT chat 3454983022 33069 from rosc (~rosc@xanadu.rush2112.vh)


Using /ctcp or /dcc makes no difference. My client does support both and it works fine. Besides, as said I've tested with multiple clients on both linux & windows.

rosc2112 wrote:
The other idea that occurred to me, was to make sure you have the ip_conntrack_irc module loaded for your firewall in linux if you're using iptables.


I don't use iptables with my firewall (its the standard firewall that comes with openSUSE and where I've opened the proper port). And since its the same problem from a windows box, I have the slightly feeling its on the Eggdrop side and not on the client side.

Still stuck here :p
Any other taughts / suggestions? Perhaps non-standard things in the config-file that I've forgot?
btw, I've only changed the parameters in my eggdrop config file as they explain in http://www.egghelp.org/setup.htm

Thx in advance
FB
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Fri Sep 22, 2006 10:42 am    Post subject: Reply with quote

Aha, you're only allowing telnet! Smile

I have these hosts for example, in my userfile:

--HOSTS -telnet!*@*
--HOSTS *!~rosc@xanadu.rush2112.vh

PS:
(Might wanna change your password now, cos I think that can be decrypted Wink
Back to top
View user's profile Send private message
flyingbaobab
Voice


Joined: 22 Sep 2006
Posts: 8
Location: Europe

PostPosted: Fri Sep 22, 2006 11:04 am    Post subject: Reply with quote

Added that in my userfile, no difference Sad

(my password was just some random text btw, so no need to worry Razz )

Anyhow, thinking of just reinstalling my Eggdrop (prolly older version) and see what happens ...

Edit = typo
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Sep 22, 2006 11:07 am    Post subject: Reply with quote

Anyone with the nick -telnet gets recognised as the bot owner (nothing to do with telnet btw); no idea why this is added, maybe a hangover from the first eggdrop. I'd be removing it.

*!~rosc@ is best as *!rosc@
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Fri Sep 22, 2006 4:51 pm    Post subject: Reply with quote

Alchera wrote:
Anyone with the nick -telnet gets recognised as the bot owner (nothing to do with telnet btw); no idea why this is added, maybe a hangover from the first eggdrop. I'd be removing it.

Ahh I did not know that. I thought it was for allowing telnets :/
Quote:
*!~rosc@ is best as *!rosc@

I don't have ident so I thought I needed the ~ in there?

Edit:
I just tested, removed the -telnet!*@* and tried telnetting to the bot (which only listens on localhost anyway) and it would not let me connect. I put the mask back in, and could connect? *confused*

Edit again:
Well ok, I have to use *!telnet@localhost.* as a mask apparently.

[bot(dcc)] [16:58] Telnet connection: localhost.epix.net/35066
[bot(dcc)] [16:58] Logged in: rosc (telnet@localhost.epix.net/35066)
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Sep 22, 2006 7:15 pm    Post subject: Reply with quote

You cannot simply DCC chat the bot?

Try *!rosc@ and you'll still be recognised.

If using *nix as your OS compile linux-identd to take care of your ident "problem".
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Fri Sep 22, 2006 8:55 pm    Post subject: Reply with quote

I can dcc chat it, was just noting that I could not telnet to it without that entry.

I have identd disabled on purpose, cos I think it's useless for anything (so easily spoofed it serves no legitimate purpose in this day and age) except possibly to show that an IP is connected to a particular port..which should already be evident by being connected! Smile
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Sep 23, 2006 7:18 pm    Post subject: Reply with quote

IRC networks require a response via 113 (AUTH); some will even refuse connection if there is none (is also a common problem when eggdrop cannot connect).

You need to do some reading up on the Gibson Research Corporation site.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Sun Sep 24, 2006 12:24 pm    Post subject: Reply with quote

looking at the original post, this may be a simple matter to fix
it appears the bot was not correctly identified to
Quote:
[06:09] CTCP hello: from X (~X@X.users.X.com)
[06:13] CTCP CHAT: from X (~X@X.users.X.com)


the initial contact sequence should be:
Code:
msg bot hello
msg bot pass [password]


the first post shows that flyingbaobab used ctcp, instead of msg, for the "hello" contact

from what I see, the bot is not responding because it does not recognize him
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Sep 24, 2006 6:23 pm    Post subject: Reply with quote

flyingbaobab wrote:
- When I telnet from the console to my bot and then try to ctcp him on irc i get following message in telnet

Very true DragnLord, I misread that one line. Embarassed
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
flyingbaobab
Voice


Joined: 22 Sep 2006
Posts: 8
Location: Europe

PostPosted: Sun Sep 24, 2006 10:40 pm    Post subject: Reply with quote

DragnLord wrote:
looking at the original post, this may be a simple matter to fix
it appears the bot was not correctly identified to

the initial contact sequence should be:
Code:
msg bot hello
msg bot pass [password]


the first post shows that flyingbaobab used ctcp, instead of msg, for the "hello" contact

from what I see, the bot is not responding because it does not recognize him


not really, I do did the msg hello / msq pass part Wink
and since i didn't got an answer cq. i had no clue what happened; I telnetted to it to become its master
the bot just doesn't respond to msg or ctcp (while he receives the request as i can see when logged in with telnet).

I still have no clue whats wrong, but at least the bot runs fine and he does what he have to do. Management goes perfectlt via telnet.
Back to top
View user's profile Send private message Visit poster's website
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Mon Sep 25, 2006 1:43 am    Post subject: Reply with quote

other possibility is that your irc is not allowing it
(bot sends, your client ignores)
such things happen when you are behind a router and your LAN address is different then your WAN address
too many variables and not enough information to accurately assess the situation
Back to top
View user's profile Send private message
flyingbaobab
Voice


Joined: 22 Sep 2006
Posts: 8
Location: Europe

PostPosted: Mon Sep 25, 2006 8:54 am    Post subject: Reply with quote

I was thinking of that one 2, but i usualy run kvirc. Cause it didn't work i tried both xchat & konversation. Even on a standalone windows box with mirc he won't reply (from another internetconnection) and yes, changed my stuff via telnet in my user file when I tried that.

But I'll learn to live with it Smile
Back to top
View user's profile Send private message Visit poster's website
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