quota and mac addresses
Moderator: Moderators
Re: quota and mac addresses
Yes,, Just try connect from outsider MAC and static ip 192.168.1.11 witch have quota.
Blocking not working because of quota give allowance to MAC.
I think the ideal solution it by set option "block all clients not assigned from to gargoyle DHCP server"
try it, and tell me if i am wrong.
Thanks
Blocking not working because of quota give allowance to MAC.
I think the ideal solution it by set option "block all clients not assigned from to gargoyle DHCP server"
try it, and tell me if i am wrong.
Thanks
Re: quota and mac addresses
Need to block all static MACs except the MACs in the assigned list.
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: quota and mac addresses
As discussed, Gargoyle already has an option to
"Block MAC addresses assigned a static IP that connect from a different IP".
http://www.gargoyle-router.com/phpbb/vi ... =10#p33962
Then it will be relatively easy to develop "Block unknown devices"
I think probably this all should boil down to just two tick boxes:
Enforce dhcp assignments (static or dynamic) & Block unknown devices
Remember though, that the mischievous will figure out how to spoof MAC addresses.
When I was at uni we had a wonderful system admin who erected only rudimentary security barriers and took the attitude that enquiring young minds who surmounted them were his best students (and gave them holiday jobs). We had a wow of a time
"Block MAC addresses assigned a static IP that connect from a different IP".
This is easy enough to develop, but the DHCP server will hand out an IP address to anybody who asks for one!jooocker wrote:"block all clients not assigned from to gargoyle DHCP server"
Once Known Devices is (hopefully) incorporated into Gargoyle you will be able to create a list of all Known Devices identified by their MAC address.Tareq wrote:block all static MACs except the MACs in the assigned list
http://www.gargoyle-router.com/phpbb/vi ... =10#p33962
Then it will be relatively easy to develop "Block unknown devices"
I think probably this all should boil down to just two tick boxes:
Enforce dhcp assignments (static or dynamic) & Block unknown devices
Remember though, that the mischievous will figure out how to spoof MAC addresses.
When I was at uni we had a wonderful system admin who erected only rudimentary security barriers and took the attitude that enquiring young minds who surmounted them were his best students (and gave them holiday jobs). We had a wow of a time

Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
Re: quota and mac addresses
Great,
Enforce dhcp assignments
Mean , block any ip static that don't assigned from dhcp dynamic. Right?
Enforce dhcp assignments
Mean , block any ip static that don't assigned from dhcp dynamic. Right?
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: quota and mac addresses
Gargoyle uses dnsmasq to provide dhcp services.
dnsmasq can be configured to provide a static IP address to some MACs and dynamic IP addresses to others. These assignments are recorded in /tmp/dhcp.leases
By "Enforce dhcp assignments" I mean if a MAC address turns up using an IP address different to the pairing recorded by dnsmasq in /tmp/dhcp.leases, then tell them to buzz off.
By "Block unknown devices" I mean that if the MAC address is not included in the list Known Devices specified by the Gargoyle admin, then tell them to buzz off.
dnsmasq can be configured to provide a static IP address to some MACs and dynamic IP addresses to others. These assignments are recorded in /tmp/dhcp.leases
By "Enforce dhcp assignments" I mean if a MAC address turns up using an IP address different to the pairing recorded by dnsmasq in /tmp/dhcp.leases, then tell them to buzz off.
By "Block unknown devices" I mean that if the MAC address is not included in the list Known Devices specified by the Gargoyle admin, then tell them to buzz off.
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
Re: quota and mac addresses
Yes, i understand, that would be useful . 

TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: quota and mac addresses
This bit has been done and will be in the next releasenworbnhoj wrote:By "Enforce dhcp assignments" I mean if a MAC address turns up using an IP address different to the pairing recorded by dnsmasq in /tmp/dhcp.leases, then tell them to buzz off.

Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
Re: quota and mac addresses
Maybe next release will be late, so can you give me the code of files which i will edit to get this feature.nworbnhoj wrote: This bit has been done and will be in the next release
Forget it, If this take a lot of your time.
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: quota and mac addresses
You can find the 3 files here https://github.com/ericpaulbishop/gargo ... /440/filesTareq wrote:Maybe next release will be late, so can you give me the code of files which i will edit to get this feature.
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
Re: quota and mac addresses
Thank you, i will try it.
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen