Hi Michal!
One bug is gone another occours:
xlog("L_ERR","(a)tls.peer.not_before %(a)tls.peer.not_before
Certificate validity start\n");
xlog("L_ERR","(a)tls.peer.not_after %(a)tls.peer.not_after
Certificate validity end\n");
xlog("L_ERR","(a)tls.my.not_before %(a)tls.my.not_before
Certificate validity start\n");
xlog("L_ERR","(a)tls.my.not_after %(a)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[(a)tls.peer.not_before
%(a)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[(a)tls.peer.not_after
%(a)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[(a)tls.my.not_before
%(a)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","(a)tls.peer = %(a)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(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers