Hi *,
Do you know of some dns server having some EBL records, that I can use
for testing? (just a few queries)
I'm writing right now EBL support for sip-router (the main differences
from k are that dns caching EBLs is supported too and this requires a
more compact structure without fixed size arrays).
BTW: there seem to be 2 small bugs in the k code:
dns_ebl_parser(...):
1.
len = *rdata;
^^^^^^^^^^^^ this is the position and not the len
if (rdata + 1 + len >= end)
^^^^^^^^^^^^^^^^^^^^^^^^^^ len being the position this is useless
it should be something like:
if (((rdata+4)>end)||((rdata+1+1+rdata[1]+2)>end)) goto error;
(4 being the minimum size for an ebl and the other expression
being ebl with minimum apex)
2.
ebl->apex_len=dn_expand(msg, end, rdata, ebl->apex, MAX_DNS_NAME-1);
^^^^^^^^^ dn_expand returns the compressed len so this should
be replaced by ebl->apex_len=strlen(ebl->apex).
Also why >= instead of >?
Andrei
Jason Penton writes:
> Has anyone else noted poor stability with the mi_xmlrpc MI interface? We are
> noticing that after a while (very little load) it stop responding.
there has been reports like that also earlier. i personally have not
noticed that.
the library was somewhat hacked when it was include in openser and i
don't think it has been upgraded since then.
perhaps sip-router core will have a more robust implementation of xmlrpc
server?
-- juha
Module: sip-router
Branch: master
Commit: a633737cf21a9581f1238067ba6c331bad93ab85
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a633737…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Tue Mar 31 19:26:41 2009 +0200
Merge branch 'ser_core_cvs' of ssh://git.sip-router.org/sip-router
* 'ser_core_cvs' of ssh://git.sip-router.org/sip-router:
dns: minor fixes
Static buffer is resetted before calling the route block -- Thanks to Jan.
Missing include is added.
Conflicts:
modules/tm/t_suspend.c : sip-router version uses
i run_top_route()
---