English Forums > Development and Code Review

rtsold question

(1/2) > >>

marjohn56:
@franco

What does '/usr/bin/true' do when running rtsold?

I'm trying to resolve an issue for one of my testers.

under pfSense, rtsold would return a gateway and this would be echoed to routerv6 etc when it got an RA. Under opnsense this is not happening.

This means his v6 gateway monitor does not work, it's missing. Although v6 does work. yes it's a link local address but he should still be able to use it to monitor a remote ping address.

franco:
See -O and -R flags of "man rtsold".

-O is the script that takes care of writing the router name.
-R is the DNS script, which is rerouted to /usr/bin/true as we don't have anything appropriate.

There was a time when we didn't write the router, because stock FreeBSD rtsold does not support it, but it was put back in... mhh... 17.7.1 perhaps?

https://github.com/opnsense/src/commit/37a82291ae


Cheers,
Franco

marjohn56:
For some reason the router and gateway files are not created, well the one is but its zero length, I think it's 'touched' somewhere else.

Let me send him the other sides rtsold and see if it's that.

franco:
Shouldn't make a difference.

The main issue with that is that if rtsold is not triggered, you don't get a gateway ever, e.g. in the directly send SOLICIT case.

marjohn56:
It was just the gw6 file that's empty when I tested on my units, so the info I was being given was a little incorrect. I've tracked down what I believe is causing his issue, I'm waiting for feedback. I have posted about it on github issues.

Navigation

[0] Message Index

[#] Next page

Go to full version