The online racing simulator
Searching in All forums
(497 results)
Victor
Developer
Quote from BlueFlame :NZ or AU at a guess. Could be somewhere like Cayman islands or something though.

https://maps.google.com/maps?q ... hA&cbp=12,183,,0,3.54
Last edited by Victor, .
Victor
Developer
Of course, if you get more people on another date, just pick that one.
Victor
Developer
yep, if you pick the 10th, then I'll be there! It's the only weekend in august I can make it.
Victor
Developer
fixed
Victor
Developer
Closed due to poor quality of pretty much everything.

To the OP, I suppose you can try again, but take some time to write a question people can take seriously.
Victor
Developer
fixed
Victor
Developer
Quote from Sil3ntSkull :Hello Victor,
from some weeks the hoststatus reports & instead of &, for example
http://www.lfsworld.net/hoststatus/?h=Fast%26Aged-Server-2
How can i fix this?
thanks

my bad, it's fixed.
Victor
Developer
And the monkeys have come back and started to throw with shit again.

Well done everyone.
Victor
Developer
hush hush

The problem here is that in every thread about WKD, it turns into a room full of monkeys throwing fecies at each other. So these threads are closed. That should not be seen as shoving things under the carpet - it should be seen as keeping the room slightly sanitary as opposed to applauding the monkeys ruining the place.
Another point is that people want revenge on the remaining WKD members. But as with the ones who have been banned now, I need proof to take away access to their account and license for which they paid. If I start doing that without knowing for sure who is in voilation of the agreement, I myself am in violation. Diligence is required. I can't blindly and / or out of rage start banning people.

help the community help us

You say we don't want the community to come together and fix this problem. Well, all I can say is that of course I want the community to come together and solve this problem! It didn't really seem possible so far though (see the monkey reference).
If a normal discussion about how to deal with these attacks can be held, then great.

so how to deal then?

This is the problem that has already been touched upon by several others. DoS attacks (specifically the types where the sender's ip address is faked) are hard to deal with, if the attacks are bigger than your internet connection speed. For this reason we have moved to another datacenter so we can deal with bigger attacks. Our old host couldn't provide the capacity and in fact were affected by the attacks as well. They did eventually place some filters on their edge routers, but a SYN attack for example wouldn't be stopped by them.

In the case of people who rent a host somewhere, you will probably not have access to the firewall, so you must contact the host's support and see if they can help out. Most UDP floods for example can easily be blocked by them and is the least they could do. If they cannot handle that (the UDP floods I've seen weren't that enormous) then maybe it's time to look for another host.

I think this is also one of the reasons why with the big games, you cannot run your own hosts. They need to be run by approved and contracted game host providers who are setup to deal with these things (you don't think LFS is the only game where this is a problem do you?)

For the rest .. there isn't much else you can do yourself though. Even when you identify culprits and we ban them, it doesn't mean they can no longer run an attack on you. The experience is that they continue as long as it's enjoyable to do so. This is why some people and me included advice not to make too much noise about it. They feed on that.
Victor
Developer
Everything seems to load fine for me. Maybe you can give a more specific example.
Victor
Developer
Just a small note that isrelay.lfs.net now also has an AAAA record, meaning the relay is IPv6 compatible.
As far as I can tell flash sticks with IPv4 when doing the resolve, but in the future, webbrowsers may select IPv6. Not that you'll notice much difference, but I thought you should know.
Victor
Developer
You can enter the prefix now. Also the prefix will be what you actually stored (rather than the prefix belonging to your current location) so it'll probably be ok for you straight away.
Victor
Developer
It's a sad day. Let's not be too happy about it.

As for Bose's question : not all WKD members (there's quite a few of them it seems) have been involved in this. Even though the WKD servers have been shut down, it does not mean that the remaining team members must quit. They are welcome to stick around. Wether they will continue using the WKD name I do not know at this point. That is up to them to decide.
In any case I hope people will not start blaming the remaining WKD members for something others have done. It was a tight group of 5 people who caused disturbances. These have been dealt with - let's end that era here and leave things at that.
Victor
Developer
Quote from k_badam :I don't understand why scawen or the server owners get the police it is just a whole load of nonsense

You honestly think they will care when we tell them that some kids at the other end of europe are being annoying? I think the police have better things to do.

I'd like to see the day it will become easier to identify DoSers and I'd like to see the day ISP's started filtering for impossible source addresses. Until then this is only going to get worse, because every kid out there thinks he can now be a big boy by anonymously annoying people. It's the digital bully. Even big kids appear to do it "to teach others a lesson" (see the news every day). But that lesson will not be learnt because they don't say who was behind the attack. Very useful.

Anyway, this thread was closed because it's again just a blame fest. 128's account will be banned, but that doesn't mean he cannot continue the attacks. I guess he's pissed off also because he was already banned previously with another account. Could very well be he has been attacking our servers as well, if that's the reason. But I guess we'll never know because the attacker is not man enough to fess up. So we're stuck with this ongoing situation of kids ruining everything for everyone else. Well done, whoever you are. You're a big man and you will have a great life, being able to look back on your wonderful achievements.

WHY DON'T YOU STOP THE ATTACKS?
Mail the answer to us via https://www.lfs.net/?page=mailus
Server maintenance (completed)
Victor
Developer
Hello LFS Racers,

In the night of monday 22 April and tuesday 23 April around 1:00am UTC we will be moving most of our services to a new location. This will take approximately 2 hours.
During that time none of our services will be available, except for the forum (although new users will not be able to log in).
But that means that the master server will not be available, although it will probably be back up much sooner than the rest.

There is one note for people who use the Insim Relay on their host :
If you have a rule in your firewall to filter incoming traffic on your host's Insim port, you will have to update that rule because the Relay will connect from a different IP address. After the move you will be able to find the IP address on the Insim Relay setup page, or by simply doing a DNS search for isrelay.lfs.net .

We hope it will not cause too much inconvenience, but we feel it was necessary to move once more, allowing us to continue to provide reliable services.
Last edited by Victor, .
Victor
Developer
Quote from Inouva :I think the delay on the LFS mails are related to the recent DDoss attacks, you can read more here :https://www.lfsforum.net/showthread.php?t=82826

Yes. Extra filters were placed on the edge of our isp's network to aid in the attacks. However that seemed to have blocked a lot of outgoing connections, which affect email delivery. They are working on fixing this problem though. I expect it to work again soon, at which point the delayed emails should be delivered switfly.
Victor
Developer
Correct. On FreeBSD there are two parts for PHP in the ports collection : the core port and the extensions port. The core is completely vanilla PHP. And when you want extra functionality, you select the modules in the configuration screen of the extensions port, like PDO, Iconv, etc.
I'm pretty sure though that iconv is selectd by default in the extensions port. Except on this test site I unselected every module and am only adding one at a time whenever I need them. Keeps things a bit cleaner ..
So the use of iconv isn't so bad me thinks. And the use of iconv really made a huge difference in speed.
Victor
Developer
i posted the full php LfsString class now : https://www.lfsforum.net/showthread.php?t=82787
PHP >= 5.3 - LfsString Class (LFS string conversion)
Victor
Developer
I have been working with dawesdust_12 on a new PHP LfsString class to replace the old codepage and color code converter functions I posted here.

The class uses iconv for character conversion. We found that this is the fastest conversion method available and will be supported by many PHP installs.
I suppose support for other conversion libraries could be added, but maybe it's not needed.

This class hopefully does everything right. I've tested it rigorously, but who knows some bugs may still exist.

I have also benchmarked every change i made and have tried many methods of conversion, to make sure everything is as fast as can be.
Can you find more optimisations?

Here is the class. The interface describes which methods you can use :
<?php

interface iLfsString
{
// Converts everything into a UTF-8 html string.
// Assumes the raw LFS string is UTF-8. If it isn't, you have to indicate it.
public static function convert($s, $fromCp = 'UTF-8');

// Converts everything into a UTF-8 (html) string, but strips colors.
// Assumes the raw LFS string is UTF-8. If it isn't, you have to indicate it.
public static function convertWithoutColor($s, $fromCp = 'UTF-8');

// Convert only color codes into html.
// Assumes a raw LFS string.
public static function convertColor($s);

// Strip color codes.
// Assumes a raw LFS string.
public static function stripColor($s);

// Prepare a raw LFS host name with or without color codes, for linkage.
// Assumes the raw hostname is UTF-8. If it isn't, you have to indicate it.
// Output is a cp1252 rawurlencoded string.
public static function encodeLfsUrl($s, $fromCp = 'UTF-8');
}

class LfsString implements iLfsString
{
public static function convert($s, $fromCp = 'UTF-8')
{
// Conversion only works if the raw string is in CP1252
if ($fromCp != 'CP1252')
$s = iconv($fromCp, 'CP1252', $s);

return str_replace('^', '^',
self::writeColor(
self::convertLfsSpecialChars(
self::codepageConvert(
str_replace('^^', '^', $s)))));
}

public static function convertWithoutColor($s, $fromCp = 'UTF-8')
{
// Conversion only works if the raw string is in CP1252
if ($fromCp != 'CP1252')
$s = iconv($fromCp, 'CP1252', $s);

return str_replace('^', '^',
self::unWriteColor(
self::convertLfsSpecialChars(
self::codepageConvert(
str_replace('^^', '^', $s)))));
}

public static function convertColor($s)
{
return str_replace('^', '^^',
self::writeColor(
str_replace('^^', '^', $s)));
}

public static function stripColor($s)
{
return str_replace('^', '^^',
self::unWriteColor(
str_replace('^^', '^', $s)));
}

public static function encodeLfsUrl($s, $fromCp = 'UTF-8')
{
// LFS expects the host name in cp1252
if ($fromCp != 'CP1252')
$s = iconv($fromCp, 'CP1252', $s);

return rawurlencode($s);
}

// Private parts
private static $colorCodes = array(
'000', // 0
'F00', // 1
'0F0', // 2
'FF0', // 3
'00F', // 4
'F0F', // 5
'0FF', // 6
'FFF' // 7
);

private static $codepages = array(
'L' => 'CP1252', // Latin 1
'G' => 'CP1253', // Greek
'C' => 'CP1251', // Cyrillic
'E' => 'CP1250', // Central Europe
'T' => 'CP1254', // Turkish
'B' => 'CP1257', // Baltic
'J' => 'CP932', // Japanese
'S' => 'CP936', // Simplified Chinese
'K' => 'CP949', // Korean
'H' => 'CP950' // Traditional Chinese
);

private static $specialPtrn = array('&', '<', '>', '^h', '^d', '^s', '^c', '^a', '^q', '^t', '^l', '^r', '^v');
private static $specialRepl = array('&', '^l', '^r', '#' , '\\', '/' , ':' , '*' , '?' , '"' , '<' , '>' , '|');
private static $specialReplHtml = array('&', '^l', '^r', '#', '\\', '/', ':', '*', '?' , '"', '<', '>', '|');

private static $found = false; // static temp var
private static function writeColor($s)
{
self::$found = false;
$replaced = preg_replace_callback(
'#\^([0-9])#',
function (array $matches)
{
if ($matches[1] < 8)
{
$return = (self::$found ? '</span>' : '').'<span style="color:#'.self::$colorCodes[$matches[1]].';">';
self::$found = true;
}
else
{
$return = self::$found ? '</span>' : '';
self::$found = false;
}
return $return;
},
$s);
return self::$found ? $replaced.'</span>' : $replaced;
}

private static function unWriteColor($s)
{
return preg_replace('#\^[0-9]#', '', $s);
}

private static function codepageConvert($s)
{
$parts = preg_split('#\^([LGCETBJSKH])#', $s, -1, PREG_SPLIT_DELIM_CAPTURE);
array_unshift($parts, 'L');

$p = 0;
$s = '';
while (isset($parts[$p]))
{
$s .= iconv(self::$codepages[$parts[$p]], 'UTF-8', $parts[$p+1]);
$p += 2;
}

return $s;
}

private static function convertLfsSpecialChars($s)
{
return isset($_SERVER['SERVER_NAME']) ?
str_replace(self::$specialPtrn, self::$specialReplHtml, $s) :
str_replace(self::$specialPtrn, self::$specialRepl, $s);
}
}

?>

Last edited by Victor, . Reason : fixed html entity parsing
Victor
Developer
I've cleaned this thread from last night's garbage run and I've applied infractions where necessary.
Victor
Developer
Quote from dreamtrack :Hi!
I have some issue with loading lfs replay data in to LFS Record...I have attached image. Why this option is disabled? http://imageshack.us/photo/my-images/841/59736067.jpg/

Thanks!
Pawel

To be able to import replay data from LFS, you need to first create a ReplayControl layer and enter the name of an existing replay in the 'Replay' property. Then create a keyframe to set the start time in the replay ( creating and using a ReplayControl @ 2:00 )

When you have a working and animated ReplayControl, then the option to record replay data from LFS will be enabled.
See also http://www.lfs.net/LFSRecord/v ... ording_Replay_Data_V2.mp4
Victor
Developer
Closed thread because it serves no (further) purpose.
Victor
Developer
Cargame is offline due to continued attacks on his host.
For more information see http://www.cargame.nl/forum/ta ... ervers-offline-t6194.html

I've removed the contents of this thread, because there was hardly anything constructive.
Also, LFS cannot help you protect your host. A bandwith flood is something that can happen to anyone and is software agnostic. The proper way to handle this I think is to contact your ISP who may be willing and able to help you more. After all attacks may have a negative impact on their network as well so there is incentive for them to help you.

As for evidence gathering regarding attacks, you should log as much (network) information as possible, if you are capable of doing so. That way you can gain more information about the attack, like the kind of attack (there are many different types, from not-so-intelligent attacks that send the attacker's IP address, to more advanced ones that hide their originating IP). But knowing more is always better and logs that contain such information are more useful than anything that was posted in this thread because they contain the facts and can be analysed.

This is an unfortunate period for us LFS'ers. Someone or some people find it funny to disrupt our services, including your hosts. And I do not know why. If we have hurt someone in any way, why not tell us? Because these attacks are not going to solve anything.
Victor
Developer
Removed the junk from this thread which as you can see is everything but the first two posts.
I've also closed this thread due to lack of effort from the OP.
Victor
Developer
This sounds more like a problem that needs to be worked out person to person and not something for public discussion on forums.
I'll close this thread.
FGED GREDG RDFGDR GSFDG