Bug 253605 - net/tayga writes "something" to syslog
Summary: net/tayga writes "something" to syslog
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexander V. Chernikov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-17 22:53 UTC by Maurice Walker
Modified: 2021-02-17 23:38 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (melifaro)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maurice Walker 2021-02-17 22:53:25 UTC
On my system (OPNsense 21.1 / FreeBSD 12.1), Tayga writes "Wrote somethinh" [sic] to the syslog 50+ times per day. While there are no apparent issues, I'd like to understand what causes these warnings.

I found the relevant line of code in the FreeBSD port (while finding nothing in the original Tayga code), so this seems to be FreeBSD-specific:

https://svnweb.freebsd.org/ports/head/net/tayga/files/patch-freebsd?view=markup#l57

I fail to understand what triggers this warning even when looking at the code. It might be desirable to replace it with something more meaningful.

Thank you.
Comment 1 Alexander V. Chernikov freebsd_committer 2021-02-17 23:14:07 UTC
Hi Marius,

From what I see, it's the debug message accidentally left in "host_send_icmp6()".
I guess it's safe to remove, though I'm not sure if I have cycles to do so.

Btw, is there any particular reason you're not using ipfw nat64 functionality?
Comment 2 Maurice Walker 2021-02-17 23:38:24 UTC
Thanks Alexander,

Good to know that this can be safely ignored.

OPNsense developers have discussed supporting ipfw NAT64. But since OPNsense is mostly pf-based, this unfortunately won't happen anytime soon. A Tayga plugin was released as an interims solution.