Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
c6be45a
added sink for core flows
Tbaile Dec 9, 2025
d2aeb4d
now ui compiles directly on openwrt
Tbaile Jan 21, 2026
d510306
added ns-monitoring package
Tbaile Jan 22, 2026
6d0a3ee
forgot config
Tbaile Jan 22, 2026
702ed2e
added restart and enable
Tbaile Jan 23, 2026
8cc17be
added respawn
Tbaile Jan 26, 2026
cbd67dc
forgot flows api
Tbaile Jan 26, 2026
fc22f78
updated version
Tbaile Jan 27, 2026
bdb7762
version bump
Tbaile Jan 27, 2026
f3979c0
fixed data
Tbaile Jan 27, 2026
b20b89c
version
Tbaile Jan 27, 2026
e92a4eb
monitoring version push
Tbaile Feb 3, 2026
03a7f4b
flows configuration
Tbaile Feb 12, 2026
1ffa4f7
adapted to new behaviour
Tbaile Feb 18, 2026
cf0dde7
added sorting and more
Tbaile Feb 23, 2026
53c0455
fix: last page min, flows if error
Tbaile Feb 23, 2026
358586c
reverting errors
Tbaile Feb 23, 2026
ef241f9
refactor: moved flows plugins into ns-monitoring, new versions
Tbaile Feb 24, 2026
4d18411
fixed missing directory
Tbaile Feb 25, 2026
21f673d
updated ui
Tbaile Feb 25, 2026
b9a075c
added badge generation from backend
Tbaile Feb 25, 2026
d528250
added additional metadata to flows
Tbaile Feb 27, 2026
4449b7b
updated detection, it will be client side
Tbaile Mar 2, 2026
d054dc1
updated ui
Tbaile Mar 2, 2026
04aea06
using upstream
Tbaile Mar 2, 2026
83dbde7
bump
Tbaile Mar 2, 2026
73dcecf
ui bump
Tbaile Mar 4, 2026
7090d03
bump
Tbaile Mar 5, 2026
feb9323
fixing build
Tbaile Mar 5, 2026
a52efae
adding blocked tag to flows
Tbaile Mar 5, 2026
f981277
ui bump
Tbaile Mar 5, 2026
5682978
finalized flows
Tbaile Mar 5, 2026
57e283d
final release and package adjustments
Tbaile Mar 6, 2026
7eca690
using official release
Tbaile Mar 6, 2026
5669b58
final touches
Tbaile Mar 6, 2026
18753ab
build fix
Tbaile Mar 6, 2026
cb3b58e
adjustments
Tbaile Mar 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/ns-monitoring.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_PACKAGE_ns-monitoring=y
2 changes: 2 additions & 0 deletions packages/ns-api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ define Package/ns-api/install
$(INSTALL_DATA) ./files/ns.wizard.json $(1)/usr/share/rpcd/acl.d/
$(INSTALL_BIN) ./files/ns.ha $(1)/usr/libexec/rpcd/
$(INSTALL_DATA) ./files/ns.ha.json $(1)/usr/share/rpcd/acl.d/
$(INSTALL_BIN) ./files/ns.flows $(1)/usr/libexec/rpcd/
$(INSTALL_DATA) ./files/ns.flows.json $(1)/usr/share/rpcd/acl.d/
$(INSTALL_DIR) $(1)/lib/upgrade/keep.d
$(INSTALL_CONF) files/msmtp.keep $(1)/lib/upgrade/keep.d/msmtp
$(INSTALL_CONF) files/nat-helpers.keep $(1)/lib/upgrade/keep.d/nat-helpers
Expand Down
36 changes: 34 additions & 2 deletions packages/ns-api/files/ns.dpi
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,45 @@ if cmd == 'list':
'list-popular': {
'limit': 32,
'page': 32
}
},
'list-application-categories': {},
'list-application-catalog': {},
'list-protocol-categories': {},
'list-protocol-catalog': {}
}))
elif cmd == 'call':
action = sys.argv[2]
e_uci = EUci()
try:
if action == 'list-applications':
if action == 'list-application-categories':
try:
with open('/etc/netifyd/netify-application-categories.json', 'r') as f:
content = json.load(f)
print(json.dumps({'values': content}))
except Exception:
print(json.dumps({}))
elif action == 'list-application-catalog':
try:
with open('/etc/netifyd/netify-application-catalog.json', 'r') as f:
content = json.load(f)
print(json.dumps({'values': content}))
except Exception:
print(json.dumps({}))
elif action == 'list-protocol-categories':
try:
with open('/etc/netifyd/netify-protocol-categories.json', 'r') as f:
content = json.load(f)
print(json.dumps({'values': content}))
except Exception:
print(json.dumps({}))
elif action == 'list-protocol-catalog':
try:
with open('/etc/netifyd/netify-protocol-catalog.json', 'r') as f:
content = json.load(f)
print(json.dumps({'values': content}))
except Exception:
print(json.dumps({}))
elif action == 'list-applications':
data = json.JSONDecoder().decode(sys.stdin.read())
result = dpi.list_applications(data.get('search', None), data.get('limit', None), data.get('page', 1))
print(json.dumps({'values': result}))
Expand Down
Loading
Loading