EasyCwmp

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000198easycwmp[All Projects] Questionpublic2017-02-08 03:582017-02-13 17:56
Reportersuperkid 
Assigned Tomohamed.kallel 
PriorityurgentSeverityblockReproducibilityalways
StatusresolvedResolutionno change required 
PlatformlinuxOSopenwrtOS Version
Summary0000198: tcp out of order
DescriptionHi i was testing easycwmp and notice TCP out of order, data capture is attached

is easycwmp using HTTP digest authentication?

also we're using ACS that requires username and password, we changed username and password under local is that correct or should we change the one under config acs?
TagsNo tags attached.
Attached Files? file icon easy_out_of_order.cap [^] (7,303 bytes) 2017-02-08 03:58
? file icon easy_with_auth.cap [^] (4,179 bytes) 2017-02-09 06:22
? file icon .config [^] (179,482 bytes) 2017-02-09 10:06
? file icon .config2 [^] (179,707 bytes) 2017-02-10 03:24
? file icon with_digest.cap [^] (769,443 bytes) 2017-02-10 09:42

- Relationships

-  Notes
(0000641)
superkid (reporter)
2017-02-09 02:13

i already tried the same fix as this issue

http://support.easycwmp.org/view.php?id=196 [^]

but I still cannot connect to ACS with digest auth


easycwmp logs
Wed Feb 8 17:22:21 2017 daemon.notice easycwmpd: external script init
Wed Feb 8 17:22:21 2017 daemon.notice easycwmpd: external: execute inform parameter
Wed Feb 8 17:22:21 2017 daemon.notice easycwmpd: send Inform
Wed Feb 8 17:22:22 2017 daemon.notice easycwmpd: LibCurl Error: The requested URL returned error: 401
Wed Feb 8 17:22:22 2017 daemon.notice easycwmpd: sending http message failed
Wed Feb 8 17:22:22 2017 daemon.notice easycwmpd: sending Inform failed
Wed Feb 8 17:22:22 2017 daemon.notice easycwmpd: external: execute apply service
Wed Feb 8 17:22:22 2017 daemon.notice easycwmpd: external script exit
Wed Feb 8 17:22:22 2017 daemon.notice easycwmpd: end session failed
(0000642)
superkid (reporter)
2017-02-09 06:22

current easycwmp settings

config local
    option interface 'eth0'
    option port '7547'
    option ubus_socket '/var/run/ubus.sock'
    option date_format '%FT%T%z'
    option username 'admin'
    option password 'admin'
    option logging_level '3'

config acs
    option http100continue_disable '1'

I also enabled libraries-> libcurl -> enable cryptographic authentication

attached is our wireshark capture, I'm not sure if easycwmp is sending http with auth
easy_with_auth.cap
(0000643)
mohamed.kallel (manager)
2017-02-09 07:28

Rebuild libcurl and then easycwmp. and then re-install both libcurl and easycwmp.

and remove the option http100continue_disable from the config
(0000644)
superkid (reporter)
2017-02-09 08:36

we already rebuild the whole source and flash it on out device, also removed http100continue_disable from config. still cannot connect to digest ACS server
(0000645)
mohamed.kallel (manager)
2017-02-09 10:02

share your ".config" file. It's under your openwrt sdk.

And what is the output of the following command:

opkg depends libcurl
(0000646)
superkid (reporter)
2017-02-09 10:06

libcurl depends on:
    libc
    libpolarssl

.config is attached
(0000647)
mohamed.kallel (manager)
2017-02-09 10:12

what's your openwrt version?
(0000648)
mohamed.kallel (manager)
2017-02-09 10:13

did you made a make clean of packages libcurl and easycwmp
(0000649)
superkid (reporter)
2017-02-09 10:14

yes I did. I clean the whole source to be sure, then recompiled again
(0000650)
mohamed.kallel (manager)
2017-02-09 10:15

and also what's your libcurl version?
(0000651)
superkid (reporter)
2017-02-09 10:27

version 7.38
(0000652)
mohamed.kallel (manager)
2017-02-09 10:27

your openwrt version too?
(0000653)
superkid (reporter)
2017-02-09 10:31

OpenWrt Barrier Breaker 14.07
easycwmp version 1.5.1
(0000654)
mohamed.kallel (manager)
2017-02-09 11:26

it's a libcurl bug.
You can fix it in the configure.ac of libcurl. The bug is related to the --enable-crypto-auth.

Or you can use a new version of libcurl. the libcurl version of OpenWRT CC works fine
(0000656)
superkid (reporter)
2017-02-10 03:23

Hi, I updated libcurl to 7.50 with enable crypto auth (will attach .config2)
but easycwmp seems to hang, when i try
#easycwmp get
it displays data up to memorystatus then stops
(0000658)
superkid (reporter)
2017-02-10 09:41

I updated libcurl to 7.50 and used openSSL, easycwmp can now connect to digest server, is this feature available on v1.4.1?

Also, we're still having problems with the session. sometimes, tcp session end but cpe still send packets then server sends reset.. any idea? (attached with_digest.cap)
(0000659)
mohamed.kallel (manager)
2017-02-10 09:53

yes it's available on v1.4.1 and in all easycwmp versions
(0000660)
mohamed.kallel (manager)
2017-02-10 11:14

tcp session end but cpe still send packets then server sends reset.. any idea? (attached with_digest.cap)

==> may be your acs conatins script of reset

- Issue History
Date Modified Username Field Change
2017-02-08 03:58 superkid New Issue
2017-02-08 03:58 superkid File Added: easy_out_of_order.cap
2017-02-09 02:13 superkid Note Added: 0000641
2017-02-09 06:22 superkid Note Added: 0000642
2017-02-09 06:22 superkid File Added: easy_with_auth.cap
2017-02-09 07:28 mohamed.kallel Note Added: 0000643
2017-02-09 08:36 superkid Note Added: 0000644
2017-02-09 10:02 mohamed.kallel Note Added: 0000645
2017-02-09 10:06 superkid File Added: .config
2017-02-09 10:06 superkid Note Added: 0000646
2017-02-09 10:12 mohamed.kallel Note Added: 0000647
2017-02-09 10:13 mohamed.kallel Note Added: 0000648
2017-02-09 10:14 superkid Note Added: 0000649
2017-02-09 10:15 mohamed.kallel Note Added: 0000650
2017-02-09 10:27 superkid Note Added: 0000651
2017-02-09 10:27 mohamed.kallel Note Added: 0000652
2017-02-09 10:31 superkid Note Added: 0000653
2017-02-09 11:26 mohamed.kallel Note Added: 0000654
2017-02-10 03:23 superkid Note Added: 0000656
2017-02-10 03:24 superkid File Added: .config2
2017-02-10 09:41 superkid Note Added: 0000658
2017-02-10 09:42 superkid File Added: with_digest.cap
2017-02-10 09:53 mohamed.kallel Note Added: 0000659
2017-02-10 11:14 mohamed.kallel Note Added: 0000660
2017-02-13 17:56 mohamed.kallel Status new => resolved
2017-02-13 17:56 mohamed.kallel Resolution open => no change required
2017-02-13 17:56 mohamed.kallel Assigned To => mohamed.kallel


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker