Turbulent processes upstream and downstream of the bow shock