mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-22 12:05:45 +01:00
config cleanup, change strong random to false
This commit is contained in:
parent
ce9553b9fd
commit
647d087959
@ -1,42 +1,66 @@
|
|||||||
#######################
|
#######################
|
||||||
## CHANGING THIS CONFIG AT RUNTIME ISN'T SUPPORTED
|
# CHANGING THIS CONFIG FILE AT RUNTIME ISN'T SUPPORTED
|
||||||
## See https://ktor.io/docs/configurations.html#command-line for https interface options
|
# See https://ktor.io/docs/configurations.html#command-line for https interface options
|
||||||
|
#######################
|
||||||
|
#
|
||||||
|
######
|
||||||
|
# Network
|
||||||
|
######
|
||||||
# Port used for binding Minecraft port
|
# Port used for binding Minecraft port
|
||||||
#######################
|
|
||||||
port: 25565
|
port: 25565
|
||||||
# Address to bind
|
# Address to bind
|
||||||
bind-address: localhost
|
bind-address: localhost
|
||||||
# Host name of this instance, that will be used in the virtual host
|
# Host name of this instance, that will be used in the virtual host
|
||||||
host-name: viaaas.localhost
|
host-name: viaaas.localhost
|
||||||
# Use netty native transport for Minecraft when available.
|
# Use Netty native transport for Minecraft connections when available.
|
||||||
native-transport-mc: true
|
native-transport-mc: true
|
||||||
|
#
|
||||||
|
######
|
||||||
|
# Crypto
|
||||||
|
######
|
||||||
# Sets the RSA key size used by client for encrypting the AES symmetric key when using online mode.
|
# Sets the RSA key size used by client for encrypting the AES symmetric key when using online mode.
|
||||||
# Minecraft default is 1024. See https://stackoverflow.com/questions/1904516/is-1024-bit-rsa-secure
|
# Minecraft default is 1024. See https://stackoverflow.com/questions/1904516/is-1024-bit-rsa-secure
|
||||||
mc-rsa-size: 4096
|
mc-rsa-size: 4096
|
||||||
# Use SecureRandom.getInstanceStrong(). May block if there's not enough entropy when using online mode.
|
# Use SecureRandom.getInstanceStrong(). May block if there's not enough entropy when using online mode.
|
||||||
# See https://wiki.archlinux.org/index.php/Rng-tools
|
# See https://wiki.archlinux.org/index.php/Rng-tools
|
||||||
use-strong-random: true
|
use-strong-random: false
|
||||||
# Blocks connection to local addresses
|
#
|
||||||
block-local-address: true
|
######
|
||||||
# Requires virtual host to contain the value from "host-name" as a suffix
|
# VIAaaS virtual hosts options
|
||||||
# A false value could be used for transparent proxying.
|
######
|
||||||
require-host-name: true
|
|
||||||
# Default port to be used to connect to backend server
|
|
||||||
# Use -1 to reuse the port sent by client, useful for transparent proxying
|
|
||||||
default-backend-port: 25565
|
|
||||||
# If some server is in this list, it will be blocked. This has priority over allowed-back-addresses
|
|
||||||
blocked-back-addresses: ["*.hypixel.net", "hypixel.net"]
|
|
||||||
# VIAaaS will only allow if it matches an address in this list
|
|
||||||
allowed-back-addresses: ["*"]
|
|
||||||
# Requires online mode for front-end connections. May be useful for stopping bots.
|
# Requires online mode for front-end connections. May be useful for stopping bots.
|
||||||
force-online-mode: false
|
force-online-mode: false
|
||||||
# Shows player and server version in player list
|
# Requires virtual host to contain the value from "host-name" as a suffix.
|
||||||
|
# A false value will allow virtual hosts with no suffix, connecting to the virtual host sent by client.
|
||||||
|
# A false value could be used for transparent proxying.
|
||||||
|
require-host-name: true
|
||||||
|
# Default port to be used when connecting to the backend server.
|
||||||
|
# Use -1 to reuse the port sent by client, useful for transparent proxying.
|
||||||
|
default-backend-port: 25565
|
||||||
|
#
|
||||||
|
######
|
||||||
|
# Address filtering
|
||||||
|
######
|
||||||
|
# Blocks connection to local addresses (localhost, 0.0.0.0, ::1, 127.(...), 10.(...), etc).
|
||||||
|
block-local-address: true
|
||||||
|
# If some server is in this list, it will be blocked. This has priority over allowed-back-addresses.
|
||||||
|
blocked-back-addresses: ["*.hypixel.net"]
|
||||||
|
# Only allows the backend address if it matches an address in this list.
|
||||||
|
allowed-back-addresses: ["*"]
|
||||||
|
#
|
||||||
|
######
|
||||||
|
# Info
|
||||||
|
######
|
||||||
|
# Shows VIAaaS info (player and server version) in player list.
|
||||||
show-version-ping: true
|
show-version-ping: true
|
||||||
# Shows info in server brand (F3)
|
# Shows VIAaaS info in server brand (F3).
|
||||||
show-brand-info: true
|
show-brand-info: true
|
||||||
# Rates limits websocket messages per second. Messages will be waiting for process
|
#####
|
||||||
|
# Limits
|
||||||
|
#####
|
||||||
|
# Rates limits websocket messages per second. Message processing will be delayed.
|
||||||
rate-limit-ws: 1.5
|
rate-limit-ws: 1.5
|
||||||
# Rate limits new front-end connections per second per ip. Will disconnect when hit
|
# Rate limits new front-end connections per second per ip. Will disconnect when hit.
|
||||||
rate-limit-connection-mc: 10.0
|
rate-limit-connection-mc: 10.0
|
||||||
# Limits how many usernames a websocket connection can listen to.
|
# Limits how many usernames a websocket connection can listen to.
|
||||||
listening-ws-limit: 10
|
listening-ws-limit: 10
|
Loading…
Reference in New Issue
Block a user