Thank You Andrew,
this is the ngrep output:
-----Original Message----- From: Andrei Pelinescu-Onciul [mailto:pelinescu-onciul@fokus.fraunhofer.de] Sent: vrijdag 16 juli 2004 17:22 To: Bart Van Daal Cc: serusers@lists.iptel.org Subject: Re: [Serusers] NAT vs. NoNat authentication
On Jul 16, 2004 at 13:38, Bart Van Daal B.Vandaal@edpnet.net wrote:
Hi,
Is there a difference in authenticating a natted or
non-nated UA using
www_authen? The reason i'm asking is because when my UA is directly connected to the internet it authenticates fine but when
NATed I get
the following error:
parse_headers: flags=4096 0(12877) pre_auth(): Credentials with given realm not found 0(12877) ---:: didn't authorize 0(12877) build_auth_hf(): 'WWW-Authenticate: Digest realm="ser.edpnet.net",
nonce="40f7be4edbd22e214821f2a3937968fc049ae290" '
0(12877) parse_headers: flags=-1
This is normal if it happens only for the first request. Your UA sends the first request without auth. info., the server sends back a negative reply with and auth. header and then your UA is supposed to retry to send the request with proper auth.
In the future please include network dumps.
Andrei