We study the effect of additive noise on near-integrable second-order dynamical systems whose unperturbed flows have homoclinic or heteroclinic orbits. The noise is represented by a type of Shinozuka stochastic process capable of arbitrarily closely approximating Gaussian noise with any specified spectrum. We derive a formula for the flux factor applicable for any asymptotic mean stationary excitation. This derivation shows that, to first order, the effect of the external excitation on the system is mediated by a linear filter associated with the system homoclinic or heteroclinic orbit. It also shows that the stationary mean distribution of the filtered excitation determines the average phase space flux. This is true for both random and nonrandom excitations and indicates that, for the dynamical systems considered here, these two classes of excitation play substantially equivalent roles in the promotion of chaos.