Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
rtsold question
« previous
next »
Print
Pages: [
1
]
Author
Topic: rtsold question (Read 4066 times)
marjohn56
Hero Member
Posts: 1701
Karma: 179
rtsold question
«
on:
February 03, 2018, 03:43:51 pm »
@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.
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: rtsold question
«
Reply #1 on:
February 03, 2018, 03:52:31 pm »
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
Logged
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: rtsold question
«
Reply #2 on:
February 03, 2018, 04:02:25 pm »
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.
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: rtsold question
«
Reply #3 on:
February 03, 2018, 07:34:25 pm »
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.
Logged
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: rtsold question
«
Reply #4 on:
February 03, 2018, 07:36:56 pm »
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.
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: rtsold question
«
Reply #5 on:
February 03, 2018, 07:41:01 pm »
helping others follow this via
https://github.com/opnsense/core/issues/2164
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
rtsold question