On Wed, Jan 09, 2019 at 05:47:59PM +0100, Miroslav Lichvar wrote: > Deny service requests with logInterMessagePeriod smaller than -7 (128 > packets per second) or larger than 16. This limits the network and CPU > consumption per address and prevents undefined shifts in the calculation > of the interval. > > Also, limit the maximum grant duration to one hour.
I think it would be also good to limit the maximum number of clients, but I'm not sure what exactly should be counted (as there are multiple lists of addresses separated by the interval) and also what to do when the limit is reached. Keep all addresses in a queue and drop the one that had the oldest request? Thoughts? -- Miroslav Lichvar _______________________________________________ Linuxptp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxptp-devel
