-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] loopback interface services unavailable #3287
Comments
|
@thutex if you remove the vip, does the connectivity break instantly? if it does, can you check the generated firewall config? (diff both versions of /tmp/rules.debug ) |
output of that ifconfig command in broken state would be helpful too, I don't see something wrong with the rename, it is for GUI labels only |
|
@AdSchellevis it does indeed break instantly. there seems to be no difference when doing a diff on the rules.debug in broken and in working state. funny thing: in the ORIGINAL ifconfig, BEFORE i added the 127.0.0.1 address to virtual addresses, it WAS assigned to lo0. (but not working!) |
|
i removed the ip from alias and rebooted the firewall to see what would happen, here is the output: the "workingdebug" file was a cat from rules.debug from before the reboot, with the ip alias active. |
|
ok, that looks rather odd. We'll have to investigate this further. Anything else running on this firewall? That it removes the address after removing the vip, I can follow (we likely don't check for that), but after the reboot I would expect it just works. Question is how do we get a machine in this state, a clean install seems to functional normally. |
|
i reloaded the settings (to change the theme :) ) and again fell without connection on localhost. the firewall runs: installed plugins: maybe it can be cloned by installing an 18.7* version and then upgrading? |
|
Which services are running on localhost? I get the impression that one of the installed services is playing tricks here, the upgrade from 18.7 is unlikely the issue (otherwise our firewall would probably suffer from the same). Easiest test is to try disabling services binding to lo0 and enable them one by one with reboots in between. I would probably start with ntopng, since my guess is that's the service putting the device in promisc " |
|
i doubt it would be ntopng, since it is one of the services that cannot start. listening on localhost (working state):
|
|
I guess there's only one way to tell, if I could replicate the behaviour over here with a core only install, I would gladly do so, but I have not seen this behaviour on any of our machines. |
|
trying to run IPS on localhost? if so, netmap is not intended to run on localhost (not selectable by default either). |
|
@AdSchellevis i just recreated the problem in a virtualbox machine. install 18.7 to virtualbox from dvd iso ping 1.1.1.1 ok (minor) update from console and reboot: update to 19.1 from console and reboot: is there a safe way to send you my config (i.e.: easy way to remove/modify sensitive things like passwords) ? |
|
my community support time is limit, but you can send me at my email address "ad at project domain". |
|
that is what i did above: install 18.7, imported my config, updated it, without installing any extra package, and the issue appeared again. |
|
so, hence my question, does it happen on a clean 19.1 install? if it does, without packages installed, it should be reproducible at my end. |
|
it does indeed. |
|
ok, received |
|
I can't reproduce it, this is what I did:
I can't spend more time on this, if anyone else wants to give it a shot, feel free to do so. |
|
somehow, something is setting a route for 127.0.0.1 that should not be there: |
|
@AdSchellevis : found the problem. i removed the gateway from the settings and all is working as expected again. anyway since this is resolved and no action is needed from the team, i will close this issue. |
|
@thutex thanks for letting us know! |

@fichtner @mimugmail
referencing forum topic https://forum.opnsense.org/index.php?topic=10841.0
and issue opnsense/plugins#1104 with commit 8ca8def
when i updated i lost functionality on the loopback interface, which at first i did not really understand (since the first to be noticed was only dns)
but services running on 127.0.0.1 (dns, ntopng in the form of not being able to connect to redis, nut not being able to connect, just pinging 127.0.0.1 from the terminal itself) were all unavailable.
lo0 showed the ip was assigned.
functionality returned after adding a virtual ip of 127.0.0.1 to the loopback interface on Firewall: Virtual IPs: Settings
maybe in changing the naming, something was overlooked?
The text was updated successfully, but these errors were encountered: