Re: [Dnsmasq-discuss] Ignore DHCP request based on "client name"?

2018-08-04 Thread john doe

On 8/4/2018 5:32 PM, Hugo Segovia wrote:

Hello!

First, for "client name" I mean the fourth field in an typical
dnsmasq.lease line:
* this one! *
1532225279 aa:bb:cc:00:11:22 192.168.3.191 android-abcdexyx123456 *

Now, to my issue: I've been asked to setup a little WLAN for free
"Computers 101" courses, and the WLAN does not have any kind of
security (not my choice, BTW...). As you can imagine,
an open WLAN is VERY attractive for freeloaders.

I've been adding "dhcp-host=mac-address,ignore" entries for a while, but
I've been wondering if I could, for example, ignore all DHCP requests
from hosts with a client name like
"android-" (because we're not teaching "how to use
your Android smartphone", hence it must come from freeloaders)



You could maybe look at '-6 --dhcp-script=':

http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

--
John Doe

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-04 Thread wkitty42

On 08/04/2018 10:41 AM, Simon Kelley wrote:

OK, I'm confused about the serial problem. I just tested here, and it
works as I described.



do you mean that dnsmasq only increments the serial when a SIGHUP is received 
*OR* it increments the serial any time it is (re)started?



--
 NOTE: No off-list assistance is given without prior approval.
   *Please keep mailing list traffic on the list unless*
   *a signed and pre-paid contract is in effect with us.*

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] Ignore DHCP request based on "client name"?

2018-08-04 Thread Hugo Segovia
Hello! 

First, for "client name" I mean the fourth field in an typical
dnsmasq.lease line:
   * this one! *
1532225279 aa:bb:cc:00:11:22 192.168.3.191 android-abcdexyx123456 *

Now, to my issue: I've been asked to setup a little WLAN for free
"Computers 101" courses, and the WLAN does not have any kind of
security (not my choice, BTW...). As you can imagine,
an open WLAN is VERY attractive for freeloaders.

I've been adding "dhcp-host=mac-address,ignore" entries for a while, but
I've been wondering if I could, for example, ignore all DHCP requests
from hosts with a client name like
"android-" (because we're not teaching "how to use
your Android smartphone", hence it must come from freeloaders) 


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-04 Thread Simon Kelley
OK, I'm confused about the serial problem. I just tested here, and it
works as I described.

Could you post you complete config here, or mail it direct to me?


Cheers,

Simon.


On 03/08/18 20:02, Wojtek Swiatek wrote:
> 
> 
> Le ven. 3 août 2018 à 20:58, Simon Kelley  > a écrit :
> 
> 
> What version of dnsmasq are you running?
> 
> 
> 
> 2.79, this is the latest version packaged with Ubuntu bionic (the LTS
> version from a few weeks ago). It seems to be the latest one if I
> compare it to your download site.
> 
> root@srv ~# dnsmasq --version
> Dnsmasq version 2.79  Copyright (c) 2000-2018 Simon Kelley
> Compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua
> TFTP conntrack ipset auth DNSSEC loop-detect inotify
>  
> 
> Cheers
> Wojtek
> 


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss