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.

Eggdrop 1.6.15 doesn't attach to a port

Old posts that have not been replied to for several years.
Locked
A
Agarwaen

Eggdrop 1.6.15 doesn't attach to a port

Post by Agarwaen »

Hello !

I compiled a egg 1.6.15 on my brand new FreeBSD box, and nearly everything is fine... nearly, coz I'm not able to telnet the bot.

The eggy starts correctly, it connects to IRC and there is no pb, except it doesn't listen on any port. I have a "listen 3336 all" line in my conf, "set my-ip xxx.xxx.xxx.xxx" is okay... and the port is opened on the firewall.

In fact, when I do a "netstat -f inet", no process is listening on the port I fixed !

Does anyone of you have an idea ?
User avatar
j0n
Op
Posts: 140
Joined: Wed May 07, 2003 5:31 pm
Location: sjn.nb.ca
Contact:

Post by j0n »

that is wierd.

when the bot loads up, does it say :

Eggdrop v1.6.15 (C) 1997 Robey Pointer (C) 2003 Eggheads
[00:18] --- Loading eggdrop v1.6.15 (Thu May 29 2003)
[00:18] Listening at telnet port 3336 (all)

other then that, i really don`t know what to tell ya.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Aditionaly, is the process still running in the background, or has it crashed (thus not listening).
A
Agarwaen

Post by Agarwaen »

j0n> yes, the egg starts and displays the usual "Listening at telnet port 3336 (all)" line, but, and this is what really puzzles me, it doesn't listen !

ppslim> yes the egg starts correctly. it connects to the server, joins the chan, and replies correctly to requests (/msg commands work, tcl scripts work...), except that the DCC & telnet fail...

The egg is a 1.6.15 compiled with IPv6 support. I run several instances, on IPv4 & IPv6. Here are some of my logs :

Code: Select all

agarwaen@null-b:~$ telnet localhost 3336
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
I have a new element : I started the bot with the -nt option, and I got the dreaded error "Attempt to kill un-allocated socket 0 !!"
BUT ! my resolv.conf is OK, and I run a Bind 9 correctly configured for IPv4 & IPv6...

Code: Select all

root@null-b:/usr/local/eggdrop/neithan# su - neithan -c /usr/local/eggdrop/neithan/neithan

Eggdrop v1.6.15 (C) 1997 Robey Pointer (C) 2003 Eggheads
[13:11] --- Loading eggdrop v1.6.15 (Fri May 30 2003)
[13:11] Listening at telnet port 50000 (all)
[13:11] Module chargé: assoc            (avec support internationnal)
[13:11] Module chargé: blowfish
[13:11] Module chargé: console          (avec support internationnal)
[13:11] Module chargé: transfer                 (avec support internationnal)
[13:11] Module chargé: channels
[13:11] Module chargé: share
[13:11] Module chargé: compress
[13:11] Module chargé: notes            (avec support internationnal)
[13:11] Module chargé: seen
[13:11] Module chargé: uptime
[13:11] Module chargé: wire             (avec support internationnal)
[13:11] * Toolz par Jarod_
[13:11] * Userinfo TCL v1.07 loaded (NOM ANNIV URL EMAIL PAGER PHONE).
[13:11] * NetBots v4.09 by slennox
[13:11] Loaded components: extras, mass, netbots
[13:11] * Notes 2.1.0 by MHT
[13:11] Userfile loaded, unpacking...
[13:11] === Neithan: 0 channels, 46 users.

### ENTERING DCC CHAT SIMULATION ###

There are no other users on the bot or party line.

*** HQ joined the party line.
.su agarwaen
[13:12] #HQ# su agarwaen
*** HQ left the party line.
Enter password for agarwaen
***********

*** agarwaen joined the party line.
.die
[13:12] #agarwaen# die
*** BOT SHUTDOWN (Authorized by agarwaen)
[13:12] * DIE BY agarwaen!llama@console (request)
[13:12] Attempt to kill un-allocated socket 0 !!
For [censored]'s sake, I think this bot hates me !
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The killing unallocated socket error is unrealted to your problems, this happens when the bot shutdown, using the messages "Authorized by agarwaen"
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

umm perhaps a silly question but did you change the order of the conf? is your listen 3336 all line AFTER your set my-ip line?
User avatar
j0n
Op
Posts: 140
Joined: Wed May 07, 2003 5:31 pm
Location: sjn.nb.ca
Contact:

Post by j0n »

[13:11] Listening at telnet port 50000 (all)

as per your conf, try using that port :P

Also, if it is ipv6 related... try maybe using the ipv4 ip associated with the ipv6 hostname
m
menace

same problem here

Post by menace »

i do have exactly the same probleme on any of my boxes:
my eggdrop-1.6.15 compiled with ipv6 support does not bind to a port.
it does come to irc, it does link to the botnet (if an userfile is provided), all seems very well working except the port binding.

ive also tried the latest snapshot from cvs but problem remains.

anybody got some ideas on that?
h
har0
Voice
Posts: 20
Joined: Fri Jan 17, 2003 7:07 am

Post by har0 »

Silly question mabye.. but ..

You showed :
root@null-b:/usr/local/eggdrop/
etc in the log

what user is the bot running from ?? why do you .su in order to kill it ?
the errors on connection like
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1... and telnet: connect to address 127.0.0.1: Connection refused
do mean, that the bot recognizes the NAT IP and not your external ?
Locked