ovh / overthebox-feeds

OverTheBox - LEDE/OpenWrt feed
https://www.ovhcloud.com/fr/internet/overthebox/
GNU General Public License v3.0
106 stars 37 forks source link

OTB Overview pas de Download MAX #1103

Closed BenoitAnastay closed 4 years ago

BenoitAnastay commented 4 years ago

Tout les Download MAX son affiché a 0bit

Voila le retour de /cgi-bin/luci/admin/glorytun/path, tout les rate_rx sont a 0, dans ma configuration ce n'est pas le cas et l'aggregation fonctionne correctement avec les bons débits, ce n'est qu'un défaut d'affichage

[{"peer":{"ipaddr":"1.1.1.1","port":5006},"mtu":1448,"rate_rx":0,"rate_tx":112500,"rtt":47.389000000000003,"state":"UP","total_rx":1500000,"bind":{"ipaddr":"1.1.1.1","port":5006},"status":"OK","public":{"ipaddr":"1.1.1.1","port":5006},"rttvar":0.40000000000000002,"total_tx":30164},{"peer":{"ipaddr":"1.1.1.1","port":5006},"mtu":1448,"rate_rx":0,"rate_tx":125000,"rtt":26.559999999999999,"state":"UP","total_rx":2000000,"bind":{"ipaddr":"1.1.1.1","port":5006},"status":"OK","public":{"ipaddr":"1.1.1.1","port":5006},"rttvar":0.26800000000000002,"total_tx":96333},{"peer":{"ipaddr":"1.1.1.1","port":5006},"mtu":1448,"rate_rx":0,"rate_tx":625000,"rtt":22.273,"state":"UP","total_rx":12500000,"bind":{"ipaddr":"192.168.0.10","port":5006},"status":"OK","public":{"ipaddr":"1.1.1.1","port":5006},"rttvar":0.49299999999999999,"total_tx":216751}]

Résultat de la commande glorytun path

path UP
  status:  OK
  bind:    1.1.1.1 port 5006
  public:  1.1.1.1 port 5006
  peer:    1.1.1.1 port 5006
  mtu:     1448 bytes
  rtt:     47.338 ms
  rttvar:  0.252 ms
  tx:
    rate:  112500 bytes/sec
    loss:  0 percent
    total: 33364 packets
  rx:
    rate:  1500000 bytes/sec
    loss:  0 percent
    total: 24076 packets
path UP
  status:  OK
  bind:    1.1.1.1 port 5006
  public:  1.1.1.1 port 5006
  peer:    1.1.1.1 port 5006
  mtu:     1448 bytes
  rtt:     26.613 ms
  rttvar:  0.257 ms
  tx:
    rate:  125000 bytes/sec
    loss:  0 percent
    total: 99588 packets
  rx:
    rate:  2000000 bytes/sec
    loss:  0 percent
    total: 101497 packets
path UP
  status:  OK
  bind:    1.1.1.1 port 5006
  public:  1.1.1.1 port 5006
  peer:    1.1.1.1 port 5006
  mtu:     1448 bytes
  rtt:     22.280 ms
  rttvar:  0.356 ms
  tx:
    rate:  625000 bytes/sec
    loss:  0 percent
    total: 222541 packets
  rx:
    rate:  12500000 bytes/sec
    loss:  0 percent
    total: 302460 packets

On constate que la valeur qui est censé être dans rate_rx se retrouve dans total_rx

PR : https://github.com/ovh/overthebox-feeds/pull/1102

Avant FireShot Capture 002 - OverTheBox - Overview - LuCI - 192 168 100 1 Après FireShot Capture 003 - OverTheBox - Overview - LuCI - 192 168 100 1