Re: Anti-Ddos Holograph Emulator
Quote:
Originally Posted by
Bin3000
right look at it looks like it has been coding through php base
Code:
#region Anti-ddos
// Prevents DDOS Attacks against the server.
internal static bool ConnectionAllowed(string IP, int ID)
{
if (SecurityManagement.ConnectionBanned(IP))
return false;
int conncout = mConnectionCounter.Count(a => (a == IP));
if (conncout >= 10 || ID > mMaxConnections) //Reached connection limit
{
SecurityManagement.BanAddress(IP);
return false;
}
mConnectionCounter[ID] = IP;
Out.WriteLine("Anti-Ddos Protection: On!");
return true;
}
#endregion
in what way does this look like a code from a php base.
and Matthew its from martinmine,
---------- Post added at 05:01 AM ---------- Previous post was at 05:00 AM ----------
expect for the returns since there in php, but eh ur a noob bin,
Re: Anti-Ddos Holograph Emulator
If there's one thing I don't understand, it's why people bother giving credit to them selves for making a thread.
Re: Anti-Ddos Holograph Emulator
Quote:
Originally Posted by
Mithex
and by the way I freakin love your sig
why thank you i believe it outlines my inner beauty
-pouts-
Re: Anti-Ddos Holograph Emulator
Quote:
Originally Posted by
RockStar7
1 is better than none.
Wouldn't this only ban the user if they were DDoS'ing / DoS'ing the server port? If so, it is pointless because 1. You can't prevent someone from DoS'ing / DDoS'ing with a ban. You would have to ban them from the actual server... and 2. No one DDoS's / DoS's the server port because it does nothing other than make the online users count go up by however many connections you flood the port with.
Re: Anti-Ddos Holograph Emulator
Quote:
Originally Posted by
Hejula
Wouldn't this only ban the user if they were DDoS'ing / DoS'ing the server port? If so, it is pointless because 1. You can't prevent someone from DoS'ing / DDoS'ing with a ban. You would have to ban them from the actual server... and 2. No one DDoS's / DoS's the server port because it does nothing other than make the online users count go up by however many connections you flood the port with.
Not if you're smart and code it to run off the database eg
PHP Code:
SELECT * FROM users WHERE online = '1'
return mysql_num_rows
=p
Re: Anti-Ddos Holograph Emulator
Quote:
Originally Posted by
Matthew
yet more shitting coding being added to a shitty coded emulator.
you dont can do it better:thumbdown:
Re: Anti-Ddos Holograph Emulator
Very nice, Might have to Implant this! thanks!
Re: Anti-Ddos Holograph Emulator
Quote:
Originally Posted by
Jontycat
Not if you're smart and code it to run off the database eg
PHP Code:
SELECT * FROM users WHERE online = '1'
return mysql_num_rows
=p
Even if you do, it won't stop the DoS / DDoS attack because it will not block all connections from the IP to the Server...
Re: Anti-Ddos Holograph Emulator
Quote:
Originally Posted by
davidaap
you dont can do it better:thumbdown:
I don't code in .NET languages. I'm personally taking up Python. Much more robust. C# shouldn't be used for servers. Period. I can just tell the coding is bad. It's not a direct attack at the OP but Ion is simply awful. Many people (who actually know what good coding is) will agree.
If you want to keep script kiddies from performing a DoS attack using tools that contain more spyware and will do more damage to them than what it will to do the server they're DoSing have fun with it. But coding it at application level isn't a good idea. a DoS attack should be blocked before it even reaches the game server.
Re: Anti-Ddos Holograph Emulator
Quote:
Originally Posted by
Matthew
I don't code in .NET languages. I'm personally taking up Python. Much more robust. C# shouldn't be used for servers. Period. I can just tell the coding is bad. It's not a direct attack at the OP but Ion is simply awful. Many people (who actually know what good coding is) will agree.
If you want to keep script kiddies from performing a DoS attack using tools that contain more spyware and will do more damage to them than what it will to do the server they're DoSing have fun with it. But coding it at application level isn't a good idea. a DoS attack should be blocked before it even reaches the game server.
you right, it think that people need to set in they config that you are only allowed to have 3 connections to the server(by ip) :thumbup:
Re: Anti-Ddos Holograph Emulator
Quote:
Originally Posted by
Hejula
Wouldn't this only ban the user if they were DDoS'ing / DoS'ing the server port? If so, it is pointless because 1. You can't prevent someone from DoS'ing / DDoS'ing with a ban. You would have to ban them from the actual server... and 2. No one DDoS's / DoS's the server port because it does nothing other than make the online users count go up by however many connections you flood the port with.
It not only runs up the user count, but when I did it to other hotels, it crashes the server itself because it's to unstable to hold that many connections. Anyhow this can be useful to fight off against it, then ban their IP from the server itself. But meh, like I said I didn't make this.
Quote:
If there's one thing I don't understand, it's why people bother giving credit to them selves for making a thread.
Effort my friend. ^_^ And why bother to make that post? Oh yeah + 1, forgot. :P
Re: Anti-Ddos Holograph Emulator
Matthew: Any language is a good language to code in if you know what you're doing.
Dynamic Emu is amazing, and its in VB6, how many people on this forum hate VB6? The majority because its VB6, doesn't mean its a bad language.
Your classing C# as a bad language because Ion is a fuckup. Doesn't mean its a bad language to code a server in.
Theres also a very nice v1 server in RealBasic that I like, it's lag-free and simple as fuck, but you know what? It works.
Any language works, smart ass. Fuck off to your RaGEZONE Ripoff forum with all your posthunters (all you can get imo) because you're an up-your-self twat.
js.
Re: Anti-Ddos Holograph Emulator
C# is perhaps one of the better languages to make a server in, decent memory management from what I've made. C++ is also very good, but the problem with that language is that you have to manually make pointers where as in Java/C#, it's automatically done for you. I would personally stray away from using Java as a server unless you like seriously check all 9000 lines of code for leaks (Don't get me wrong, I've had some hefty problems with C# as well). The up side for using Java is that it's cross-platform, and you can inject C++ code into it if it's really necessary.
/2cents
Re: Anti-Ddos Holograph Emulator
Quote:
Originally Posted by
Jontycat
Matthew: Any language is a good language to code in if you know what you're doing.
Dynamic Emu is amazing, and its in VB6, how many people on this forum hate VB6? The majority because its VB6, doesn't mean its a bad language.
Your classing C# as a bad language because Ion is a fuckup. Doesn't mean its a bad language to code a server in.
Theres also a very nice v1 server in RealBasic that I like, it's lag-free and simple as fuck, but you know what? It works.
Any language works, smart ass. Fuck off to your RaGEZONE Ripoff forum with all your posthunters (all you can get imo) because you're an up-your-self twat.
js.
I never said C# was bad. .NET is amazing. I'm not basing C# around Ion. I was simply saying that adding bad code to an already poorly coded thing is bad. I also fail to see when I said VB6 was bad? It's just old. It's functions are old. But as long as it works for some people.. hmm okay.
The unnecessary flaming is not needed either. For one, you don't even know me. You seem to get all pissy and aggressive in your posts when some one posts a slight bit of criticism, the over use of swear words and low-blow insults show that you're an unintelligent child who simply can not handle proper discussion. If you feel to reply to this at least withdraw your self from going off-topic and take it up with me in a PM. If not simply ignore me if you're that stupid to properly talk to some one.
Re: Anti-Ddos Holograph Emulator
i get 3 error when i build the project