I currently connect to IRC using ChatZilla from behind a transparent proxy (opening ports on the proxy is not an option). I am connecting to the Freenode network. I have been able to successfully initiate private chats with other users on the channel, but so far not with the bot.
Here are all the details I have been able to collect so far:
The Help Us to Help You thread suggested I try to get the bot to initiate a chat to me using /CTCP <Botname> Chat. Before I try that, the thread suggests checking three things:
Bot has it's IP address right - I have the following entries in my .conf file:
Code: Select all
set my-hostname "unixguru.us"
set my-ip "69.90.127.132"
There isn't a firewall issue - I ran a sockstats command when the bot is still running from the shell and I get the following output:
Code: Select all
-bash-2.05b$ sockstat -4 -l
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
technoba eggdrop- 67766 3 tcp4 69.90.127.132:51112 *:*
technoba eggdrop- 67766 4 udp4 *:3795 *:*
technoba eggdrop- 67766 5 udp4 *:4229 *:*
Is the bot behind a NAT - I ran ifconfig on my shell host account and this is the output:
Code: Select all
-bash-2.05b$ ifconfig
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 69.90.127.130 netmask 0xffffff80 broadcast 69.90.127.255
inet6 fe80::20d:61ff:fe6e:957f%rl0 prefixlen 64 scopeid 0x1
inet 69.90.127.131 netmask 0xffffffff broadcast 69.90.127.131
inet [b]69.90.127.132[/b] netmask 0xffffffff broadcast 69.90.127.132
In searching on the forums, I realized that users can initiate private chats on freenode only if they are registered, so I added the "Chanservneed" script to the conf file. Monitoring the bot connection via ./eggdrop -nt shows the following:
Code: Select all
[23:32:36] chanservneed: [Status] sending password to NickServ
[23:32:36] -NOTICE- *** Your host is kubrick.freenode.net[kubrick.freenode.net/6667], running version hyperion-1.0.2b
[23:32:36] -NickServ (NickServ@services.)- This nickname is owned by someone else
[23:32:36] -NickServ (NickServ@services.)- If this is your nickname, type /msg NickServ IDENTIFY <password>
[23:32:36] CTCP VERSION: from freenode-connect (freenode@freenode/bot/connect)
[23:32:38] -NickServ (NickServ@services.)- Password accepted - you are now recognized
Code: Select all
[23:32:47] #tb-bottest: mode change '+v babble_bot' by ChanServ!ChanServ@services.
Code: Select all
[23:35:55] CTCP CHAT: from balaji_dutt (n=chatzill@202.176.196.196)
The bot can even see my commands in the party-line:
Code: Select all
[00:24:12] [balaji_dutt!n=chatzill@202.176.196.196] .help
I have my bot.user file set up as follows for this account:
Code: Select all
balaji_dutt - fjlmnoptvx
--HOSTS !*@*
--XTRA created 1207124938
At this point, I'm not sure what else to check so anyone who has any advice - I'd be most grateful!