mirror of
https://github.com/spr-networks/super.git
synced 2026-04-25 12:55:52 +03:00
[GH-ISSUE #262] Outbound traffic view empty #105
Labels
No labels
blocked
bug
documentation
enhancement
fixed
fixed ✅
hardening
implemented
installer
multicast
p1
p2
pending
podman
pull-request
security
testing
v1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/super#105
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @0vercl0k on GitHub (Jan 15, 2024).
Original GitHub issue: https://github.com/spr-networks/super/issues/262
I've been running into this for the past few days; basically the 'outbound traffic' view is empty (both on iOS & website). I've looked at some of the log and this one might be relevant (from
superdb):@lts-rad commented on GitHub (Jan 15, 2024):
to diagnose:
curl -u admin:admin http://spr.local/traffic_history
curl -u admin:admin http://spr.local/iphistory
do these return 200? data?
table ip accountingif you run "nft list ruleset | less" ?@lts-rad commented on GitHub (Jan 15, 2024):
As for the log configuration log that is expected until a user has customized their events. that error is probably too verbose then. it will use the defaults
@0vercl0k commented on GitHub (Jan 15, 2024):
Okay so hitting
iphistoryreturns a 404,traffic_historydoes return something that looks healthy. I also see atable ip accountingruleset.@lts-rad commented on GitHub (Jan 18, 2024):
so the right function was
iptrafficnotiphistory.curl -u admin:admin http://192.168.2.1/iptrafficon the router you can check:
nft -j list set ip accounting all_ip;
I suspect this is empty for some reason.
@lts-rad commented on GitHub (Jan 18, 2024):
unclear how this would happen. the rules look like this:
@0vercl0k commented on GitHub (Jan 18, 2024):
Hitting
iptrafficseems to return some healthy data, andnft -j list set ip accounting all_ip;as well (it is not empty either) 🤔On Thu, Jan 18, 2024 at 2:53 PM Alex Rad @.***> wrote:
@lts-rad commented on GitHub (Jan 18, 2024):
okay so tracked this down
seems like local_lan is missing the full supernets entries. lets see why this isnt running ons tartup
@lts-rad commented on GitHub (Jan 18, 2024):
startup goes initDHCP-> loadDHCPConfig ->
updateFirewallSubnets(getLANIP(), gDhcpConfig.TinyNets)
its unclear then how this would get out of sync
@lts-rad commented on GitHub (Jan 19, 2024):
closing for now
@0vercl0k commented on GitHub (Jan 21, 2024):
Thanks again for figuring it out!