View Issue Details

IDProjectCategoryView StatusLast Update
0000198easycwmpQuestionpublic2017-02-13 17:56
Reportersuperkid Assigned Tomohamed.kallel  
PriorityurgentSeverityblockReproducibilityalways
Status resolvedResolutionno change required 
PlatformlinuxOSopenwrt 
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.
e-mail notification

Activities

superkid

2017-02-08 03:58

reporter  

easy_out_of_order.cap (7,303 bytes)

superkid

2017-02-09 02:13

reporter   ~0000641

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

superkid

2017-02-09 06:22

reporter   ~0000642

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

superkid

2017-02-09 06:22

reporter  

easy_with_auth.cap (4,179 bytes)

mohamed.kallel

2017-02-09 07:28

administrator   ~0000643

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

and remove the option http100continue_disable from the config

superkid

2017-02-09 08:36

reporter   ~0000644

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

mohamed.kallel

2017-02-09 10:02

administrator   ~0000645

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

And what is the output of the following command:

opkg depends libcurl

superkid

2017-02-09 10:06

reporter  

.config (179,482 bytes)

superkid

2017-02-09 10:06

reporter   ~0000646

libcurl depends on:
    libc
    libpolarssl

.config is attached

mohamed.kallel

2017-02-09 10:12

administrator   ~0000647

what's your openwrt version?

mohamed.kallel

2017-02-09 10:13

administrator   ~0000648

did you made a make clean of packages libcurl and easycwmp

superkid

2017-02-09 10:14

reporter   ~0000649

yes I did. I clean the whole source to be sure, then recompiled again

mohamed.kallel

2017-02-09 10:15

administrator   ~0000650

and also what's your libcurl version?

superkid

2017-02-09 10:27

reporter   ~0000651

version 7.38

mohamed.kallel

2017-02-09 10:27

administrator   ~0000652

your openwrt version too?

superkid

2017-02-09 10:31

reporter   ~0000653

OpenWrt Barrier Breaker 14.07
easycwmp version 1.5.1

mohamed.kallel

2017-02-09 11:26

administrator   ~0000654

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

superkid

2017-02-10 03:23

reporter   ~0000656

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

superkid

2017-02-10 03:24

reporter  

.config2 (179,707 bytes)

superkid

2017-02-10 09:41

reporter   ~0000658

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)

superkid

2017-02-10 09:42

reporter  

with_digest.cap (769,443 bytes)

mohamed.kallel

2017-02-10 09:53

administrator   ~0000659

yes it's available on v1.4.1 and in all easycwmp versions

mohamed.kallel

2017-02-10 11:14

administrator   ~0000660

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