-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
12 changed files
with
87 additions
and
905 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=aardvark-dns | ||
PKG_VERSION:=1.6.0 | ||
PKG_VERSION:=1.8.0 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://codeload.github.com/containers/aardvark-dns/tar.gz/v$(PKG_VERSION)? | ||
PKG_HASH:=f3a2ff2d7baf07d8bf2785b6f1c9618db8aa188bd738b7f5cf1b0a31848232f5 | ||
PKG_HASH:=c9b818110e3d5d45f8bdb3c9ccc48c994aedb0b19fefcc7577fc1ef7ed294343 | ||
|
||
PKG_MAINTAINER:=Oskari Rauta <[email protected]> | ||
PKG_LICENSE:=Apache-2.0 | ||
PKG_LICENSE_FILES:=LICENSE | ||
|
||
PKG_BUILD_DEPENDS:=rust/host | ||
PKG_BUILD_PARALLEL:=1 | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
include ../../lang/rust/rust-package.mk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=cni-protocol | ||
PKG_VERSION:=20230217 | ||
PKG_VERSION:=20231008 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_MAINTAINER:=Oskari Rauta <[email protected]> | ||
|
@@ -16,25 +16,44 @@ define Package/cni-protocol | |
endef | ||
|
||
define Package/cni-protocol/description | ||
protocol support for cni networks for netifd | ||
makes defining network for podman and other similar | ||
systems using cni networking much easier and simpler. | ||
protocol support for netavark/cni networks for netifd | ||
makes defining networks for podman and other similar | ||
systems easier and simple. | ||
|
||
with cni protocol support, on a network, where firewall | ||
and portmapper management is disabled, you may control | ||
firewalling with openwrt's default firewall configuration. | ||
with protocol, a network where firewall and portmapper | ||
management is disabled, control of firewalling, whether | ||
it was exposing ports, and forwarding to them from wan, | ||
or limiting/accepting access to other networks such | ||
as lan can made through openwrt's own firewalling | ||
configuration. | ||
|
||
for example, create a container that hosts web content on | ||
port 80 with static ip on your cni network, if your | ||
network is 10.88.0.0/16, use for eg. 10.88.0.101 as | ||
your containers static ip address. Create a zone, cni | ||
to your firewall and add your interface to it. | ||
example configuration could be as following: | ||
- lan network: 10.0.0.0/16 (255.255.0.0) | ||
- container network: 10.129.0.1/24 (255.255.255.0) | ||
|
||
Now you can easily set up redirectiong to 10.88.0.101:80 | ||
to expose it's port 80 to wan for serving your website. | ||
Add a network configuration for your container network | ||
using cni protocol. Then create firewall zone for it. | ||
|
||
Protocol has one setting: device, on podman this often | ||
is cni-podman0. | ||
You could create a new container/pod with static ip | ||
address 10.129.0.2 (as 10.129.0.1 as container network's | ||
gateway). | ||
|
||
Easily define permissions so that local networks can | ||
connect to cni network, but not the other way around. | ||
Also you want to allow forwarding from/to wan. | ||
|
||
Now, as cni cannot access local dns, make a rule for | ||
your firewall to accept connections from cni network | ||
to port 53 (dns). | ||
|
||
Now all you have to do, is make redirects to your firewall | ||
and point them to 10.129.0.2 and connections from wan are | ||
redirectered to containers/pods. | ||
|
||
Protocol has 2 settings: device and delay. Sometimes polling | ||
interfaces takes some time, and in that case you might want | ||
to add few seconds to delay. Otherwise, it can be excluded | ||
from configuration. | ||
endef | ||
|
||
define Build/Configure | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=netavark | ||
PKG_VERSION:=1.6.0 | ||
PKG_VERSION:=1.8.0 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://codeload.github.com/containers/netavark/tar.gz/v$(PKG_VERSION)? | ||
PKG_HASH:=3bec9e9b0f3f8f857370900010fb2125ead462d43998ad8f43e4387a5b06f9d6 | ||
PKG_HASH:=b1422ef6927458e9f80f7d322b751e29ab5d04d8ed6cb065baa82fa4291af10f | ||
|
||
PKG_MAINTAINER:=Oskari Rauta <[email protected]> | ||
PKG_LICENSE:=Apache-2.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 0 additions & 63 deletions
63
net/snowflake/patches/0001-Bump-minimum-required-version-of-go.patch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.