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.

A question on ip / port binding and udp protocol

Old posts that have not been replied to for several years.
Locked
F
Fluxism
Halfop
Posts: 47
Joined: Mon Aug 05, 2002 8:58 am

A question on ip / port binding and udp protocol

Post by Fluxism »

Lo all,

I'm trying to clear up the listening ports on my fedora server, and making sure that all the processes only bind / listen on the right IP. Now this setting in the conf:

Code: Select all

set my-hostname "some.isp.com"
set my-ip "111.111.111.111"
Will bind it to one ip. Yet when I do a netstat command, I'm still getting a udp as shown not to be bound to a specific IP, as below:


Code: Select all

[root@moo home]# netstat -a -e |grep jack
tcp        0      0 111.111.111.111:10065   *:*                     LISTEN      jack       17300      
tcp        0      0 111.111.111.111:32882   212.112.132.41:ircd     ESTABLISHED jack       17318      
tcp        0      0 111.111.111.111:33172   111.111.111.111:10075   ESTABLISHED jack       90004      
udp        0      0 *:32818                 *:*                                 jack       17301
Is this normal for eggdrops? Would some be kind enough to explain exactly whats happening here and why the udp entry is not bound to a specific IP?

Thanks :)
[/code]
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

good question... I wonder what they are used for anyway. I have 3 (UDP listenings) each bot. 2 bound to 0.0.0.0 and 1 to 127.0.0.1 @_o. Are they some kind of intern loopback/interface between modules?
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

that comes from the resolver lib, used by async DNS module

same effect with many (virtually all) ircds
Locked