Skip to content

Anti-Xray 1.0 new PR#432

Closed
stonar96 wants to merge 12 commits intoPaperMC:masterfrom
stonar96:anti-xray/1.0
Closed

Anti-Xray 1.0 new PR#432
stonar96 wants to merge 12 commits intoPaperMC:masterfrom
stonar96:anti-xray/1.0

Conversation

@stonar96
Copy link
Copy Markdown
Contributor

@stonar96 stonar96 mentioned this pull request Sep 23, 2016
@stonar96
Copy link
Copy Markdown
Contributor Author

stonar96 commented Sep 23, 2016

As I have already mentioned in #349 I will create a new PR for Anti-Xray 2.0 soon. This is still the old implementation with the locks just in case that we come back to it again.

@mibby
Copy link
Copy Markdown

mibby commented Oct 6, 2016

Any update on Anti-Xray 2.0? :o

@ScuroK
Copy link
Copy Markdown

ScuroK commented Oct 20, 2016

Any news?

+ this.ready = ready;
+ }
+
+ public void setWrittenChunkSections(int writtenChunkSections) { // Used to set this.c to the return value of this.a(PacketDataSerializer packetdataserializer, Chunk chunk, boolean flag, int i, Chunk[] nearbyChunks) in asynchronous mode
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be an obfhelper defined on the same line as the variable c (to ensure it conflicts on updates)

}

+ // Paper start - Anti-Xray - notify from 1.8
+ public void notify(BlockPosition blockposition) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All obfuscated accesses here need obf helpers

@Fonzee9
Copy link
Copy Markdown

Fonzee9 commented Dec 7, 2016

When is this gonna be in paper? :)

@aikar
Copy link
Copy Markdown
Member

aikar commented Dec 7, 2016

@Fonzee9 when the changes we have requested are performed and we are happy with the state of the PR.

author has stated intent to do another pass at it as a "2.0". We've not heard anything since. It's not going to be pulled in its current state.

@kashike
Copy link
Copy Markdown
Member

kashike commented Jun 11, 2017

Any update to this?

@stonar96
Copy link
Copy Markdown
Contributor Author

stonar96 commented Aug 13, 2017

I am sorry that I didn't reply for a long time. I was busy at university and with lots of other stuff so that I couldn't work on Anti-Xray anymore. As I have already mentioned in the IRC I have decided to continue working on Anti-Xray 2.0 and I have good news. It begins to take shape and I plan to do the first tests in a few days.

Update: Today I did the above announced tests and after some bug fixing everything worked fine so far. The new implementation is designed so that the obfuscation is thread safe even without such locks like in Anti-Xray 1.0. There are still some parts to implement (e.g. the configuration part, the block updates and the implementation of the asynchronous thread) but most of the work is done. I plan to PR in a few days.

Update: #858

@stonar96 stonar96 mentioned this pull request Aug 17, 2017
@zachbr
Copy link
Copy Markdown
Contributor

zachbr commented Aug 23, 2017

Closing, discussion should move to 858, linked above.

@zachbr zachbr closed this Aug 23, 2017
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.

7 participants