Hi,
All very good questions! Some thoughts, below. Thanks for all your help! ... Russell On Wed, Mar 17, 2010 05:01 PM, David Sommerseth <openvpn.l...@topphemmelig.net> wrote: > On 17/03/10 22:40, open...@rkmorris.us wrote: > > Hi, > > > > > > > > I'm running OpenVPN (client) on Windows - connecting to a Linux Server. > > I'm presuming you're connecting to the management interface on the Linux > server. >> Russell: No, on the local client (i.e. on Windows). This avoids having to >> send information over the link (=wasted bandwidth, and lower speed). > > > > I am wondering if a value isn't reported if there is no traffic - that > > could be part of this > > I have a feeling this is the reality. As I don't see any timer alarms > scheduled in the management part of the code. So I need to see this > more in connection with the main part of the event loop code. But I > believe this is the case. >> Russell: Understood - if it is please just let me know. > > > (though it would be better to report information anyways). > > > > Make sense? > > Yeah, I can see your point. But isn't the information going to be > rather useless if it hasn't changed? If there is no change, no need to > dump the same info once again. What do you think? >> Russell: I understand your point, but I'm also wanting to show transfer >> rate, and plot the data (which would be easiest if the data arrives >> uniformly). Not a huge issue, but I would to at least like to understand why >> this is the case. I guess if this is the way it works it should at least be >> captured in the documentation for the Management Interface, right? > > > kind regards, > > David Sommerseth > > > > > On Wed, Mar 17, 2010 04:01 PM, David Sommerseth > > <openvpn.l...@topphemmelig.net> wrote: > > > > > >> > > On 17/03/10 20:46, open...@rkmorris.us wrote: > >>> Hi, > >>> > >>> I am trying to write an application that monitors traffic over an OpenVPN > >>> link - by using bytecount information from the management interface. > >>> However, after I telnet in, and enter "bytecount 1" (for 1 second > >>> updates), I find that the real-time bytecount updates are not really > >>> every second. They seem to be initially, but soon slow down (to an update > >>> every 5-10 seconds). > >>> > >>> Is this expected, or a known issue? > >> > >> Hi, > >> > >> I'd say this is probably unexpected. But I'd like to know a little bit > >> more about your setup. What kind of OS are you running OpenVPN? > >> > >> It sounds like your OpenVPN process get lower priority somehow. But it > >> could also be that it is dependent on the amount of traffic passing over > >> the tunnel. I'll dig more into the code to see if there are some > >> oddities there before concluding. > >> > >> > >> kind regards, > >> > >> David Sommerseth > >> > >