Re: [questions] Alternative to ntpdc delrestrict?

2023-08-01 Thread Harlan Stenn
Thanks, Edward! On 8/1/2023 9:06 PM, Edward McGuire wrote: On Monday, July 31, 2023 at 6:13:04 PM UTC, Dave Hart wrote: Please open a report at https://bugs.ntp.org and we'll make a "delrestrict" verb for ntpq. https://bugs.ntp.org/show_bug.cgi?id=3855 Cheers! Edward -- Harlan Stenn ,

Re: [questions] Alternative to ntpdc delrestrict?

2023-08-01 Thread Edward McGuire
On Monday, July 31, 2023 at 6:13:04 PM UTC, Dave Hart wrote: > Please open a report at https://bugs.ntp.org and we'll make a "delrestrict" > verb for ntpq. https://bugs.ntp.org/show_bug.cgi?id=3855 Cheers! Edward -- This is questions@lists.ntp.org Subscribe: questions+subscr...@lists.ntp.org

Re: [questions] Alternative to ntpdc delrestrict?

2023-07-31 Thread Dave Hart
On Mon, 31 Jul 2023 at 16:39, Edward McGuire wrote: > On Friday, July 28, 2023 at 9:48:35 PM UTC, Dave Hart wrote: > > You can do the equivalent using ntpq's remote configuration command > ":config". > > ntpq -c "keyid 99" -c "passwd myntpqpasswd" -c ":config restrict > 10.11.12.13" > > That's

Re: [questions] Alternative to ntpdc delrestrict?

2023-07-31 Thread Edward McGuire
On Monday, July 31, 2023 at 4:38:50 PM UTC, Edward McGuire wrote: > $ ntpdc -n -c 'keyid 2' -c 'passwd' -c 'reslist' | grep 10.11.12.13 Sorry, obviously that should have been 'keyid 99' to make it an internally consistent example. Copy/paste error. -- This is questions@lists.ntp.org Subscribe:

Re: [questions] Alternative to ntpdc delrestrict?

2023-07-31 Thread Edward McGuire
On Friday, July 28, 2023 at 9:48:35 PM UTC, Dave Hart wrote: > You can do the equivalent using ntpq's remote configuration command ":config". > ntpq -c "keyid 99" -c "passwd myntpqpasswd" -c ":config restrict 10.11.12.13" That's not quite what I'm asking about. On my system, your example does not

Re: [questions] Alternative to ntpdc delrestrict?

2023-07-28 Thread Dave Hart
On Fri, 28 Jul 2023 at 16:36, Edward McGuire wrote: > The fine manual says ntpq "can do everything ntpdc used to do". For the > ntpdc command "delrestrict" what is the equivalent ntpq command? > You can do the equivalent using ntpq's remote configuration command ":config". Assuming you have