Certain statements are known to be unprovable within a given axiomatic system; the continuum hypothesis within ZFC is an example. We can either add the continuum hypothesis, or its negation, to ZFC, and proceed with the new consistent set of axioms.
My question is: how do we know whether a given statement (say, within ZFC) is provable or unprovable? I'm intrigued because I read that for many years people sought a proof of the continuum hypothesis within ZFC (e.g. it was no. 1 on Hilbert's list of pressing problems), which turns out to be impossible. Could it be that there are "unsolved" problems out there for which people are searching solutions, while in fact those statements are unprovable? Must a mathematician always live with the fear of doing Sisyphus' labour? As specific examples, could the Riemann hypothesis or the Goldbach conjecture actually be unprovable within ZFC?