This is astonishing. The entire reason for 3.0.0p1 was to fix this --
reverting a last minute change (which admittedly was a foolish act on
my part), and I did so and tested it and somehow that change has not
ended up in the tarball.

I will create another patch shortly. For now, go to src/cf.defs.h and
change

#define CF_BUFSIZE 4096

That should fix the problem.
M

Juergen Prusseit wrote:
> OS debian/lenny, openssl 0.9.8g
> 
> same behaviour between 2 machines and even trying on the same machine:
> ...
> cf3 Challenge response from client ::ffff:127.0.0.1 was incorrect - ID
> false?
> cf3 From (host=localhost.loc,user=root,ip=::ffff:127.0.0.1)
> ...
> 
> I had the stack trace once, more often core dump and mostly only the above
> error.
> 
> Kind Regards
> Jürgen Prusseit
> 
> 
> bug-cfengine-bounces+j.prusseit=msg...@cfengine.org schrieb am 09.01.2009
> 17:08:38:
> 
>> Operating system is CentOS 5.2
>>
>> On one machine, I'm running cf-serverd
>>
>> I've removed the public key for mgen, and it gets exchanged again.
>>
>> How do I resolve the challenge response issue?
>>
>> -bash-3.2# /var/cfengine/bin/cf-serverd --inform --no-fork
>> Challenge response from client ::ffff:192.168.4.22 was incorrect - ID
>> false?
>>  From (host=mgen.gate.rtf,user=root,ip=::ffff:192.168.4.22)
>> Challenge response from client ::ffff:192.168.4.22 was incorrect - ID
>> false?
>>  From (host=mgen.gate.rtf,user=root,ip=::ffff:192.168.4.22)
>>
>> On another machine, 'mgen', I run cf-agent
>>
>> cfengine> Connect to 192.168.4.251 = 192.168.4.251 on port 5308
>> cfengine> skipidentify was promiseed, so we are trusting and simply
>> announcing the identity as (mgen.gate.rtf) for this host
>> Loaded /var/cfengine/ppkeys/root-192.168.4.251.pub
>> cfengine>
>> ...h.a.i.l.......................................................
>> cfengine> Strong authentication of server=192.168.4.251 connection
>> confirmed
>> cfengine> Promise belongs to bundle 'update' in file '/var/cfengine/
>> inputs/update.cf' near line 21
>> cfengine> Server returned error:  Unspecified server refusal (see
>> verbose server output)
>> cfengine> Can't stat /usr/local/sbin in files.copyfrom promise
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> [Switching to Thread 4158691008 (LWP 681)]
>> 0x00af819c in free () from /lib/libc.so.6
>> (gdb) where
>> #0  0x00af819c in free () from /lib/libc.so.6
>> #1  0x080904bc in DeleteAgentConn (ap=0xbcaff4) at ip.c:246
>> #2  0x0804af6d in DeleteTypeContext (type=kp_files) at agent.c:839
>> #3  0x0804b500 in ScheduleAgentOperations (bp=0x6566632f) at agent.c:617
>> #4  0x0804b681 in KeepPromiseBundles () at agent.c:572
>> #5  0x0804bdf5 in KeepPromises () at agent.c:263
>> #6  0x0804c1d4 in main (argc=Cannot access memory at address
>> 0xffffffcc) at agent.c:128
>>
>> _______________________________________________
>> Bug-cfengine mailing list
>> Bug-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/bug-cfengine
> 
> 
> _______________________________________________
> Bug-cfengine mailing list
> Bug-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/bug-cfengine

-- 
Mark Burgess

-------------------------------------------------
Professor of Network and System Administration
Oslo University College, Norway

Personal Web: http://www.iu.hio.no/~mark
Office Telf : +47 22453272
-------------------------------------------------
_______________________________________________
Bug-cfengine mailing list
Bug-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to