Re: [Dnsmasq-discuss] [PATCH] DHCPv6: Add support for more than one hardware address per IPv6 address

2016-01-01 Thread Pali Rohár
On Friday 01 January 2016 21:23:36 Simon Kelley wrote: > On 23/12/15 21:10, Pali Rohár wrote: > > This patch allows to assign one IPv6 address for more config > > entries specified by MAC address. This is similar function as for > > IPv4 addresses in DHCPv4 server code part.

Re: [Dnsmasq-discuss] [PATCH] Fix compilation without HAVE_DNSSEC

2016-01-01 Thread Pali Rohár
On Friday 01 January 2016 20:54:53 Simon Kelley wrote: > On 23/12/15 21:10, Pali Rohár wrote: > > Do not call add_do_bit which is only for dnssec code. > > --- > > > > src/forward.c |2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --

Re: [Dnsmasq-discuss] [PATCH] RADV: Send same RDNSS address as in DHCPv6

2016-01-01 Thread Pali Rohár
v6 client subnetwork configuration I would expect that this SW provide same data over all channels. Currently redundant information over DHCPv6 and RA is only DNS (for now). -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitall

[Dnsmasq-discuss] [PATCH] DHCPv6: Add support for more than one hardware address per IPv6 address

2015-12-23 Thread Pali Rohár
This patch allows to assign one IPv6 address for more config entries specified by MAC address. This is similar function as for IPv4 addresses in DHCPv4 server code part. --- man/dnsmasq.8 |9 ++--- src/rfc3315.c | 63 - 2 files

[Dnsmasq-discuss] [PATCH] Fix compilation without HAVE_DNSSEC

2015-12-23 Thread Pali Rohár
Do not call add_do_bit which is only for dnssec code. --- src/forward.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/src/forward.c b/src/forward.c index 041353c..bffea78 100644 --- a/src/forward.c +++ b/src/forward.c @@ -793,8 +793,10 @@ void reply_query(int fd, int family, time_t

[Dnsmasq-discuss] [PATCH] RADV: Send same RDNSS address as in DHCPv6

2015-12-24 Thread Pali Rohár
Before this patch when both RADV and DHCPv6 is running and DNS server address was not configured then RADV were sending link-local address and DHCPv6 global address. This patch change behaviour of RADV and when both RADV and DHCPv6 is running without configured DNS server then in RADV RDNSS will

Re: [Dnsmasq-discuss] [PATCH] RADV: Send same RDNSS address as in DHCPv6

2016-01-16 Thread Pali Rohár
On Friday 15 January 2016 22:37:46 you wrote: > On 01/01/16 21:07, Pali Rohár wrote: > > On Friday 01 January 2016 20:58:42 Simon Kelley wrote: > >> Does the existing behaviour cause you problems? The rationale for > >> why it behaves the way it does is that link-lo

Re: [Dnsmasq-discuss] [PATCH] DHCPv6: Add support for more than one hardware address per IPv6 address

2016-03-24 Thread Pali Rohár
(after two months) PING! On Wednesday 27 January 2016 13:37:27 Pali Rohár wrote: > On Wednesday 20 January 2016 20:15:23 Simon Kelley wrote: > > Dnsmasq identifies IPv6 clients via their MAC address for the purpose > > of selecting dhcp-host configuration to use, but it doesn't

Re: [Dnsmasq-discuss] systemd service improvements

2016-07-05 Thread Pali Rohár
of tools. I fully agree, /contrib is the best place where to have it. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http

Re: [Dnsmasq-discuss] systemd service improvements

2016-06-30 Thread Pali Rohár
u for *all* systems as that is too by that definition "no harm". -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://li

Re: [Dnsmasq-discuss] Compile Error.

2016-08-24 Thread Pali Rohár
have only kernel 2.6.18, so I guess dnsmasq cannot be compiled for such old distribution... -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part. ___ Dnsmasq-discuss mailing list Dnsmas

Re: [Dnsmasq-discuss] [PATCH] DHCPv6: Add support for more than one hardware address per IPv6 address

2016-10-02 Thread Pali Rohár
On Wednesday 27 January 2016 13:37:27 Pali Rohár wrote: > On Wednesday 20 January 2016 20:15:23 Simon Kelley wrote: > > Dnsmasq identifies IPv6 clients via their MAC address for the > > purpose of selecting dhcp-host configuration to use, but it > > doesn't use the MAC addre

Re: [Dnsmasq-discuss] [PATCH] RADV: Send same RDNSS address as in DHCPv6

2016-10-02 Thread Pali Rohár
On Wednesday 20 January 2016 21:03:50 Simon Kelley wrote: > On 16/01/16 15:10, Pali Rohár wrote: > > On Friday 15 January 2016 22:37:46 you wrote: > >> On 01/01/16 21:07, Pali Rohár wrote: > >>> On Friday 01 January 2016 20:58:42 Simon Kelley wrote: > >>&

Re: [Dnsmasq-discuss] Windows ipv6 hostname

2016-12-20 Thread Pali Rohár
configure the > proxy to use a particular domain, and then point dnsmasq at it with > --server. Don't think this will integrate with the auth server > mechanism in dnsmasq, though; not sure if there's a way to achieve > that. > > The alternative is to turn off the private addresses in Wind

Re: [Dnsmasq-discuss] Windows ipv6 hostname

2016-12-22 Thread Pali Rohár
n to ND. > Uwe > > - > Uwe Schindler > Achterdiek 19, D-28357 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > -Original Message- > > From: Dnsmasq-discuss [mailto:dnsmasq-discuss- > > boun...@lists.thekelleys.org.uk] On Beha

Re: [Dnsmasq-discuss] Windows ipv6 hostname

2016-12-26 Thread Pali Rohár
you should remove both *client* and *server* databases to prevent such situation. I think it is possible to configure dnsmasq to assign only configured ipv4 address for mac address. For dhcpv6 I have own dnsmasq patches which assign ipv6 address bases on mac address... -- Pali Rohár pali.ro...@gma

Re: [Dnsmasq-discuss] Windows ipv6 hostname

2016-12-26 Thread Pali Rohár
> What I need is just a way for a given mac-address dnsmasq should be > informed of the hostname. Anyway, dnsmasq has already some support for mac-address in DHCPv6... -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This i

Re: [Dnsmasq-discuss] Windows ipv6 hostname

2016-12-22 Thread Pali Rohár
On Wednesday 21 December 2016 01:26:15 Markus Hartung wrote: > On 2016-12-20 12:53, Pali Rohár wrote: > > Another option is to stop using SLAAC and start using DHCPv6 where > > you have full control of assigned IPv6 addresses. > > > > Such feature like host wi

Re: [Dnsmasq-discuss] Windows ipv6 hostname

2016-12-22 Thread Pali Rohár
; > to do for me. I have manually assigned > > a hostname on the Windows computer, and dnsmasq knows and assigns > > it. > > On 2016-12-20 12:53, Pali Rohár wrote: > > Another option is to stop using SLAAC and start using DHCPv6 where > > you have full contro

Re: [Dnsmasq-discuss] [PATCH] Delay DHCP replies for Raspberry Pi clients

2017-03-30 Thread Pali Rohár
onsideration. I would suggest the "tag" option method. You can tag a > network if say a whole subnet was only to serve PXE security cameras. > You can tag a partial MAC (wildcard) to ID a manufacturer. Assign the > delay option to the tag. This is just like DHCP &qu

Re: [Dnsmasq-discuss] Debugging dnsmasq on Ubuntu

2017-03-29 Thread Pali Rohár
riting resolv.conf to /sbin/resolvconf dnsmasq[4160]: setting upstream servers from DBus dnsmasq[4160]: using nameserver X.X.X.X#53 So when NetworkManager via dbus reconfigure list of nameservers then dnsmasq logs them into syslog. -- Pali Rohár pa

Re: [Dnsmasq-discuss] [PATCH] DHCPv6: Add support for more than one hardware address per IPv6 address

2017-05-09 Thread Pali Rohár
On Sunday 02 October 2016 11:43:43 Pali Rohár wrote: > On Wednesday 27 January 2016 13:37:27 Pali Rohár wrote: > > On Wednesday 20 January 2016 20:15:23 Simon Kelley wrote: > > > Dnsmasq identifies IPv6 clients via their MAC address for the > > > purpose of selecting dhc

Re: [Dnsmasq-discuss] [PATCH] DHCPv6: Add support for more than one hardware address per IPv6 address

2017-05-12 Thread Pali Rohár
ess and IPv6 address into DHCPv6 leases file. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] [PATCH] DHCPv6: Add support for more than one hardware address per IPv6 address

2017-05-23 Thread Pali Rohár
On Monday 22 May 2017 23:11:02 Simon Kelley wrote: > On 12/05/17 16:32, Pali Rohár wrote: > > On Friday 12 May 2017 17:15:20 Simon Kelley wrote: > >> There are so many layers of quotes here that I've completely lost > >> track of what we were trying to achieve

Re: [Dnsmasq-discuss] [PATCH] Fix some errors and warnings from clang-analyzer

2017-10-05 Thread Pali Rohár
e circumstances fill string which is not null terminated. -- Pali Rohár pali.ro...@gmail.com ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] [PATCH] Fix some errors and warnings from clang-analyzer

2017-10-05 Thread Pali Rohár
On Thursday 05 October 2017 01:41:02 ros...@gmail.com wrote: > On Thu, 2017-10-05 at 09:48 +0200, Pali Rohár wrote: > > On Wednesday 04 October 2017 19:22:11 Rosen Penev wrote: > > > diff --git a/src/cache.c b/src/cache.c > > > index 4f43246..88851e7 100644 > > &g

Re: [Dnsmasq-discuss] DHCPv6 with dnsmasq for automated deployments

2018-05-25 Thread Pali Rohár
ddress to more DHCP requests identified by MAC address and one of needed thing was probably extension of lease file (to include also MAC address and DUID) and handling of requests which already have address assigned in lease file. Apparently until now Simon has not response about it and I gave up t

Re: [Dnsmasq-discuss] DHCPv6 with dnsmasq for automated deployments

2018-06-03 Thread Pali Rohár
gt; OpenSource project - but I'll look into it once this changes, > > which sadly won't be in the very near future. > > If anybody else has time at hand, of course I can offer to test a patch > > (the setup is here). > > > > Cheers, > > Oliver > >

Re: [Dnsmasq-discuss] [PATCH] DHCPv6: Add support for more than one hardware address per IPv6 address

2018-06-02 Thread Pali Rohár
On Tuesday 23 May 2017 09:39:11 Pali Rohár wrote: > On Monday 22 May 2017 23:11:02 Simon Kelley wrote: > > On 12/05/17 16:32, Pali Rohár wrote: > > > On Friday 12 May 2017 17:15:20 Simon Kelley wrote: > > >> There are so many layers of quotes here that I've completel

Re: [Dnsmasq-discuss] [PATCH] DHCPv6: Add support for more than one hardware address per IPv6 address

2018-06-02 Thread Pali Rohár
On Saturday 02 June 2018 15:48:58 Pali Rohár wrote: > On Tuesday 23 May 2017 09:39:11 Pali Rohár wrote: > > On Monday 22 May 2017 23:11:02 Simon Kelley wrote: > > > On 12/05/17 16:32, Pali Rohár wrote: > > > > On Friday 12 May 2017 17:15:20 Simon Kelley wrote: >

Re: [Dnsmasq-discuss] [PATCH] cname no longer accepts trailing dot

2018-02-26 Thread Pali Rohár
SCII spaces (0x20). Due to dependent on locale I would suggest to use explicit set of characters... but that is just suggestion. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@list

Re: [Dnsmasq-discuss] Conditional arguments depending on dhcp option 77 (user class)

2018-08-09 Thread Pali Rohár
n dnsmasq.conf: enable-tftp tftp-root=/var/lib/tftp dhcp-vendorclass=set:PXE,PXE dhcp-userclass=set:iPXE,iPXE dhcp-boot=tag:PXE,"undionly.kpxe" dhcp-boot=tag:iPXE,"http://my.web.server/...; Generic PXE clients receive iPXE binary and iPXE clients receive URL. Non-PXE cli

Re: [Dnsmasq-discuss] 128 bit prefix length on static ipv6 lease

2018-08-22 Thread Pali Rohár
prefix. Routing in IPv6 is done via Router Advertisement (which dnsmasq supports too). What is the output of route -n? Is there route for that your fda0:4d7f:afbb:: prefix? -- Pali Rohár pali.ro...@gmail.com ___ Dnsmasq-discuss mailing list Dn

Re: [Dnsmasq-discuss] dnsmasq config: avoid using this network for gateway and DNS

2018-03-05 Thread Pali Rohár
; The problem is complicated, because it must work for "all" types of mobile > phones (Android and iPhone) and they are difficult to debug. > > Thanks much for any advices! > > Libor -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature _

Re: [Dnsmasq-discuss] [PATCH] DHCPv6: Add support for more than one hardware address per IPv6 address

2018-10-18 Thread Pali Rohár
On Saturday 02 June 2018 16:25:51 Pali Rohár wrote: > On Saturday 02 June 2018 15:48:58 Pali Rohár wrote: > > On Tuesday 23 May 2017 09:39:11 Pali Rohár wrote: > > > On Monday 22 May 2017 23:11:02 Simon Kelley wrote: > > > > On 12/05/17 16:32, Pali Rohár wrote: >

Re: [Dnsmasq-discuss] [PATCH] DHCPv6: Honor assigning IPv6 address based on MAC address

2019-01-16 Thread Pali Rohár
On Sunday 13 January 2019 09:11:27 Roy Marples wrote: > On 11/01/2019 16:52, Pali Rohár wrote: > > Hello, can somebody look at this patch? > > > > I remember that more people asked for ability to assign IPv6 address > > based on MAC address specified in config

[Dnsmasq-discuss] [PATCH] DHCPv6: Honor assigning IPv6 address based on MAC address

2018-12-17 Thread Pali Rohár
Currently IPv6 addresses are assigned to tuple (IAID, DUID). When system changes IAID/DUID then old assigned IPv6 address cannot be reused, even when in config file was DHCPv6 assignment based on MAC address (and not on DUID). IAID/DUID is changed when rebooting from one operating system to

Re: [Dnsmasq-discuss] [PATCH] DHCPv6: Honor assigning IPv6 address based on MAC address

2019-01-11 Thread Pali Rohár
Hello, can somebody look at this patch? I remember that more people asked for ability to assign IPv6 address based on MAC address specified in config file, rather then IAID/DUID. On Monday 17 December 2018 18:41:09 Pali Rohár wrote: > Currently IPv6 addresses are assigned to tuple (IAID, D

Re: [Dnsmasq-discuss] [PATCH] DHCPv6: Honor assigning IPv6 address based on MAC address

2019-02-06 Thread Pali Rohár
PING On Friday 11 January 2019 17:52:43 Pali Rohár wrote: > Hello, can somebody look at this patch? > > I remember that more people asked for ability to assign IPv6 address > based on MAC address specified in config file, rather then IAID/DUID. > > On Monday 17 December 2018 1