[Top] [All Lists]

Re: freecwmp client sending TCP FIN

Subject: Re: freecwmp client sending TCP FIN
From: akhil garg <>
Date: Wed, 13 Mar 2013 13:00:57 +0000
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=8tgrq4ZgQ7kG6K5PqRU+O2LvKpHuJNQaXVRifG89sBQ=; b=a79HJU4FktJZV+shR/AEN1BGoTtNXJyozDWMiSuzd/SuyIF1bf6klzrVnZtszo1j11 Cv14dZk6cRHzgGtu+QFgCmCgPdU6LToG4C484J0shh9kg9zpG6S9uBifEqSxbnFwAkJT 6GvOsISd9rbO1h4ADMv0PgRg23I95CZo4A9XaUsJeC2KulA5yH/jdfNP5OFVSPHGn1QP 7ENfOyqNfuUMb4xorPG1ZiB3Cm1wnEr1mOR0WQyy9iEruylq4sTKGPgPYQZu3rplRtKe RFLGshvFiAt/w4aZ+BANaLTxsYkLCqmK9dwPBKVTknmcdwF5/Iq5vvenrNeeEYynI0NO KVsQ==
In-reply-to: <>
Original-recipient: rfc822;
References: <> <20130311163109-25406@mutt-kz> <>
Hi Luka,
After reverting back the "Digest Authentication" PATCH I could proceed further.
Now I face other issue while executing GetRPCMethods.
xml_recreate_namespace() in file xml.c is failing.
This function is not able to find the attribute names "SOAP-ENV" and
"SOAP-ENC" in the RPC below

<?xml version="1.0" encoding="UTF-8"?>
<cwmp:ID SOAP-ENV:mustUnderstand="1">62</cwmp:ID>

Just to proceed further I have hardcoded the following lines in the
function xml_recreate_namespace
        ns.soap_env = strdup("SOAP-ENV");
        ns.soap_enc = strdup("SOAP-ENC");
        ns.xsd = NULL;
        ns.xsi = NULL;
        ns.cwmp = strdup("cwmp");
        return 0;


On Tue, Mar 12, 2013 at 8:54 AM, akhil garg <> wrote:
> Hi Luka,
> Please find attached the wireshark capture and console logs attached.
> I observe that CPE is sending SYN and starting new http session after
> receiving InformResponse.
> then ACS is sending GetRPCMethods in http response with content-length=379
> Console Logs show that HTTP Response received with content-length=379
> but Console logs not showing GetRPCMethods Envelope and also the CPE
> is not sending GetRPCMethodsResponse.
> Regards,
> Akhil
> On Mon, Mar 11, 2013 at 4:31 PM, Luka Perkov <> wrote:
>> Hi Akhil,
>> On Mon, Mar 11, 2013 at 12:00:42PM +0000, akhil garg wrote:
>>> I have configured GetRPCMethods RPC on my ACS.
>>> freecwmp client sends INFORM and receives INFORMResponse. Its fine.
>>> but just after it freecwmp sends TCP FIN and terminates the session
>>> with ACS without giving a chance to the ACS to send the RPC
>>> GetRPCMethods.
>> I would like to see the capture.
>> Luka
> --
> regards,
> akhil


<Prev in Thread] Current Thread [Next in Thread>