Hi Michal!
One bug is gone another occours:
xlog("L_ERR","@tls.peer.not_before %@tls.peer.not_before Certificate validity start\n"); xlog("L_ERR","@tls.peer.not_after %@tls.peer.not_after Certificate validity end\n"); xlog("L_ERR","@tls.my.not_before %@tls.my.not_before Certificate validity start\n"); xlog("L_ERR","@tls.my.not_after %@tls.my.not_after Certificate validity end\n");
causes:
BUG: select.c:100: Unable to resolve select at level 2 ERROR: xl_lib.c:1504: xlog: xl_parse_format: error while resolve_select XLOG:xdbg_fixup: ERROR: wrong format[@tls.peer.not_before %@tls.peer.not_before Certificate validity start ]
BUG: select.c:100: Unable to resolve select at level 2 ERROR: xl_lib.c:1504: xlog: xl_parse_format: error while resolve_select XLOG:xdbg_fixup: ERROR: wrong format[@tls.peer.not_after %@tls.peer.not_after Certificate validity end ]
BUG: select.c:100: Unable to resolve select at level 2 ERROR: xl_lib.c:1504: xlog: xl_parse_format: error while resolve_select XLOG:xdbg_fixup: ERROR: wrong format[@tls.my.not_before %@tls.my.not_before Certificate validity start ]
regards klaus
Michal Matyska wrote:
Hi,
there was problem when xlog's select was resolving the structure and tried to free block which was not allocated... the string was inside bigger block.
Please update select.c from CVS or apply attached patch.
Michal
On Thu, Feb 23, 2006 at 11:58:25AM +0100, Klaus Darilion wrote:
Hi Michal!
I've update my CVS copy and now xlog with @tls works. But I've found a new problem:
This works fine: xlog("L_ERR","@tls = %@tls (String description of the TLS layer)\n");
This causes a bug when starting ser: xlog("L_ERR","@tls.peer = %@tls.peer (Peer certificate subject common name)\n");
I've attached the relevant log output when parsing these two xlog statements. I do not know if this is a bug in xlog or tls module.
regards klaus
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers