Relaxation of plasma at the shock front