Re: [Dnsmasq-discuss] logging DHCPDISCOVER

2023-02-10 Thread Simon Kelley
If you set the log-dhcp option in the dnsmasq config, it will log all the options being sent to the client, which should include a copy of the vendor-class received from the client. Cheers, Simon. On 09/02/2023 20:54, Carl Karsten wrote: I want to gather stats on how often I don't get a

Re: [Dnsmasq-discuss] Can't get tags to apply with dhcp-circuitid

2023-02-10 Thread Simon Kelley
Luckily, we have the complete data being added by the relay option: 82 agent-id 01:04:00:64:00:02:02:06:5c:f4:ab:af:6f:9c That's at circuit-ID (01) of length four (04) value 00:64:00:02 and a remote-id (02) length six (06) value 5c:f4:ab:af:6f:9c So you can either match against the remote-id

[Dnsmasq-discuss] [PATCH v2] dbus: allow setting filter-A and filter-AAAA options

2023-02-10 Thread Clayton Craft
--- Fixes a typo in the SetFilter DBus-interface description dbus/DBus-interface | 8 src/dbus.c | 14 ++ 2 files changed, 22 insertions(+) diff --git a/dbus/DBus-interface b/dbus/DBus-interface index 59b41b1..00b4465 100644 --- a/dbus/DBus-interface +++

[Dnsmasq-discuss] DHCPv6 - Relay-reply dhcpv6.option.type 79 Client Link-Layer Address with zero length

2023-02-10 Thread Harald Jensas
Hi, The router is dropping relay replies from dnsmasq because it sees the Option 79 with lenght of 0 as invalie, i.e less that minimum length. I have attached a pcap file showing that the reply from dnsmasq does include Option 79 with len == 0. RFC6939 - 6. DHCPv6 Server Behavior """