Indeed the LAN's we run here have upwards of 1000 gamers. If you want to put a LAN check in, you would need to compare to see if any of the below apply: 1. The server is in the same subnet ( defined by that specified on the bound interfaces ) as the client. 2. The server is in the same "private" address range as the client. See RFC 1597 for the definition of these: http://www.safety.net/sum1597.html
CIDR totally blows a class C subnet definition of a "LAN" out of the water we often run /23 /22 etc. Steve / K ----- Original Message ----- From: "Frank Stollar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: 18 September 2003 17:29 Subject: Re: [hlds_linux] cstrike server for class A network > Alfred Reynolds wrote: > > The definition of LAN game has not changed. All clients that match the > > servers ip with netmask 255.255.255.0 are allowed into a LAN game. > > Sorry Alfred that's definitly not correct. We are running a few CS > servers for a large dormitory in Munich with 2500+ users. As they are > running with the IP 10.150.127.30 and sv_lan 1, all user with 10.x.x.x > are able to join them. For example 10.149.x.x which is definitly no > 255.255.255.0 mask. Please recheck your code. By the way, if you would > change this to another behavior and regrett it to a Class C (new > meaning), many large LANs cannot host a HL Server anymore like we do > permanently. > > cheers > Frank > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux