Great, if you decide to implement this solution, would you consider adding a new InSim packet (IS_OVF?) used by LFS to let InSim app know it overfilled the buffer and it should try to send the rest of the data later? InSim libraries programmers would probably appreciate this a lot.
This is consistent with my findings. I also tried to bomb a WINE server running on a native Linux machine from virtualized Windows 7 box running on the same metal. This also didn't trigger any disconnections so it looks like the problem is only if the host and InSim app run on different machines?
This sounds like my kind of mistake :doh: Anyway, I uploaded a somewhat improved version. It allows you set delays between each packet and between each "salvo". Both delays can be set to 0 for constant packet shower. (feel free to modify and reupload the app)
Sure, I only brought this up because NotAnIllusion suggested that the installer asked for elevated privileges. Although this would allow it to install LFS to protected locations, LFS itself wouldn't work.
This is actually a more complicated matter because the installer should take in account UAC and different user privileges. I guess that the easiest solution is to gracefully fail when the installer doesn't have write access to the selected folder and let the user deal with the consequences of running the installer as admin.
I tested it only briefly, but I came across a little issue. If I install LFS to "\somewhere\LFS", then install it again to "\somewhere\LFS\LFS" and then uninstall the "root" LFS, the nested LFS installation is deleted too. Is this behavior intentional? My point is that it doesn't make much sense to allow these nested installations if they all can be nuked at once.
I don't use UAC so I'm not entirely sure how it works now, but AFAIK LFS uses the pre-Vista assumption that "Program Files" doesn't need elevated privileges for writing. If this is the case, wouldn't installing LFS into "Program Files" lead to malfunctioning installation anyway unless LFS was run with admin rights?
If it's any help, I attached a small DoS-like app which periodically bombards InSim with IS_BTNs at a given interval (in milliseconds). I didn't manage to trigger any problems with this, perhaps you'll have better luck?
So you didn't test what this patch was supposed to fix but you did test something completely unrelated which is out of the scope of this round of fixes? I'm trying to avoid the word idiot, but it's just...
On topic:
I tried to drop a button bomb of 238 IS_BTNs on B9 hosts running both on Linux and Windows and all was handled fine. Do you do anything more advanced that this to reproduce the problem?
Rather than Sapphire I'd blame your MB's BIOS for this. There is not much you can do, but I'd check if there is a BIOS update available for your MB. If there isn't one or if it doesn't solve the problem, try running this in command prompt with admin rights(!)
bcdedit /set useplatformclock true
and reboot. This will force Windows 7 to use just HPET counter to keep track of time. If this helps, report a bug to your MB's manufacturer.
This is actually a very interesting argument, especially when you put it in perspective with the latest round of bans in Diablo III (allegedly caused by Warden misdetecting WINE as a cheating tool) and how it was handled by Blizzard. Long story short: In this particular case they didn't even explain on what grounds were the bans issues, they just told the users they were "cheating." How did they find out and what was the nature of the cheating nobody knows. The only official "statement" made by one of their admins said that "Using WINE won't get you banned, cheating will." pretty much sums up their "we don't give a rats ass" attitude towards their customers. When the affected users started nagging Blizz techsupp, they simply told them to GTFO and get another account (=buy the game again).
The problem is that you're pretty much powerless against such decisions. It's up to you to prove your innocence which itself is a problem and even if you have persuasive evidence that you've done nothing wrong, <your distribution platform>'s techsupp don't really have to care. Unless they start loosing customers on a massive scale over this, they're much better off ignoring this kind of complains.
It's not like Valve, Blizzard, Apple etc. are a bunch of devious douchebags, I'm just saying that they're your best friends until you want your money back and one should keep that in mind when paying for stuff that never actually becomes your property.
In winecfg on the "Libraries" tab you can instruct WINE to use native Windows DLLs instead of builtin WINE replacements of those libraries. It is usually better to not use the native DLLs, but sometimes it's necessary to get a particular piece of software working.
Ubuntu PPA with latest builds of WINE can be found here: https://launchpad.net/~ubuntu-wine/+archive/ppa
On my machine with WINE 1.5.16 and 3.6 kernel LFS works splendidly.
I have no problems installing LFS with WINE 1.5.16. Are you sure you're using the latest WINE? Did you set up some DLL overrides in winecfg that might be causing trouble? Apart from updating to the latest available version of WINE, try renaming your ~/.wine directory and try to install LFS again with a clean WINE configuration.
Sorry, but was this sarcasm? EA have run out of ideas since Underground 2. This is the fifth NFS where cops are the topic of the day and it looks exactly like the first MW. They've got to stop this rush to get a new version out every year before Xmas and try to make NFS fun to play again, like NFS V or the first Underground was. Every year I feel more and more sorry for NFS...
1.05D is up. It hopefully fixes the bug I introduced somewhere after v1.05 while providing much better debugging info. Please note that the official support is still for LFS 0.6B only, test patches are supported through "runleds". Unless you're having problems with 1.05, there is no need to update.
Before reporting any issues, make sure you have debugging output enabled in the g27leds.cfg and don't forget to post the output file.
Yes he did and he is absolutely right. Situation with Anakin or whoever that guy was was totally different as he was exploiting a vulnerability in LFS code. Analyzing and reporting such an incident is the correct thing to do. This thread is all about a plain simple DoS attack. Every networking service is vulnerable to DoS and it's the responsibility of the person who actually runs the server to do their best to minimize the damage when such an attack takes place. Perma-banning the attacker is more of a petty revenge than an actual security measure, you don't need LFS account to DoS LFS servers. (BTW, I don't see any conclusive evidence that HeCosmin was really behind this attack except for a few forum posts so I don't see on what grounds he should be banned)
Victor's post should be stickied and displayed to everyone who goes on the forum whining that someone has downed their server.
Good, there appears to be some pretty odd problem with 1.05C, but once that gets sorted out, the LEDs will hopefully work fine.
To make matters complicated, my Windows installation flatlined just a few minutes ago, so I can't give you any estimate when I'll release a new version...
I might be missing something, but AFAIK there are only three situations that may occur concerning the installation path
Selected path does not exist -> The installer should attempt to create the necessary folders and proceed.
Selected path points to an empty folder -> The installer should proceed and install into that folder.
Selected path points to a non-empty folder -> The installer should refuse to install into such a folder or, as NotAnIllusion suggested, forcibly create a \LFS subfolder
Would it be possible to implement such a check in the installer LFS uses?