When you launch darkstat -i tun0, you will see an error: unknown linktype 12 Reproducible: Always
Created attachment 175632 [details, diff] Adds support for openvpn tun interfaces to darkstat
Created attachment 175634 [details, diff] Ebuild, using patch posted before
I've wrote patch, fixing this problem.
Reassigning to netmon herd. Anton, did you send this patch upstream as well?
(In reply to comment #4) > Reassigning to netmon herd. > > Anton, did you send this patch upstream as well? > Yes i did. I've sent it to darkstat developer.
(In reply to comment #4) > Reassigning to netmon herd. > Anton, did you send this patch upstream as well? well, darkstat developer has accepted my patch: ***EMAIL*** On Thu, Dec 18, 2008 at 02:20:28AM +0600, Anton S. Ustyuzhanin wrote: > Hi Emil! > > I wrote little patch for your darkstat. > This patch makes possible to gather statistic from > OpenVPN TUN interfaces. > It uses DLT_RAW datalink. > > When i tried to run darkstat -i tun0, i saw error: unknown linktype 12, > so i wrote this patch. May be you will accept it for future version of darkstat. Looks good! Thanks for doing this, it'll be in the next release! For now it's in my private git repo: $ git clone http://dmr.ath.cx/git/darkstat-wip --Emil ***END OF EMAIL***
Thank you Anton. Updated darkstat version with this patch was added to the tree.