[luci] Patch: include both directions in connection tracking packet/bytes counts
Oliver Jowett
oliver.jowett at gmail.com
Sat Apr 5 14:10:30 CEST 2014
Hi
trac seems to have eaten the ticket I tried to raise for this, so posting
this here instead..
The current "realtime connections" page (that scrapes info from
nf_conntrack / ip_conntrack) only counts one direction of each connection
when providing traffic counters.
The attached patch fixes this so that both directions are counted.
I rarely write lua, so this may need some cleanup!
Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsignal.org/pipermail/luci/attachments/20140405/bff673cf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: luci-conntrack-count-both-directions.patch
Type: text/x-patch
Size: 2106 bytes
Desc: not available
URL: <http://lists.subsignal.org/pipermail/luci/attachments/20140405/bff673cf/attachment.bin>
More information about the luci
mailing list