We need to examine what is making the UK so attractive to all of these migrants that makes them want to travel as fast as possible across various European countries to get here. Once that is identified, and we all know that it is our overly generous benefits package, then withdraw it. The problem would disappear overnight.
As an aside, because I am in receipt of an Armed Forces Medical Pension, I am not entitled to any other benefits whatsoever even though I have paid NI for my whole life.