The effect of porosity on shock interaction with a rigid, porous barrier