lantern icon indicating copy to clipboard operation
lantern copied to clipboard

Track country of traffic on servers

Open myleshorton opened this issue 11 years ago • 8 comments

myleshorton avatar Dec 30 '14 04:12 myleshorton

As part of this, I'm tracking both the client's country and the destination port.

To do this, I introduced a new stat:

bytesGivenTo

This reports bytes given to the respective country.

oxtoacart avatar Jan 02 '15 17:01 oxtoacart

I've also updated statshub to start archiving the destport dimension hourly.

oxtoacart avatar Jan 02 '15 17:01 oxtoacart

Nice!

On Fri, Jan 2, 2015 at 9:19 AM, oxtoacart [email protected] wrote:

I've also updated statshub to start archiving the destport dimension hourly.

— Reply to this email directly or view it on GitHub https://github.com/getlantern/lantern/issues/2122#issuecomment-68543707.

President Brave New Software Project, Inc. https://www.getlantern.org pgp A998 2B6E EF1C 373E 723F A813 045D A255 901A FD89

myleshorton avatar Jan 02 '15 17:01 myleshorton

Thanks! Once the PR is merged, I'll push to a couple of flashlight servers and if that looks good after a day, I'll push to all of them.

FYI - I ended up building this off the tcpproxying branch because I didn't want to have to touch the code twice, and the server-side API is a little different from devel.

oxtoacart avatar Jan 02 '15 17:01 oxtoacart

Merged and deployed to all flashlight servers.

oxtoacart avatar Jan 05 '15 03:01 oxtoacart

Just noticed that this ticket is closed – @oxtoacart should it be moved to devel? (Or since it's server-side, should it not be? @adamfisk what's the best place to put stuff that's finished that isn't part of a client-side beta release?)

scouttle avatar Jan 06 '15 19:01 scouttle

I would just put it in devel just to keep things simple. I don't think anyone's going through our closed tickets closely enough to really get upset with this.

myleshorton avatar Jan 06 '15 19:01 myleshorton

Moved to devel.

oxtoacart avatar Jan 06 '15 21:01 oxtoacart