Yes, firing rockets indiscriminately at population center, sending 'freedom' fighters to blow him/herself up in civilian bus terminals, or using their own children as shield and propaganda are legitimate actions by a nation.
That's Hamas/PLO; not the Palestinian people that have lived on that very same land for 2000+ years. Please get your hate straight.