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

Re-Add Anti-Xray #2240

Merged
merged 11 commits into from Jul 10, 2019
Merged

Re-Add Anti-Xray #2240

merged 11 commits into from Jul 10, 2019

Conversation

Spottedleaf
Copy link
Member

2019-06-23_07 11 16
2019-06-23_07 11 20
mode 2 as an example

@Gerrygames
Copy link
Contributor

I did upload this to our servers and it seems to be working fine so far. 👍

@rbreslow
Copy link

This seems like an overkill patch to add to Paper core. Do you think you could resubmit split up or at least add some documentation or more context as to what this PR is changing?

@kickash32
Copy link
Contributor

This seems like an overkill patch to add to Paper core. Do you think you could resubmit split up or at least add some documentation or more context as to what this PR is changing?

This patch was already in paper perviously, documentation is in here https://paper.readthedocs.io/en/stable/server/configuration.html

aikar
aikar previously requested changes Jun 26, 2019
Spigot-Server-Patches/0408-Anti-Xray.patch Outdated Show resolved Hide resolved
@MiniDigger
Copy link
Member

@rbreslow you are prolly looking at the diff of the patch file, which is kinda hard to read if you don't know the full patch. if you are just interested in watch this patch does (and not in the changes for 1.14), look here
https://github.com/Spottedleaf/Concrete-PR/blob/anti-xray/Spigot-Server-Patches/0408-Anti-Xray.patch

@Gerrygames
Copy link
Contributor

One of our servers crashed today. Looks like it might have something to do with the anti xray patch. We did not have this issue once before. I wasn't running the latest version though. I guess the newest commit could have fixed that issue? I'm currently building the newest versions and will test it on our servers.
Crash log:
https://hastebin.com/zopefogopi.md

@Spottedleaf
Copy link
Member Author

yeah that's an xray issue

@rbreslow
Copy link

Seems like this would be something more suited to an add-on or an addition to NCP than as a big patch for Spigot. Isn't the goal of this project to mirror the vanilla server just with higher performance? Not to add new behavior like this?

Was there a reason it was originally removed, as it seems like that's what happened?

@kickash32
Copy link
Contributor

Anti-Xray is a configurable feature and is disabled by default, reason it was removed was because it needed to be updated.

@Gerrygames
Copy link
Contributor

After updating to the latest versions the servers started to crash more often. Hastebin seems to be down so I can't take a look at the previous crash log but maybe this one is different.
http://paste.cytooxien.de/ruriharawo.md

@Spottedleaf
Copy link
Member Author

yeah that was an oversight in a recent change; I should have accounted for plugin-sent packets

As for the first crash can you show more logs?

@Gerrygames
Copy link
Contributor

Yeah that was our replay system writing chunks to the replay.
One server crashed this morning but it was restarted before I copied the log. I configured the server so that the logs won't be deleted and will send you the log as soon as another crash occurs.

@Gerrygames
Copy link
Contributor

Here's another crash log:
http://paste.cytooxien.de/demulifezu.md

@Spottedleaf
Copy link
Member Author

please try again on latest, it should be resolved now

@Gerrygames
Copy link
Contributor

Okay. Uploaded and running. I will inform you about any crashes.

@Gerrygames
Copy link
Contributor

No crashes so far 👍

@Gerrygames
Copy link
Contributor

Unfortunately a server crashed again:
http://paste.cytooxien.de/acaretiqot.md

@Spottedleaf
Copy link
Member Author

can you show the full log?

@Gerrygames
Copy link
Contributor

@Spottedleaf
Copy link
Member Author

Try again on latest, this one should be resolved now

@zachbr
Copy link
Contributor

zachbr commented Jul 2, 2019

Updated paper jar for testing. Based on build 121 (dafc3db).
Please report bugs with the antixray system to this thread directly. You may be turned away for reporting them to the normal channels.

https://keybase.pub/zachbr/paper/github/pulls/2240/paperclip-121-GH2240-e679a7c.jar
md5sum: 7331d1e190b300c55b5f72fd9e6ba713
sha256sum: f0c3c6f68e32b6d2d75eb5e7a93ab9083da36e8a79d34b5fd471bafee57f0ac6

@Gerrygames
Copy link
Contributor

No crashes since we uploaded version e679a7c 4 days ago.

@maxspeed3006
Copy link

No crashes since we uploaded version e679a7c 4 days ago.

Same, been running this for 6 days with no crashes so far with around 20 players.

@BillyGalbreath
Copy link
Contributor

Little birdie told me more comments are wanted on this, so here's mine:

Been using it for over 3 weeks. Works great. ^_^

@kashike kashike self-assigned this Jul 10, 2019
@kashike kashike merged commit 8812fed into PaperMC:ver/1.14 Jul 10, 2019
@kashike
Copy link
Member

kashike commented Jul 10, 2019

tada

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet