I have installed the Xonotic server via the ports system on FreeBSD. For the most part, the server works fine, and all 32 slots were filled last night and I had no real issues.
However, I have noticed that I don't have a public or private key for the server. I believe this is used for the AES network traffic encryption, and maybe possibly also for stats submission?
Below is an extract from the server startup process on FreeBSD:
And here is an extract from the same part of the startup process on debian:
I noticed that the FreeBSD port doesn't install the public key (key_0.d0pk), so I tried renaming it on the debian install to see if that caused the same output. It did however show one key difference:
Debian actually gives an error when it can't find a public key, so this leads me to believe that FreeBSD does not actually even attempt to generate keys, as it's not even looking for a public key.
Does anybody know what the issue is here, and what I might do to fix it?
I have just realised another difference between my FreeBSD Xonotic and my Debian xonotic.
On Debian, if I type "crypto_keygen" into the server console, I get the following output:
If I type the same on FreeBSD, I get:
It's also worth noting that the port does install libd0* into the lib dir.
However, I have noticed that I don't have a public or private key for the server. I believe this is used for the AES network traffic encryption, and maybe possibly also for stats submission?
Below is an extract from the server startup process on FreeBSD:
Code:
execing autoexec/empty.cfg
execing autoexec.cfg
Server using port 26000
Server listening on address 0.0.0.0:26000
And here is an extract from the same part of the startup process on debian:
Code:
execing autoexec/empty.cfg
execing autoexec.cfg
Loaded public key key_0.d0pk (fingerprint: Xon//KssdlzGkFKdnnN4sgg8H+koTbBn5JTi37BAW1Q=)
Generated private ID key_0.d0pk (public key fingerprint: FOLKWGz4AezBLgGwkjLP0kya20DAq3NUkIqMCuG2+o8=)
Saved unsigned key to key_0.d0si
Signature generation in progress...
Server using port 26000
Server listening on address 0.0.0.0:26000
I noticed that the FreeBSD port doesn't install the public key (key_0.d0pk), so I tried renaming it on the debian install to see if that caused the same output. It did however show one key difference:
Code:
execing autoexec.cfg
there is no public key 0
Server using port 26000
Server listening on address 0.0.0.0:26000
Debian actually gives an error when it can't find a public key, so this leads me to believe that FreeBSD does not actually even attempt to generate keys, as it's not even looking for a public key.
Does anybody know what the issue is here, and what I might do to fix it?
I have just realised another difference between my FreeBSD Xonotic and my Debian xonotic.
On Debian, if I type "crypto_keygen" into the server console, I get the following output:
Code:
usage:
crypto_keygen id url
If I type the same on FreeBSD, I get:
Code:
Unknown command "crypto_keygen"
It's also worth noting that the port does install libd0* into the lib dir.