Battlefield 3 Official Ranked game servers now available!

i3D.net Game Forums   i3D.net Support (email & live chat)
Amsterdam +31 (0)10 8900070
USA 1-800-482-6910 (toll free)
Frankfurt +49 69 257378709

Go Back   i3D.net Game Forums > i3D.net Technical > Technical newsletters > HLDS / Valve Linux newsletter
Downloads
300 GB of games and patches
Downloads

Reply
 
Thread Tools Search this Thread Display Modes
Old 3-2-2009, 08:02   #1 (permalink)
Morgan Humes
Guest
 
Posts: n/a
Downloads:
Uploads:

Default [hlds_linux] sv_lan - Class C Space?

So I was having a conversation with a friend on how hlds claims that sv_lan
only works with Class C Address space. This is an epic fail if it is indeed
true. RFC 1918 does define private address space in Classes A, B, and C.
Thus a LAN Party could easily use any of the following private address
spaces:

10.0.0.0 - 10.255.255.255 (10/8 prefix)
172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
192.168.0.0 - 192.168.255.255 (192.168/16 prefix)

(Note, taken from RFC 1918 section 3 - http://tools.ietf.org/html/rfc1918)
Read more on: : i3D.net Game Forums /hlds-valve-linux-newsletter/49218-hlds_linux-sv_lan-class-c-space.html

For those who are not well versed in networking, the above 10/8 is a Class A
range, 172.16/12 is Class B, and 192.168/16 is Class C.

Thoughts?

Morgan
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailma...nfo/hlds_linux
  Reply With Quote
Sponsored Links
Old 3-2-2009, 08:28   #2 (permalink)
Nephyrin Zey
Guest
 
Posts: n/a
Downloads:
Uploads:
Default Re: [hlds_linux] sv_lan - Class C Space?

"sv_lan" = "0"
- Server is a lan server ( no heartbeat, no authentication, no
Read more on: : i3D.net Game Forums http://forum.i3d.net/showthread.php?t=49218
non-class C addresses )

It's not news to anyone that valve doesn't follow super strict coding
or protocol practices, really.

It's possible that they allow all three ranges and were incorrect in
labeling the filtering that they do as 'class C'.
A plugin to circumvent this limit probably wouldn't be hard to make,
assuming you kept it private and only used it with legitimate copies
of the game, of course.
There's also VPNs, hamachi, etc..

- Neph

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailma...nfo/hlds_linux
  Reply With Quote

i3D.net is now on Facebook!
Old 3-2-2009, 08:31   #3 (permalink)
Tony Paloma
Guest
 
Posts: n/a
Downloads:
Uploads:
Default Re: [hlds_linux] sv_lan - Class C Space?

Hamachi operates on 5.0.0.0/8 and I'm pretty sure it works just fine on
sv_lan 1.

-----Original Message-----
From: hlds_linux-bounces (AT) list (DOT) valvesoftware.com
[mailto:hlds_linux-bounces (AT) list (DOT) valvesoftware.com] On Behalf Of Morgan Humes
Sent: Monday, February 02, 2009 11:01 PM
To: hlds_linux (AT) list (DOT) valvesoftware.com
Subject: [hlds_linux] sv_lan - Class C Space?

So I was having a conversation with a friend on how hlds claims that sv_lan
only works with Class C Address space. This is an epic fail if it is indeed
true. RFC 1918 does define private address space in Classes A, B, and C.
Thus a LAN Party could easily use any of the following private address
spaces:

10.0.0.0 - 10.255.255.255 (10/8 prefix)
172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
192.168.0.0 - 192.168.255.255 (192.168/16 prefix)

(Note, taken from RFC 1918 section 3 - http://tools.ietf.org/html/rfc1918)
Read more on: : i3D.net Game Forums http://forum.i3d.net/showthread.php?t=49218

For those who are not well versed in networking, the above 10/8 is a Class A
range, 172.16/12 is Class B, and 192.168/16 is Class C.

Thoughts?

Morgan
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailma...nfo/hlds_linux


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailma...nfo/hlds_linux
  Reply With Quote
Old 3-2-2009, 08:42   #4 (permalink)
Jordan Toor
Guest
 
Posts: n/a
Downloads:
Uploads:
Default Re: [hlds_linux] sv_lan - Class C Space?

It doesn't. If the server is operating with sv_lan 1, if you try to join via
Hamachi, the server tells you that you need to have a class C address.

I have to retest, but I believe it rejects anything other than a class C
address.

I was that person Morgan was talking about, but basically I believe the
server is visible on any class private network, but I don't think you can
join it.

Don't have time to retest, but if anyone else has knowledge about it,
advise. (Might test it tomorrow)

Jordan Toor

On Tue, Feb 3, 2009 at 2:29 AM, Tony Paloma <drunkenf00l (AT) hotmail (DOT) com> wrote:

> Hamachi operates on 5.0.0.0/8 and I'm pretty sure it works just fine on
> sv_lan 1.
>
> -----Original Message-----
> From: hlds_linux-bounces (AT) list (DOT) valvesoftware.com
> [mailto:hlds_linux-bounces (AT) list (DOT) valvesoftware.com] On Behalf Of Morgan
> Humes
> Sent: Monday, February 02, 2009 11:01 PM
> To: hlds_linux (AT) list (DOT) valvesoftware.com
> Subject: [hlds_linux] sv_lan - Class C Space?
>
> So I was having a conversation with a friend on how hlds claims that sv_lan
> only works with Class C Address space. This is an epic fail if it is
> indeed
> true. RFC 1918 does define private address space in Classes A, B, and C.
> Thus a LAN Party could easily use any of the following private address
> spaces:
>
> 10.0.0.0 - 10.255.255.255 (10/8 prefix)
> 172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
> 192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
>
> (Note, taken from RFC 1918 section 3 - http://tools.ietf.org/html/rfc1918)
>
> For those who are not well versed in networking, the above 10/8 is a Class
> A
> range, 172.16/12 is Class B, and 192.168/16 is Class C.
>
> Thoughts?
>
> Morgan
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailma...nfo/hlds_linux
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailma...nfo/hlds_linux
Read more on: : i3D.net Game Forums http://forum.i3d.net/showthread.php?t=49218
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailma...nfo/hlds_linux
  Reply With Quote
Old 3-2-2009, 13:23   #5 (permalink)
Kevin J. Anderson
Guest
 
Posts: n/a
Downloads:
Uploads:
Default Re: [hlds_linux] sv_lan - Class C Space?

I used to help run a 200-300 bi anual lan party in the wash dc area for
a few years, and back then, it was limited to the 192.168 class c
addresses. It *was* a pain, however we simply just combined two class
Cs to get around the IP restriction issues. We considered putting up
a small homemade router between the classes to minimize broadcasts, but
didn't want to segment the lan, and therefor players from eachother.

It is kinda dumb, however it was easily fixed. There were issues with
the lan client server browser finding all servers reliably, however it
wasn't too bad. We always had enough game servers. This might have
been Valve's rationale to only allow class c. even two class Cs caused
issues with broadcasts, let alone a class B. Doesn't fully make
networking sense, but there you have it.

Kev

Jordan Toor wrote:
> It doesn't. If the server is operating with sv_lan 1, if you try to join via
> Hamachi, the server tells you that you need to have a class C address.
>
> I have to retest, but I believe it rejects anything other than a class C
> address.
>
> I was that person Morgan was talking about, but basically I believe the
> server is visible on any class private network, but I don't think you can
> join it.
>
> Don't have time to retest, but if anyone else has knowledge about it,
> advise. (Might test it tomorrow)
>
> Jordan Toor
>
> On Tue, Feb 3, 2009 at 2:29 AM, Tony Paloma <drunkenf00l (AT) hotmail (DOT) com> wrote:
>
>> Hamachi operates on 5.0.0.0/8 and I'm pretty sure it works just fine on
>> sv_lan 1.
>>
>> -----Original Message-----
>> From: hlds_linux-bounces (AT) list (DOT) valvesoftware.com
>> [mailto:hlds_linux-bounces (AT) list (DOT) valvesoftware.com] On Behalf Of Morgan
>> Humes
>> Sent: Monday, February 02, 2009 11:01 PM
>> To: hlds_linux (AT) list (DOT) valvesoftware.com
>> Subject: [hlds_linux] sv_lan - Class C Space?
>>
>> So I was having a conversation with a friend on how hlds claims that sv_lan
>> only works with Class C Address space. This is an epic fail if it is
>> indeed
>> true. RFC 1918 does define private address space in Classes A, B, and C.
>> Thus a LAN Party could easily use any of the following private address
>> spaces:
>>
>> 10.0.0.0 - 10.255.255.255 (10/8 prefix)
>> 172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
>> 192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
>>
>> (Note, taken from RFC 1918 section 3 - http://tools.ietf.org/html/rfc1918)
>>
>> For those who are not well versed in networking, the above 10/8 is a Class
>> A
>> range, 172.16/12 is Class B, and 192.168/16 is Class C.
>>
>> Thoughts?
>>
Read more on: : i3D.net Game Forums http://forum.i3d.net/showthread.php?t=49218
>> Morgan
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> http://list.valvesoftware.com/mailma...nfo/hlds_linux
>>
>>
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> http://list.valvesoftware.com/mailma...nfo/hlds_linux
>>

> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please visit:
> http://list.valvesoftware.com/mailma...nfo/hlds_linux
>


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailma...nfo/hlds_linux
  Reply With Quote
Old 3-2-2009, 14:21   #6 (permalink)
Kveri
Guest
 
Posts: n/a
Downloads:
Uploads:
Default Re: [hlds_linux] sv_lan - Class C Space?

I tried it with vpn 172.168.13.2 and 172.168.14.4, it didn't work.

Kveri

Jordan Toor wrote:
> It doesn't. If the server is operating with sv_lan 1, if you try to join via
> Hamachi, the server tells you that you need to have a class C address.
>
> I have to retest, but I believe it rejects anything other than a class C
> address.
>
> I was that person Morgan was talking about, but basically I believe the
> server is visible on any class private network, but I don't think you can
> join it.
>
> Don't have time to retest, but if anyone else has knowledge about it,
> advise. (Might test it tomorrow)
>
> Jordan Toor
>
> On Tue, Feb 3, 2009 at 2:29 AM, Tony Paloma <drunkenf00l (AT) hotmail (DOT) com> wrote:
>
>
>> Hamachi operates on 5.0.0.0/8 and I'm pretty sure it works just fine on
>> sv_lan 1.
>>
>> -----Original Message-----
>> From: hlds_linux-bounces (AT) list (DOT) valvesoftware.com
>> [mailto:hlds_linux-bounces (AT) list (DOT) valvesoftware.com] On Behalf Of Morgan
>> Humes
>> Sent: Monday, February 02, 2009 11:01 PM
>> To: hlds_linux (AT) list (DOT) valvesoftware.com
>> Subject: [hlds_linux] sv_lan - Class C Space?
>>
>> So I was having a conversation with a friend on how hlds claims that sv_lan
>> only works with Class C Address space. This is an epic fail if it is
>> indeed
>> true. RFC 1918 does define private address space in Classes A, B, and C.
>> Thus a LAN Party could easily use any of the following private address
>> spaces:
>>
>> 10.0.0.0 - 10.255.255.255 (10/8 prefix)
>> 172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
Read more on: : i3D.net Game Forums http://forum.i3d.net/showthread.php?t=49218
>> 192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
>>
>> (Note, taken from RFC 1918 section 3 - http://tools.ietf.org/html/rfc1918)
>>
>> For those who are not well versed in networking, the above 10/8 is a Class
>> A
>> range, 172.16/12 is Class B, and 192.168/16 is Class C.
>>
>> Thoughts?
>>
>> Morgan
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> http://list.valvesoftware.com/mailma...nfo/hlds_linux
>>
>>
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> http://list.valvesoftware.com/mailma...nfo/hlds_linux
>>
>>

> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please visit:
> http://list.valvesoftware.com/mailma...nfo/hlds_linux
>
>


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailma...nfo/hlds_linux
  Reply With Quote
Old 3-2-2009, 14:29   #7 (permalink)
AFAdmin
Guest
 
Posts: n/a
Downloads:
Uploads:
Default Re: [hlds_linux] sv_lan - Class C Space?

Would it be possible to modify the srcds so that sv_lan 1 only accepts
clients from within its subnet rather than just class C?

Kevin J. Anderson wrote:
> I used to help run a 200-300 bi anual lan party in the wash dc area for
> a few years, and back then, it was limited to the 192.168 class c
> addresses. It *was* a pain, however we simply just combined two class
> Cs to get around the IP restriction issues. We considered putting up
> a small homemade router between the classes to minimize broadcasts, but
> didn't want to segment the lan, and therefor players from eachother.
>
> It is kinda dumb, however it was easily fixed. There were issues with
> the lan client server browser finding all servers reliably, however it
> wasn't too bad. We always had enough game servers. This might have
> been Valve's rationale to only allow class c. even two class Cs caused
> issues with broadcasts, let alone a class B. Doesn't fully make
> networking sense, but there you have it.
>
> Kev
>
> Jordan Toor wrote:
>
>> It doesn't. If the server is operating with sv_lan 1, if you try to join via
>> Hamachi, the server tells you that you need to have a class C address.
>>
>> I have to retest, but I believe it rejects anything other than a class C
>> address.
>>
>> I was that person Morgan was talking about, but basically I believe the
>> server is visible on any class private network, but I don't think you can
>> join it.
>>
>> Don't have time to retest, but if anyone else has knowledge about it,
>> advise. (Might test it tomorrow)
>>
>> Jordan Toor
>>
>> On Tue, Feb 3, 2009 at 2:29 AM, Tony Paloma <drunkenf00l (AT) hotmail (DOT) com> wrote:
>>
>>
>>> Hamachi operates on 5.0.0.0/8 and I'm pretty sure it works just fine on
>>> sv_lan 1.
>>>
>>> -----Original Message-----
>>> From: hlds_linux-bounces (AT) list (DOT) valvesoftware.com
>>> [mailto:hlds_linux-bounces (AT) list (DOT) valvesoftware.com] On Behalf Of Morgan
>>> Humes
>>> Sent: Monday, February 02, 2009 11:01 PM
>>> To: hlds_linux (AT) list (DOT) valvesoftware.com
>>> Subject: [hlds_linux] sv_lan - Class C Space?
>>>
>>> So I was having a conversation with a friend on how hlds claims that sv_lan
>>> only works with Class C Address space. This is an epic fail if it is
>>> indeed
>>> true. RFC 1918 does define private address space in Classes A, B, and C.
>>> Thus a LAN Party could easily use any of the following private address
>>> spaces:
>>>
>>> 10.0.0.0 - 10.255.255.255 (10/8 prefix)
>>> 172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
>>> 192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
>>>
>>> (Note, taken from RFC 1918 section 3 - http://tools.ietf.org/html/rfc1918)
>>>
>>> For those who are not well versed in networking, the above 10/8 is a Class
>>> A
>>> range, 172.16/12 is Class B, and 192.168/16 is Class C.
>>>
>>> Thoughts?
>>>
>>> Morgan
>>> _______________________________________________
>>> To unsubscribe, edit your list preferences, or view the list archives,
>>> please visit:
>>> http://list.valvesoftware.com/mailma...nfo/hlds_linux
>>>
>>>
>>> _______________________________________________
>>> To unsubscribe, edit your list preferences, or view the list archives,
>>> please visit:
>>> http://list.valvesoftware.com/mailma...nfo/hlds_linux
>>>
>>>

>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives, please visit:
>> http://list.valvesoftware.com/mailma...nfo/hlds_linux
>>
>>

>
Read more on: : i3D.net Game Forums http://forum.i3d.net/showthread.php?t=49218
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please visit:
> http://list.valvesoftware.com/mailma...nfo/hlds_linux
>


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailma...nfo/hlds_linux
  Reply With Quote
Old 3-2-2009, 20:44   #8 (permalink)
fwaggle
Guest
 
Posts: n/a
Downloads:
Uploads:
Default Re: [hlds_linux] sv_lan - Class C Space?

Hi,

I had nothing better to do this morning, so I decided to test. HLDS's
behavior differs slightly from SRCDS's behavior. It appears to me that
"Class C" is used merely for lack of a more appropriate term coming to
the developer's mind - network classes do not exist any more, and even
though most people use "class c" to refer to a /24, that is not the
behavior the servers exhibit. My network configuration on a FreeBSD 7
machine:

inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255
inet 5.16.90.1 netmask 0xffff0000 broadcast 5.16.255.255

I tested by changing the IP addresses of several windows machines and
connecting to hlds with half-life and srcds with counter strike source.
Neither server has their IP set, they bind to all available interfaces.

On HLDS, it appears to only allow RFC1918 addresses to connect with
sv_lan 1 (cruft snipped from logs, server is bound to all addresses
shown above):

version : 48/1.1.2.1/Stdio 4383 insecure (70)
tcp/ip : 192.168.1.2:27015
# 1 "moo`fwaggle" 1 STEAM_ID_LAN 0 00:08 11 48 10.0.3.3:27005

Connecting from 5.16.89.3 returns the error message "Server restricted
to Class C" on Half-life. Note that below, this same scenario works on
Source DS.

It appears to me as though srcds will check the IP and netmask of all
interfaces it binds to, and allow any client that falls in the same
network as these to connect:

Network: IP 10.0.0.1, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
"sv_lan" = "1" ( def. "0" )
- Server is a lan server ( no heartbeat, no authentication, no
non-class C addresses )
Client "moo`fwaggle" connected (10.0.0.2:27005).
Client "moo`fwaggle" connected (10.0.1.2:27005).
Client "moo`sabriena" connected (192.168.1.3:27005).
Read more on: : i3D.net Game Forums http://forum.i3d.net/showthread.php?t=49218
Client "moo`fwaggle" connected (5.16.90.3:27005).

What's interesting to note is that I spliced all these log entries
together for brevity - but when the connection occurred from
192.168.1.3, that machine was attempting to connect 10.0.0.1, though it
was not in the 10.* subnet - the FreeBSD machine was performing NAT and
translated the connection, but because the server has a host in the
192.168.1.* network it appears to have allowed the connection, despite
the fact the connection was from a different network (192.168.1.3 ->
10.0.0.1). I hope that makes sense.

The conclusion that I draw is that only Source will work over Hamachi
with sv_lan 1, Goldsource doesn't appear to (limiting you to only
Read more on: : i3D.net Game Forums http://forum.i3d.net/showthread.php?t=49218
RFC1918 addresses from my observation).

Of course, windows servers could behave entirely different.

Hope that helps some.

--
fwaggle

Tony Paloma wrote:
> Hamachi operates on 5.0.0.0/8 and I'm pretty sure it works just fine on
> sv_lan 1.
>
> -----Original Message-----
> From: hlds_linux-bounces (AT) list (DOT) valvesoftware.com
> [mailto:hlds_linux-bounces (AT) list (DOT) valvesoftware.com] On Behalf Of Morgan Humes
> Sent: Monday, February 02, 2009 11:01 PM
> To: hlds_linux (AT) list (DOT) valvesoftware.com
> Subject: [hlds_linux] sv_lan - Class C Space?
>
> So I was having a conversation with a friend on how hlds claims that sv_lan
> only works with Class C Address space. This is an epic fail if it is indeed
> true. RFC 1918 does define private address space in Classes A, B, and C.
> Thus a LAN Party could easily use any of the following private address
> spaces:
>
> 10.0.0.0 - 10.255.255.255 (10/8 prefix)
> 172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
> 192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
>
> (Note, taken from RFC 1918 section 3 - http://tools.ietf.org/html/rfc1918)
>
> For those who are not well versed in networking, the above 10/8 is a Class A
> range, 172.16/12 is Class B, and 192.168/16 is Class C.
>
> Thoughts?
>
> Morgan


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailma...nfo/hlds_linux
  Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



New To Site? Need Help?

All times are GMT +2. The time now is 18:53.


©2011 INTERACTIVE 3D BV - Alle rechten voorbehouden
no new posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264