[Sofia-sip-devel] [ sofia-sip-Bugs-3146414 ] Expired contact entries are never discarded

2011-01-10 Thread SourceForge.net
Bugs item #3146414, was opened at 2010-12-27 19:24
Message generated for change (Comment added) made by ppessi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=756076aid=3146414group_id=143636

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: Fixed
Priority: 7
Private: No
Submitted By: Mikhail Zabaluev (mzabaluev)
Assigned to: Nobody/Anonymous (nobody)
Summary: Expired contact entries are never discarded

Initial Comment:
As reported in:

https://bugs.maemo.org/show_bug.cgi?id=8615
https://bugs.freedesktop.org/show_bug.cgi?id=32615

When two sofia-sip stacks meet each other, one as the UA and the other as a 
proxy, they happily accumulate outdated Contact headers without end.

--

Comment By: Pekka Pessi (ppessi)
Date: 2011-01-11 00:34

Message:
Proposed fix merged to git.

--

Comment By: Mikhail Zabaluev (mzabaluev)
Date: 2010-12-29 17:42

Message:
A fix is offered for review at
http://gitorious.org/sofia-sip/sofia-sip/merge_requests/4

--

Comment By: Mikhail Zabaluev (mzabaluev)
Date: 2010-12-28 21:46

Message:
Could be simple, though, in outbound_register_response:

  ob-ob_rcontact = sip_contact_dup(ob-ob_home,
request-sip_contact);

This is a copy of all contact headers present in the request. It then goes
on to populate any REGISTER request in the same dialog usage.

--

Comment By: Mikhail Zabaluev (mzabaluev)
Date: 2010-12-28 21:02

Message:
Marking down a suspicious place where accumulation of headers may occur:

nua/nua_stack.c, line 629:  nua_stack_authenticate(nua, nh, event, tags);

The client request can be restarted with event tags added directly to
cr_msg in the client request structure. This is probably not the case where
the proxy sends us contact headers, though.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=756076aid=3146414group_id=143636

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] Link error on visual studio 2008

2011-01-10 Thread Pekka Pessi
Hi,

2010/12/28 Philippe Maymat pmay...@keyyo.com:
 I found a solution, the file string.c is not included in the project and
 contains all missing definitions.

Oops, the dll projects were not updated. I've added them to the git version.

 Now my problem is a crash on line 550 in nua_client.c when subscribing.
 The same code works fine on linux, so I try to find the difference ...

Any news?

--Pekka

-- 
Pekka.Pessi mail at nokia.com

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] Memory allocation problem on windows, Sorry It s nua_stack.c file :)

2011-01-10 Thread Pekka Pessi
Hi Philippe,

2010/12/29 Philippe Maymat pmay...@keyyo.com:
 I made several modifications to compile cotrrectly the SOFIA-SIP project
 with Visual studio 8. There is mistakes on both project files for static
 and dynamic library on line 4305 and 3216. There was /files/files
 instead of /files. With this modification the XML is valid and the
 project cn be loaded.

Thanks for reporting this, I've fixed the problem.

I need to add smoothsort.c in static lib project which is
 forgotten too.

...and added this one, too.

 Now it works but It seem I have a big memory leak, software crash during
 subscribe...

 My project works well on linux (QT project) and it is the same revision
 of SOFIA-SIP
 I use th version from this repository :
 git://gitorious.org/sofia-sip/sofia-sip.git
 Is it correct ?
 Because I do not had problem with the old cvs version but this doesn't
 work for me on windows ...
 Now I try to debug and find why it crashes, but it's very hard ... I
 often have error in nta.c line 2388 because of a corrupted content in
 strucures.

 I have this problem in both static and dynamic lib linking

Can you run the test cases? The check.cmd script should run them.

-- 
Pekka.Pessi mail at nokia.com

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] [sofia-sip-devel] digest authorization using HA1 directly

2011-01-10 Thread Pekka Pessi
Hi Paulo,

2010/12/18 Paulo Vicentini vicentini.pa...@gmail.com:
 Thanks for your tips
 If It uses a Digest-HA1 scheme, it would need to receive the same from the
 registrar server (matching schemes). It would be good to be server agnostic
 (Digest)
 int ca_credentials(...
 ... ...
 if ((scheme != NULL  !su_casematch(scheme, ca-ca_scheme)) ||
 (realm != NULL  !su_strmatch(realm, ca-ca_realm)))
 return 0;

 It needs to somehow to ignore above code, maybe checking for Digest-HA1

Yes, the ca_credentials should somehow magically match the
Digest-HA1 with Digest, and somehow store the HA1 in the
auth_client_t structure so that the digest algorithm itself would
recognize the HA1. The current authentication client design does not
support that very well.

-- 
Pekka.Pessi mail at nokia.com

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel