Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

While Using VPN, it show double of actual speed #35

Closed
afzl-wtu opened this issue May 18, 2022 · 5 comments
Closed

While Using VPN, it show double of actual speed #35

afzl-wtu opened this issue May 18, 2022 · 5 comments

Comments

@afzl-wtu
Copy link

I use wireguard vpn on regualar basis. But whenever I turn it on InternetSpeedMonitor shows Double of the actual download upload speed of the connection.
image
Please fix this issue or add an option to select network interface to monitor in settings.

@Earthling-Z3R0
Copy link

I second wishing for an option to select the NIC.
Thank you for this great extension :)

@afzl-wtu
Copy link
Author

I second wishing for an option to select the NIC. Thank you for this great extension :)

More deatil here:
rishuinfinity/InternetSpeedMonitor#3

@Palatis
Copy link

Palatis commented Apr 22, 2023

depends on what type of VPN you're using.

  1. if the VPN creates a proxy (eg. http, socks) server, no additional traffic is counted (because everything goes through lo and is already filtered).
  2. if the VPN creates a tun/tap interface with custom name, traffic will be counted twice. try direct your VPN software to name the interface according to
    if (fields[0] != "lo" &&
    !fields[0].match(/^ifb[0-9]+/) &&
    !fields[0].match(/^lxdbr[0-9]+/) &&
    !fields[0].match(/^virbr[0-9]+/) &&
    !fields[0].match(/^br[0-9]+/) &&
    !fields[0].match(/^vnet[0-9]+/) &&
    !fields[0].match(/^tun[0-9]+/) &&
    !fields[0].match(/^tap[0-9]+/) &&
    !isNaN(parseInt(fields[1]))) {

see #48

@prateekmedia prateekmedia pinned this issue Apr 23, 2023
@Palatis
Copy link

Palatis commented Apr 23, 2023

maybe add an prefs option to allow user input custom filter might also be a good idea?
i'm not familiar with gnome-shell extension development, maybe someday i'll post a PR.

@mcdemon05
Copy link

Hello.
Cisco AnyConnect makes interface cscotun0
please filter cscotun interfaces

by the way, maybe better add feature that can choose interface for monitoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants