Thank you for stating that these attacks are 'legitimate'.
I agree that they aren't the best way forward, not against a nuclear armed state that uses Gaza like a weapons testing ground.
Right now there are only three other options.
1) International boycotts and support through BDS and the ICC (both of which you try to delegitimize)
2) peace talks (which haven't existed for 2 years and would be pointless with Netanyahu in power, since he promised to never let the two state solution happen)
3) work for equal rights in Apartheid Israel
Since 2) is impossible now with Netanyahu in power, which of BDS/ICC, equal rights or violent resistance do you support in fighting the occupation, which you agree is the problem.