Particles and fields in the magnetosphere door