Server on Master List Twice

Post here if you need help setting up your server, etc.
Post Reply
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Server on Master List Twice

Post by dlh »

My server is on my master list twice, but I am only running one server. It is just a doubled entry as shown by the photo in which I have connected to the server. I think this happened with Luke's Hexatron server too.

I started with the init.d scripts.
Attachments
Picture 1.png
(8.75 KiB) Downloaded 183 times
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

That's the effect of SERVER_IP defaulting to "ALL ANY:1", which opens two ports for listening. With out "ANY", the server won't appear on the LAN server browser list. Without "ALL", there is the old problem of your server not appearing on the Internet server browser when it's on your LAN.

Anyway, on poorly configured systems, "ALL" does not have the desired effect anyway (it only works if DNS lookups for the hostname give the public internet address as one of the IPs), so unless both questions below have a positive answer, I'll revert to the old default "ANY'.

Question 1:
Is it possible to tune a socket not bound to INADDR_ANY to accept broadcast backets? Then, we can make the LAN browser work without "ANY".

Question 2:
Is there a reliable way to get all IP addresses of a system? Then, we could make "ALL" work reliably.
Post Reply