Re: [Dnsmasq-discuss] IPv6 host-id

2020-04-21 Thread Pali Rohár
to IPv6 assignment is not enforced by dnsmasq and if your DHCPv6 client changes DUID or IAID (e.g. dualbooting to different OS or PXE or reinstalling OS) then some another free IPv6 address would be assigned for your PC identified by . There is my pending patch which should fix this problem and when

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

2020-04-21 Thread Pali Rohár
problems? On Friday 07 February 2020 23:08:32 Pali Rohár wrote: > Hello Simon! > > Could you please review / comment this patch? > > I would like to know what is needed to be fixed or changed, so patch > could be finally merged. > > On Monday 17 December 2018 18:41:09 Pali Ro

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

2020-05-03 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 anothe

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

2020-05-26 Thread Pali Rohár
On Thursday 21 May 2020 16:22:03 Geert Stappers wrote: > On Sun, May 03, 2020 at 01:23:15PM +0200, Pali Rohár wrote: > > Currently IPv6 addresses are assigned to tuple (IAID, DUID). When system > > changes IAID/DUID then old assigned IPv6 address cannot be reused, even > > wh

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

2020-06-22 Thread Pali Rohár
On Tuesday 26 May 2020 10:52:05 Pali Rohár wrote: > On Thursday 21 May 2020 16:22:03 Geert Stappers wrote: > > On Sun, May 03, 2020 at 01:23:15PM +0200, Pali Rohár wrote: > > > Currently IPv6 addresses are assigned to tuple (IAID, DUID). When system > > > changes IAID/

Re: [Dnsmasq-discuss] Fwd: [PATCH] Makefile: make variables overridable

2020-07-12 Thread Pali Rohár
> after the original emails were sent, and do not know how to get the > message-id from the pipermail archive. You can find Message-Id of every email in GZIP archive available at: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/ -- Pali Rohár pali.ro...@gmail.

Re: [Dnsmasq-discuss] Fwd: [PATCH] Makefile: make variables overridable

2020-07-12 Thread Pali Rohár
On Sunday 12 July 2020 22:19:42 Geert Stappers wrote: > On Sun, Jul 12, 2020 at 09:05:17PM +0200, Pali Rohár wrote: > > On Sunday 12 July 2020 13:53:11 John Ericson wrote: > > > Hi, I am another NixOS maintainer. > > > > > > Yes, it is true that ?= in mak

Re: [Dnsmasq-discuss] Fwd: [PATCH] Makefile: make variables overridable

2020-07-12 Thread Pali Rohár
On Sunday 12 July 2020 17:40:56 John Ericson wrote: > On Sun, Jul 12, 2020, at 5:22 PM, Pali Rohár wrote: > > > > But why is this change needed at all? Are there some bugs in GNU make so > > that macros/variables initialized by '=' cannot be overridden and > &g

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

2020-07-22 Thread Pali Rohár
uite > well. It still has different addresses, but with the same base. > > taken from manual page: > --dhcp-host=laptop,[1234:50/126] > > Why isn't this sufficient? > > On 5/26/20 10:52 AM, Pali Rohár wrote: > > On Thursday 21 May 2020 16:22:03 Geert Stappers

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

2020-07-22 Thread Pali Rohár
Hello Petr! On Wednesday 22 July 2020 14:42:16 Petr Menšík wrote: > More below... > > On 7/22/20 9:40 AM, Pali Rohár wrote: > > Hello Petr! > > > > On Tuesday 21 July 2020 14:23:51 Petr Menšík wrote: > >> I think more correct would be using the same DUID

[Dnsmasq-discuss] MSFT: DHCPRELEASE on shutdown (Was: Re: [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address)

2020-07-22 Thread Pali Rohár
;--> IPv4 address assignment so it is not needed at all. -- 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

[Dnsmasq-discuss] DHCPv6 without DNS (Was: Re: [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address)

2020-07-23 Thread Pali Rohár
On Wednesday 22 July 2020 23:48:19 Petr Menšík wrote: > On 7/22/20 3:44 PM, Pali Rohár wrote: > > Hello Petr! > > > > On Wednesday 22 July 2020 14:42:16 Petr Menšík wrote: > >> More below... > >> > >> On 7/22/20 9:40 AM, Pali Rohár wrote: > >

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

2020-07-23 Thread Pali Rohár
So finally something relevant to this patch... On Wednesday 22 July 2020 23:48:19 Petr Menšík wrote: > On 7/22/20 3:44 PM, Pali Rohár wrote: > > I do not see any benefit why to complicate things just because "IPv6 > > addresses are many". I do not see nothing wr

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

2020-07-23 Thread Pali Rohár
On Thursday 23 July 2020 12:43:03 Kevin 'ldir' Darbyshire-Bryant wrote: > > On 23 Jul 2020, at 09:35, Pali Rohár wrote: > > > > So finally something relevant to this patch... > > > > On Wednesday 22 July 2020 23:48:19 Petr Menšík wrote: > >> On

Re: [Dnsmasq-discuss] Tag requests for a DHCP address from devices using a Locally Administered MAC address

2020-07-26 Thread Pali Rohár
so this patch wouldn't tag LAA multicast MAC addresses should > > those happen to be in use somewhere. > > > > So specifically a device with an LAA unicast MAC address > > would get a tag. This requires testing two bits. > > > > OK, thanks for elaborating I t

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

2020-07-26 Thread Pali Rohár
On Thursday 23 July 2020 19:03:41 Kevin 'ldir' Darbyshire-Bryant wrote: > > On 23 Jul 2020, at 14:11, Pali Rohár wrote: > > > > > > > Hello Kevin! So you basically have similar/same feature request. > > > > Could you test this dnsmasq patch

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

2020-07-26 Thread Pali Rohár
On Thursday 23 July 2020 13:11:36 Move On wrote: > On Thu, Jul 23, 2020 at 10:35:45AM +0200, Pali Rohár wrote: > > So finally something relevant to this patch... > > Cheer \o/ > > > On Wednesday 22 July 2020 23:48:19 Petr Menšík wrote: > > > On 7/22/20 3:44 P

Re: [Dnsmasq-discuss] How to contact Simon Kelley

2020-10-02 Thread Pali Rohár
suspect that some emails are going into his spambox or that he does not want to discuss... -- 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] [RESEND PATCH] Only bind IPv6 wildcard when it is enabled

2021-01-21 Thread Pali Rohár
aning IPv6 is enabled. > +} > +#endif /* HAVE_LINUX_NETWORK */ > + > #ifdef HAVE_LINUX_NETWORK > int kernel_version(void) > { > -- > 2.27.0 > > ___ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss -- 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] [RESEND PATCH] Only bind IPv6 wildcard when it is enabled

2021-01-21 Thread Pali Rohár
On Thursday 21 January 2021 14:52:22 Matthias May wrote: > On 21/01/2021 14:20, Pali Rohár wrote: > > Hello! > > > > On Thursday 21 January 2021 14:00:10 Matthias May wrote: > >> On Linux when IPv6 is disabled, one would not expect Dnsmasq to bind > >>

Re: [Dnsmasq-discuss] "multiple MAC addresses in a single dhcp-host" vs "multiple dhcp-host lines with the same IP address"

2021-05-17 Thread Pali Rohár
gt; > Where is the problem? how can I fix this? > > Thanks > Jesus M Hello! There is similar issue also for IPv6 addresses for which I have sent a patch more than year ago. Last reset patch is available e.g. at: https://lists.thekelleys.org.uk/pipermail/d

[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 now)

[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 chan

[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 b

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

2016-01-01 Thread Pali Rohár
ded for IPv6 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

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] 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] DHCPv6: Add support for more than one hardware address per IPv6 address

2016-01-16 Thread Pali Rohár
On Friday 15 January 2016 22:48:31 Simon Kelley wrote: > On 01/01/16 21:29, Pali Rohár wrote: > > 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

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-local

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

2016-01-27 Thread Pali Rohár
violates the RFCs > specifying DHCPv6, so it has to be especially carefull justified. Thats probably truth, but if something is useful users will try to use it. Either itself by patching dnsmasq or if possible by optional config options... -- Pali Rohár pali.ro...@gmail.com __

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&#x

Re: [Dnsmasq-discuss] systemd service improvements

2016-06-30 Thread Pali Rohár
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

Re: [Dnsmasq-discuss] systemd service improvements

2016-07-05 Thread Pali Rohár
e 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

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

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
articular 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 Windows 10, -- P

Re: [Dnsmasq-discuss] Windows ipv6 hostname

2016-12-22 Thread Pali Rohár
s > > 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 control o

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 will

Re: [Dnsmasq-discuss] Windows ipv6 hostname

2016-12-22 Thread Pali Rohár
gt; - > 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 Behalf Of Pali Rohár > > Se

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
tml > 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: T

Re: [Dnsmasq-discuss] Debugging dnsmasq on Ubuntu

2017-03-29 Thread Pali Rohár
ger[1977]: (wlan0): writing 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 s

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

2017-03-30 Thread Pali Rohár
gt; consideration. 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 DHC

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
DUID, IAID, MAC address 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 ac

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] [PATCH] Fix some errors and warnings from clang-analyzer

2017-10-05 Thread Pali Rohár
mstances 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] cname no longer accepts trailing dot

2018-02-26 Thread Pali Rohár
only ASCII 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-di

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

2018-03-05 Thread Pali Rohár
gt; 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 signat

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

2018-05-25 Thread Pali Rohár
lity to assign one address 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 abou

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] 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 comp

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

2018-06-03 Thread Pali Rohár
moment, there's sadly too much in my queue to start on another > > 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 >

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

2018-08-09 Thread Pali Rohár
ing like this in 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 U

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] [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: >

[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 anothe

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-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

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

Re: [Dnsmasq-discuss] Is wrapping close() in retry_send() required ?

2019-03-26 Thread Pali Rohár
mplementations, close() must not be called again after an EINTR error, and on at least one, close() must be called again. There are plans to address this conundrum for the next major release of the POSIX.1 standard. So retrying close() on EINTR on Linux is an application bug. On the other

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

2019-03-31 Thread Pali Rohár
Hello, can somebody review this patch? On Tuesday 12 February 2019 13:41:43 Geert Stappers wrote: > Another request for > > Hey, could this patch get reviewed? > > > On 06-02-2019 21:29, Pali Rohár wrote: > > PING > > > > On Friday 11 January 2019 17:52:

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

2019-06-26 Thread Pali Rohár
On Saturday 11 May 2019 17:42:54 Kevin Darbyshire-Bryant wrote: > > On 6 Apr 2019, at 12:01, Geert Stappers wrote: > > > > On Mon, Apr 01, 2019 at 01:02:20AM +0200, Pali Rohár wrote: > >> On Tuesday 12 February 2019 13:41:43 Geert Stappers wrote: > >>>

Re: [Dnsmasq-discuss] Welcome back, Honor assigning IPv6 address based on MAC address

2019-09-03 Thread Pali Rohár
On Thursday 27 June 2019 07:29:53 Geert Stappers wrote: > On Thu, Jun 27, 2019 at 12:06:31AM +0100, Roy Marples wrote: > > On 26/06/2019 21:16, Oliver Freyermuth wrote: > > > Am 26.06.19 um 21:49 schrieb Pali Rohár: > > > > So, could somebody review and comment my p

Re: [Dnsmasq-discuss] (PATCH) catch up

2019-10-12 Thread Pali Rohár
o dnsmasq mailing list. I'm reading it and so I'm still there! (Btw, seems there is broken encoding in previous email, in my name is letter A with acute accent = á) -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] [PATCH] Add dhcp-ignore-clid configuration option

2019-10-28 Thread Pali Rohár
ks on couple IP/MAC addresses consistency, and distributing an > >> IP address previously in use with another MAC is probably a bad idea for > >> this kind of tools. > >> > >> So, I'm still in favor of the blanket options. > >> > > > > OK,

Re: [Dnsmasq-discuss] [PATCH] Add interface name, vendor class if present and lease expiration time to dbus signals

2019-12-04 Thread Pali Rohár
l > with the original info plus the extra, possibly in a way that allows to > add more over time (a dict ?). If you want to create a backward compatible DBus API, you should use array or dictionary (ordered hash map) argument and then pass new values into this array/dictionary. > (Also,

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

2019-12-17 Thread Pali Rohár
Monday 17 December 2018 18:41:09 Pali Rohár wrote: > 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). >

Re: [Dnsmasq-discuss] [PATCH] DHCPv6 - Multiple reservations for single host

2020-01-07 Thread Pali Rohár
tate->hostname = config->hostname; > state->domain = config->domain; > @@ -557,7 +574,7 @@ static int dhcp6_no_relay(struct state *state, int > msg_type, void *inbuff, size_ > /* Search again now we have a hostname. >Only accept configs without CLID here, (it won't match) >to avoid impersonation by name. */ > - struct dhcp_config *new = find_config(daemon->dhcp_conf, > state->context, NULL, 0, NULL, 0, 0, state->hostname); > + struct dhcp_config *new = find_config(daemon->dhcp_conf, > state->context, NULL, 0, NULL, 0, 0, state->hostname, 0); > if (new && !have_config(new, CONFIG_CLID) && !new->hwaddr) > config = new; > } > @@ -583,7 +600,7 @@ static int dhcp6_no_relay(struct state *state, int > msg_type, void *inbuff, size_ > ignore = 1; > } >else if (state->clid && > -find_config(daemon->dhcp_conf, NULL, state->clid, state->clid_len, > state->mac, state->mac_len, state->mac_type, NULL)) > +find_config(daemon->dhcp_conf, NULL, state->clid, state->clid_len, > state->mac, state->mac_len, state->mac_type, NULL, 0)) > { >known_id.net = "known-othernet"; >known_id.next = state->tags; -- 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] DHCPv6 - Multiple reservations for single host

2020-01-07 Thread Pali Rohár
On Tuesday 07 January 2020 13:57:02 Harald Jensås wrote: > On Tue, 2020-01-07 at 10:51 +0100, Pali Rohár wrote: > > Hi Harald! What are differences between your patch and mine which > > adds > > support for it too (plus honor assignment based on MAC address)? > > htt

Re: [Dnsmasq-discuss] [PATCH] Add new extensible D-Bus signal

2020-01-09 Thread Pali Rohár
re (if it would be needed). Could you please design API in way that can be extended in future? (See my previous email with details how to achieve it) -- 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] Add new extensible D-Bus signal

2020-01-09 Thread Pali Rohár
On Thursday 09 January 2020 12:17:52 Florent Fourcot wrote: > Hello, > > On 09/01/2020 12:10, Pali Rohár wrote: > > Hello! I looked at this API, but is has same problems as old one. It is > > not possible to extend it in future (if it would be needed). Could you > > pl

Re: [Dnsmasq-discuss] [PATCH] DHCPv6 - Multiple reservations for single host

2020-01-13 Thread Pali Rohár
> address of the final OS.) > > > > In the openstack use case the dhcp-config is changed to have just a > > single dhcp-host entry prior to booting into the final os, openstack's > > networking service takes care of issuing a release during this step > > making s

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

2020-02-07 Thread Pali Rohár
Hello Simon! Could you please review / comment this patch? I would like to know what is needed to be fixed or changed, so patch could be finally merged. On Monday 17 December 2018 18:41:09 Pali Rohár wrote: > Currently IPv6 addresses are assigned to tuple (IAID, DUID). When system > c

Re: [Dnsmasq-discuss] Sending user-specified default gateway with RAs

2020-02-23 Thread Pali Rohár
router should advertise that is router. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss