Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd November 2006, 07:18
sysconfig sysconfig is offline
Junior Member
 
Join Date: Nov 2006
Location: (.)
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sysconfig
Default Enable TCP SYN Cookie Protection

A "SYN Attack" is a Denial of Service (DoS) attack that consumes all the resources on your machine, forcing you to reboot. Denials of Service attacks (attacks which incapacitate a server due to high traffic volume or ones that tie-up system resources enough that the server cannot respond to a legitimate connection request from a remote system) are easily achievable from internal resources or external connections via extranets and Internet. Enabling TCP SYN Cookie Protection will help to eliminate the problem.

Edit the sysctl.conf file (vi /etc/sysctl.conf) and add the following line:

Code:
# Enable TCP SYN Cookie Protection
net.ipv4.tcp_syncookies = 1
Once the configuration has been set, you must restart your network for the change to take effect.
The command to restart the network is the following:
Code:
 To restart all network devices manually on your system, use the following command:
[root:~ ]# /etc/rc.d/init.d/network restart
Reply With Quote
Sponsored Links
  #2  
Old 6th November 2006, 14:09
qwe010 qwe010 is offline
Member
 
Join Date: Nov 2006
Posts: 52
Thanks: 0
Thanked 1 Time in 1 Post
Default

thanks

i do

but i see thise message

error: unknown error 1 setting key 'net.ipv4.tcp_syncookies'

my server is VPS ?
Reply With Quote
  #3  
Old 7th November 2006, 16:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Quote:
Originally Posted by qwe010
my server is VPS ?
I bet this is the problem.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 7th November 2006, 21:37
qwe010 qwe010 is offline
Member
 
Join Date: Nov 2006
Posts: 52
Thanks: 0
Thanked 1 Time in 1 Post
Default

but i have full root access
Reply With Quote
  #5  
Old 8th November 2006, 18:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

But it is a VPS, no matter if you have root access or not. A VPS behaves differently than a normal server in the one or other way...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 8th November 2006, 18:25
qwe010 qwe010 is offline
Member
 
Join Date: Nov 2006
Posts: 52
Thanks: 0
Thanked 1 Time in 1 Post
Default

thanks falko
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Perfect Setup Suse 10 can send but not receive mail Grizzly HOWTO-Related Questions 33 6th March 2006 23:14
Postfix POP request approx 30 sec (Mozilla...) dreamed Server Operation 3 16th February 2006 00:03
Website users? ctroyp General 25 6th January 2006 18:02
pop3 login stefanr Installation/Configuration 10 2nd January 2006 10:08
mysql error at Stage 4 in Debian 3.1 drbista Installation/Configuration 14 11th November 2005 10:36


All times are GMT +2. The time now is 03:18.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.