Configuration change log 2.0.0 to 3.0.0 - SlimeDog/NetworkInterceptor GitHub Wiki

NetworkInterceptor ▪ Monitor and block outgoing network connections

⚠️ There is one new configuration key in NetworkInterceptor 3.0.0 (and many changes to comments). These changes must be performed manually; NetworkInterceptor does not change the files automatically.

key                                       default                       description
logging.truncate-file-on-start true Truncate the intercept log on server start-up 🚩 Added in 3.0.0

config.yml / sample-deny-config.yml

< NetworkInterceptor 2.0.0 config.yml
> NetworkInterceptor 3.0.0 config.yml
15,18c15,18
< #   - Installs a custom SecurityManager into the server
< #   - Will intercept all outgoing network requests
< #   - May be incompatible with other plugins which install a security manager
< #   - In particular, note that AAC disables itself if the security-manager method is enabled.
---
> # * Installs a custom SecurityManager into the server
> # * Will intercept all outgoing network requests
> # * May be incompatible with other plugins which install a security manager
> # * In particular, note that AAC disables itself if the security-manager method is enabled.
21,24c21,24
< #  - Installs a custom ProxySelector into the server
< #  - Will intercept most outgoing HTTP requests
< #  - Will not catch requests which specifically define their proxy
< #  - Should not be incompatible with anything
---
> # * Installs a custom ProxySelector into the server
> # * Will intercept most outgoing HTTP requests
> # * Will not catch requests which specifically define their proxy
> # * Should not be incompatible with anything
54a55
>   truncate-file-on-start: true
74,78c75,78
< # If LuckPerms is installed, we recommend listing it as a trusted plugin,
< # to simplify configuration.
< trusted-plugins:
<   - none
<   # LuckPerms
---
> # If LuckPerms is installed, we recommend listing it as a trusted plugin, to simplify configuration.
> # Remove [] on the next line, and add the following line (without the # comment).
> # - LuckPerms
> trusted-plugins: []
81c81,82
< # Entries should be lowercase
---
> # A list of disallowed FQDNs and IP addresses
> # Entries should be lowercase.
83a85,87
> #
> # A good place to start looking is the sample-allow-config.yml content.
> # Then review the intercept log to discover more.
86d89
<   # A list of disallowed FQDNs and IP addresses

sample-allow-config.yml

< NetworkInterceptor 2.0.0 sample-allow-config.yml
> NetworkInterceptor 3.0.0 sample-allow-config.yml
15,18c15,18
< #   - Installs a custom SecurityManager into the server
< #   - Will intercept all outgoing network requests
< #   - May be incompatible with other plugins which install a security manager
< #   - In particular, note that AAC disables itself if the security-manager method is enabled.
---
> # * Installs a custom SecurityManager into the server
> # * Will intercept all outgoing network requests
> # * May be incompatible with other plugins which install a security manager
> # * In particular, note that AAC disables itself if the security-manager method is enabled.
21,24c21,24
< #  - Installs a custom ProxySelector into the server
< #  - Will intercept most outgoing HTTP requests
< #  - Will not catch requests which specifically define their proxy
< #  - Should not be incompatible with anything
---
> # * Installs a custom ProxySelector into the server
> # * Will intercept most outgoing HTTP requests
> # * Will not catch requests which specifically define their proxy
> # * Should not be incompatible with anything
54a55
>   truncate-file-on-start: true
75,77c76,78
< trusted-plugins:
<   - none
<   # LuckPerms
---
> # Remove [] on the next line, and add the following line (without the # comment).
> # - LuckPerms
> trusted-plugins: []
109c110
<   # bStats metrics service
---
>   # Metrics services
110a112
>   - 'mcstats.spigotmc.org'
121a124
>   # For plugins that utilize the SpigotMC library loader, e.g., ntdLuckyBlock
126,128c129,134
<   # SpigotMC plugin update check
<   - 'api.spiget.org'
<   - 'api.spigotmc.org'
---
>   # Plugin update checks
>   - 'api.github.com'                    # EssentialsX
>   - 'api.spiget.org'                    # Alternate for SpigotMC plugins
>   - 'api.spigotmc.org'                  # Standard for SpigotMC plugins
>   - 'gist.githubusercontent.com'        # PremiumVanish (probably also SuperVanish)
>   - 'raw.githubusercontent.com'         # DiscordSRV
133,135c139,141
<   - 'bytebin.lucko.me'            # pastebin
<   - 'metadata.luckperms.net'      # dependencies
<   - 'nexus.lucko.me'              # dependencies
---
>   - 'bytebin.lucko.me'                  # pastebin
>   - 'metadata.luckperms.net'            # dependencies
>   - 'nexus.lucko.me'                    # dependencies
⚠️ **GitHub.com Fallback** ⚠️