Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] disable connection logging #12

Open
ButterMoment opened this issue Nov 17, 2024 · 5 comments
Open

[FEATURE] disable connection logging #12

ButterMoment opened this issue Nov 17, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@ButterMoment
Copy link

ButterMoment commented Nov 17, 2024

Hi! So I'm using this to play with friends (or atleast, I will) and every few minutes there is a huge chunk of log spam.
I've attached a photo:
logspam
I've tried to censor anything that might be dangerous to share, let me know if I missed something.
This is without ANY activity. The server is not being joined, not sharing details like MOTD, no client is interacting with it. This just happens every few minutes and will inflate my logs over time.
I do have a mod that clears old logs (not opened or written to in 14+ days) but that does nothing to shrink the current session's log and I have no plans for automatic restarts.
Keep in mind my "server" (an old computer relying on an old USB dongle to get a WiFi connection) has a shaky connection, which may be causing this. Potentially packet loss??
Buying a new dongle is an option but not preferred.

Version info
Mod: 1.3.2
Loader: Quilt 0.27.0 (Quilt has Fabric compatibility)
Game: Minecraft 1.20.1

@ButterMoment ButterMoment changed the title Insane log spam Intense log spam Nov 17, 2024
@ButterMoment
Copy link
Author

Nevermind, I just realised I had a tab open that was routinely getting the MOTD 😅

@ButterMoment
Copy link
Author

nvm seems it wasnt that

@ButterMoment ButterMoment reopened this Nov 17, 2024
@maxomatic458
Copy link
Owner

maxomatic458 commented Nov 18, 2024

@ButterMoment its not to uncommon to see random connection attempts to mc servers (that is what those logs basically mean).
There are scanners that just scan for mc servers.

and the playit network itself also scans the tunnels for illegal use (e.g check if you are hosting a malware command and control server) maybe every few minutes or so.

So id say that that is probably "intended behavior".
The mod just logs every connection attempt (and there currently is no a way to disable/configure the logging)

also as side info, its recommended to use the playit program, because the plugin (or mod that is basically a translation of the plugin) are kinda outdated (and might lead to worse performance)

Edit: you should probably also setup a whitelist if you just play with a few friends, because the IPs playit provides are known and they are also reused.

@maxomatic458
Copy link
Owner

Ill see if i can add a config options to disable the logs.

@ButterMoment
Copy link
Author

Oh, that makes sense! And yeah, I'll set up a whitelist later on, currently the server is just sitting here but once I start doing stuff with it I'll definitely whitelist it.

@maxomatic458 maxomatic458 changed the title Intense log spam [FEATURE] disable connection logging Nov 18, 2024
@maxomatic458 maxomatic458 added the enhancement New feature or request label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants