The 6 yard box is actually called the ‘goalkeepers area’. The reason it even exists was to stop centre forwards bundling the keeper into the goal with the ball, in the same way the offside rule was introduced to stop goal hanging.
The rule states that no opposition player is allowed to touch...