Click here to Skip to main content
15,891,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Codeproject!

I've done some research the past weeks on what exactly dossing and ddossing is. I had a couple of questions that I could not find the answer to, and I'd be happy to get an answer to them!

1. In the style of a byte[], what would a packet from a (D)DOS attack look like?
2. Is there a way that I can block a specific IP from a C# application(Obviously blocking it so the router doesn't pick it up, not my computer.)?
3. Is there a way I can find out what packets are being received by my router, and derive the IP from them?

I also have a few firewall settings on my router. What do these exactly do? And how effective/safe are they?

I wish you all a happy weekend!

Friendly Regards,
- Dimitri
Posted
Updated 25-Jul-14 21:45pm
v6

1 solution

1) No comment. We do not condone, support or assist in the production of malicious code in any way, form or manner. This is a professional site for professional developers. And explaining such things would aid the malicious-but-stupid more than the victims.
2) No. You cannot stop messages being delivered to your router via your IP unless you disconnect the router from the internet. Think about it: until the router receives the packet, it doesn't know where the packet comes from! :laugh:
3) Dunno - probably would depend on the specific router.
3.1) Dunno - again it will probably depend on teh specific router.

Try reading up on DDOS, there is a summary here:
Mitigating DDOS attacks[^]
And Google[^] can help as well.
 
Share this answer
 
Comments
Dimitri Nostarik 26-Jul-14 4:04am    
Thanks Griff. I did not mean to write or give the impression to write malicious code. It was simply meant to get a general impression on how it works, and try to find a detection mechanism for it. As for your links, cheers.
OriginalGriff 26-Jul-14 4:16am    
I didn't think you did - but you'd be surprised how many idiots we get here posting "how do I write a virus / trojan / Attack a site?" - and we don't want to encourage them.

(Except to visit hacker sites with the AV and firewall disabled, of course)
Dimitri Nostarik 26-Jul-14 4:27am    
Haha, I laughed harder than I should have, but it's the truth. I was going to ask another question that actually had to do with this, but it's for a project I'm doing.

Should I make another question, or just ask you here in the comments?
OriginalGriff 26-Jul-14 4:37am    
Probably best as a new question if it's specific.
That way it gets seen by more people and thus a better "range" of possible answers.
This one has an answer posted so it doesn't appear on the "unanswered" list any more.
Dimitri Nostarik 26-Jul-14 4:39am    
I see. The reason why I was hesitating to make a new question is that because I've learned myself programming(Still at school/17y/o) I'd rather not create 100s of questions - attracts mean programmers.

Anyways, I'll create it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900