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 still uses wrong port ranges

Old posts that have not been replied to for several years.
Locked
f
fenoli

Post by fenoli »

Hi.
Even if I've set up the conf to use some reserved portrange (I'm running a firewall which allows portrange 46600-46730 ), it keeps trying connecting to lower ports (see below: 3985, 4004 and so on). Therefore it can't link/connect :sad:
I'm running eggdrop 1.6.8, since dcc-portrange seems to be removed in eggdrops >1.6.7 , I've tried also with 1.6.6 but it doesn't work as well.

=== from my conf ===
listen 46621 bots
listen 46641 users
#set nat-ip "127.0.0.1"
set reserved-portrange 46700-46730
set dcc-portrange 46700-46730
===

from "netstat -tp":

===
tcp 3 0 myhost:46621 myhost:3985 ESTABLISHED 4864/eggdrop-1.6.8
tcp 0 1 myhost:4004 otherhost:50505 SYN_SENT 4864/eggdrop-1.6.8
===

Thanks in advange.
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

reserved portrange applies to dynamically assigned listen ports (ie, ports that eggdrop opens to listen to external connections, as when initiating a dcc send). the second line of your netstat refers to an outgoing connection. Outgoing connection ports are assigned by the operating system. By default most os's assign 1024-5000. Most firewalls should allow this behaviour if proper stateful rulesets have been made.
Locked