COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### NTP Autokey problem

• Email
• Follow

Hi,

Following is the scenario being tried out by myself to establish an =
autokey (GQ scheme) authenticated  client-server association.=20

In the server machine:

- ntp.conf in the server_machine
keysdir ./
server  127.127.1.0
fudge   127.127.1.0 stratum 10
server <primary_server> iburst prefer

- I generate the required parameter files, keyfiles and certificates =
using

- Transfer the generated GQ-parameter file =
ntpkey_GQpar_servername.3327213795 to the client.

- Run=20
/usr/sbin/ntpd -c ntp.conf -l log=20
and wait until the server gets synchronised to the primary server =
and the server's stratum gets reduced to 2

In the client machine:

- ntp.conf in the client
keysdir ./
server <server_machine> autokey iburst

- Generate the required keyfiles using
(The GQ parameter file of step 3 is earlier transferred to this =
machine)

- Create a soft link to the parameter file
ln -s ntpkey_GQpar_servername.332721379 ntpkey_gq_servername

- Run=20
/usr/sbin/ntpd -c ntp.conf -l log

On Quering the status of the client ntpd the reachability register =
remains 0 and I get an error message of the form=20

8 Jun 16:59:33 ntpd[22234]: crypto_key error:06065064:digital envelope =
8 Jun 16:59:33 ntpd[22234]: crypto_ident: no compatible identity scheme =
found
8 Jun 16:59:33 ntpd[22234]: transmit: crypto error for <server_machine>

My doubts are=20
1. What is wrong with my configuration?
2. Which exactly is the client key which is to be transferred to the =
client machine if not for ntpkey_GQpar_server.332721379 ?

-Srikanth K.

 0

See related articles to this posting

On 2005-06-08, Kommuri, Srikanth (STSD) <srikanth.k@hp.com> wrote:

> Following is the scenario being tried out by myself to establish an
> autokey (GQ scheme) authenticated client-server association.

<snip>

> 1. What is wrong with my configuration?

The GQ identity scheme requires that you use the same crypto password on
all members of an NTP Trust Group (i.e. a server and it's clients).

BTW: There is a step-by-step guide to configuring autokey at
http://ntp.isc.org/Support/ConfiguringAutokey

> 2. Which exactly is the client key which is to be transferred to the
> client machine if not for ntpkey_GQpar_server.332721379 ?

You copied the correct file.

--
Steve Kostecke <kostecke@ntp.isc.org>
NTP Public Services Project - http://ntp.isc.org/

 0

1 Replies
253 Views

Similar Articles

12/5/2013 6:27:54 PM
page loaded in 56363 ms. (0)

Similar Artilces:

Problem with templates
of text - I'll simply assume that you got the syntax right. If I were you, I'd have tried to create the smallest possible piece of code that still shows the problem, without a complex combo of memberfunction pointers in template argument lists. > This is implemented in another cpp file [...] > This is compiled into a .lib file > and the fucntion is called from another cpp file which implements a > class called Bond and it has a public method > This is also compiled into a .lib and referenced in a consol app. I am > getting the linker error when trying to create

dispatch problem
How can i send my aglets to other hosts in my network. I tried sending my aglets by providing atp://<ip-address> few were successfully dispatched but were not able retract back. when i tried to send others i got this error com.ibm.aglet.RequestRefusedException atp://192.168.0255,Integrity=DIGEST,Confidentiality=SHORTSECRETKEY,Timeout=0 examples.snmp.SnmpGet please suggest if there are any settings to be done!

problem with mexCallMATLAB
= *ouptr; If I used to debug the program, the value of single should come 1. But unfortunatly the value of single is coming to 0 only. Any comment will be appreciated. Nihal Hi Nihal, without testing your code, I think your line int *ouptr, single; is the problem. The value is 1, but it is not an integer, but of type double (as all MATLAB-variables, as long as you don't explicitly set the type like uint32(1)). So double *ouptr, single; and ouptr = mxGetPr(ouhs[0]); should probably solve your problem. Titus "Nihal Ahmad" <nihal@cranessoftware.com> wrote in message news...] = mxCreateDoubleMatrix(1, 1, mxREAL); > ouptr = (int *)mxGetPr(ouhs[0]); > > y = mexCallMATLAB(1,ouhs,0,NULL,"dummyst"); > > single = *ouptr; > If I used to debug the program, the value of single should come 1. > But unfortunatly the value of single is coming to 0 only. > > Any comment will be appreciated. > Nihal Hi Titus, Thank you for immediate response. I checked with double *ouptr, single;, but the problem is same. what to do to sove it. please help me out to solve it. Regards Nihal Titus Edelhofer wrote: > > > Hi Nihal, > without testing your code

Audio problem
Friend has an Evesham (Time/Colosuss/Tiny/Mitac) 8375 laptop with an audio problem -- sound coming only from right-side speaker. Have tried external speakers, headphones and a USB sound 'card' with speakers attached but result always the same. Could it be just the internal speaker itself that's faulty or does it point to a motherboard connector? Either way, how difficult/expensive would it be to put right? TIA In news:20070909-215611.202.0@me.nntp.dsl.pipex.com, Zed typed on Sun, 09 Sep 2007 22:56:11 +0100: > Friend has an Evesham (Time/Colosuss/Tiny/Mitac) 8375 laptop with an > audio problem -- sound coming only from right-side speaker. Have > tried external speakers, headphones and a USB sound 'card' with > speakers attached but result always the same. Could it be just the > internal speaker itself that's faulty or does it point to a > motherboard connector? Either way, how difficult/expensive would it > be to put right? TIA WOW! Did you disable the driver for the internal sound card when you used the USB sound card (through the Device Manager)? And you had to install the USB sound card driver for it too, right? You

problem with synthesis
a test when 'd' is no longer active and after a certain amount of time, led should turn off. Now my code has a precision problem, it does not reliably count high time. I need help to straighten out this code. Where can I get some sample verilog to look at (small modules that implement simple things)? Thanks, module blink(input clk, input d, output reg led); parameter blink_freq = 23; paremeter high_time = 4; // 16 clocks reg ld = 0; reg [blink_freq:0] count; reg [high_time:0] hcount; always @(posedge clk or posedge d) begin if(clk) begin count <= count + 1; hcount <... blink with a frequency clk_freq/(2^blink_freq). > >THere are a couple of problems > >1) I need a module register to hold the signal 'd' when it goes high, >usually 'd' only maintains high for a single clock period. > >2) I need a test when 'd' is no longer active and after a certain amount >of time, led should turn off. Now my code has a precision problem, it >does not reliably count high time. > >I need help to straighten out this code. Where can I get some sample >verilog to look at (small modules that implement simple things

getpwnam problem
; Greetings, > Aaron > -- > Aaron Isotton | http://www.isotton.com/ > You know it's Monday when you wake up and it's Tuesday. -- Garfield But the problem is I always pass the same user(exist in the system) to getpwnam, sometimes it works but sometimes it fails with NULL. Any idea? jholly@cup.hp.com (Jim Hollenback) writes: > ultra (ultraman@rogers_NOSPAM.com) wrote: > : But the problem is I always pass the same user(exist in the system) to > : getpwnam, sometimes it works but sometimes it fails with NULL. Any idea? > > what is the errno when it fails...\n", strerror(errno)); : > else fprintf(stderr, "no such user\n"); : > } : > : But the problem is I always pass the same user(exist in the system) to : getpwnam, sometimes it works but sometimes it fails with NULL. Any idea? what is the errno when it fails? -- Jim Hollenback jholly@cup.hp.com my opinion. "ultra" <ultraman@rogers_NOSPAM.com> writes: >> what is the errno when it fails? > > it didn't set the errno when it failed... > > Huh? What do you mean it didn't set the errno? Here is your original message: > I have

REXML problem
I am trying to read from a zlib GzipReader with REXML (actually with SOAP, it's using REXML). But it fails with "Unknown source type!" Can this be fixed in document.rb? The code looks like this: if source.kind_of? Source # do nothing elsif source.kind_of? IO source = IOSource.new(source) elsif source.kind_of? String source = Source.new source else raise "Unknown source type!" end The trouble is that GzipReader is not a subclass of IO. However, it behaves enough like an IO object to be used as one. A case for duck typing? Stephen Sykes jbshaldane@hotmai

filestream problem
I'm having a little filestream problem. With the code below, I open a file in order to insert its contents into another file. However, right after the opening of the file, insertfile.eof() seems to be TRUE. Before the problematic file is opened, one other file is opened and inserted by the same piece of code (which is in a loop), without any problems. I'm sure that the file to be inserted has several lines of contents, and I also checked if the insertfile stream is closed before opening it. if(FileExists(insertfilepath)) { insertfile.open(insertfilepath.c_str()); while(! insertfile.eof()) { getline(insertfile, insertline); outfile << insertline << endl; } insertfile.close(); } I would really appreciate some advise here. Thanks, Pieter Pieter Provoost wrote: > I'm having a little filestream problem. With the code below, I open a file > in order to insert its contents into another file. However, right after the > opening of the file, insertfile.eof() seems to be TRUE. Before the > problematic file is opened, one other file is opened and inserted by the > same piece of code (which is in a loop), without any problems. I

init.tcl problem
Hi folks, I have a little problem: I embed Tcl/Tk into an application, but there is a nerve-racking init.tcl error, here is the important code: ##### Tcl_FindExecutable(argv[0]); interp = Tcl_CreateInterp(); ... /* * tcl_library */ Tcl_Obj* restcl; Tcl_Obj* libtcl; if (Tcl_Eval(interp, "file join [file normalize $::env(APP_HOME)] tcl lib tcl8.4") != TCL_OK) { return TCL_ERROR; } libtcl = Tcl_GetObjResult(interp); restcl = Tcl_SetVar2Ex(interp, "tcl_library", NULL, libtcl, TCL_GLOBAL_ONLY); /* * Init Tcl/Tk */ if (Tcl_Init(interp) == TCL_ERROR) { return TCL_ERROR; } if (Tk_Init(interp) == TCL_ERROR) { return TCL_ERROR; } /* * Init [incr Tcl/Tk] */ if (Itcl_Init(interp) == TCL_ERROR) { return TCL_ERROR; } if (Itk_Init(interp) == TCL_ERROR) { return TCL_ERROR; } /* * load framework */ if (Tcl_Eval(interp, "source [file join [file normalize$::env(APP_HOME)] scripts init init.tcl]") != TCL_OK) { return TCL_ERROR; } if (Tcl_Eval(interp, "::CreateTopLevel") != TCL_OK) { return TCL_ERROR