Size: a a a

2020 March 06

E@

Emanuel @arianyquerovoce in Accel-PPP
Did any colleague successfully use FWMARK?
Here I am trying to do a test marking an IP destination so that it does not go through the Accel SHAPER.
The problem is that Accel's QoS is not recognized as packet marking!
Alga managed to make or fwmark work?
источник

E@

Emanuel @arianyquerovoce in Accel-PPP
iptables -A FORWARD -t mangle -j CONNMARK --restore-mark
iptables -A FORWARD -t mangle -m mark ! --mark 0 -j ACCEPT
iptables -A FORWARD -t mangle -s IP_DESTINATION/32 -j MARK --set-mark 38
iptables -A FORWARD -t mangle -d IP_DESTINATION/32 -j MARK --set-mark 38
iptables -A FORWARD -t mangle -j CONNMARK --save-mark
источник

D

Dimka88 in Accel-PPP
Hi @EmanuelMCunha fwmark works only for client download
источник

D

Dimka88 in Accel-PPP
Do you see iptables counters?
iptables -t  mangle -L -n -v
источник

E@

Emanuel @arianyquerovoce in Accel-PPP
Yes Counters score perfectly!
источник

D

Dimka88 in Accel-PPP
Show me, and also provide [shaer] section
источник

E@

Emanuel @arianyquerovoce in Accel-PPP
The strangest and that in command:
tc filter show
dont show nothing!
источник

E@

Emanuel @arianyquerovoce in Accel-PPP
[shaper]
verbose=1
vendor=Cisco
attr=Cisco-AVPair
#attr=Filter-Id
ifb=ifb0
#up-limiter=police
up-limiter=htb
down-limiter=tbf
fwmark=38
источник

D

Dimka88 in Accel-PPP
use htb for down-limiter if you want using fwmark
источник

D

Dimka88 in Accel-PPP
which attributes recived from radius?
источник

E@

Emanuel @arianyquerovoce in Accel-PPP
Dimka88
which attributes recived from radius?
источник

D

Dimka88 in Accel-PPP
show me log, with entry shaper installed
источник

E@

Emanuel @arianyquerovoce in Accel-PPP
Dimka88
show me log, with entry shaper installed
debug.log ?
источник

D

Dimka88 in Accel-PPP
no, just accel-ppp log with level=5 =)
источник

E@

Emanuel @arianyquerovoce in Accel-PPP
[2020-03-06 14:36:57.213] ppp0: 78BD3EFC07C8BAC6: connect: ppp0 <--> pppoe(c2:bc:93:71:8a:48)
[2020-03-06 14:36:57.213] ppp0: 78BD3EFC07C8BAC6: ppp connected
[2020-03-06 14:36:57.213] ppp0: 78BD3EFC07C8BAC6: send [PAP AuthAck id=1c "Authentication succeeded"]
[2020-03-06 14:36:57.214] ppp0: 78BD3EFC07C8BAC6: auth_layer_started
[2020-03-06 14:36:57.214] ppp0: 78BD3EFC07C8BAC6: ccp_layer_start
[2020-03-06 14:36:57.214] ppp0: 78BD3EFC07C8BAC6: ipcp_layer_start
[2020-03-06 14:36:57.214] ppp0: 78BD3EFC07C8BAC6: send [IPCP ConfReq id=77 <addr 10.255.255.255>]
[2020-03-06 14:36:57.214] ppp0: 78BD3EFC07C8BAC6: ipv6cp_layer_start
[2020-03-06 14:36:57.214] ppp0: 78BD3EFC07C8BAC6: SUPORTE: authentication succeeded
[2020-03-06 14:36:57.215] ppp0: 78BD3EFC07C8BAC6: recv [IPCP ConfReq id=21 <addr 0.0.0.0> <dns1 0.0.0.0> <dns2 0.0.0.0>]
[2020-03-06 14:36:57.215] ppp0: 78BD3EFC07C8BAC6: send [IPCP ConfNak id=21 <addr 177.***.***.***> <dns1 8.8.8.8> <dns2 8.8.4.4>]
[2020-03-06 14:36:57.215] ppp0: 78BD3EFC07C8BAC6: recv [IPV6CP ConfReq id=21 <addr 0:0:0:3>]
[2020-03-06 14:36:57.215] ppp0: 78BD3EFC07C8BAC6: send [IPV6CP ConfReq id=5c <addr 100:0:0:0>]
[2020-03-06 14:36:57.215] ppp0: 78BD3EFC07C8BAC6: send [IPV6CP ConfNak id=21 <addr 200:0:0:0>]
[2020-03-06 14:36:57.216] ppp0: 78BD3EFC07C8BAC6: send [LCP ProtoRej id=30 <8281>]
[2020-03-06 14:36:57.216] ppp0: 78BD3EFC07C8BAC6: recv [IPCP ConfAck id=77 <addr 10.255.255.255>]
[2020-03-06 14:36:57.216] ppp0: 78BD3EFC07C8BAC6: recv [IPCP ConfReq id=22 <addr 177.***.***.***> <dns1 8.8.8.8> <dns2 8.8.4.4>]
[2020-03-06 14:36:57.216] ppp0: 78BD3EFC07C8BAC6: send [IPCP ConfAck id=22]
[2020-03-06 14:36:57.217] ppp0: 78BD3EFC07C8BAC6: ipcp_layer_started
[2020-03-06 14:36:57.217] ppp0: 78BD3EFC07C8BAC6: recv [IPV6CP ConfAck id=5c <addr 100:0:0:0>]
[2020-03-06 14:36:57.217] ppp0: 78BD3EFC07C8BAC6: recv [IPV6CP ConfReq id=22 <addr 200:0:0:0>]
[2020-03-06 14:36:57.217] ppp0: 78BD3EFC07C8BAC6: send [IPV6CP ConfAck id=22]
[2020-03-06 14:36:57.217] ppp0: 78BD3EFC07C8BAC6: ipv6cp_layer_started
[2020-03-06 14:36:57.217] ppp0: 78BD3EFC07C8BAC6: radius(1): req_enter 1
[2020-03-06 14:36:57.217] ppp0: 78BD3EFC07C8BAC6: send [RADIUS(1) Accounting-Request id=1 <User-Name "SUPORTE"> <NAS-Identifier "accel01"> <NAS-IP-Address 172.16.255.5> <NAS-Port 0> <NAS-Port-Id "ppp0"> <NAS-Port-Type Virtual>
<Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "c2:bc:93:71:8a:48"> <Called-Station-Id "a2:07:23:52:fe:ec"> <Acct-Status-Type Start> <Acct-Authentic RADIUS> <Acct-Session-Id "78BD3EFC07C8BAC6">
<Acct-Session-Time 0> <Acct-Input-Octets 0> <Acct-Output-Octets 0> <Acct-Input-Packets 0> <Acct-Output-Packets 0> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address 177.***.***.***>
<Framed-Interface-Id 200:0:0:0> <Framed-IPv6-Prefix 28*******::/64>]
[2020-03-06 14:36:57.221] ppp0: 78BD3EFC07C8BAC6: radius(1): req_exit 0
[2020-03-06 14:36:57.221] ppp0: 78BD3EFC07C8BAC6: recv [RADIUS(1) Accounting-Response id=1]
[2020-03-06 14:36:57.222] ppp0: 78BD3EFC07C8BAC6: shaper: installed shaper 26000/66000 (Kbit)
[2020-03-06 14:36:57.222] ppp0: 78BD3EFC07C8BAC6: pppoe: ppp started
источник

D

Dimka88 in Accel-PPP
note for history: after daemon restart all work
источник

D

Dimka88 in Accel-PPP
Нужно наверное указать что fwmark работает только с htb
источник
2020 March 07

E@

Emanuel @arianyquerovoce in Accel-PPP
Есть ли способ использовать параметры Mikrotik в ускорении? Я видел, что есть патч для преобразования значений Mikrotik в стандарт Accel. Существуют негибкие системы, которые отправляют только параметры микротика.
источник

E@

Emanuel @arianyquerovoce in Accel-PPP
Is there any way to use Mikrotik parameters in the accel? I saw that there is a patch to convert Mikrotik values to the Accel standard. There are some non-flexible systems that only send mikrotik parameters.
источник

D

Dimka88 in Accel-PPP
Emanuel @arianyquerovoce
Is there any way to use Mikrotik parameters in the accel? I saw that there is a patch to convert Mikrotik values to the Accel standard. There are some non-flexible systems that only send mikrotik parameters.
Yes, it is possible with [shaper]vendor=Mikrotik
источник