Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,14 @@
"guest"
],
"rule": [
{
"name": "permit-whoami",
"module-name": "infix-system",
"rpc-name": "whoami",
"access-operations": "exec",
"action": "permit",
"comment": "Guests can ask who they are and what groups they are in."
},
{
"name": "deny-all-write+exec",
"module-name": "*",
Expand Down Expand Up @@ -463,7 +471,7 @@
]
},
"infix-meta:meta": {
"version": "1.13"
"version": "1.14"
},
"infix-services:mdns": {
"enabled": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,14 @@
"guest"
],
"rule": [
{
"name": "permit-whoami",
"module-name": "infix-system",
"rpc-name": "whoami",
"access-operations": "exec",
"action": "permit",
"comment": "Guests can ask who they are and what groups they are in."
},
{
"name": "deny-all-write+exec",
"module-name": "*",
Expand Down Expand Up @@ -394,7 +402,7 @@
]
},
"infix-meta:meta": {
"version": "1.13"
"version": "1.14"
},
"infix-services:mdns": {
"enabled": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,14 @@
"guest"
],
"rule": [
{
"name": "permit-whoami",
"module-name": "infix-system",
"rpc-name": "whoami",
"access-operations": "exec",
"action": "permit",
"comment": "Guests can ask who they are and what groups they are in."
},
{
"name": "deny-all-write+exec",
"module-name": "*",
Expand Down Expand Up @@ -457,7 +465,7 @@
]
},
"infix-meta:meta": {
"version": "1.13"
"version": "1.14"
},
"infix-services:mdns": {
"enabled": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,14 @@
"guest"
],
"rule": [
{
"name": "permit-whoami",
"module-name": "infix-system",
"rpc-name": "whoami",
"access-operations": "exec",
"action": "permit",
"comment": "Guests can ask who they are and what groups they are in."
},
{
"name": "deny-all-write+exec",
"module-name": "*",
Expand Down Expand Up @@ -423,7 +431,7 @@
]
},
"infix-meta:meta": {
"version": "1.13"
"version": "1.14"
},
"infix-services:mdns": {
"enabled": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,14 @@
"guest"
],
"rule": [
{
"name": "permit-whoami",
"module-name": "infix-system",
"rpc-name": "whoami",
"access-operations": "exec",
"action": "permit",
"comment": "Guests can ask who they are and what groups they are in."
},
{
"name": "deny-all-write+exec",
"module-name": "*",
Expand Down Expand Up @@ -387,7 +395,7 @@
]
},
"infix-meta:meta": {
"version": "1.13"
"version": "1.14"
},
"infix-services:mdns": {
"enabled": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,14 @@
"guest"
],
"rule": [
{
"name": "permit-whoami",
"module-name": "infix-system",
"rpc-name": "whoami",
"access-operations": "exec",
"action": "permit",
"comment": "Guests can ask who they are and what groups they are in."
},
{
"name": "deny-all-write+exec",
"module-name": "*",
Expand Down Expand Up @@ -379,7 +387,7 @@
]
},
"infix-meta:meta": {
"version": "1.13"
"version": "1.14"
},
"infix-services:mdns": {
"enabled": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,14 @@
"guest"
],
"rule": [
{
"name": "permit-whoami",
"module-name": "infix-system",
"rpc-name": "whoami",
"access-operations": "exec",
"action": "permit",
"comment": "Guests can ask who they are and what groups they are in."
},
{
"name": "deny-all-write+exec",
"module-name": "*",
Expand Down Expand Up @@ -423,7 +431,7 @@
]
},
"infix-meta:meta": {
"version": "1.13"
"version": "1.14"
},
"infix-services:mdns": {
"enabled": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,14 @@
"guest"
],
"rule": [
{
"name": "permit-whoami",
"module-name": "infix-system",
"rpc-name": "whoami",
"access-operations": "exec",
"action": "permit",
"comment": "Guests can ask who they are and what groups they are in."
},
{
"name": "deny-all-write+exec",
"module-name": "*",
Expand Down Expand Up @@ -370,7 +378,7 @@
]
},
"infix-meta:meta": {
"version": "1.13"
"version": "1.14"
},
"infix-services:mdns": {
"enabled": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,14 @@
"guest"
],
"rule": [
{
"name": "permit-whoami",
"module-name": "infix-system",
"rpc-name": "whoami",
"access-operations": "exec",
"action": "permit",
"comment": "Guests can ask who they are and what groups they are in."
},
{
"name": "deny-all-write+exec",
"module-name": "*",
Expand Down Expand Up @@ -363,7 +371,7 @@
]
},
"infix-meta:meta": {
"version": "1.13"
"version": "1.14"
},
"infix-services:mdns": {
"enabled": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,14 @@
"guest"
],
"rule": [
{
"name": "permit-whoami",
"module-name": "infix-system",
"rpc-name": "whoami",
"access-operations": "exec",
"action": "permit",
"comment": "Guests can ask who they are and what groups they are in."
},
{
"name": "deny-all-write+exec",
"module-name": "*",
Expand Down Expand Up @@ -259,7 +267,7 @@
"infix-system:motd-banner": "Li0tLS0tLS0uCnwgIC4gLiAgfCBJbmZpeCBPUyDigJQgSW1tdXRhYmxlLkZyaWVuZGx5LlNlY3VyZQp8LS4gdiAuLXwgaHR0cHM6Ly9rZXJuZWxraXQub3JnCictJy0tLSctJwo="
},
"infix-meta:meta": {
"version": "1.13"
"version": "1.14"
},
"infix-services:mdns": {
"enabled": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,14 @@
"guest"
],
"rule": [
{
"name": "permit-whoami",
"module-name": "infix-system",
"rpc-name": "whoami",
"access-operations": "exec",
"action": "permit",
"comment": "Guests can ask who they are and what groups they are in."
},
{
"name": "deny-all-write+exec",
"module-name": "*",
Expand Down Expand Up @@ -273,7 +281,7 @@
"infix-system:motd-banner": "Li0tLS0tLS0uCnwgIC4gLiAgfCBJbmZpeCBPUyDigJQgSW1tdXRhYmxlLkZyaWVuZGx5LlNlY3VyZQp8LS4gdiAuLXwgaHR0cHM6Ly9rZXJuZWxraXQub3JnCictJy0tLSctJwo="
},
"infix-meta:meta": {
"version": "1.13"
"version": "1.14"
},
"infix-services:mdns": {
"enabled": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@
"guest"
],
"rule": [
{
"name": "permit-whoami",
"module-name": "infix-system",
"rpc-name": "whoami",
"access-operations": "exec",
"action": "permit",
"comment": "Guests can ask who they are and what groups they are in."
},
{
"name": "deny-all-write+exec",
"module-name": "*",
Expand Down Expand Up @@ -272,7 +280,7 @@
"infix-system:motd-banner": "Li0tLS0tLS0uCnwgIC4gLiAgfCBJbmZpeCBPUyDigJQgSW1tdXRhYmxlLkZyaWVuZGx5LlNlY3VyZQp8LS4gdiAuLXwgaHR0cHM6Ly9rZXJuZWxraXQub3JnCictJy0tLSctJwo="
},
"infix-meta:meta": {
"version": "1.13"
"version": "1.14"
},
"infix-services:mdns": {
"enabled": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,14 @@
"guest"
],
"rule": [
{
"name": "permit-whoami",
"module-name": "infix-system",
"rpc-name": "whoami",
"access-operations": "exec",
"action": "permit",
"comment": "Guests can ask who they are and what groups they are in."
},
{
"name": "deny-all-write+exec",
"module-name": "*",
Expand Down Expand Up @@ -254,7 +262,7 @@
"infix-system:motd-banner": "Li0tLS0tLS0uCnwgIC4gLiAgfCBJbmZpeCBPUyDigJQgSW1tdXRhYmxlLkZyaWVuZGx5LlNlY3VyZQp8LS4gdiAuLXwgaHR0cHM6Ly9rZXJuZWxraXQub3JnCictJy0tLSctJwo="
},
"infix-meta:meta": {
"version": "1.13"
"version": "1.14"
},
"infix-services:mdns": {
"enabled": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,14 @@
"guest"
],
"rule": [
{
"name": "permit-whoami",
"module-name": "infix-system",
"rpc-name": "whoami",
"access-operations": "exec",
"action": "permit",
"comment": "Guests can ask who they are and what groups they are in."
},
{
"name": "deny-all-write+exec",
"module-name": "*",
Expand Down Expand Up @@ -324,7 +332,7 @@
"infix-system:motd-banner": "Li0tLS0tLS0uCnwgIC4gLiAgfCBJbmZpeCBPUyDigJQgSW1tdXRhYmxlLkZyaWVuZGx5LlNlY3VyZQp8LS4gdiAuLXwgaHR0cHM6Ly9rZXJuZWxraXQub3JnCictJy0tLSctJwo="
},
"infix-meta:meta": {
"version": "1.13"
"version": "1.14"
},
"infix-services:mdns": {
"enabled": true
Expand Down
4 changes: 4 additions & 0 deletions doc/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ All notable changes to the project are documented in this file.
- Wi-Fi: a radio without a band no longer accepts a channel, channel
width or legacy rates. They had no effect there and are dropped from
the configuration on upgrade
- New `infix-system:whoami` RPC, returns the calling user and the NACM
groups the user is in. Guests are permitted to call it, see [NACM][nacm],
and the rule for that is added to existing configurations on upgrade
- WebUI: the Wi-Fi radio forms offer only the bands the radio supports,
and the channel is picked from the channels of the selected band.
The country code is set in one place on the interfaces page
Expand Down Expand Up @@ -422,6 +425,7 @@ All notable changes to the project are documented in this file.
[gps]: https://www.kernelkit.org/infix/latest/hardware/#anchor-a-gps-receiver-to-a-usb-port
[locate]: https://www.kernelkit.org/infix/latest/hardware/#locate
[hw]: https://www.kernelkit.org/infix/latest/hardware/#processor
[nacm]: https://www.kernelkit.org/infix/latest/nacm/#example-factory-configuration
[ripng]: https://www.kernelkit.org/infix/latest/routing/#ripng-routing
[ospfv3]: https://www.kernelkit.org/infix/latest/routing/#ospfv3-routing
[fdb]: https://www.kernelkit.org/infix/latest/bridging/#unicast-forwarding-database
Expand Down
10 changes: 9 additions & 1 deletion doc/developers-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,18 @@ $ sudo apt install jq graphviz qemu-system-x86 qemu-system-arm \
..
```

The tests themselves run in a container, so `make test` also needs
Docker, or podman:

```bash
$ sudo apt install docker.io
..
```

To be able to build the test specification you also need:

```bash
$ sudo apt-get install python3-graphviz ruby-asciidoctor-pdf
$ sudo apt-get install python3-graphviz python3-yaml ruby-asciidoctor-pdf
..
```

Expand Down
Loading
Loading