[Kea-users] client throttling possible?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Kea-users] client throttling possible?

Rudy R.
Hi Kea users,

I am switching from ISC to KEA and am seeing something an -PD request --
odd in that is coming in at about 20,000 times per minute.

I'm getting a lot of these in my log file:

2020-04-18 18:41:12.268 INFO  [kea-dhcp6.leases/8350]
DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f],
tid=0x977984: lease for prefix 2607:f598:b6da:170::/60 and iaid=1 will
be advertised
2020-04-18 18:41:12.268 INFO  [kea-dhcp6.leases/8350] DHCP6_LEASE_ADVERT
duid=[00:03:00:01:14:cc:20:37:d2:6f], tid=0x2b73d3: lease for address
2607:f598:b6d0:228:0:a:0:17 and iaid=0 will be advertised
2020-04-18 18:41:12.268 INFO  [kea-dhcp6.leases/8350]
DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f],
tid=0x2b73d3: lease for prefix 2607:f598:b6da:170::/60 and iaid=1 will
be advertised
2020-04-18 18:41:12.269 INFO  [kea-dhcp6.leases/8350] DHCP6_LEASE_ADVERT
duid=[00:03:00:01:14:cc:20:37:d2:6f], tid=0x3d003e: lease for address
2607:f598:b6d0:228:0:a:0:17 and iaid=0 will be advertised
2020-04-18 18:41:12.269 INFO  [kea-dhcp6.leases/8350]
DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f],
tid=0x3d003e: lease for prefix 2607:f598:b6da:170::/60 and iaid=1 will
be advertised
2020-04-18 18:41:12.270 INFO  [kea-dhcp6.leases/8350] DHCP6_LEASE_ADVERT
duid=[00:03:00:01:14:cc:20:37:d2:6f], tid=0xe5854e: lease for address
2607:f598:b6d0:228:0:a:0:17 and iaid=0 will be advertised
2020-04-18 18:41:12.271 INFO  [kea-dhcp6.leases/8350]
DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f],
tid=0xe5854e: lease for prefix 2607:f598:b6da:170::/60 and iaid=1 will
be advertised
2020-04-18 18:41:12.271 INFO  [kea-dhcp6.leases/8350] DHCP6_LEASE_ADVERT
duid=[00:03:00:01:14:cc:20:37:d2:6f], tid=0x2f3f52: lease for address
2607:f598:b6d0:228:0:a:0:17 and iaid=0 will be advertised
2020-04-18 18:41:12.271 INFO  [kea-dhcp6.leases/8350]
DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f],
tid=0x2f3f52: lease for prefix 2607:f598:b6da:170::/60 and iaid=1 will
be advertised
2020-04-18 18:41:12.273 INFO  [kea-dhcp6.leases/8350] DHCP6_LEASE_ADVERT
duid=[00:03:00:01:14:cc:20:37:d2:6f], tid=0x617615: lease for address
2607:f598:b6d0:228:0:a:0:17 and iaid=0 will be advertised
2020-04-18 18:41:12.274 INFO  [kea-dhcp6.leases/8350]
DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f],
tid=0x617615: lease for prefix 2607:f598:b6da:170::/60 and iaid=1 will
be advertised
2020-04-18 18:41:12.275 INFO  [kea-dhcp6.leases/8350] DHCP6_LEASE_ADVERT
duid=[00:03:00:01:14:cc:20:37:d2:6f], tid=0x41364b: lease for address
2607:f598:b6d0:228:0:a:0:17 and iaid=0 will be advertised
2020-04-18 18:41:12.275 INFO  [kea-dhcp6.leases/8350]
DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f],
tid=0x41364b: lease for prefix 2607:f598:b6da:170::/60 and iaid=1 will
be advertised
2020-04-18 18:41:12.276 INFO  [kea-dhcp6.leases/8350] DHCP6_LEASE_ADVERT
duid=[00:03:00:01:14:cc:20:37:d2:6f], tid=0xb8f29b: lease for address
2607:f598:b6d0:228:0:a:0:17 and iaid=0 will be advertised
2020-04-18 18:41:12.276 INFO  [kea-dhcp6.leases/8350]
DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f],
tid=0xb8f29b: lease for prefix 2607:f598:b6da:170::/60 and iaid=1 will
be advertised


Here is my config:

   {
    "subnet": "2607:F598:B6d0:228::/64",
    "pools": [ { "pool": "2607:F598:B6d0:228::a:0:0/96" } ],
    "pd-pools":
    [
     { "prefix": "2607:F598:B6da::", "prefix-len": 48, "delegated-len":
60 },
     { "prefix": "2607:F598:B6db::", "prefix-len": 48, "delegated-len":
64 },
     { "prefix": "2607:F598:B6dc::", "prefix-len": 48, "delegated-len": 56 }
    ]
   },


Looks like a TP-LINK router...


Is (root@kea) 162> kea-show-leases6.sh
IPAddr                              HWAddr              Lease
Start           Renew           Expire          Hostname  State
[...snip...]
2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
20200418T183840 20200418T191200 20200418T194520 .         0
2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
20200418T183840 20200418T191200 20200418T194520 .         0
2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
20200418T183837 20200418T191157 20200418T194517 .         0
2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
20200418T183837 20200418T191157 20200418T194517 .         0
2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
20200418T183837 20200418T191157 20200418T194517 .         0
2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
20200418T183836 20200418T191156 20200418T194516 .         0
2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
20200418T183835 20200418T191155 20200418T194515 .         0
2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
20200418T183831 20200418T191151 20200418T194511 .         0
2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
20200418T183831 20200418T191151 20200418T194511 .         0
2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
20200418T183828 20200418T191148 20200418T194508 .         0
2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
20200418T183827 20200418T191147 20200418T194507 .         0
2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
20200418T183825 20200418T191145 20200418T194505 .         0
2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
20200418T183824 20200418T191144 20200418T194504 .         0
2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
20200418T183824 20200418T191144 20200418T194504 .         0
2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
20200418T183824 20200418T191144 20200418T194504 .         0
2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
20200418T183823 20200418T191143 20200418T194503 .         0



Can I limit a client to 1 request per 10 seconds or something like that?


Rudy

_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] client throttling possible?

Rudy R.

I am migrating VLANs over from ISC to KEA DHCP6.  Another "many requests
from one client" issue just cropped up -- one client is hitting the
server once a second asking to renew a PD_LEASE - here are 3 lines of
several thousand):


2020-04-20 00:15:01.796 INFO  [kea-dhcp6.leases/8350]
DHCP6_PD_LEASE_RENEW duid=[00:03:00:01:c4:b3:01:da:4e:2e], tid=0xef6d87:
lease for prefix 2607:f598:b980:347:0:a:0:1/128 and iaid=31084078 has
been allocated
2020-04-20 00:15:02.750 INFO  [kea-dhcp6.leases/8350]
DHCP6_PD_LEASE_RENEW duid=[00:03:00:01:c4:b3:01:da:4e:2e], tid=0x3b3b7a:
lease for prefix 2607:f598:b980:347:0:a:0:1/128 and iaid=31084078 has
been allocated
2020-04-20 00:15:03.821 INFO  [kea-dhcp6.leases/8350]
DHCP6_PD_LEASE_RENEW duid=[00:03:00:01:c4:b3:01:da:4e:2e], tid=0xa7d77e:
lease for prefix 2607:f598:b980:347:0:a:0:1/128 and iaid=31084078 has
been allocated

Other clients on that vlan getting /60 -PD requests, but that log line
looks like a /128 -PD request.  Am I reading the log line correct? 
(this looks like an real old Apple Airport Extreme router on the client
side...).

Thanks in advance,
Rudy



On 4/18/20 6:52 PM, Rudy R. wrote:

> Hi Kea users,
>
> I am switching from ISC to KEA and am seeing something an -PD request
> -- odd in that is coming in at about 20,000 times per minute.
>
> I'm getting a lot of these in my log file:
>
> 2020-04-18 18:41:12.268 INFO  [kea-dhcp6.leases/8350]
> DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f],
> tid=0x977984: lease for prefix 2607:f598:b6da:170::/60 and iaid=1 will
> be advertised
> 2020-04-18 18:41:12.268 INFO  [kea-dhcp6.leases/8350]
> DHCP6_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f], tid=0x2b73d3:
> lease for address 2607:f598:b6d0:228:0:a:0:17 and iaid=0 will be
> advertised
> 2020-04-18 18:41:12.268 INFO  [kea-dhcp6.leases/8350]
> DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f],
> tid=0x2b73d3: lease for prefix 2607:f598:b6da:170::/60 and iaid=1 will
> be advertised
> 2020-04-18 18:41:12.269 INFO  [kea-dhcp6.leases/8350]
> DHCP6_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f], tid=0x3d003e:
> lease for address 2607:f598:b6d0:228:0:a:0:17 and iaid=0 will be
> advertised
> 2020-04-18 18:41:12.269 INFO  [kea-dhcp6.leases/8350]
> DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f],
> tid=0x3d003e: lease for prefix 2607:f598:b6da:170::/60 and iaid=1 will
> be advertised
> 2020-04-18 18:41:12.270 INFO  [kea-dhcp6.leases/8350]
> DHCP6_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f], tid=0xe5854e:
> lease for address 2607:f598:b6d0:228:0:a:0:17 and iaid=0 will be
> advertised
> 2020-04-18 18:41:12.271 INFO  [kea-dhcp6.leases/8350]
> DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f],
> tid=0xe5854e: lease for prefix 2607:f598:b6da:170::/60 and iaid=1 will
> be advertised
> 2020-04-18 18:41:12.271 INFO  [kea-dhcp6.leases/8350]
> DHCP6_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f], tid=0x2f3f52:
> lease for address 2607:f598:b6d0:228:0:a:0:17 and iaid=0 will be
> advertised
> 2020-04-18 18:41:12.271 INFO  [kea-dhcp6.leases/8350]
> DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f],
> tid=0x2f3f52: lease for prefix 2607:f598:b6da:170::/60 and iaid=1 will
> be advertised
> 2020-04-18 18:41:12.273 INFO  [kea-dhcp6.leases/8350]
> DHCP6_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f], tid=0x617615:
> lease for address 2607:f598:b6d0:228:0:a:0:17 and iaid=0 will be
> advertised
> 2020-04-18 18:41:12.274 INFO  [kea-dhcp6.leases/8350]
> DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f],
> tid=0x617615: lease for prefix 2607:f598:b6da:170::/60 and iaid=1 will
> be advertised
> 2020-04-18 18:41:12.275 INFO  [kea-dhcp6.leases/8350]
> DHCP6_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f], tid=0x41364b:
> lease for address 2607:f598:b6d0:228:0:a:0:17 and iaid=0 will be
> advertised
> 2020-04-18 18:41:12.275 INFO  [kea-dhcp6.leases/8350]
> DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f],
> tid=0x41364b: lease for prefix 2607:f598:b6da:170::/60 and iaid=1 will
> be advertised
> 2020-04-18 18:41:12.276 INFO  [kea-dhcp6.leases/8350]
> DHCP6_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f], tid=0xb8f29b:
> lease for address 2607:f598:b6d0:228:0:a:0:17 and iaid=0 will be
> advertised
> 2020-04-18 18:41:12.276 INFO  [kea-dhcp6.leases/8350]
> DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:14:cc:20:37:d2:6f],
> tid=0xb8f29b: lease for prefix 2607:f598:b6da:170::/60 and iaid=1 will
> be advertised
>
>
> Here is my config:
>
>   {
>    "subnet": "2607:F598:B6d0:228::/64",
>    "pools": [ { "pool": "2607:F598:B6d0:228::a:0:0/96" } ],
>    "pd-pools":
>    [
>     { "prefix": "2607:F598:B6da::", "prefix-len": 48, "delegated-len":
> 60 },
>     { "prefix": "2607:F598:B6db::", "prefix-len": 48, "delegated-len":
> 64 },
>     { "prefix": "2607:F598:B6dc::", "prefix-len": 48, "delegated-len":
> 56 }
>    ]
>   },
>
>
> Looks like a TP-LINK router...
>
>
> Is (root@kea) 162> kea-show-leases6.sh
> IPAddr                              HWAddr              Lease
> Start           Renew           Expire          Hostname  State
> [...snip...]
> 2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
> 20200418T183840 20200418T191200 20200418T194520 .         0
> 2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
> 20200418T183840 20200418T191200 20200418T194520 .         0
> 2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
> 20200418T183837 20200418T191157 20200418T194517 .         0
> 2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
> 20200418T183837 20200418T191157 20200418T194517 .         0
> 2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
> 20200418T183837 20200418T191157 20200418T194517 .         0
> 2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
> 20200418T183836 20200418T191156 20200418T194516 .         0
> 2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
> 20200418T183835 20200418T191155 20200418T194515 .         0
> 2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
> 20200418T183831 20200418T191151 20200418T194511 .         0
> 2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
> 20200418T183831 20200418T191151 20200418T194511 .         0
> 2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
> 20200418T183828 20200418T191148 20200418T194508 .         0
> 2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
> 20200418T183827 20200418T191147 20200418T194507 .         0
> 2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
> 20200418T183825 20200418T191145 20200418T194505 .         0
> 2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
> 20200418T183824 20200418T191144 20200418T194504 .         0
> 2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
> 20200418T183824 20200418T191144 20200418T194504 .         0
> 2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
> 20200418T183824 20200418T191144 20200418T194504 .         0
> 2607:f598:b6d0:228:0:a:0:17/128     14:cc:20:37:d2:6f    4000
> 20200418T183823 20200418T191143 20200418T194503 .         0
>
>
>
> Can I limit a client to 1 request per 10 seconds or something like that?
>
>
> Rudy
>
> _______________________________________________
> Kea-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/kea-users
>

_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users