Upload in IPv6 is without bandwidth control

Shaper related questions
Post Reply
gondim
Posts: 64
Joined: 04 Mar 2016, 14:44

Upload in IPv6 is without bandwidth control

Post by gondim » 23 Dec 2017, 04:52

Hi Dmitry,

Doing my IPoE tests realized that bandwidth control is working on IPv4 but on IPv6, the upload is not controlling.
Downloading on IPv6 is ok but uploading on IPv6 is bypassing the control.

# tc qdisc show dev eth3.668.100
qdisc tbf 1: root refcnt 2 rate 31457Kbit burst 7994b lat 50.0ms
qdisc ingress ffff: parent ffff:fff1 ----------------

# tc filter show dev eth3.668.100 parent ffff:
filter protocol ip pref 100 u32
filter protocol ip pref 100 u32 fh 800: ht divisor 1
filter protocol ip pref 100 u32 fh 800::1 order 1 key ht 800 bkt 0 flowid :1
match 00000000/00000000 at 0
action order 1: skbedit priority :2dd
index 17 ref 1 bind 1

action order 2: mirred (Egress Redirect to device ifb0) stolen
index 16 ref 1 bind 1

eth3.668.100 | ARA_OLT01:0:2:6:FHTT-10b21808:668:100 | d4:6e:0e:a3:e6:72 | 186.xxx.xxx.69 | 31457/31457 | ipoe | | active | 1.15:04:47



I'm using the latest version of git. Can you help me? :)

Best regards,
Attachments
test_ipv6.png
test_ipv6.png (30.83 KiB) Viewed 197 times
test_ipv4.png
test_ipv4.png (29 KiB) Viewed 197 times

gondim
Posts: 64
Joined: 04 Mar 2016, 14:44

Re: Upload in IPv6 is without bandwidth control

Post by gondim » 26 Dec 2017, 13:02

Hi Dmitry,

Does this commit resolve the IPv6 upload bandwidth issue? If so, I'll test here.

(root@accel01)[/usr/local/src/accel-ppp.git]# git pull
remote: Counting objects: 31, done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 19 (delta 16), reused 0 (delta 0)
Unpacking objects: 100% (19/19), done.
From git://git.code.sf.net/p/accel-ppp/code
2e06c8c..4c8340c master -> origin/master
Updating 2e06c8c..4c8340c
Fast-forward
accel-pppd/accel-ppp.conf | 1 +
accel-pppd/accel-ppp.conf.5 | 2 ++
accel-pppd/extra/ipv6pool.c | 24 ++++++++++++++++++++----
accel-pppd/ipv6/dhcpv6.c | 15 +++++++++++----
accel-pppd/ipv6/nd.c | 54 +++++++++++++++++++++++++++++-------------------------
accel-pppd/libnetlink/iputils.c | 34 ++++++++++++++++++++++++++++++++++
accel-pppd/libnetlink/iputils.h | 1 +
7 files changed, 98 insertions(+), 33 deletions(-)

Dmitry
Администратор
Posts: 921
Joined: 09 Oct 2014, 10:06

Re: Upload in IPv6 is without bandwidth control

Post by Dmitry » 26 Dec 2017, 13:40

no
your commit is b8bf4001c5ae882153acc3a3632281c51662866c

gondim
Posts: 64
Joined: 04 Mar 2016, 14:44

Re: Upload in IPv6 is without bandwidth control

Post by gondim » 26 Dec 2017, 16:28

Working now.

Thanks my friend! :)

Best regards.

gondim
Posts: 64
Joined: 04 Mar 2016, 14:44

Re: Upload in IPv6 is without bandwidth control

Post by gondim » 26 Dec 2017, 23:34

Hi Dmitry,

I thought you corrected the bandwidth control but there's something strange going on.
I put the bmon to monitor in real time during the test for you to see.
The problem still continues.
Attachments
test.png
test.png (59.69 KiB) Viewed 138 times

gondim
Posts: 64
Joined: 04 Mar 2016, 14:44

Re: Upload in IPv6 is without bandwidth control

Post by gondim » 27 Dec 2017, 00:08

I think the mistake was mine. I installed the wrong commit from accel-ppp. I'll wait for the dawn to test again and tell you.

Sorry!

gondim
Posts: 64
Joined: 04 Mar 2016, 14:44

Re: Upload in IPv6 is without bandwidth control

Post by gondim » 27 Dec 2017, 03:29

Hi Dmitry,

The commit did not even work. This time I did the right commit but the problem still persists.

# grep version /var/log/accel-ppp/accel-ppp.log
[2017-12-14 11:37:29]: msg: accel-ppp version 1.11.2
[2017-12-14 12:21:17]: msg: accel-ppp version 1.11.2
[2017-12-14 12:24:06]: msg: accel-ppp version 1.11.2
[2017-12-14 12:26:22]: msg: accel-ppp version 1.11.2
[2017-12-14 12:28:24]: msg: accel-ppp version 1.11.2
[2017-12-14 12:33:11]: msg: accel-ppp version 1.11.2
[2017-12-15 14:32:09]: msg: accel-ppp version 439d11a7424ee4b166d58754193185d4a778307d
[2017-12-19 12:16:43]: msg: accel-ppp version 439d11a7424ee4b166d58754193185d4a778307d
[2017-12-20 12:32:21]: msg: accel-ppp version 439d11a7424ee4b166d58754193185d4a778307d
[2017-12-21 11:46:49]: msg: accel-ppp version 2e06c8c9278ab283907f3bb9d1fa28c5edb5f1e4
[2017-12-26 12:11:37]: msg: accel-ppp version 4c8340c4abe04d896de8e0a190ec412d4ce4f30f
[2017-12-27 01:19:56]: msg: accel-ppp version b8bf4001c5ae882153acc3a3632281c51662866c

I am using the commit b8bf4001c5ae882153acc3a3632281c51662866c

Dmitry
Администратор
Posts: 921
Joined: 09 Oct 2014, 10:06

Re: Upload in IPv6 is without bandwidth control

Post by Dmitry » 27 Dec 2017, 08:43

try last git commit

gondim
Posts: 64
Joined: 04 Mar 2016, 14:44

Re: Upload in IPv6 is without bandwidth control

Post by gondim » 27 Dec 2017, 10:25

Perfect!!! Working now. :)

Thnx Dmitry and best regards.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest