Both mainstream parties are struggling, and their tactics to counter the FN have proven to be costly for the Socialists and ineffective for the Republicans.