[Users] Re: proxy authorization required sent to the wrong port

samuel samu60 at gmail.com
Thu Sep 28 09:21:12 CEST 2006


In the  old version you've got the next lines:

if( nat_uac_test( "19" ) ) {
		fix_nated_contact();
		if ( ! search( "^Content-Length:\ 0" ) ) {
			fix_nated_sdp( "3" );
		};
		force_rport();
		setflag( 6 );
	};

BEFORE the proxy_authorize call which means that you will use rport in
the challenge and returned the reply to the port the request came
from.

In the new version, you moved these lines AFTER the proxy_authorize
and therefore there is no rport/fix_* in the digest authorization
message exchange.


So:

Reorder the NAT detection&solution BEFORE the proxy_authorize call.

Samuel.

2006/9/27, Benko <benkokakao at gmail.com>:
> sorry for the attachments, here they are as txt-files...
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>
>




More information about the sr-users mailing list