Hello. Unreal installed as a service is crashing when using the command "unrealsvc rehash".
It is setup as a service and is programtically adding IPs to the allow block, and then being made to rehash. The service has crashed a few times doing this producing a .core, .mdmp file.
This setup was done on UnrealIRCd 4 and had no issues. Any ideas?
Fatal Error on rehash (Unrealircd 5.2.4)
Moderator: Supporters
Re: Fatal Error on rehash (Unrealircd 5.2.4)
Is there a way to upload the dump file?
Another question is the Unreal 6 rehash using the dctl rehash different in logic from the Unreal 5 rehash when using unrealsvc rehash?
Based off how some of our systems are reacting it seems to be a "stronger" rehash.
Another question is the Unreal 6 rehash using the dctl rehash different in logic from the Unreal 5 rehash when using unrealsvc rehash?
Based off how some of our systems are reacting it seems to be a "stronger" rehash.
Re: Fatal Error on rehash (Unrealircd 5.2.4)
Sadly, UnrealIRCd 5 is end of life. Only security bugs are being fixed (so not bugs like the one you mention) until July 1, 2023. After that date it will be completely unsupported. See https://www.unrealircd.org/docs/UnrealIRCd_5_EOL
I highly suggest trying UnrealIRCd 6. It is only a minimal effort from U5 to U6: https://www.unrealircd.org/docs/Upgrading_from_5.x
If you still have any issues (like a crash) with UnrealIRCd 6 then report it on https://bugs.unrealircd.org/ and I would be happy to look into fixing that bug!
In UnrealIRCd 6 there is also a new tool to do rehashes, namely "unrealircdctl rehash", see at the end of https://www.unrealircd.org/docs/Rehashing_the_IRCd. The benefit of that tool is that it also gives all the feedback (warnings/errors) and, since you asked explicitly, it technically does the same type of rehash as on IRC (as if an oper did /REHASH).
I highly suggest trying UnrealIRCd 6. It is only a minimal effort from U5 to U6: https://www.unrealircd.org/docs/Upgrading_from_5.x
If you still have any issues (like a crash) with UnrealIRCd 6 then report it on https://bugs.unrealircd.org/ and I would be happy to look into fixing that bug!
In UnrealIRCd 6 there is also a new tool to do rehashes, namely "unrealircdctl rehash", see at the end of https://www.unrealircd.org/docs/Rehashing_the_IRCd. The benefit of that tool is that it also gives all the feedback (warnings/errors) and, since you asked explicitly, it technically does the same type of rehash as on IRC (as if an oper did /REHASH).