diff --git a/.bin/java/bin/java b/.bin/java/bin/java index 182d7d5..0f9c7b0 100755 Binary files a/.bin/java/bin/java and b/.bin/java/bin/java differ diff --git a/.bin/java/conf/security/java.policy b/.bin/java/conf/security/java.policy new file mode 100644 index 0000000..1554541 --- /dev/null +++ b/.bin/java/conf/security/java.policy @@ -0,0 +1,44 @@ +// +// This system policy file grants a set of default permissions to all domains +// and can be configured to grant additional permissions to modules and other +// code sources. The code source URL scheme for modules linked into a +// run-time image is "jrt". +// +// For example, to grant permission to read the "foo" property to the module +// "com.greetings", the grant entry is: +// +// grant codeBase "jrt:/com.greetings" { +// permission java.util.PropertyPermission "foo", "read"; +// }; +// + +// default permissions granted to all domains +grant { + // allows anyone to listen on dynamic ports + permission java.net.SocketPermission "localhost:0", "listen"; + + // "standard" properies that can be read by anyone + permission java.util.PropertyPermission "java.version", "read"; + permission java.util.PropertyPermission "java.vendor", "read"; + permission java.util.PropertyPermission "java.vendor.url", "read"; + permission java.util.PropertyPermission "java.class.version", "read"; + permission java.util.PropertyPermission "os.name", "read"; + permission java.util.PropertyPermission "os.version", "read"; + permission java.util.PropertyPermission "os.arch", "read"; + permission java.util.PropertyPermission "file.separator", "read"; + permission java.util.PropertyPermission "path.separator", "read"; + permission java.util.PropertyPermission "line.separator", "read"; + permission java.util.PropertyPermission + "java.specification.version", "read"; + permission java.util.PropertyPermission "java.specification.vendor", "read"; + permission java.util.PropertyPermission "java.specification.name", "read"; + permission java.util.PropertyPermission + "java.vm.specification.version", "read"; + permission java.util.PropertyPermission + "java.vm.specification.vendor", "read"; + permission java.util.PropertyPermission + "java.vm.specification.name", "read"; + permission java.util.PropertyPermission "java.vm.version", "read"; + permission java.util.PropertyPermission "java.vm.vendor", "read"; + permission java.util.PropertyPermission "java.vm.name", "read"; +}; diff --git a/.bin/java/conf/security/java.security b/.bin/java/conf/security/java.security new file mode 100644 index 0000000..299bfb5 --- /dev/null +++ b/.bin/java/conf/security/java.security @@ -0,0 +1,1059 @@ +# +# This is the "master security properties file". +# +# An alternate java.security properties file may be specified +# from the command line via the system property +# +# -Djava.security.properties= +# +# This properties file appends to the master security properties file. +# If both properties files specify values for the same key, the value +# from the command-line properties file is selected, as it is the last +# one loaded. +# +# Also, if you specify +# +# -Djava.security.properties== (2 equals), +# +# then that properties file completely overrides the master security +# properties file. +# +# To disable the ability to specify an additional properties file from +# the command line, set the key security.overridePropertiesFile +# to false in the master security properties file. It is set to true +# by default. + +# In this file, various security properties are set for use by +# java.security classes. This is where users can statically register +# Cryptography Package Providers ("providers" for short). The term +# "provider" refers to a package or set of packages that supply a +# concrete implementation of a subset of the cryptography aspects of +# the Java Security API. A provider may, for example, implement one or +# more digital signature algorithms or message digest algorithms. +# +# Each provider must implement a subclass of the Provider class. +# To register a provider in this master security properties file, +# specify the provider and priority in the format +# +# security.provider.= +# +# This declares a provider, and specifies its preference +# order n. The preference order is the order in which providers are +# searched for requested algorithms (when no specific provider is +# requested). The order is 1-based; 1 is the most preferred, followed +# by 2, and so on. +# +# must specify the name of the Provider as passed to its super +# class java.security.Provider constructor. This is for providers loaded +# through the ServiceLoader mechanism. +# +# must specify the subclass of the Provider class whose +# constructor sets the values of various properties that are required +# for the Java Security API to look up the algorithms or other +# facilities implemented by the provider. This is for providers loaded +# through classpath. +# +# Note: Providers can be dynamically registered instead by calls to +# either the addProvider or insertProviderAt method in the Security +# class. + +# +# List of providers and their preference orders (see above): +# +security.provider.1=SUN +security.provider.2=SunRsaSign +security.provider.3=SunEC +security.provider.4=SunJSSE +security.provider.5=SunJCE +security.provider.6=SunJGSS +security.provider.7=SunSASL +security.provider.8=XMLDSig +security.provider.9=SunPCSC +security.provider.10=JdkLDAP +security.provider.11=JdkSASL +security.provider.12=SunPKCS11 + +# +# A list of preferred providers for specific algorithms. These providers will +# be searched for matching algorithms before the list of registered providers. +# Entries containing errors (parsing, etc) will be ignored. Use the +# -Djava.security.debug=jca property to debug these errors. +# +# The property is a comma-separated list of serviceType.algorithm:provider +# entries. The serviceType (example: "MessageDigest") is optional, and if +# not specified, the algorithm applies to all service types that support it. +# The algorithm is the standard algorithm name or transformation. +# Transformations can be specified in their full standard name +# (ex: AES/CBC/PKCS5Padding), or as partial matches (ex: AES, AES/CBC). +# The provider is the name of the provider. Any provider that does not +# also appear in the registered list will be ignored. +# +# There is a special serviceType for this property only to group a set of +# algorithms together. The type is "Group" and is followed by an algorithm +# keyword. Groups are to simplify and lessen the entries on the property +# line. Current groups are: +# Group.SHA2 = SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, SHA-512/256 +# Group.HmacSHA2 = HmacSHA224, HmacSHA256, HmacSHA384, HmacSHA512 +# Group.SHA2RSA = SHA224withRSA, SHA256withRSA, SHA384withRSA, SHA512withRSA +# Group.SHA2DSA = SHA224withDSA, SHA256withDSA, SHA384withDSA, SHA512withDSA +# Group.SHA2ECDSA = SHA224withECDSA, SHA256withECDSA, SHA384withECDSA, \ +# SHA512withECDSA +# Group.SHA3 = SHA3-224, SHA3-256, SHA3-384, SHA3-512 +# Group.HmacSHA3 = HmacSHA3-224, HmacSHA3-256, HmacSHA3-384, HmacSHA3-512 +# +# Example: +# jdk.security.provider.preferred=AES/GCM/NoPadding:SunJCE, \ +# MessageDigest.SHA-256:SUN, Group.HmacSHA2:SunJCE +# +#jdk.security.provider.preferred= + + +# +# Sun Provider SecureRandom seed source. +# +# Select the primary source of seed data for the "NativePRNG", "SHA1PRNG" +# and "DRBG" SecureRandom implementations in the "Sun" provider. +# (Other SecureRandom implementations might also use this property.) +# +# On Unix-like systems (for example, Solaris/Linux/MacOS), the +# "NativePRNG", "SHA1PRNG" and "DRBG" implementations obtains seed data from +# special device files such as file:/dev/random. +# +# On Windows systems, specifying the URLs "file:/dev/random" or +# "file:/dev/urandom" will enable the native Microsoft CryptoAPI seeding +# mechanism for SHA1PRNG and DRBG. +# +# By default, an attempt is made to use the entropy gathering device +# specified by the "securerandom.source" Security property. If an +# exception occurs while accessing the specified URL: +# +# NativePRNG: +# a default value of /dev/random will be used. If neither +# are available, the implementation will be disabled. +# "file" is the only currently supported protocol type. +# +# SHA1PRNG and DRBG: +# the traditional system/thread activity algorithm will be used. +# +# The entropy gathering device can also be specified with the System +# property "java.security.egd". For example: +# +# % java -Djava.security.egd=file:/dev/random MainClass +# +# Specifying this System property will override the +# "securerandom.source" Security property. +# +# In addition, if "file:/dev/random" or "file:/dev/urandom" is +# specified, the "NativePRNG" implementation will be more preferred than +# DRBG and SHA1PRNG in the Sun provider. +# +securerandom.source=file:/dev/random + +# +# A list of known strong SecureRandom implementations. +# +# To help guide applications in selecting a suitable strong +# java.security.SecureRandom implementation, Java distributions should +# indicate a list of known strong implementations using the property. +# +# This is a comma-separated list of algorithm and/or algorithm:provider +# entries. +# +securerandom.strongAlgorithms=NativePRNGBlocking:SUN,DRBG:SUN + +# +# Sun provider DRBG configuration and default instantiation request. +# +# NIST SP 800-90Ar1 lists several DRBG mechanisms. Each can be configured +# with a DRBG algorithm name, and can be instantiated with a security strength, +# prediction resistance support, etc. This property defines the configuration +# and the default instantiation request of "DRBG" SecureRandom implementations +# in the SUN provider. (Other DRBG implementations can also use this property.) +# Applications can request different instantiation parameters like security +# strength, capability, personalization string using one of the +# getInstance(...,SecureRandomParameters,...) methods with a +# DrbgParameters.Instantiation argument, but other settings such as the +# mechanism and DRBG algorithm names are not currently configurable by any API. +# +# Please note that the SUN implementation of DRBG always supports reseeding. +# +# The value of this property is a comma-separated list of all configurable +# aspects. The aspects can appear in any order but the same aspect can only +# appear at most once. Its BNF-style definition is: +# +# Value: +# aspect { "," aspect } +# +# aspect: +# mech_name | algorithm_name | strength | capability | df +# +# // The DRBG mechanism to use. Default "Hash_DRBG" +# mech_name: +# "Hash_DRBG" | "HMAC_DRBG" | "CTR_DRBG" +# +# // The DRBG algorithm name. The "SHA-***" names are for Hash_DRBG and +# // HMAC_DRBG, default "SHA-256". The "AES-***" names are for CTR_DRBG, +# // default "AES-128" when using the limited cryptographic or "AES-256" +# // when using the unlimited. +# algorithm_name: +# "SHA-224" | "SHA-512/224" | "SHA-256" | +# "SHA-512/256" | "SHA-384" | "SHA-512" | +# "AES-128" | "AES-192" | "AES-256" +# +# // Security strength requested. Default "128" +# strength: +# "112" | "128" | "192" | "256" +# +# // Prediction resistance and reseeding request. Default "none" +# // "pr_and_reseed" - Both prediction resistance and reseeding +# // support requested +# // "reseed_only" - Only reseeding support requested +# // "none" - Neither prediction resistance not reseeding +# // support requested +# pr: +# "pr_and_reseed" | "reseed_only" | "none" +# +# // Whether a derivation function should be used. only applicable +# // to CTR_DRBG. Default "use_df" +# df: +# "use_df" | "no_df" +# +# Examples, +# securerandom.drbg.config=Hash_DRBG,SHA-224,112,none +# securerandom.drbg.config=CTR_DRBG,AES-256,192,pr_and_reseed,use_df +# +# The default value is an empty string, which is equivalent to +# securerandom.drbg.config=Hash_DRBG,SHA-256,128,none +# +securerandom.drbg.config= + +# +# Class to instantiate as the javax.security.auth.login.Configuration +# provider. +# +login.configuration.provider=sun.security.provider.ConfigFile + +# +# Default login configuration file +# +#login.config.url.1=file:${user.home}/.java.login.config + +# +# Class to instantiate as the system Policy. This is the name of the class +# that will be used as the Policy object. The system class loader is used to +# locate this class. +# +policy.provider=sun.security.provider.PolicyFile + +# The default is to have a single system-wide policy file, +# and a policy file in the user's home directory. +# +policy.url.1=file:${java.home}/conf/security/java.policy +policy.url.2=file:${user.home}/.java.policy + +# whether or not we expand properties in the policy file +# if this is set to false, properties (${...}) will not be expanded in policy +# files. +# +policy.expandProperties=true + +# whether or not we allow an extra policy to be passed on the command line +# with -Djava.security.policy=somefile. Comment out this line to disable +# this feature. +# +policy.allowSystemProperty=true + +# whether or not we look into the IdentityScope for trusted Identities +# when encountering a 1.1 signed JAR file. If the identity is found +# and is trusted, we grant it AllPermission. Note: the default policy +# provider (sun.security.provider.PolicyFile) does not support this property. +# +policy.ignoreIdentityScope=false + +# +# Default keystore type. +# +keystore.type=pkcs12 + +# +# Controls compatibility mode for JKS and PKCS12 keystore types. +# +# When set to 'true', both JKS and PKCS12 keystore types support loading +# keystore files in either JKS or PKCS12 format. When set to 'false' the +# JKS keystore type supports loading only JKS keystore files and the PKCS12 +# keystore type supports loading only PKCS12 keystore files. +# +keystore.type.compat=true + +# +# List of comma-separated packages that start with or equal this string +# will cause a security exception to be thrown when passed to the +# SecurityManager::checkPackageAccess method unless the corresponding +# RuntimePermission("accessClassInPackage."+package) has been granted. +# +package.access=sun.misc.,\ + sun.reflect. + +# +# List of comma-separated packages that start with or equal this string +# will cause a security exception to be thrown when passed to the +# SecurityManager::checkPackageDefinition method unless the corresponding +# RuntimePermission("defineClassInPackage."+package) has been granted. +# +# By default, none of the class loaders supplied with the JDK call +# checkPackageDefinition. +# +package.definition=sun.misc.,\ + sun.reflect. + +# +# Determines whether this properties file can be appended to +# or overridden on the command line via -Djava.security.properties +# +security.overridePropertiesFile=true + +# +# Determines the default key and trust manager factory algorithms for +# the javax.net.ssl package. +# +ssl.KeyManagerFactory.algorithm=SunX509 +ssl.TrustManagerFactory.algorithm=PKIX + +# +# The Java-level namelookup cache policy for successful lookups: +# +# any negative value: caching forever +# any positive value: the number of seconds to cache an address for +# zero: do not cache +# +# default value is forever (FOREVER). For security reasons, this +# caching is made forever when a security manager is set. When a security +# manager is not set, the default behavior in this implementation +# is to cache for 30 seconds. +# +# NOTE: setting this to anything other than the default value can have +# serious security implications. Do not set it unless +# you are sure you are not exposed to DNS spoofing attack. +# +#networkaddress.cache.ttl=-1 + +# The Java-level namelookup cache policy for failed lookups: +# +# any negative value: cache forever +# any positive value: the number of seconds to cache negative lookup results +# zero: do not cache +# +# In some Microsoft Windows networking environments that employ +# the WINS name service in addition to DNS, name service lookups +# that fail may take a noticeably long time to return (approx. 5 seconds). +# For this reason the default caching policy is to maintain these +# results for 10 seconds. +# +networkaddress.cache.negative.ttl=10 + +# +# Properties to configure OCSP for certificate revocation checking +# + +# Enable OCSP +# +# By default, OCSP is not used for certificate revocation checking. +# This property enables the use of OCSP when set to the value "true". +# +# NOTE: SocketPermission is required to connect to an OCSP responder. +# +# Example, +# ocsp.enable=true + +# +# Location of the OCSP responder +# +# By default, the location of the OCSP responder is determined implicitly +# from the certificate being validated. This property explicitly specifies +# the location of the OCSP responder. The property is used when the +# Authority Information Access extension (defined in RFC 5280) is absent +# from the certificate or when it requires overriding. +# +# Example, +# ocsp.responderURL=http://ocsp.example.net:80 + +# +# Subject name of the OCSP responder's certificate +# +# By default, the certificate of the OCSP responder is that of the issuer +# of the certificate being validated. This property identifies the certificate +# of the OCSP responder when the default does not apply. Its value is a string +# distinguished name (defined in RFC 2253) which identifies a certificate in +# the set of certificates supplied during cert path validation. In cases where +# the subject name alone is not sufficient to uniquely identify the certificate +# then both the "ocsp.responderCertIssuerName" and +# "ocsp.responderCertSerialNumber" properties must be used instead. When this +# property is set then those two properties are ignored. +# +# Example, +# ocsp.responderCertSubjectName=CN=OCSP Responder, O=XYZ Corp + +# +# Issuer name of the OCSP responder's certificate +# +# By default, the certificate of the OCSP responder is that of the issuer +# of the certificate being validated. This property identifies the certificate +# of the OCSP responder when the default does not apply. Its value is a string +# distinguished name (defined in RFC 2253) which identifies a certificate in +# the set of certificates supplied during cert path validation. When this +# property is set then the "ocsp.responderCertSerialNumber" property must also +# be set. When the "ocsp.responderCertSubjectName" property is set then this +# property is ignored. +# +# Example, +# ocsp.responderCertIssuerName=CN=Enterprise CA, O=XYZ Corp + +# +# Serial number of the OCSP responder's certificate +# +# By default, the certificate of the OCSP responder is that of the issuer +# of the certificate being validated. This property identifies the certificate +# of the OCSP responder when the default does not apply. Its value is a string +# of hexadecimal digits (colon or space separators may be present) which +# identifies a certificate in the set of certificates supplied during cert path +# validation. When this property is set then the "ocsp.responderCertIssuerName" +# property must also be set. When the "ocsp.responderCertSubjectName" property +# is set then this property is ignored. +# +# Example, +# ocsp.responderCertSerialNumber=2A:FF:00 + +# +# Policy for failed Kerberos KDC lookups: +# +# When a KDC is unavailable (network error, service failure, etc), it is +# put inside a blacklist and accessed less often for future requests. The +# value (case-insensitive) for this policy can be: +# +# tryLast +# KDCs in the blacklist are always tried after those not on the list. +# +# tryLess[:max_retries,timeout] +# KDCs in the blacklist are still tried by their order in the configuration, +# but with smaller max_retries and timeout values. max_retries and timeout +# are optional numerical parameters (default 1 and 5000, which means once +# and 5 seconds). Please notes that if any of the values defined here is +# more than what is defined in krb5.conf, it will be ignored. +# +# Whenever a KDC is detected as available, it is removed from the blacklist. +# The blacklist is reset when krb5.conf is reloaded. You can add +# refreshKrb5Config=true to a JAAS configuration file so that krb5.conf is +# reloaded whenever a JAAS authentication is attempted. +# +# Example, +# krb5.kdc.bad.policy = tryLast +# krb5.kdc.bad.policy = tryLess:2,2000 +# +krb5.kdc.bad.policy = tryLast + +# +# Algorithm restrictions for certification path (CertPath) processing +# +# In some environments, certain algorithms or key lengths may be undesirable +# for certification path building and validation. For example, "MD2" is +# generally no longer considered to be a secure hash algorithm. This section +# describes the mechanism for disabling algorithms based on algorithm name +# and/or key length. This includes algorithms used in certificates, as well +# as revocation information such as CRLs and signed OCSP Responses. +# The syntax of the disabled algorithm string is described as follows: +# DisabledAlgorithms: +# " DisabledAlgorithm { , DisabledAlgorithm } " +# +# DisabledAlgorithm: +# AlgorithmName [Constraint] { '&' Constraint } +# +# AlgorithmName: +# (see below) +# +# Constraint: +# KeySizeConstraint | CAConstraint | DenyAfterConstraint | +# UsageConstraint +# +# KeySizeConstraint: +# keySize Operator KeyLength +# +# Operator: +# <= | < | == | != | >= | > +# +# KeyLength: +# Integer value of the algorithm's key length in bits +# +# CAConstraint: +# jdkCA +# +# DenyAfterConstraint: +# denyAfter YYYY-MM-DD +# +# UsageConstraint: +# usage [TLSServer] [TLSClient] [SignedJAR] +# +# The "AlgorithmName" is the standard algorithm name of the disabled +# algorithm. See "Java Cryptography Architecture Standard Algorithm Name +# Documentation" for information about Standard Algorithm Names. Matching +# is performed using a case-insensitive sub-element matching rule. (For +# example, in "SHA1withECDSA" the sub-elements are "SHA1" for hashing and +# "ECDSA" for signatures.) If the assertion "AlgorithmName" is a +# sub-element of the certificate algorithm name, the algorithm will be +# rejected during certification path building and validation. For example, +# the assertion algorithm name "DSA" will disable all certificate algorithms +# that rely on DSA, such as NONEwithDSA, SHA1withDSA. However, the assertion +# will not disable algorithms related to "ECDSA". +# +# A "Constraint" defines restrictions on the keys and/or certificates for +# a specified AlgorithmName: +# +# KeySizeConstraint: +# keySize Operator KeyLength +# The constraint requires a key of a valid size range if the +# "AlgorithmName" is of a key algorithm. The "KeyLength" indicates +# the key size specified in number of bits. For example, +# "RSA keySize <= 1024" indicates that any RSA key with key size less +# than or equal to 1024 bits should be disabled, and +# "RSA keySize < 1024, RSA keySize > 2048" indicates that any RSA key +# with key size less than 1024 or greater than 2048 should be disabled. +# This constraint is only used on algorithms that have a key size. +# +# CAConstraint: +# jdkCA +# This constraint prohibits the specified algorithm only if the +# algorithm is used in a certificate chain that terminates at a marked +# trust anchor in the lib/security/cacerts keystore. If the jdkCA +# constraint is not set, then all chains using the specified algorithm +# are restricted. jdkCA may only be used once in a DisabledAlgorithm +# expression. +# Example: To apply this constraint to SHA-1 certificates, include +# the following: "SHA1 jdkCA" +# +# DenyAfterConstraint: +# denyAfter YYYY-MM-DD +# This constraint prohibits a certificate with the specified algorithm +# from being used after the date regardless of the certificate's +# validity. JAR files that are signed and timestamped before the +# constraint date with certificates containing the disabled algorithm +# will not be restricted. The date is processed in the UTC timezone. +# This constraint can only be used once in a DisabledAlgorithm +# expression. +# Example: To deny usage of RSA 2048 bit certificates after Feb 3 2020, +# use the following: "RSA keySize == 2048 & denyAfter 2020-02-03" +# +# UsageConstraint: +# usage [TLSServer] [TLSClient] [SignedJAR] +# This constraint prohibits the specified algorithm for +# a specified usage. This should be used when disabling an algorithm +# for all usages is not practical. 'TLSServer' restricts the algorithm +# in TLS server certificate chains when server authentication is +# performed. 'TLSClient' restricts the algorithm in TLS client +# certificate chains when client authentication is performed. +# 'SignedJAR' constrains use of certificates in signed jar files. +# The usage type follows the keyword and more than one usage type can +# be specified with a whitespace delimiter. +# Example: "SHA1 usage TLSServer TLSClient" +# +# When an algorithm must satisfy more than one constraint, it must be +# delimited by an ampersand '&'. For example, to restrict certificates in a +# chain that terminate at a distribution provided trust anchor and contain +# RSA keys that are less than or equal to 1024 bits, add the following +# constraint: "RSA keySize <= 1024 & jdkCA". +# +# All DisabledAlgorithms expressions are processed in the order defined in the +# property. This requires lower keysize constraints to be specified +# before larger keysize constraints of the same algorithm. For example: +# "RSA keySize < 1024 & jdkCA, RSA keySize < 2048". +# +# Note: The algorithm restrictions do not apply to trust anchors or +# self-signed certificates. +# +# Note: This property is currently used by Oracle's PKIX implementation. It +# is not guaranteed to be examined and used by other implementations. +# +# Example: +# jdk.certpath.disabledAlgorithms=MD2, DSA, RSA keySize < 2048 +# +# +jdk.certpath.disabledAlgorithms=MD2, MD5, SHA1 jdkCA & usage TLSServer, \ + RSA keySize < 1024, DSA keySize < 1024, EC keySize < 224 + +# +# Algorithm restrictions for signed JAR files +# +# In some environments, certain algorithms or key lengths may be undesirable +# for signed JAR validation. For example, "MD2" is generally no longer +# considered to be a secure hash algorithm. This section describes the +# mechanism for disabling algorithms based on algorithm name and/or key length. +# JARs signed with any of the disabled algorithms or key sizes will be treated +# as unsigned. +# +# The syntax of the disabled algorithm string is described as follows: +# DisabledAlgorithms: +# " DisabledAlgorithm { , DisabledAlgorithm } " +# +# DisabledAlgorithm: +# AlgorithmName [Constraint] { '&' Constraint } +# +# AlgorithmName: +# (see below) +# +# Constraint: +# KeySizeConstraint | DenyAfterConstraint +# +# KeySizeConstraint: +# keySize Operator KeyLength +# +# DenyAfterConstraint: +# denyAfter YYYY-MM-DD +# +# Operator: +# <= | < | == | != | >= | > +# +# KeyLength: +# Integer value of the algorithm's key length in bits +# +# Note: This property is currently used by the JDK Reference +# implementation. It is not guaranteed to be examined and used by other +# implementations. +# +# See "jdk.certpath.disabledAlgorithms" for syntax descriptions. +# +jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, \ + DSA keySize < 1024 + +# +# Algorithm restrictions for Secure Socket Layer/Transport Layer Security +# (SSL/TLS/DTLS) processing +# +# In some environments, certain algorithms or key lengths may be undesirable +# when using SSL/TLS/DTLS. This section describes the mechanism for disabling +# algorithms during SSL/TLS/DTLS security parameters negotiation, including +# protocol version negotiation, cipher suites selection, peer authentication +# and key exchange mechanisms. +# +# Disabled algorithms will not be negotiated for SSL/TLS connections, even +# if they are enabled explicitly in an application. +# +# For PKI-based peer authentication and key exchange mechanisms, this list +# of disabled algorithms will also be checked during certification path +# building and validation, including algorithms used in certificates, as +# well as revocation information such as CRLs and signed OCSP Responses. +# This is in addition to the jdk.certpath.disabledAlgorithms property above. +# +# See the specification of "jdk.certpath.disabledAlgorithms" for the +# syntax of the disabled algorithm string. +# +# Note: The algorithm restrictions do not apply to trust anchors or +# self-signed certificates. +# +# Note: This property is currently used by the JDK Reference implementation. +# It is not guaranteed to be examined and used by other implementations. +# +# Example: +# jdk.tls.disabledAlgorithms=MD5, SSLv3, DSA, RSA keySize < 2048 +jdk.tls.disabledAlgorithms=SSLv3, RC4, MD5withRSA, DH keySize < 1024, \ + EC keySize < 224, DES40_CBC, RC4_40, 3DES_EDE_CBC + +# +# Legacy algorithms for Secure Socket Layer/Transport Layer Security (SSL/TLS) +# processing in JSSE implementation. +# +# In some environments, a certain algorithm may be undesirable but it +# cannot be disabled because of its use in legacy applications. Legacy +# algorithms may still be supported, but applications should not use them +# as the security strength of legacy algorithms are usually not strong enough +# in practice. +# +# During SSL/TLS security parameters negotiation, legacy algorithms will +# not be negotiated unless there are no other candidates. +# +# The syntax of the legacy algorithms string is described as this Java +# BNF-style: +# LegacyAlgorithms: +# " LegacyAlgorithm { , LegacyAlgorithm } " +# +# LegacyAlgorithm: +# AlgorithmName (standard JSSE algorithm name) +# +# See the specification of security property "jdk.certpath.disabledAlgorithms" +# for the syntax and description of the "AlgorithmName" notation. +# +# Per SSL/TLS specifications, cipher suites have the form: +# SSL_KeyExchangeAlg_WITH_CipherAlg_MacAlg +# or +# TLS_KeyExchangeAlg_WITH_CipherAlg_MacAlg +# +# For example, the cipher suite TLS_RSA_WITH_AES_128_CBC_SHA uses RSA as the +# key exchange algorithm, AES_128_CBC (128 bits AES cipher algorithm in CBC +# mode) as the cipher (encryption) algorithm, and SHA-1 as the message digest +# algorithm for HMAC. +# +# The LegacyAlgorithm can be one of the following standard algorithm names: +# 1. JSSE cipher suite name, e.g., TLS_RSA_WITH_AES_128_CBC_SHA +# 2. JSSE key exchange algorithm name, e.g., RSA +# 3. JSSE cipher (encryption) algorithm name, e.g., AES_128_CBC +# 4. JSSE message digest algorithm name, e.g., SHA +# +# See SSL/TLS specifications and "Java Cryptography Architecture Standard +# Algorithm Name Documentation" for information about the algorithm names. +# +# Note: If a legacy algorithm is also restricted through the +# jdk.tls.disabledAlgorithms property or the +# java.security.AlgorithmConstraints API (See +# javax.net.ssl.SSLParameters.setAlgorithmConstraints()), +# then the algorithm is completely disabled and will not be negotiated. +# +# Note: This property is currently used by the JDK Reference implementation. +# It is not guaranteed to be examined and used by other implementations. +# There is no guarantee the property will continue to exist or be of the +# same syntax in future releases. +# +# Example: +# jdk.tls.legacyAlgorithms=DH_anon, DES_CBC, SSL_RSA_WITH_RC4_128_MD5 +# +jdk.tls.legacyAlgorithms= \ + K_NULL, C_NULL, M_NULL, \ + DH_anon, ECDH_anon, \ + RC4_128, RC4_40, DES_CBC, DES40_CBC, \ + 3DES_EDE_CBC + +# +# The pre-defined default finite field Diffie-Hellman ephemeral (DHE) +# parameters for Transport Layer Security (SSL/TLS/DTLS) processing. +# +# In traditional SSL/TLS/DTLS connections where finite field DHE parameters +# negotiation mechanism is not used, the server offers the client group +# parameters, base generator g and prime modulus p, for DHE key exchange. +# It is recommended to use dynamic group parameters. This property defines +# a mechanism that allows you to specify custom group parameters. +# +# The syntax of this property string is described as this Java BNF-style: +# DefaultDHEParameters: +# DefinedDHEParameters { , DefinedDHEParameters } +# +# DefinedDHEParameters: +# "{" DHEPrimeModulus , DHEBaseGenerator "}" +# +# DHEPrimeModulus: +# HexadecimalDigits +# +# DHEBaseGenerator: +# HexadecimalDigits +# +# HexadecimalDigits: +# HexadecimalDigit { HexadecimalDigit } +# +# HexadecimalDigit: one of +# 0 1 2 3 4 5 6 7 8 9 A B C D E F a b c d e f +# +# Whitespace characters are ignored. +# +# The "DefinedDHEParameters" defines the custom group parameters, prime +# modulus p and base generator g, for a particular size of prime modulus p. +# The "DHEPrimeModulus" defines the hexadecimal prime modulus p, and the +# "DHEBaseGenerator" defines the hexadecimal base generator g of a group +# parameter. It is recommended to use safe primes for the custom group +# parameters. +# +# If this property is not defined or the value is empty, the underlying JSSE +# provider's default group parameter is used for each connection. +# +# If the property value does not follow the grammar, or a particular group +# parameter is not valid, the connection will fall back and use the +# underlying JSSE provider's default group parameter. +# +# Note: This property is currently used by OpenJDK's JSSE implementation. It +# is not guaranteed to be examined and used by other implementations. +# +# Example: +# jdk.tls.server.defaultDHEParameters= +# { \ +# FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1 \ +# 29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD \ +# EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245 \ +# E485B576 625E7EC6 F44C42E9 A637ED6B 0BFF5CB6 F406B7ED \ +# EE386BFB 5A899FA5 AE9F2411 7C4B1FE6 49286651 ECE65381 \ +# FFFFFFFF FFFFFFFF, 2} + +# +# TLS key limits on symmetric cryptographic algorithms +# +# This security property sets limits on algorithms key usage in TLS 1.3. +# When the amount of data encrypted exceeds the algorithm value listed below, +# a KeyUpdate message will trigger a key change. This is for symmetric ciphers +# with TLS 1.3 only. +# +# The syntax for the property is described below: +# KeyLimits: +# " KeyLimit { , KeyLimit } " +# +# WeakKeyLimit: +# AlgorithmName Action Length +# +# AlgorithmName: +# A full algorithm transformation. +# +# Action: +# KeyUpdate +# +# Length: +# The amount of encrypted data in a session before the Action occurs +# This value may be an integer value in bytes, or as a power of two, 2^29. +# +# KeyUpdate: +# The TLS 1.3 KeyUpdate handshake process begins when the Length amount +# is fulfilled. +# +# Note: This property is currently used by OpenJDK's JSSE implementation. It +# is not guaranteed to be examined and used by other implementations. +# +jdk.tls.keyLimits=AES/GCM/NoPadding KeyUpdate 2^37 + +# +# Cryptographic Jurisdiction Policy defaults +# +# Import and export control rules on cryptographic software vary from +# country to country. By default, Java provides two different sets of +# cryptographic policy files[1]: +# +# unlimited: These policy files contain no restrictions on cryptographic +# strengths or algorithms +# +# limited: These policy files contain more restricted cryptographic +# strengths +# +# The default setting is determined by the value of the "crypto.policy" +# Security property below. If your country or usage requires the +# traditional restrictive policy, the "limited" Java cryptographic +# policy is still available and may be appropriate for your environment. +# +# If you have restrictions that do not fit either use case mentioned +# above, Java provides the capability to customize these policy files. +# The "crypto.policy" security property points to a subdirectory +# within /conf/security/policy/ which can be customized. +# Please see the /conf/security/policy/README.txt file or consult +# the Java Security Guide/JCA documentation for more information. +# +# YOU ARE ADVISED TO CONSULT YOUR EXPORT/IMPORT CONTROL COUNSEL OR ATTORNEY +# TO DETERMINE THE EXACT REQUIREMENTS. +# +# [1] Please note that the JCE for Java SE, including the JCE framework, +# cryptographic policy files, and standard JCE providers provided with +# the Java SE, have been reviewed and approved for export as mass market +# encryption item by the US Bureau of Industry and Security. +# +# Note: This property is currently used by the JDK Reference implementation. +# It is not guaranteed to be examined and used by other implementations. +# +crypto.policy=unlimited + +# +# The policy for the XML Signature secure validation mode. The mode is +# enabled by setting the property "org.jcp.xml.dsig.secureValidation" to +# true with the javax.xml.crypto.XMLCryptoContext.setProperty() method, +# or by running the code with a SecurityManager. +# +# Policy: +# Constraint {"," Constraint } +# Constraint: +# AlgConstraint | MaxTransformsConstraint | MaxReferencesConstraint | +# ReferenceUriSchemeConstraint | KeySizeConstraint | OtherConstraint +# AlgConstraint +# "disallowAlg" Uri +# MaxTransformsConstraint: +# "maxTransforms" Integer +# MaxReferencesConstraint: +# "maxReferences" Integer +# ReferenceUriSchemeConstraint: +# "disallowReferenceUriSchemes" String { String } +# KeySizeConstraint: +# "minKeySize" KeyAlg Integer +# OtherConstraint: +# "noDuplicateIds" | "noRetrievalMethodLoops" +# +# For AlgConstraint, Uri is the algorithm URI String that is not allowed. +# See the XML Signature Recommendation for more information on algorithm +# URI Identifiers. For KeySizeConstraint, KeyAlg is the standard algorithm +# name of the key type (ex: "RSA"). If the MaxTransformsConstraint, +# MaxReferencesConstraint or KeySizeConstraint (for the same key type) is +# specified more than once, only the last entry is enforced. +# +# Note: This property is currently used by the JDK Reference implementation. It +# is not guaranteed to be examined and used by other implementations. +# +jdk.xml.dsig.secureValidationPolicy=\ + disallowAlg http://www.w3.org/TR/1999/REC-xslt-19991116,\ + disallowAlg http://www.w3.org/2001/04/xmldsig-more#rsa-md5,\ + disallowAlg http://www.w3.org/2001/04/xmldsig-more#hmac-md5,\ + disallowAlg http://www.w3.org/2001/04/xmldsig-more#md5,\ + maxTransforms 5,\ + maxReferences 30,\ + disallowReferenceUriSchemes file http https,\ + minKeySize RSA 1024,\ + minKeySize DSA 1024,\ + minKeySize EC 224,\ + noDuplicateIds,\ + noRetrievalMethodLoops + +# +# Serialization process-wide filter +# +# A filter, if configured, is used by java.io.ObjectInputStream during +# deserialization to check the contents of the stream. +# A filter is configured as a sequence of patterns, each pattern is either +# matched against the name of a class in the stream or defines a limit. +# Patterns are separated by ";" (semicolon). +# Whitespace is significant and is considered part of the pattern. +# +# If the system property jdk.serialFilter is also specified, it supersedes +# the security property value defined here. +# +# If a pattern includes a "=", it sets a limit. +# If a limit appears more than once the last value is used. +# Limits are checked before classes regardless of the order in the +# sequence of patterns. +# If any of the limits are exceeded, the filter status is REJECTED. +# +# maxdepth=value - the maximum depth of a graph +# maxrefs=value - the maximum number of internal references +# maxbytes=value - the maximum number of bytes in the input stream +# maxarray=value - the maximum array length allowed +# +# Other patterns, from left to right, match the class or package name as +# returned from Class.getName. +# If the class is an array type, the class or package to be matched is the +# element type. +# Arrays of any number of dimensions are treated the same as the element type. +# For example, a pattern of "!example.Foo", rejects creation of any instance or +# array of example.Foo. +# +# If the pattern starts with "!", the status is REJECTED if the remaining +# pattern is matched; otherwise the status is ALLOWED if the pattern matches. +# If the pattern contains "/", the non-empty prefix up to the "/" is the +# module name; +# if the module name matches the module name of the class then +# the remaining pattern is matched with the class name. +# If there is no "/", the module name is not compared. +# If the pattern ends with ".**" it matches any class in the package and all +# subpackages. +# If the pattern ends with ".*" it matches any class in the package. +# If the pattern ends with "*", it matches any class with the pattern as a +# prefix. +# If the pattern is equal to the class name, it matches. +# Otherwise, the status is UNDECIDED. +# +#jdk.serialFilter=pattern;pattern + +# +# RMI Registry Serial Filter +# +# The filter pattern uses the same format as jdk.serialFilter. +# This filter can override the builtin filter if additional types need to be +# allowed or rejected from the RMI Registry or to decrease limits but not +# to increase limits. +# If the limits (maxdepth, maxrefs, or maxbytes) are exceeded, the object is rejected. +# +# Each non-array type is allowed or rejected if it matches one of the patterns, +# evaluated from left to right, and is otherwise allowed. Arrays of any +# component type, including subarrays and arrays of primitives, are allowed. +# +# Array construction of any component type, including subarrays and arrays of +# primitives, are allowed unless the length is greater than the maxarray limit. +# The filter is applied to each array element. +# +# Note: This property is currently used by the JDK Reference implementation. +# It is not guaranteed to be examined and used by other implementations. +# +# The built-in filter allows subclasses of allowed classes and +# can approximately be represented as the pattern: +# +#sun.rmi.registry.registryFilter=\ +# maxarray=1000000;\ +# maxdepth=20;\ +# java.lang.String;\ +# java.lang.Number;\ +# java.lang.reflect.Proxy;\ +# java.rmi.Remote;\ +# sun.rmi.server.UnicastRef;\ +# sun.rmi.server.RMIClientSocketFactory;\ +# sun.rmi.server.RMIServerSocketFactory;\ +# java.rmi.activation.ActivationID;\ +# java.rmi.server.UID +# +# RMI Distributed Garbage Collector (DGC) Serial Filter +# +# The filter pattern uses the same format as jdk.serialFilter. +# This filter can override the builtin filter if additional types need to be +# allowed or rejected from the RMI DGC. +# +# Note: This property is currently used by the JDK Reference implementation. +# It is not guaranteed to be examined and used by other implementations. +# +# The builtin DGC filter can approximately be represented as the filter pattern: +# +#sun.rmi.transport.dgcFilter=\ +# java.rmi.server.ObjID;\ +# java.rmi.server.UID;\ +# java.rmi.dgc.VMID;\ +# java.rmi.dgc.Lease;\ +# maxdepth=5;maxarray=10000 + +# CORBA ORBIorTypeCheckRegistryFilter +# Type check enhancement for ORB::string_to_object processing +# +# An IOR type check filter, if configured, is used by an ORB during +# an ORB::string_to_object invocation to check the veracity of the type encoded +# in the ior string. +# +# The filter pattern consists of a semi-colon separated list of class names. +# The configured list contains the binary class names of the IDL interface types +# corresponding to the IDL stub class to be instantiated. +# As such, a filter specifies a list of IDL stub classes that will be +# allowed by an ORB when an ORB::string_to_object is invoked. +# It is used to specify a white list configuration of acceptable +# IDL stub types which may be contained in a stringified IOR +# parameter passed as input to an ORB::string_to_object method. +# +# Note: This property is currently used by the JDK Reference implementation. +# It is not guaranteed to be examined and used by other implementations. +# +#com.sun.CORBA.ORBIorTypeCheckRegistryFilter=binary_class_name;binary_class_name + +# +# JCEKS Encrypted Key Serial Filter +# +# This filter, if configured, is used by the JCEKS KeyStore during the +# deserialization of the encrypted Key object stored inside a key entry. +# If not configured or the filter result is UNDECIDED (i.e. none of the patterns +# matches), the filter configured by jdk.serialFilter will be consulted. +# +# If the system property jceks.key.serialFilter is also specified, it supersedes +# the security property value defined here. +# +# The filter pattern uses the same format as jdk.serialFilter. The default +# pattern allows java.lang.Enum, java.security.KeyRep, java.security.KeyRep$Type, +# and javax.crypto.spec.SecretKeySpec and rejects all the others. +jceks.key.serialFilter = java.base/java.lang.Enum;java.base/java.security.KeyRep;\ + java.base/java.security.KeyRep$Type;java.base/javax.crypto.spec.SecretKeySpec;!* + +# +# Enhanced exception message information +# +# By default, exception messages should not include potentially sensitive +# information such as file names, host names, or port numbers. This property +# accepts one or more comma separated values, each of which represents a +# category of enhanced exception message information to enable. Values are +# case-insensitive. Leading and trailing whitespaces, surrounding each value, +# are ignored. Unknown values are ignored. +# +# The categories are: +# +# hostInfo - IOExceptions thrown by java.net.Socket and the socket types in the +# java.nio.channels package will contain enhanced exception +# message information +# +# The property setting in this file can be overridden by a system property of +# the same name, with the same syntax and possible values. +# +#jdk.includeInExceptions=hostInfo diff --git a/.bin/java/conf/security/policy/limited/default_US_export.policy b/.bin/java/conf/security/policy/limited/default_US_export.policy new file mode 100644 index 0000000..1f38934 --- /dev/null +++ b/.bin/java/conf/security/policy/limited/default_US_export.policy @@ -0,0 +1,6 @@ +// Default US Export policy file. + +grant { + // There is no restriction to any algorithms. + permission javax.crypto.CryptoAllPermission; +}; diff --git a/.bin/java/conf/security/policy/limited/default_local.policy b/.bin/java/conf/security/policy/limited/default_local.policy new file mode 100644 index 0000000..2a6d513 --- /dev/null +++ b/.bin/java/conf/security/policy/limited/default_local.policy @@ -0,0 +1,14 @@ +// Some countries have import limits on crypto strength. This policy file +// is worldwide importable. + +grant { + permission javax.crypto.CryptoPermission "DES", 64; + permission javax.crypto.CryptoPermission "DESede", *; + permission javax.crypto.CryptoPermission "RC2", 128, + "javax.crypto.spec.RC2ParameterSpec", 128; + permission javax.crypto.CryptoPermission "RC4", 128; + permission javax.crypto.CryptoPermission "RC5", 128, + "javax.crypto.spec.RC5ParameterSpec", *, 12, *; + permission javax.crypto.CryptoPermission "RSA", *; + permission javax.crypto.CryptoPermission *, 128; +}; diff --git a/.bin/java/conf/security/policy/limited/exempt_local.policy b/.bin/java/conf/security/policy/limited/exempt_local.policy new file mode 100644 index 0000000..9dd5b91 --- /dev/null +++ b/.bin/java/conf/security/policy/limited/exempt_local.policy @@ -0,0 +1,13 @@ +// Some countries have import limits on crypto strength, but may allow for +// these exemptions if the exemption mechanism is used. + +grant { + // There is no restriction to any algorithms if KeyRecovery is enforced. + permission javax.crypto.CryptoPermission *, "KeyRecovery"; + + // There is no restriction to any algorithms if KeyEscrow is enforced. + permission javax.crypto.CryptoPermission *, "KeyEscrow"; + + // There is no restriction to any algorithms if KeyWeakening is enforced. + permission javax.crypto.CryptoPermission *, "KeyWeakening"; +}; diff --git a/.bin/java/conf/security/policy/unlimited/default_US_export.policy b/.bin/java/conf/security/policy/unlimited/default_US_export.policy new file mode 100644 index 0000000..1f38934 --- /dev/null +++ b/.bin/java/conf/security/policy/unlimited/default_US_export.policy @@ -0,0 +1,6 @@ +// Default US Export policy file. + +grant { + // There is no restriction to any algorithms. + permission javax.crypto.CryptoAllPermission; +}; diff --git a/.bin/java/conf/security/policy/unlimited/default_local.policy b/.bin/java/conf/security/policy/unlimited/default_local.policy new file mode 100644 index 0000000..2b907e2 --- /dev/null +++ b/.bin/java/conf/security/policy/unlimited/default_local.policy @@ -0,0 +1,6 @@ +// Country-specific policy file for countries with no limits on crypto strength. + +grant { + // There is no restriction to any algorithms. + permission javax.crypto.CryptoAllPermission; +}; diff --git a/.bin/java/lib/jli/libjli.so b/.bin/java/lib/jli/libjli.so index 5f9f7e7..df2322c 100644 Binary files a/.bin/java/lib/jli/libjli.so and b/.bin/java/lib/jli/libjli.so differ diff --git a/.bin/java/lib/jvm.cfg b/.bin/java/lib/jvm.cfg index 0642e72..97225c8 100644 --- a/.bin/java/lib/jvm.cfg +++ b/.bin/java/lib/jvm.cfg @@ -1,34 +1,2 @@ -# Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# This code is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 2 only, as -# published by the Free Software Foundation. Oracle designates this -# particular file as subject to the "Classpath" exception as provided -# by Oracle in the LICENSE file that accompanied this code. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# version 2 for more details (a copy is included in the LICENSE file that -# accompanied this code). -# -# You should have received a copy of the GNU General Public License version -# 2 along with this work; if not, write to the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA -# or visit www.oracle.com if you need additional information or have any -# questions. -# -# List of JVMs that can be used as an option to java, javac, etc. -# Order is important -- first in this list is the default JVM. -# NOTE that both this file and its format are UNSUPPORTED and -# WILL GO AWAY in a future release. -# -# You may also select a JVM in an arbitrary location with the -# "-XXaltjvm=" option, but that too is unsupported -# and may not be available in a future release. -# -server KNOWN -client IGNORE diff --git a/.bin/java/lib/libawt.so b/.bin/java/lib/libawt.so index 429b9b4..a7b4f36 100644 Binary files a/.bin/java/lib/libawt.so and b/.bin/java/lib/libawt.so differ diff --git a/.bin/java/lib/libawt_headless.so b/.bin/java/lib/libawt_headless.so index 1316e8c..310c521 100644 Binary files a/.bin/java/lib/libawt_headless.so and b/.bin/java/lib/libawt_headless.so differ diff --git a/.bin/java/lib/libextnet.so b/.bin/java/lib/libextnet.so index 816861c..cd13ba9 100644 Binary files a/.bin/java/lib/libextnet.so and b/.bin/java/lib/libextnet.so differ diff --git a/.bin/java/lib/libjava.so b/.bin/java/lib/libjava.so index 34251bd..1a0e062 100644 Binary files a/.bin/java/lib/libjava.so and b/.bin/java/lib/libjava.so differ diff --git a/.bin/java/lib/libjimage.so b/.bin/java/lib/libjimage.so index 51df09c..26b6c37 100644 Binary files a/.bin/java/lib/libjimage.so and b/.bin/java/lib/libjimage.so differ diff --git a/.bin/java/lib/libmanagement.so b/.bin/java/lib/libmanagement.so index 2df70ea..000fb74 100644 Binary files a/.bin/java/lib/libmanagement.so and b/.bin/java/lib/libmanagement.so differ diff --git a/.bin/java/lib/libmanagement_agent.so b/.bin/java/lib/libmanagement_agent.so index 949bc05..ed6f280 100644 Binary files a/.bin/java/lib/libmanagement_agent.so and b/.bin/java/lib/libmanagement_agent.so differ diff --git a/.bin/java/lib/libmanagement_ext.so b/.bin/java/lib/libmanagement_ext.so index 89d4b85..233da07 100644 Binary files a/.bin/java/lib/libmanagement_ext.so and b/.bin/java/lib/libmanagement_ext.so differ diff --git a/.bin/java/lib/libnet.so b/.bin/java/lib/libnet.so index f0f8e54..5a75044 100644 Binary files a/.bin/java/lib/libnet.so and b/.bin/java/lib/libnet.so differ diff --git a/.bin/java/lib/libnio.so b/.bin/java/lib/libnio.so index 9d76875..ded1fd4 100644 Binary files a/.bin/java/lib/libnio.so and b/.bin/java/lib/libnio.so differ diff --git a/.bin/java/lib/libsunec.so b/.bin/java/lib/libsunec.so new file mode 100644 index 0000000..2665c08 Binary files /dev/null and b/.bin/java/lib/libsunec.so differ diff --git a/.bin/java/lib/libverify.so b/.bin/java/lib/libverify.so index ac2d0bf..4b0c0f3 100644 Binary files a/.bin/java/lib/libverify.so and b/.bin/java/lib/libverify.so differ diff --git a/.bin/java/lib/libzip.so b/.bin/java/lib/libzip.so index cee5f7b..74c308d 100644 Binary files a/.bin/java/lib/libzip.so and b/.bin/java/lib/libzip.so differ diff --git a/.bin/java/lib/minimal/libjvm.so b/.bin/java/lib/minimal/libjvm.so new file mode 100644 index 0000000..bc32d79 Binary files /dev/null and b/.bin/java/lib/minimal/libjvm.so differ diff --git a/.bin/java/lib/modules.REMOVED.git-id b/.bin/java/lib/modules.REMOVED.git-id index 7bbffb3..28c790d 100644 --- a/.bin/java/lib/modules.REMOVED.git-id +++ b/.bin/java/lib/modules.REMOVED.git-id @@ -1 +1 @@ -ac2e8e2f21c042b889fc47fe6a91c8e3d0d4be0f \ No newline at end of file +2cf527b958a7a7ef9aef6cd31f39e553f08f881e \ No newline at end of file diff --git a/.bin/java/lib/security/blacklisted.certs b/.bin/java/lib/security/blacklisted.certs new file mode 100644 index 0000000..e192c1a --- /dev/null +++ b/.bin/java/lib/security/blacklisted.certs @@ -0,0 +1,20 @@ +Algorithm=SHA-256 +14E6D2764A4B06701C6CBC376A253775F79C782FBCB6C0EE6F99DE4BA1024ADD +31C8FD37DB9B56E708B03D1F01848B068C6DA66F36FB5D82C008C6040FA3E133 +3946901F46B0071E90D78279E82FABABCA177231A704BE72C5B0E8918566EA66 +450F1B421BB05C8609854884559C323319619E8B06B001EA2DCBB74A23AA3BE2 +4CBBF8256BC9888A8007B2F386940A2E394378B0D903CBB3863C5A6394B889CE +4FEE0163686ECBD65DB968E7494F55D84B25486D438E9DE558D629D28CD4D176 +5E83124D68D24E8E177E306DF643D5EA99C5A94D6FC34B072F7544A1CABB7C7B +76A45A496031E4DD2D7ED23E8F6FF97DBDEA980BAAC8B0BA94D7EDB551348645 +8A1BD21661C60015065212CC98B1ABB50DFD14C872A208E66BAE890F25C448AF +9ED8F9B0E8E42A1656B8E1DD18F42BA42DC06FE52686173BA2FC70E756F207DC +A686FEE577C88AB664D0787ECDFFF035F4806F3DE418DC9E4D516324FFF02083 +B8686723E415534BC0DBD16326F9486F85B0B0799BF6639334E61DAAE67F36CD +D24566BF315F4E597D6E381C87119FB4198F5E9E2607F5F4AB362EF7E2E7672F +D3A936E1A7775A45217C8296A1F22AC5631DCDEC45594099E78EEEBBEDCBA967 +DF21016B00FC54F9FE3BC8B039911BB216E9162FAD2FD14D990AB96E951B49BE +EC30C9C3065A06BB07DC5B1C6B497F370C1CA65C0F30C08E042BA6BCECC78F2C +F5B6F88F75D391A4B1EB336F9E201239FB6B1377DB8CFA7B84736216E5AFFFD7 +FC02FD48DB92D4DCE6F11679D38354CF750CFC7F584A520EB90BDE80E241F2BD +FDEDB5BDFCB67411513A61AEE5CB5B5D7C52AF06028EFC996CC1B05B1D6CEA2B diff --git a/.bin/java/lib/security/cacerts b/.bin/java/lib/security/cacerts new file mode 100644 index 0000000..7dbfca5 Binary files /dev/null and b/.bin/java/lib/security/cacerts differ diff --git a/.bin/java/lib/security/default.policy b/.bin/java/lib/security/default.policy new file mode 100644 index 0000000..b0ffc99 --- /dev/null +++ b/.bin/java/lib/security/default.policy @@ -0,0 +1,211 @@ +// +// Permissions required by modules stored in a run-time image and loaded +// by the platform class loader. +// +// NOTE that this file is not intended to be modified. If additional +// permissions need to be granted to the modules in this file, it is +// recommended that they be configured in a separate policy file or +// ${java.home}/conf/security/java.policy. +// + + +grant codeBase "jrt:/java.compiler" { + permission java.security.AllPermission; +}; + + +grant codeBase "jrt:/java.net.http" { + permission java.lang.RuntimePermission "accessClassInPackage.sun.net"; + permission java.lang.RuntimePermission "accessClassInPackage.sun.net.util"; + permission java.lang.RuntimePermission "accessClassInPackage.sun.net.www"; + permission java.lang.RuntimePermission "accessClassInPackage.jdk.internal.misc"; + permission java.net.SocketPermission "*","connect,resolve"; + permission java.net.URLPermission "http:*","*:*"; + permission java.net.URLPermission "https:*","*:*"; + permission java.net.URLPermission "ws:*","*:*"; + permission java.net.URLPermission "wss:*","*:*"; + permission java.net.URLPermission "socket:*","CONNECT"; // proxy + // For request/response body processors, fromFile, asFile + permission java.io.FilePermission "<>","read,write,delete"; + permission java.util.PropertyPermission "*","read"; + permission java.net.NetPermission "getProxySelector"; +}; + +grant codeBase "jrt:/java.scripting" { + permission java.security.AllPermission; +}; + +grant codeBase "jrt:/java.security.jgss" { + permission java.security.AllPermission; +}; + +grant codeBase "jrt:/java.smartcardio" { + permission javax.smartcardio.CardPermission "*", "*"; + permission java.lang.RuntimePermission "loadLibrary.j2pcsc"; + permission java.lang.RuntimePermission + "accessClassInPackage.sun.security.jca"; + permission java.lang.RuntimePermission + "accessClassInPackage.sun.security.util"; + permission java.util.PropertyPermission + "javax.smartcardio.TerminalFactory.DefaultType", "read"; + permission java.util.PropertyPermission "os.name", "read"; + permission java.util.PropertyPermission "os.arch", "read"; + permission java.util.PropertyPermission "sun.arch.data.model", "read"; + permission java.util.PropertyPermission + "sun.security.smartcardio.library", "read"; + permission java.util.PropertyPermission + "sun.security.smartcardio.t0GetResponse", "read"; + permission java.util.PropertyPermission + "sun.security.smartcardio.t1GetResponse", "read"; + permission java.util.PropertyPermission + "sun.security.smartcardio.t1StripLe", "read"; + // needed for looking up native PC/SC library + permission java.io.FilePermission "<>","read"; + permission java.security.SecurityPermission "putProviderProperty.SunPCSC"; + permission java.security.SecurityPermission + "clearProviderProperties.SunPCSC"; + permission java.security.SecurityPermission + "removeProviderProperty.SunPCSC"; +}; + +grant codeBase "jrt:/java.sql" { + permission java.security.AllPermission; +}; + +grant codeBase "jrt:/java.sql.rowset" { + permission java.security.AllPermission; +}; + + +grant codeBase "jrt:/java.xml.crypto" { + permission java.lang.RuntimePermission + "accessClassInPackage.sun.security.util"; + permission java.util.PropertyPermission "*", "read"; + permission java.security.SecurityPermission "putProviderProperty.XMLDSig"; + permission java.security.SecurityPermission + "clearProviderProperties.XMLDSig"; + permission java.security.SecurityPermission + "removeProviderProperty.XMLDSig"; + permission java.security.SecurityPermission + "com.sun.org.apache.xml.internal.security.register"; + permission java.security.SecurityPermission + "getProperty.jdk.xml.dsig.secureValidationPolicy"; + permission java.lang.RuntimePermission + "accessClassInPackage.com.sun.org.apache.xml.internal.*"; + permission java.lang.RuntimePermission + "accessClassInPackage.com.sun.org.apache.xpath.internal"; + permission java.lang.RuntimePermission + "accessClassInPackage.com.sun.org.apache.xpath.internal.*"; +}; + + +grant codeBase "jrt:/jdk.accessibility" { + permission java.lang.RuntimePermission "accessClassInPackage.sun.awt"; +}; + +grant codeBase "jrt:/jdk.charsets" { + permission java.util.PropertyPermission "os.name", "read"; + permission java.util.PropertyPermission "sun.nio.cs.map", "read"; + permission java.lang.RuntimePermission "charsetProvider"; + permission java.lang.RuntimePermission + "accessClassInPackage.jdk.internal.misc"; + permission java.lang.RuntimePermission "accessClassInPackage.sun.nio.cs"; +}; + +grant codeBase "jrt:/jdk.crypto.ec" { + permission java.lang.RuntimePermission + "accessClassInPackage.sun.security.*"; + permission java.lang.RuntimePermission "loadLibrary.sunec"; + permission java.security.SecurityPermission "putProviderProperty.SunEC"; + permission java.security.SecurityPermission "clearProviderProperties.SunEC"; + permission java.security.SecurityPermission "removeProviderProperty.SunEC"; +}; + +grant codeBase "jrt:/jdk.crypto.cryptoki" { + permission java.lang.RuntimePermission + "accessClassInPackage.sun.security.*"; + permission java.lang.RuntimePermission "accessClassInPackage.sun.nio.ch"; + permission java.lang.RuntimePermission "loadLibrary.j2pkcs11"; + permission java.util.PropertyPermission "sun.security.pkcs11.allowSingleThreadedModules", "read"; + permission java.util.PropertyPermission "os.name", "read"; + permission java.util.PropertyPermission "os.arch", "read"; + permission java.util.PropertyPermission "jdk.crypto.KeyAgreement.legacyKDF", "read"; + permission java.security.SecurityPermission "putProviderProperty.*"; + permission java.security.SecurityPermission "clearProviderProperties.*"; + permission java.security.SecurityPermission "removeProviderProperty.*"; + permission java.security.SecurityPermission + "getProperty.auth.login.defaultCallbackHandler"; + permission java.security.SecurityPermission "authProvider.*"; + // Needed for reading PKCS11 config file and NSS library check + permission java.io.FilePermission "<>", "read"; +}; + +grant codeBase "jrt:/jdk.desktop" { + permission java.lang.RuntimePermission "accessClassInPackage.com.sun.awt"; +}; + +grant codeBase "jrt:/jdk.dynalink" { + permission java.security.AllPermission; +}; + +grant codeBase "jrt:/jdk.httpserver" { + permission java.security.AllPermission; +}; + +grant codeBase "jrt:/jdk.internal.le" { + permission java.security.AllPermission; +}; + +grant codeBase "jrt:/jdk.internal.vm.compiler" { + permission java.security.AllPermission; +}; + +grant codeBase "jrt:/jdk.internal.vm.compiler.management" { + permission java.lang.RuntimePermission "accessClassInPackage.org.graalvm.compiler.hotspot"; + permission java.lang.RuntimePermission "accessClassInPackage.jdk.vm.ci.runtime"; + permission java.lang.RuntimePermission "accessClassInPackage.sun.management.spi"; + permission java.lang.RuntimePermission "sun.management.spi.PlatformMBeanProvider.subclass"; +}; + +grant codeBase "jrt:/jdk.jsobject" { + permission java.security.AllPermission; +}; + +grant codeBase "jrt:/jdk.localedata" { + permission java.lang.RuntimePermission "accessClassInPackage.sun.text.*"; + permission java.lang.RuntimePermission "accessClassInPackage.sun.util.*"; +}; + +grant codeBase "jrt:/jdk.naming.dns" { + permission java.security.AllPermission; +}; + +grant codeBase "jrt:/jdk.scripting.nashorn" { + permission java.security.AllPermission; +}; + +grant codeBase "jrt:/jdk.scripting.nashorn.shell" { + permission java.security.AllPermission; +}; + +grant codeBase "jrt:/jdk.security.auth" { + permission java.security.AllPermission; +}; + +grant codeBase "jrt:/jdk.security.jgss" { + permission java.security.AllPermission; +}; + +grant codeBase "jrt:/jdk.zipfs" { + permission java.io.FilePermission "<>", "read,write,delete"; + permission java.lang.RuntimePermission "fileSystemProvider"; + permission java.util.PropertyPermission "os.name", "read"; +}; + +// permissions needed by applications using java.desktop module +grant { + permission java.lang.RuntimePermission "accessClassInPackage.com.sun.beans"; + permission java.lang.RuntimePermission "accessClassInPackage.com.sun.beans.*"; + permission java.lang.RuntimePermission "accessClassInPackage.com.sun.java.swing.plaf.*"; + permission java.lang.RuntimePermission "accessClassInPackage.com.apple.*"; +}; diff --git a/.bin/java/lib/security/public_suffix_list.dat b/.bin/java/lib/security/public_suffix_list.dat new file mode 100644 index 0000000..9b0f023 Binary files /dev/null and b/.bin/java/lib/security/public_suffix_list.dat differ diff --git a/.bin/java/lib/server/libjvm.so b/.bin/java/lib/server/libjvm.so index b740055..9318b6f 100644 Binary files a/.bin/java/lib/server/libjvm.so and b/.bin/java/lib/server/libjvm.so differ diff --git a/.bin/java/lib/tzdb.dat b/.bin/java/lib/tzdb.dat index d00b595..d2d19a4 100644 Binary files a/.bin/java/lib/tzdb.dat and b/.bin/java/lib/tzdb.dat differ diff --git a/.bin/tmux b/.bin/tmux index fb85b92..24ab26a 100755 Binary files a/.bin/tmux and b/.bin/tmux differ diff --git a/bukkit.yml b/bukkit.yml index 62fb865..8532d4e 100644 --- a/bukkit.yml +++ b/bukkit.yml @@ -1,15 +1,15 @@ # This is the main configuration file for Bukkit. # As you can see, there's actually not that much to configure without any plugins. # For a reference for any variable inside this file, check out the Bukkit Wiki at -# http://wiki.bukkit.org/Bukkit.yml +# https://www.spigotmc.org/go/bukkit-yml # # If you need help on this file, feel free to join us on irc or leave a message # on the forums asking for advice. # # IRC: #spigot @ irc.spi.gt -# (If this means nothing to you, just go to http://www.spigotmc.org/pages/irc/ ) -# Forums: http://www.spigotmc.org/ -# Bug tracker: http://www.spigotmc.org/go/bugs +# (If this means nothing to you, just go to https://www.spigotmc.org/go/irc ) +# Forums: https://www.spigotmc.org/ +# Bug tracker: https://www.spigotmc.org/go/bugs settings: @@ -34,4 +34,4 @@ ticks-per: animal-spawns: 400 monster-spawns: 100 autosave: 6000 -aliases: now-in-commands.yml \ No newline at end of file +aliases: now-in-commands.yml diff --git a/commands.yml b/commands.yml index 61e3060..6cc91fc 100644 --- a/commands.yml +++ b/commands.yml @@ -1,18 +1,20 @@ # This is the commands configuration file for Bukkit. # For documentation on how to make use of this file, check out the Bukkit Wiki at -# http://wiki.bukkit.org/Commands.yml +# https://www.spigotmc.org/go/commands-yml # # If you need help on this file, feel free to join us on irc or leave a message # on the forums asking for advice. # # IRC: #spigot @ irc.spi.gt -# (If this means nothing to you, just go to http://www.spigotmc.org/pages/irc/ ) -# Forums: http://www.spigotmc.org/ -# Bug tracker: http://www.spigotmc.org/go/bugs +# (If this means nothing to you, just go to https://www.spigotmc.org/go/irc ) +# Forums: https://www.spigotmc.org/ +# Bug tracker: https://www.spigotmc.org/go/bugs command-block-overrides: [] -unrestricted-advancements: false +ignore-vanilla-permissions: false aliases: + icanhasbukkit: + - version $1- ban: - minecraft:ban $1- bukkit:reload: @@ -33,8 +35,6 @@ aliases: - minecraft:kick $1- kill: - minecraft:kill $1- - icanhasbukkit: - - version $1- list: - minecraft:list $1- me: @@ -63,3 +63,4 @@ aliases: - minecraft:weather $1- xp: - minecraft:xp $1- +unrestricted-advancements: false diff --git a/minecraft-server.jar b/minecraft-server.jar index f167909..24ab42c 100644 Binary files a/minecraft-server.jar and b/minecraft-server.jar differ diff --git a/paper.yml b/paper.yml index aa6723c..1062f58 100644 --- a/paper.yml +++ b/paper.yml @@ -10,7 +10,7 @@ # Paper Forums: https://aquifermc.org/ verbose: false -config-version: 13 +config-version: 14 settings: load-permissions-yml-before-plugins: false bungee-online-mode: true @@ -20,11 +20,16 @@ settings: incoming-packet-spam-threshold: 300 remove-invalid-statistics: false save-player-data: true + use-versioned-world: false min-chunk-load-threads: 8 suggest-player-names-when-null-tab-completions: true + spam-limiter: + tab-spam-increment: 2 + tab-spam-limit: 500 enable-player-collisions: true player-auto-save-rate: -1 max-player-auto-save-per-tick: -1 + use-alternative-luck-formula: false messages: kick: authentication-servers-down: '' @@ -35,10 +40,88 @@ timings: verbose: true server-name-privacy: false hidden-config-entries: + - database + - settings.bungeecord-addresses history-interval: 300 history-length: 3600 world-settings: default: + portal-search-radius: 128 + optimize-explosions: true + use-vanilla-world-scoreboard-name-coloring: false + delay-chunk-unloads-by: 10s + max-auto-save-chunks-per-tick: 24 + save-queue-limit-for-auto-save: 50 + enable-treasure-maps: true + treasure-maps-return-already-discovered: false + max-chunk-sends-per-tick: 81 + max-chunk-gens-per-tick: 10 + game-mechanics: + scan-for-legacy-ender-dragon: false + allow-permanent-chunk-loaders: false + disable-end-credits: false + disable-chest-cat-detection: false + disable-player-crits: false + disable-sprint-interruption-on-attack: false + shield-blocking-delay: 5 + disable-unloaded-chunk-enderpearl-exploit: true + max-growth-height: + cactus: 3 + reeds: 3 + fishing-time-range: + MinimumTicks: 100 + MaximumTicks: 600 + despawn-ranges: + soft: 32 + hard: 128 + falling-block-height-nerf: 0 + tnt-entity-height-nerf: 0 + frosted-ice: + enabled: true + delay: + min: 20 + max: 40 + lootables: + auto-replenish: false + restrict-player-reloot: true + reset-seed-on-fill: true + max-refills: -1 + refresh-min: 12h + refresh-max: 2d + filter-nbt-data-from-spawn-eggs-and-related: false + max-entity-collisions: 1 + disable-creeper-lingering-effect: false + remove-corrupt-tile-entities: true + use-chunk-inhabited-timer: true + queue-light-updates: true + duplicate-uuid-resolver: regenerate + keep-spawn-loaded-range: 8 + auto-save-interval: -1 + container-update-tick-rate: 3 + grass-spread-tick-rate: 400 + bed-search-radius: 1 + nether-ceiling-void-damage: false + non-player-arrow-despawn-rate: -1 + parrots-are-unaffected-by-player-movement: false + disable-explosion-knockback: false + allow-non-player-entities-on-scoreboards: false + prevent-tnt-from-moving-in-water: false + keep-spawn-loaded: false + experience-merge-max-value: -1 + skip-entity-ticking-in-chunks-scheduled-for-unload: true + armor-stands-do-collision-entity-lookups: true + disable-thunder: false + skeleton-horse-thunder-spawn-chance: 0.01 + disable-ice-and-snow: false + fire-physics-event-for-redstone: false + disable-teleportation-suffocation-check: true + allow-leashing-undead-horse: false + mob-spawner-tick-rate: 100 + squid-spawn-height: + maximum: 0.0 + baby-zombie-movement-speed: 0.5 + spawner-nerfed-mobs-should-jump: false + all-chunks-are-slime-chunks: false generator-settings: canyon: true caves: true @@ -53,25 +136,6 @@ world-settings: disable-extreme-hills-emeralds: false disable-extreme-hills-monster-eggs: false disable-mesa-additional-gold: false - portal-search-radius: 128 - optimize-explosions: true - use-vanilla-world-scoreboard-name-coloring: false - delay-chunk-unloads-by: 10s - max-auto-save-chunks-per-tick: 24 - save-queue-limit-for-auto-save: 50 - max-chunk-sends-per-tick: 81 - max-chunk-gens-per-tick: 10 - max-growth-height: - cactus: 3 - reeds: 3 - fishing-time-range: - MinimumTicks: 100 - MaximumTicks: 600 - despawn-ranges: - soft: 32 - hard: 128 - falling-block-height-nerf: 0 - tnt-entity-height-nerf: 0 water-over-lava-flow-speed: 5 fast-drain: lava: false @@ -79,48 +143,12 @@ world-settings: lava-flow-speed: normal: 30 nether: 10 - lootables: - auto-replenish: false - restrict-player-reloot: true - reset-seed-on-fill: true - max-refills: -1 - refresh-min: 12h - refresh-max: 2d - filter-nbt-data-from-spawn-eggs-and-related: false - max-entity-collisions: 1 - disable-creeper-lingering-effect: false hopper: cooldown-when-full: true disable-move-event: true push-based: false - remove-corrupt-tile-entities: true - use-chunk-inhabited-timer: true - queue-light-updates: true - keep-spawn-loaded-range: 8 - auto-save-interval: -1 - nether-ceiling-void-damage: false - allow-non-player-entities-on-scoreboards: false - frosted-ice: - enabled: true - delay: - min: 20 - max: 40 - container-update-tick-rate: 3 - game-mechanics: - disable-end-credits: false - disable-player-crits: false - disable-chest-cat-detection: false - parrots-are-unaffected-by-player-movement: false - disable-explosion-knockback: false elytra-hit-wall-damage: true - grass-spread-tick-rate: 400 use-alternate-fallingblock-onGround-detection: false - prevent-tnt-from-moving-in-water: false - non-player-arrow-despawn-rate: -1 - disable-teleportation-suffocation-check: true - enable-treasure-maps: true - treasure-maps-return-already-discovered: false - keep-spawn-loaded: false anti-xray: enabled: false engine-mode: 1 @@ -143,16 +171,3 @@ world-settings: replacement-blocks: - stone - planks - experience-merge-max-value: -1 - armor-stands-do-collision-entity-lookups: true - disable-thunder: false - skeleton-horse-thunder-spawn-chance: 0.01 - disable-ice-and-snow: false - fire-physics-event-for-redstone: false - squid-spawn-height: - maximum: 0.0 - baby-zombie-movement-speed: 0.5 - spawner-nerfed-mobs-should-jump: false - allow-leashing-undead-horse: false - mob-spawner-tick-rate: 100 - all-chunks-are-slime-chunks: false \ No newline at end of file diff --git a/plugins/CommandSpy.jar b/plugins/CommandSpy.jar index 43eef55..83e5eb0 100644 Binary files a/plugins/CommandSpy.jar and b/plugins/CommandSpy.jar differ diff --git a/plugins/Essentials.jar b/plugins/Essentials.jar index 4819a76..ed446e5 100644 Binary files a/plugins/Essentials.jar and b/plugins/Essentials.jar differ diff --git a/plugins/Extras.jar b/plugins/Extras.jar index f834809..71c2a7b 100644 Binary files a/plugins/Extras.jar and b/plugins/Extras.jar differ diff --git a/plugins/FastAsyncWorldEdit.jar b/plugins/FastAsyncWorldEdit.jar index 9aac2b9..3c14458 100644 Binary files a/plugins/FastAsyncWorldEdit.jar and b/plugins/FastAsyncWorldEdit.jar differ diff --git a/plugins/FastAsyncWorldEdit/textures/textures.jar b/plugins/FastAsyncWorldEdit/textures/textures.jar new file mode 100644 index 0000000..adb426a Binary files /dev/null and b/plugins/FastAsyncWorldEdit/textures/textures.jar differ diff --git a/plugins/LibsDisguises.jar b/plugins/LibsDisguises.jar index 412ccef..43665da 100644 Binary files a/plugins/LibsDisguises.jar and b/plugins/LibsDisguises.jar differ diff --git a/plugins/MySkin.jar b/plugins/MySkin.jar index ce6f063..c2a1acd 100644 Binary files a/plugins/MySkin.jar and b/plugins/MySkin.jar differ diff --git a/plugins/MySkin/config.yml b/plugins/MySkin/config.yml new file mode 100644 index 0000000..5e495b5 --- /dev/null +++ b/plugins/MySkin/config.yml @@ -0,0 +1,9 @@ +MYSQL_ENABLED: false +MYSQL_HOST: localhost +MYSQL_PORT: '3306' +MYSQL_USERNAME: username +MYSQL_PASSWORD: password +MYSQL_DATABASE: database +SKINSEARCH_ENABLED: false +SKINSEARCH_ROWS: 6 +CONFIG_VERSION: 1 diff --git a/plugins/MySkin/localize.yml b/plugins/MySkin/localize.yml index 20f75b3..98e8fc1 100644 --- a/plugins/MySkin/localize.yml +++ b/plugins/MySkin/localize.yml @@ -1 +1,13 @@ -SETSKIN_USAGE: 'Usage: /setskin ' +SKINCOMMAND_USAGE: 'Usage: /setskin ' +NO_PERMISSION: '&cYou do not have a permission for this.' +SKINCOMMAND_SUCCESSFUL_FRESH: '&aSkin set successfully!' +SKINCOMMAND_SUCCESSFUL_CACHE: '&aSkin set from cache successfully!' +SKINCOMMAND_FAILED: '&cFailed to set skin because: &4%reason%.' +REASON_UNKNOWN: Unknown +REASON_NOT_PREMIUM: Skin does not exist +REASON_RATE_LIMITED: Skin was requested too many times +NOT_PLAYER: '&cYou have to be a player!' +PLAYAER_DOES_NOT_EXIST: '&cPlayer does not exist!' +MYSKINCOMMAND_RELOADED: '&eMySkin was reloaded!' +SKINSEARCH_TITLE: '&a&lSkin Search' +SKINSEARCH_SKIN_LOAD_FAILED: '&lCould not load this skin!' diff --git a/plugins/ProtocolSupport.jar b/plugins/ProtocolSupport.jar deleted file mode 100644 index 18aa9ea..0000000 Binary files a/plugins/ProtocolSupport.jar and /dev/null differ diff --git a/plugins/ViaBackwards.jar b/plugins/ViaBackwards.jar new file mode 100644 index 0000000..ab71192 Binary files /dev/null and b/plugins/ViaBackwards.jar differ diff --git a/plugins/ViaVersion.jar b/plugins/ViaVersion.jar new file mode 100644 index 0000000..eb49165 Binary files /dev/null and b/plugins/ViaVersion.jar differ diff --git a/plugins/ViaVersion/config.yml b/plugins/ViaVersion/config.yml new file mode 100644 index 0000000..63154a7 --- /dev/null +++ b/plugins/ViaVersion/config.yml @@ -0,0 +1,104 @@ +# Thanks for downloading ViaVersion +# Ensure you look through all these options +# If you need help: +# viaversion.com - Discussion tab +# IRC - https://elmer.spi.gt/iris/?nick=&channels=viaversion #viaversion on irc.spi.gt +# Docs - https://docs.viaversion.com/display/VIAVERSION/Configuration +# +# ----------------------------------------------------------# +# GLOBAL OPTIONS # +# ----------------------------------------------------------# +# +# Should ViaVersion check for updates? +checkforupdates: false +# Send the supported versions with the Status (Ping) response packet +send-supported-versions: false +# Block specific Minecraft protocols that ViaVersion allows +# List of all Minecraft protocol versions: http://wiki.vg/Protocol_version_numbers +block-protocols: [] +# Change the blocked disconnect message +block-disconnect-msg: You are using an unsupported Minecraft version! +# If you use ProtocolLib, we can't reload without kicking the players. +# (We don't suggest using reload either, use a plugin manager) +# You can customise the message we kick people with if you use ProtocolLib here. +reload-disconnect-msg: Server reload, please rejoin! +# +# ----------------------------------------------------------# +# GLOBAL PACKET LIMITER # +# ----------------------------------------------------------# +# +# +# Packets Per Second (PPS) limiter (Use -1 on max-pps and tracking-period to disable) +# Clients by default send around 20-90 packets per second. +# +# What is the maximum per second a client can send (Use %pps to display their pps) +# Use -1 to disable. +max-pps: 800 +max-pps-kick-msg: You are sending too many packets! +# +# We can also kick them if over a period they send over a threshold a certain amount of times. +# +# Period to track (in seconds) +# Use -1 to disable. +tracking-period: 6 +# How many packets per second counts as a warning +tracking-warning-pps: 120 +# How many warnings over the interval can we have +# This can never be higher than "tracking-period" +tracking-max-warnings: 4 +tracking-max-kick-msg: You are sending too many packets, :( +# +# ----------------------------------------------------------# +# MULTIPLE VERSIONS OPTIONS # +# ----------------------------------------------------------# +# +# Should we enable our hologram patch? +# If they're in the wrong place enable this +hologram-patch: false +# This is the offset, should work as default when enabled. +hologram-y: -0.96 +# Should we disable piston animation for 1.11/1.11.1 clients? +# In some cases when firing lots of pistons it crashes them. +piston-animation-patch: false +# Should we fix nbt for 1.12 and above clients in chat messages (causes invalid item) +chat-nbt-fix: true +# Experimental - Should we fix shift quick move action for 1.12 clients (causes shift + double click not to work when moving items) (only works on 1.8-1.11.2 bukkit based servers) +quick-move-action-fix: false +# Should we use prefix for team colour on 1.13 and above clients +team-colour-fix: true +# +# ----------------------------------------------------------# +# 1.9 & 1.10 CLIENTS ON 1.8 SERVERS OPTIONS # +# ----------------------------------------------------------# +# +# No collide options, these allow you to configure how collision works. +# Do you want us to prevent collision? +prevent-collision: true +# If the above is true, should we automatically team players until you do? +auto-team: true +# When enabled if certain metadata can't be read we won't tell you about it +suppress-metadata-errors: false +# When enabled 1.9 & 1.10 will be able to block by using shields +shield-blocking: true +# Enable player tick simulation, this fixes eating, drinking, nether portals. +simulate-pt: true +# Should we use nms player to simulate packets, (may fix anti-cheat issues) +nms-player-ticking: true +# Should we patch boss bars so they work? (Default: true, disable if you're having issues) +bossbar-patch: true +# If your boss bar flickers on 1.9 & 1.10, set this to 'true'. It will keep all boss bars on 100% (not recommended) +bossbar-anti-flicker: false +# This will show the new effect indicator in the top-right corner for 1.9 & 1.10 players. +use-new-effect-indicator: true +# Show the new death messages for 1.9 & 1.10 on the death screen +use-new-deathmessages: true +# Should we cache our items, this will prevent server from being lagged out, however the cost is a constant task caching items +item-cache: true +# Patch the Anti xray to work on 1.9 & 1.10 (If your server is 1.8) This can cost more performance, so disable it if you don't use it. +anti-xray-patch: true +# Should we replace extended pistons to fix 1.10.1 (Only on chunk load) +replace-pistons: false +# What id should we replace with, default is air. (careful of players getting stuck standing on them) +replacement-piston-id: 0 +# Force the string -> json transform +force-json-transform: false diff --git a/plugins/Weapons.jar b/plugins/Weapons.jar index d4cc9a8..34b3dc4 100644 Binary files a/plugins/Weapons.jar and b/plugins/Weapons.jar differ diff --git a/plugins/WorldEdit.jar b/plugins/WorldEdit.jar index 4924392..6c95c97 100644 Binary files a/plugins/WorldEdit.jar and b/plugins/WorldEdit.jar differ diff --git a/plugins/WorldEdit/config.yml b/plugins/WorldEdit/config.yml index e6b7612..290423a 100644 --- a/plugins/WorldEdit/config.yml +++ b/plugins/WorldEdit/config.yml @@ -18,12 +18,12 @@ limits: allow-extra-data-values: true max-blocks-changed: - default: 30000 - maximum: 30000 + default: 200000 + maximum: 200000 max-polygonal-points: default: -1 maximum: 20 - max-radius: 60 + max-radius: 20 max-super-pickaxe-size: 5 max-brush-radius: 5 butcher-radius: diff --git a/plugins/WorldEdit/schematics/BBC.schematic b/plugins/WorldEdit/schematics/BBC.schematic deleted file mode 100644 index 7d780db..0000000 Binary files a/plugins/WorldEdit/schematics/BBC.schematic and /dev/null differ diff --git a/plugins/WorldEdit/schematics/beacon.schematic b/plugins/WorldEdit/schematics/beacon.schematic deleted file mode 100644 index 0be3258..0000000 Binary files a/plugins/WorldEdit/schematics/beacon.schematic and /dev/null differ diff --git a/plugins/iControlU.jar b/plugins/iControlU.jar new file mode 100644 index 0000000..afb86fb Binary files /dev/null and b/plugins/iControlU.jar differ diff --git a/server.properties b/server.properties index 22f44ad..389d8d8 100644 --- a/server.properties +++ b/server.properties @@ -8,6 +8,7 @@ difficulty=1 enable-command-block=true enable-query=true enable-rcon=false +enforce-whitelist=false force-gamemode=false gamemode=1 generate-structures=true @@ -17,7 +18,7 @@ level-name=world level-seed=0 level-type=DEFAULT max-build-height=256 -max-players=0 +max-players=20 max-world-size=29999984 motd=\u00A78\u00A7l Welcome to Kaboom.pw\!\n > \u00A77Free OP - Anarchy - Creative network-compression-threshold=256 diff --git a/spigot.yml b/spigot.yml index dab03f7..e640011 100644 --- a/spigot.yml +++ b/spigot.yml @@ -17,12 +17,9 @@ settings: bungeecord: false late-bind: true player-shuffle: 0 - filter-creative-items: false user-cache-size: 1000 - int-cache-limit: 1024 moved-wrongly-threshold: 100.0 moved-too-quickly-multiplier: 100.0 - item-dirty-ticks: 20 timeout-time: 60 restart-on-crash: false restart-script: @@ -35,9 +32,17 @@ settings: attackDamage: max: 2048.0 debug: false + filter-creative-items: false + int-cache-limit: 1024 + item-dirty-ticks: 20 +messages: + whitelist: The server is temporarily down for maintenance. Please try again later! + unknown-command: Unknown command. Type "/help" for help. + server-full: The server is temporarily down for maintenance. Please try again later! + outdated-client: Your client is outdated. Please join with Minecraft version {0}! + outdated-server: The server is outdated. Please join with Minecraft version {0}! + restart: The server is restarting. Please wait... commands: - tab-complete: 0 - log: false spam-exclusions: - /skill silent-commandblock-console: true @@ -46,13 +51,9 @@ commands: - summon - testforblock - tellraw -messages: - whitelist: The server is temporarily down for maintenance. Please try again later! - unknown-command: Unknown command. Type "/help" for help. - server-full: The server is temporarily down for maintenance. Please try again later! - outdated-client: Your client is outdated. Please join with Minecraft version {0}! - outdated-server: The server is outdated. Please join with Minecraft version {0}! - restart: The server is restarting. Please wait... + tab-complete: 0 + send-namespaced: true + log: false advancements: disable-saving: true disabled: @@ -117,6 +118,7 @@ stats: world-settings: default: verbose: false + mob-spawn-range: 3 growth: cactus-modifier: 100 cane-modifier: 100 @@ -133,7 +135,6 @@ world-settings: monsters: 24 misc: 4 tick-inactive-villagers: false - mob-spawn-range: 3 entity-tracking-range: players: 48 animals: 48 @@ -145,11 +146,15 @@ world-settings: hopper-check: 1 hopper-amount: 1 random-light-updates: false - save-structure-info: false dragon-death-sound-radius: 0 seed-village: 10387312 - seed-feature: 14357617 + seed-desert: 14357617 + seed-igloo: 14357618 + seed-jungle: 14357619 + seed-swamp: 14357620 seed-monument: 10387313 + seed-shipwreck: 165745295 + seed-ocean: 14357621 seed-slime: 987234911 hunger: jump-walk-exhaustion: 0.05 @@ -165,18 +170,20 @@ world-settings: entity: 20 squid-spawn-range: min: 45.0 - item-despawn-rate: 6000 + view-distance: 5 + enable-zombie-pigmen-portal-spawns: true merge-radius: item: 4.0 exp: 6.0 - view-distance: 5 arrow-despawn-rate: 1200 - enable-zombie-pigmen-portal-spawns: true + item-despawn-rate: 6000 wither-spawn-sound-radius: 0 hanging-tick-frequency: 100 - zombie-aggressive-towards-villager: false nerf-spawner-mobs: false + zombie-aggressive-towards-villager: false max-entity-collisions: 1 + save-structure-info: false + seed-feature: 14357617 world: mob-spawn-range: 0 max-tnt-per-tick: 0