|
 |
|

02-21-2006, 03:18 AM
|
 |
Senior Member
GB GEEK
|
|
Join Date: Feb 2006
Posts: 309
|
|
Host.conf Hardening - Prevent IP spoofing
The first thing you are going to want to do is SSH into your server. Then type the following command.
#pico -w /etc/host.conf
Scroll down until you see (order hosts,bind) Just below it type (nospoof on) and then save. It should look like this when your done
order hosts,bind
nospoof on
Thats it, your all done. Make sure to restart your network so the new rules will take effect.
|

02-23-2006, 06:20 PM
|
Junior Member
GB Beginner
|
|
Join Date: Feb 2006
Posts: 29
|
|
Thanks for the tutorial!
What exactly will this do, and is it foolproof?
________
buy easy vape vaporizer
Last edited by James72; 01-21-2011 at 08:30 PM.
|

04-13-2006, 02:54 PM
|
Member
GB Beginner
|
|
Join Date: Apr 2006
Posts: 34
|
|
spoofing is a little complicated to explain, and doesn't really affect you if you only have a single IP address. Basically, if you had a network of several differant machines, you may adjust your firewall rules so that your internal machines have more access to each other than external machines. You may, for example, decide that all ports are open between internal machines, but only ports 80, 443 and 25 for external machines. This is a common setup.
If your network is not properly protected, it is possible for someone to setup a machine externally that uses a spare IP from your local network (only works with real IP's, as most internet routers will not route the private blocks such as 192.168.* etc.). So they have a machine that has potentially greater access to your network.
They then setup a static route on their machine saying that to talk to your network, the machine should route all packets via your router. If done correctly, and your router is not properly protected, then tey will have the same access to your network as any other local machine.
There are several ways around this problem, but the most common is to make your router drop any packets coming from the internet interface that have IP addresses on your local network. Protection can also be put in place at the ehternet level by locking IP's to MAC addresses to make things even more difficult, but your typical home roputer / switch does not include that facility.
__________________
Coop
|

04-21-2006, 11:30 AM
|
 |
Member
GB Beginner
|
|
Join Date: Mar 2006
Posts: 49
|
|
This a nice tip for added security. I seen this before and have it on all our servers. Glad see this here.
|

08-05-2010, 01:53 AM
|
Junior Member
GB Beginner
|
|
Join Date: Aug 2010
Posts: 17
|
|
Quote:
Originally Posted by Coop
If your network is not properly protected, it is possible for someone to setup a machine externally that uses a spare IP from your local network (only works with real IP's, as most internet routers will not route the private blocks such as 192.168.* etc.). So they have a machine that has potentially greater access to your network.
|
emphasis on security should always be a priority - even though if someone really want to harm you, they eventually will - but it's just a matter of making it as difficult as possible for them. E
|

05-03-2006, 02:54 AM
|
Member
GB Beginner
|
|
Join Date: May 2006
Location: DELETE THIS ACCOUNT. GDPR REQUEST
Posts: 31
|
|
Nice Tutorial! Thank you
__________________
DELETE THIS ACCOUNT. GDPR VIOLATION.
|

02-29-2008, 04:14 PM
|
Junior Member
GB Newbie
|
|
Join Date: Feb 2008
Posts: 2
|
|
thanks for sharing!
|

07-23-2008, 03:39 AM
|
 |
Junior Member
GB Newbie
|
|
Join Date: Jul 2008
Posts: 8
|
|
Thanks, Soulwatcher, its always good to get feedback.
|

09-01-2008, 01:34 AM
|
Junior Member
GB Newbie
|
|
Join Date: Aug 2008
Posts: 3
|
|
Thanks for the information soulwatcher. I will definitely try this one out at the beginning of the code.
|

03-29-2010, 03:40 PM
|
Member
GB Advanced User
|
|
Join Date: Feb 2010
Posts: 59
|
|
I'm going to order a webserver with several IP's in the coming weeks, so this was really helpfull information ! Thanx for sharing
|
 |
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|