View previous topic :: View next topic |
Author |
Message |
cazze Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_yoda.gif)
Joined: 26 Mar 2003 Posts: 155 Location: Brussels - Belgium
|
Posted: Mon Apr 11, 2005 3:41 pm Post subject: Denial of service: how to prevent? |
|
|
Hi,
i don't know if i should post this here or in the programming forum, but here it comes.
I have a program who is listening on a udp port. The server on wich it runs, is behind a firewall. I use port forwarding on the firewall to the server.
Is there a way to prevent someone flooding the port with bogus packages so that the service becomes unavailable for the users who send interesting traffic?
Is a vpn tunnel between the client and the firewall a solution and how should i configure it if it is?
I'm sort of lost here on this. I think i don't understand enough the working of Dos attacks to prevent them.
kammicazze _________________ Required: Windows 95 or better, so i installed Linux!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cokey Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/118296711658419dd94462d.jpg)
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Mon Apr 11, 2005 3:47 pm Post subject: |
|
|
Most intelligent routers will figure out if a DDOS attack is being performed and drop and ban any packets from a certain address if that happens so you may need a better router. Or am I misunderstanding the situation? _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sachankara l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/20654153364410b1c04b571.png)
Joined: 11 Jun 2004 Posts: 696 Location: Stockholm, Sweden
|
Posted: Mon Apr 11, 2005 5:17 pm Post subject: Re: Denial of service: how to prevent? |
|
|
Use "TCP syncookies". You'll find it in the kernel options... _________________ Gentoo Hardened Linux 2.6.21 + svorak (Swedish dvorak) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cazze Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_yoda.gif)
Joined: 26 Mar 2003 Posts: 155 Location: Brussels - Belgium
|
Posted: Mon Apr 11, 2005 6:29 pm Post subject: |
|
|
@Sachankara: TCP syncookies for UDP packets?
@cokehabit: You should probably be right, but how can a router make the difference between UDP audio stream packets over that port and a bogus data stream stream? The data over the port isn't a known protocol ![Sad :(](images/smiles/icon_sad.gif) _________________ Required: Windows 95 or better, so i installed Linux!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|