Block MAC Address Bug

Report issues relating to bandwith monitoring, bandwidth quotas or QoS in this forum.

Moderator: Moderators

cArNaGe
Posts: 3
Joined: Sat Feb 25, 2012 2:20 pm

Re: Block MAC Address Bug

Post by cArNaGe »

Any fix for this?

Running a WNDR3700v2 Gargoyle 1.5.4

I have 22 devices assigned static IP's and have the Block MAC addresses assigned a static IP that connect from a different IP checked.

My son is still able to get around the rules I have set by changing his IP :evil:

tals
Posts: 247
Joined: Fri Dec 09, 2011 7:27 am

Re: Block MAC Address Bug

Post by tals »

One way of temporarily getting round this would be to possibly set a quota for ips in certain ranges - not checked properly but it would be fairly quick to check if it would help
Netgear wndr3700 v2 Gargoyle 1.8.0
TP-Link Archer C7 v2 1.10.X (Built 20180122-0707)

tals
Posts: 247
Joined: Fri Dec 09, 2011 7:27 am

Re: Block MAC Address Bug

Post by tals »

Looking at this, set your fixed ip's in a tight group say 192.168.1.1-192.168.1.30

Then in quotas have the range 192.168.1.31-192.168.1.254 blocked for Internet or you could make it slow so he doesn't realise :)

Would be nice to get the actual bug resolved though
Netgear wndr3700 v2 Gargoyle 1.8.0
TP-Link Archer C7 v2 1.10.X (Built 20180122-0707)

cArNaGe
Posts: 3
Joined: Sat Feb 25, 2012 2:20 pm

Re: Block MAC Address Bug

Post by cArNaGe »

Well I got around it. I threaten to throw his laptop out the window if I caught him changing his IP again... :lol:

tals
Posts: 247
Joined: Fri Dec 09, 2011 7:27 am

Re: Block MAC Address Bug

Post by tals »

cArNaGe wrote:Well I got around it. I threaten to throw his laptop out the window if I caught him changing his IP again... :lol:
I'd still set a very low qos % for the catch all class, so he loses out when changing ip. Not sure what he would then gain by changing it. Show him it and he won't change it then
Netgear wndr3700 v2 Gargoyle 1.8.0
TP-Link Archer C7 v2 1.10.X (Built 20180122-0707)

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: Block MAC Address Bug

Post by pbix »

Ok,

I think I have a fix for this in the repo now. I attach the revised file. If you will unzip it and replace the file of the same name on your router located at /usr/lib/gargoyle_firewall_util life should improve.

Please post your results here to confirm that the fix is good.

Thanks for your work on identifying and isolating this bug.
Attachments
gargoyle_firewall_util.zip
(4.81 KiB) Downloaded 378 times
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

tals
Posts: 247
Joined: Fri Dec 09, 2011 7:27 am

Re: Block MAC Address Bug

Post by tals »

** Found a way

Winscp and then used commander interface to drag and drop it :)
Netgear wndr3700 v2 Gargoyle 1.8.0
TP-Link Archer C7 v2 1.10.X (Built 20180122-0707)

tals
Posts: 247
Joined: Fri Dec 09, 2011 7:27 am

Re: Block MAC Address Bug

Post by tals »

That doesn't seem to make any difference for me:

Copied .sh file into /usr/lib/gargoyle/firewall_util
rebooted router

Set IP on my pc to differ from one set in dhcp and ensure block mac is ticked.

For good measure enabled and disabled pc port

Still able to connect, checked in connection list and it is listing with the new IP. (I set gateway/dns as the router ip address)

Let me know if you need me to try anything else
Netgear wndr3700 v2 Gargoyle 1.8.0
TP-Link Archer C7 v2 1.10.X (Built 20180122-0707)

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: Block MAC Address Bug

Post by pbix »

The target directory for this file is /usr/lib/gargoyle_firewall_util. You will know you are in the right place when you are replacing a file of the same name in that directory.

This directory is not the one you listed in your previous post so I suspect you just dropped the file in the wrong location.

If that does not fix it for you then show me the output of the command "iptables -vnL forward -t filter" after connecting with the blocked MAC.

Also show me the output of

ls -l /usr/lib/gargoyle_firewall_util

I tested the fix with v1.5.4.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

tals
Posts: 247
Joined: Fri Dec 09, 2011 7:27 am

Re: Block MAC Address Bug

Post by tals »

Sorry yes that was a typo - I renamed the old one before copying the new one in place.

I also know I overwrote a valid file as I just had grief from the family, just got in this evening (I did the work this morning) without realising I just reset my wireless rules with the file :oops:

I am doing this on 1.5.4. My ip I set as 192.168.1.211 and it is connected by wired connection

Hopefully these are what you wanted

Many thanks for your assistance on this, happy todo whatever is required to assist in resolving it
Attachments
iptables.zip
Updated Iptables
(261 Bytes) Downloaded 404 times
lsdir.zip
lsdir as requested
(270 Bytes) Downloaded 352 times
Netgear wndr3700 v2 Gargoyle 1.8.0
TP-Link Archer C7 v2 1.10.X (Built 20180122-0707)

Post Reply