Summary: | [NEW PORT] sysutils/egress-monitor: Set network interface groups based on default routes | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Goran Mekić <meka> | ||||||||
Component: | Individual Port(s) | Assignee: | Juraj Lutter <otis> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Only Me | CC: | dfr, otis | ||||||||
Priority: | --- | ||||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
URL: | https://github.com/mekanix/egress-monitor | ||||||||||
Attachments: |
|
Description
Goran Mekić
2022-11-12 19:36:51 UTC
Created attachment 238035 [details]
egress-monitor.patch
Created attachment 238036 [details]
egress-monitor.patch
Set service to start after NETWORK and before pf.
Created attachment 238037 [details]
egress-monitor.patch
Just realized it's NETWORKING not NETWORK
Tested this on 13.1-RELEASE-p3 with my use-case (container networking for podman and buildah) and it works perfectly. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=33e91dbbe19992d88fa70f0d303112b14882394b commit 33e91dbbe19992d88fa70f0d303112b14882394b Author: Goran Mekić <meka@tilda.center> AuthorDate: 2022-11-12 22:12:55 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2022-11-15 17:57:08 +0000 sysutils/egress-monitor: Add new port Add sysutils/egress-monitor, a tool that is watching for default routes changes and sets the interface group. When the default route is added, egress-monitor sets the group of that interface to appropriate egress. WWW: https://github.com/mekanix/egress-monitor PR: 267731 Tested by: dfr sysutils/Makefile | 1 + sysutils/egress-monitor/Makefile (new) | 22 ++++++++++++++++++++++ sysutils/egress-monitor/distinfo (new) | 3 +++ .../egress-monitor/files/egress-monitor.in (new) | 22 ++++++++++++++++++++++ sysutils/egress-monitor/files/pkg-message.in (new) | 8 ++++++++ sysutils/egress-monitor/pkg-descr (new) | 4 ++++ 6 files changed, 60 insertions(+) Committed, thanks. |