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

2018-08-08 Thread Simon Kelley
On 08/08/18 13:37, Hugo Segovia wrote: > El Wed, 8 Aug 2018 10:31:01 +0100 > Simon Kelley escribió: >> dhcp-match does a substring match, not a regexp or wildcard one: the * >> character is not special. Your attempts are therefore looking for a >> substring "android*" in the option and failing.

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

2018-08-08 Thread Hugo Segovia
El Wed, 8 Aug 2018 10:31:01 +0100 Simon Kelley escribió: > dhcp-match does a substring match, not a regexp or wildcard one: the * > character is not special. Your attempts are therefore looking for a > substring "android*" in the option and failing. > > Remove the * and all will be well, I

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

2018-08-08 Thread Simon Kelley
dhcp-match does a substring match, not a regexp or wildcard one: the * character is not special. Your attempts are therefore looking for a substring "android*" in the option and failing. Remove the * and all will be well, I think. Cheers, Simon. On 07/08/18 14:03, Hugo Segovia wrote: > El

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

2018-08-07 Thread Hugo Segovia
El Mon, 6 Aug 2018 20:39:53 +0100 Simon Kelley escribió: > Use dhcp-match to set a tag based on the existence of the "android" > substring in the hostname option, and then dhcp-ignore to ignore all > clients with that tag set. > > > Simples! > > > Simon. > > > > On 04/08/18 16:32, Hugo

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

2018-08-06 Thread Simon Kelley
Use dhcp-match to set a tag based on the existence of the "android" substring in the hostname option, and then dhcp-ignore to ignore all clients with that tag set. Simples! Simon. On 04/08/18 16:32, Hugo Segovia wrote: > Hello! > > First, for "client name" I mean the fourth field in an

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