This paper demonstrates Global Positioning System (GPS) spoofing with a commercial, off the shelf software defined radio (SDR) emitter fitted with a local oscillator exhibiting a stability consistent with the medium term (0.01 to 1000 s) stability of atomic clocks on GPS satellite systems. Computationally efficient means of detecting spoofing is then addressed, namely codeless spoofing detection by phase difference measurement of the signals received from a two-antenna array. We conclude by using a simple and effective method to suppress spoofing to restore positioning and time transfer capabilities, and extend the demonstration to jamming cancellation. Experiment results demonstrate the performance of the proposed methods with an emphasis on computational efficiency for real time execution on embedded single board computers.