I also have the issue with the riposes but i convinced myself that i pressed the button with muscle memory.
But then again sometimes i can make a ripose on getting hit.
The ghost hits are much more complicated to troubleshoot. Are you talking about close misses or the classical ghost attack which is more like an illusionary attack?
To my knowlegde classic ghost attack can be provoked by doing certain combos that may or may not have to start with an alt attack. It has been some time since i have seen someone do them consitently.
But i am pretty sure that they are unrelated to connection.
If you are having problems with missing but its not a ghost attack then:
-if you play in first person and if you are standing on an elevation your 1rst person weapon and the the 3rd person weapon dont line up
- are you maybe using weapons that have their tracer butchered ?
can you provide some video material?