Blocking access to a network

Blocking access to a network

Secure Home | Search | About

Networking Firewalls - Software and hardware firewalls discussions 

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Blocking access to a network shay 05-31-2005
Posted by shay on May 31, 2005, 2:12 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi all,
I have a Netgear DG834 ADSL Firewall Router with 4 PC connected to it.
I have set the router to reserve IP's to certain mac addresses eg
ip's ending 2 - 5.

I have set the router to as a DHCP Server for ip's starting 2 -
ending 5 so I think in theory no one else could connect to the router
as there ar no more ip's in the pool.

The person that uses computer on ip No 3 has decided to pull out of the
network (as we all split the costs) so I want to stop him from simply
reconnecting and using the network.

I have set the firewall to block all traffic on this IP. Eg

Outbound Services
        #         Enable        Service Name        Action        LAN Users        WAN Servers        Log

2
Any(ALL)        BLOCK always        192.168.0.3        192.168.0.3        Always
        Default        Yes        Any        ALLOW always        Any        Any        Never



Inbound Services
        #         Enable        Service Name        Action        LAN Server IP address        WAN Users        Log

2
Any(ALL)        BLOCK always        Any        192.168.0.3        Always
        Default        Yes        Any        BLOCK always        Any        Any        Never

Am I right using the same address on the WAN side... do these settings
look right??

Thanks loads,
Shay



Posted by Duane Arnold on May 31, 2005, 3:11 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
shay wrote:

> Hi all,
> I have a Netgear DG834 ADSL Firewall Router with 4 PC connected to it.
> I have set the router to reserve IP's to certain mac addresses eg
> ip's ending 2 - 5.
>
> I have set the router to as a DHCP Server for ip's starting 2 -
> ending 5 so I think in theory no one else could connect to the router
> as there ar no more ip's in the pool.
>
That is true. However, since the router is not a wireless router where a
wireless attacker could obtain a DHCP IP from the router for their machine
to exploit a wireless connection is when limiting the number of DHCP IP(s)
that can be issued by the router would really mean anyting.

> The person that uses computer on ip No 3 has decided to pull out of the
> network (as we all split the costs) so I want to stop him from simply
> reconnecting and using the network.
>
> I have set the firewall to block all traffic on this IP. Eg
>

So, what if the person was able to get on to your network and uses one of
the router's static IP(s) where he configured the NIC on his or her
computer and used a static IP? A static IP is any IP on the router that is
not controlled by the DHCP server on the router.

Of course, if the router had MAC filtering, you could block the machine's
access to the Internet, since all NIC(s) have an unique MAC. But if you
blocked by MAC, he or she could always change the NIC on their machine.

Hopefully, the person is not savvy enough to come around the blocking of the
IP for the rules you have set.

Duane :)





Posted by Vanguard on May 31, 2005, 10:48 am
If you were  Registered and logged in, you could reply and use other advanced thread options
> shay wrote:
>
>> Hi all,
>> I have a Netgear DG834 ADSL Firewall Router with 4 PC connected to
>> it.
>> I have set the router to reserve IP's to certain mac addresses eg
>> ip's ending 2 - 5.
>>
>> I have set the router to as a DHCP Server for ip's starting 2 -
>> ending 5 so I think in theory no one else could connect to the router
>> as there ar no more ip's in the pool.
>>
> That is true. However, since the router is not a wireless router where
> a
> wireless attacker could obtain a DHCP IP from the router for their
> machine
> to exploit a wireless connection is when limiting the number of DHCP
> IP(s)
> that can be issued by the router would really mean anyting.
>
>> The person that uses computer on ip No 3 has decided to pull out of
>> the
>> network (as we all split the costs) so I want to stop him from simply
>> reconnecting and using the network.
>>
>> I have set the firewall to block all traffic on this IP. Eg
>>
>
> So, what if the person was able to get on to your network and uses one
> of
> the router's static IP(s) where he configured the NIC on his or her
> computer and used a static IP? A static IP is any IP on the router
> that is
> not controlled by the DHCP server on the router.

Not entirely true. The DHCP server (in some NAT routers) can be
configured to always assign the same IP address to a host based on its
MAC address. So the host is configured for DHCP for its IP assignment
but the DHCP server in the router always gives that host the same IP
address. I had a D-Link DI-604 and this was quite handy to allow me to
configure all the hosts the same (using the default of DHCP in the TCP
setup) and control back at the router's DHCP server what "static" IP
address always got assigned to that host out of the available IP pool.
I could control the static IP address assignment at the router instead
of having to wander over to each host and go through the manual TCP
configuration process. Another advantage is that you could configure in
the router's DHCP setup which host was the target when punching through
its firewall to define a virtual server, like changing which host would
be the external exposed web server (so you could slide out a different
web host without having to touch to original web host). I miss having
the "static" IP assignment from the DHCP pool when my DI-604 died and I
replaced it with a Linksys BEFSR41.

> Of course, if the router had MAC filtering, you could block the
> machine's
> access to the Internet, since all NIC(s) have an unique MAC. But if
> you
> blocked by MAC, he or she could always change the NIC on their
> machine.

Depending on which operating system is used, the user of a host can
change the MAC address reported on the external interface of the NIC.
So while the hardware NIC might have a fixed MAC address, the
software-controlled MAC can be changed (I don't recall if it needs a
reboot). In Windows XP, for example, change the software-controlled MAC
in the device properties for the NIC. I think Windows 2000 can do this,
too, and an unconfirmed report from a Linux user said he could do it.
If the OS won't let you software-control the MAC address, the perp could
use their own NAT router that lets them enter whatever MAC address the
perp wants to use, like cloning the MAC off an allowed host (i.e.,
disconnect the hijacked host, insert the NAT router, reconnect the
hijacked host, clone the MAC address of the NAT router to be the same as
the hijacked host, and then connect the perp's host - a process that
many NAT router users are already familiar with).





Posted by Duane ;-\) on May 31, 2005, 4:15 pm
If you were  Registered and logged in, you could reply and use other advanced thread options

>> shay wrote:
>>
>>> Hi all,
>>> I have a Netgear DG834 ADSL Firewall Router with 4 PC connected to it.
>>> I have set the router to reserve IP's to certain mac addresses eg
>>> ip's ending 2 - 5.
>>>
>>> I have set the router to as a DHCP Server for ip's starting 2 -
>>> ending 5 so I think in theory no one else could connect to the router
>>> as there ar no more ip's in the pool.
>>>
>> That is true. However, since the router is not a wireless router where a
>> wireless attacker could obtain a DHCP IP from the router for their
>> machine
>> to exploit a wireless connection is when limiting the number of DHCP
>> IP(s)
>> that can be issued by the router would really mean anyting.
>>
>>> The person that uses computer on ip No 3 has decided to pull out of the
>>> network (as we all split the costs) so I want to stop him from simply
>>> reconnecting and using the network.
>>>
>>> I have set the firewall to block all traffic on this IP. Eg
>>>
>>
>> So, what if the person was able to get on to your network and uses one of
>> the router's static IP(s) where he configured the NIC on his or her
>> computer and used a static IP? A static IP is any IP on the router that
>> is
>> not controlled by the DHCP server on the router.
>
> Not entirely true. The DHCP server (in some NAT routers) can be
> configured to always assign the same IP address to a host based on its MAC
> address. So the host is configured for DHCP for its IP assignment but the
> DHCP server in the router always gives that host the same IP address.

Yes, that information is in the DHCP table and the IP is linked to the MAC
of the NIC.
That Information can also be deleted out of the DHCP table too on the
router. The Linksys routers have that ability. My Watchguard doesn't have
this ability.

> I had a D-Link DI-604 and this was quite handy to allow me to configure
> all the hosts the same (using the default of DHCP in the TCP setup) and
> control back at the router's DHCP server what "static" IP address always
> got assigned to that host out of the available IP pool. I could control
> the static IP address assignment at the router instead of having to wander
> over to each host and go through the manual TCP configuration process.
> Another advantage is that you could configure in the router's DHCP setup
> which host was the target when punching through its firewall to define a
> virtual server, like changing which host would be the external exposed web
> server (so you could slide out a different web host without having to
> touch to original web host). I miss having the "static" IP assignment
> from the DHCP pool when my DI-604 died and I replaced it with a Linksys
> BEFSR41.

Some devices have more features than others.

>
>> Of course, if the router had MAC filtering, you could block the machine's
>> access to the Internet, since all NIC(s) have an unique MAC. But if you
>> blocked by MAC, he or she could always change the NIC on their machine.
>
> Depending on which operating system is used, the user of a host can change
> the MAC address reported on the external interface of the NIC. So while
> the hardware NIC might have a fixed MAC address, the software-controlled
> MAC can be changed (I don't recall if it needs a reboot).

Yes I have heard of software that can change or simulate the MAC of the NIC.

> In Windows XP, for example, change the software-controlled MAC in the
> device properties for the NIC. I think Windows 2000 can do this, too, and
> an unconfirmed report from a Linux user said he could do it.

I looked at the NIC on XP pro and didn't see anything obvious.

> If the OS won't let you software-control the MAC address, the perp could
> use their own NAT router that lets them enter whatever MAC address the
> perp wants to use, like cloning the MAC off an allowed host (i.e.,
> disconnect the hijacked host, insert the NAT router, reconnect the
> hijacked host, clone the MAC address of the NAT router to be the same as
> the hijacked host, and then connect the perp's host - a process that many
> NAT router users are already familiar with).

Yes the MAC cloning feature on a router could be used.

There are always more than one way to skin a cat.

Duane :)




Posted by MikeB on May 31, 2005, 10:51 am
If you were  Registered and logged in, you could reply and use other advanced thread options
All you need to do is to set the DHCP to allow only 3 IP addresses,
since you won't use the 4th one. So you could use 192.168.1.1 as your
DHCP server and use 192.168.1.100 -192.168.1.102 for your IP addresses.
You can also filter the traffic by MAC address, so you can input only
the 3 valid MAC addresses that are allowed to access your network.
Even if he changes his MAC address, he must know the 3 valid MAC
addresses, and I doubt it that he has access to this information.

So it's very easy. Limit your network to only 3 IP addresses, and
specify which MAC address is allowed to access your network, all others
will be blocked.

Mike B



Similar ThreadsPosted
N.I.S. blocking access October 4, 2009, 11:03 am
Kerio blocking gmail access August 17, 2005, 2:58 am
Selctive internet access blocking? September 23, 2005, 12:48 pm
Blocking unauthorized remote access September 24, 2006, 1:39 am
Re: Blocking Unauthorized Remote Access September 25, 2006, 6:33 am
Blocking Access to web-based email August 11, 2005, 3:26 pm
Re: zonelabs blocking internet access even when uninstalled! March 10, 2006, 8:53 pm
zonelabs blocking internet access even when uninstalled! March 6, 2006, 3:31 am
VPN access to second network. March 22, 2005, 4:26 pm
Belkin Wireless Network Access September 25, 2005, 5:49 am

The site map in XML format XML site map

Contact Us | Privacy Policy