[Bug 250722] net/mpd5: port redirection with NAT fails after FreeBSD system upgrade to 12.2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 29 14:45:25 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250722

            Bug ID: 250722
           Summary: net/mpd5: port redirection with NAT fails after
                    FreeBSD system upgrade to 12.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: eugen at freebsd.org
          Reporter: niels=freebsd at bakker.net
             Flags: maintainer-feedback?(eugen at freebsd.org)
          Assignee: eugen at freebsd.org

Hi,

After upgrading from 12.1 to 12.2, the mpd5 binary compiled under 12.1 started
giving this error message:

Oct 29 15:14:40 server mpd[25294]: [E] can't set NAT redirect-port: Invalid
argument

The config line in question was:

        set nat red-port tcp 0.0.0.0 8080 192.168.1.2 8080

"show nat" in the CLI showed the line as "(inactive)".

After recompiling mpd5-5.9 and restarting the daemon, the error message did not
reappear, "(inactive)" changed to "(active)" and the port forward started
working again.

I suggest incrementing the port revision to force a recompile with the new
system headers. I've not tested backwards compatibility.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list