#1  
Old 26th February 2011, 20:15
pawan pawan is offline
Senior Member
 
Join Date: Jul 2010
Posts: 210
Thanks: 42
Thanked 5 Times in 5 Posts
Default add route -host ip reject

Where the ip given in this command are saved. How can I take a backup of the rejected IPs means I have been using the command since long. In case any time I want to move to other server or reinstall everything I want to include these IPs in the blocked list.

Regards
Reply With Quote
Sponsored Links
  #2  
Old 6th April 2011, 16:43
pawan pawan is offline
Senior Member
 
Join Date: Jul 2010
Posts: 210
Thanks: 42
Thanked 5 Times in 5 Posts
Default add route -host ip reject

Please help. I am using this command regularly to block suspicious ips from logs.

I wanted to know where these blocked ips are stored/saved. so that I can take a backup of that file.
Reply With Quote
  #3  
Old 6th April 2011, 16:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,483
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

When you run the "route" command without any options, it should list all routes that have been set on your server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 6th April 2011, 17:09
pawan pawan is offline
Senior Member
 
Join Date: Jul 2010
Posts: 210
Thanks: 42
Thanked 5 Times in 5 Posts
Default

Does it get reset, if the server is rebooted, as I didn't find any ips listed, which I have added in the past.

also can I use etc/hosts.deny for blocking ips and this way the ips I have blocked will remain there even on reboot of server.
Reply With Quote
  #5  
Old 6th April 2011, 18:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,483
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
 
Default

Yes, it gets reset on reboot.

Quote:
also can I use etc/hosts.deny for blocking ips and this way the ips I have blocked will remain there even on reboot of server.
Yes. But this requires that the applications have to read the hosts.deny file as this is not a block on network level as far as I know.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
pawan (6th April 2011)
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
ISPCONFIG 3 Email Content Filter jariasca Installation/Configuration 11 2nd August 2012 12:27
Postfix queue problem? murunix Server Operation 7 2nd May 2011 01:55
smtp is error!!! fhawk Installation/Configuration 2 7th April 2009 13:17
Postfix problem: lost connection after CONNECT from unknown fernando_torrez Server Operation 5 30th November 2007 14:17
This is %#@*&^$# embarrassing! domino Smalltalk 34 5th February 2007 21:57


All times are GMT +2. The time now is 11:05.


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