Weblog entry #1 for arisnb

Fix IP Address, Fix MAC Address, Fix ACL squid
Posted by arisnb on Wed 27 May 2009 at 10:33
Tags: ,

If we used squid, and each one of the computers client's was restricted for access was based on the configuration in squid. However had a person who was naughty that is by replacing MAC Address or IP Address in order to be able to access the internet through it. There was a method in the style of the tukang nggame , that possibly could become the solution. Despite still had the gap at least could be useful moreover if the client was still lay about the security of the network. Get found it easy.

Make a file exp fixip.sh
It's contents (exp)

#!/bin/bash
/usr/sbin/arp -s 192.168.1.67     00:14:76:1D:F1:11
/usr/sbin/arp -s 192.168.1.68     00:15:F5:74:B1:51
/usr/sbin/arp -s 192.168.1.69     00:16:46:F2:B1:F1
Change permision file
#cmod +x fixip.sh
Running that file
#./fixip.sh
Now, Edit file /etc/squid/squid.conf. This is example for IP and MAC above.
acl     foo67           src             192.168.1.67/255.255.255.255
acl     foo67_mac	arp		00:14:76:1D:F1:11

acl     foo68           src             192.168.1.68/255.255.255.255
acl     foo68_mac       arp             00:15:F5:74:B1:51

acl     foo69           src             192.168.1.69/255.255.255.255
acl     foo69_mac       arp             00:16:46:F2:B1:F1

http_access    allow   foo67   foo67_mac
http_access    allow   foo68   foo68_mac
http_access    allow   foo69   foo69_mac

http_reply_access    allow   foo67   foo67_mac
http_reply_access    allow   foo68   foo68_mac
http_reply_access    allow   foo69   foo69_mac
Then restart squid.
#/etc/init.d/squid  force-reload

 

Comments on this Entry

Posted by Anonymous (217.91.xx.xx) on Tue 9 Jun 2009 at 13:58
Another posting with the goal to spam search engines... Meaningless hyperlinks to a blog which consists of even more spam, thats what the world needs.

[ Parent | Reply to this comment ]

Posted by Anonymous (217.91.xx.xx) on Tue 9 Jun 2009 at 13:59
Another posting with the goal to spam search engines... Meaningless hyperlinks to a blog which consists of even more spam, thats what the world needs.

[ Parent | Reply to this comment ]

Posted by Anonymous (203.130.xx.xx) on Tue 16 Jun 2009 at 02:09
but this blog use rel=nofollow tag at anchor link. what that effect for search engine ?

[ Parent | Reply to this comment ]

Posted by Anonymous (217.91.xx.xx) on Mon 22 Jun 2009 at 08:01
No effect, but the spammers obviously don't care.

[ Parent | Reply to this comment ]

Posted by anurdh65 (122.174.xx.xx) on Mon 6 Jul 2009 at 10:56
[ Send Message ]
Hi

[ Parent | Reply to this comment ]

Posted by anurdh65 (122.174.xx.xx) on Mon 6 Jul 2009 at 10:59
[ Send Message ]
IP address problems can be caused by a multitude of sources. Fixing a problem with an IP address first depends on diagnosing what exactly is wrong. Luckily for the technologically inclined, diagnosing IP address problems.
you can chk the ip address from http://www.ip-details.com/

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search