Responding to the overnight rocket attack into southern Israel, Israeli warplanes bombed the Hamas-ruled Gaza Strip, the army said. The latest exchange came as Israel warned Hamas it was risking "war" by failing to stop fire balloons being launched across the border. Egyptian security officials shuttled between the two sides in a bid to end the flare-up which has seen more than a week of rocket and fire balloon attacks from Gaza and nightly Israeli reprisals. "Earlier tonight, a rocket was fired and during the day, explosive and arson balloons were launched from the Gaza Strip into Israeli territory," said a military statement released shortly before midnight (2100 GMT). In response, "fighter jets and (other) aircraft struck additional Hamas military targets in the Gaza Strip. "During the strike, a military compound belonging to one of the special arrays of the Hamas terror organization was struck," the English language statement added. There were no reports from Gaza of casualties. Israeli President Reuven Rivlin issued a warning to Hamas during a visit to firefighters in the border area who said they were called out to 40 blazes caused by Palestinian arson balloons on Tuesday. "Terrorism using incendiary kites and balloons is terrorism just like any other," Rivlin told them, according to a statement from his office. "Hamas should know that this is not a game. The time will come when they have to decide... If they want war, they will get war," said Rivlin, whose post is largely ceremonial. Israel and Hamas have fought three wars since 2008. Despite a truce last year backed by Egypt, the United Nations and Qatar, Hamas and Israel clash sporadically, with Palestinian incendiary balloons or rocket or mortar fire drawing retaliatory Israeli strikes and sanctions against civilians in Gaza. In response to the persistent balloon attacks, Israel has banned fishing off Gaza's coast and closed the Kerem Shalom goods crossing, cutting off deliveries of fuel to the territory's sole power plant. Power had been in short supply even before the shutdown, with consumers having access to mains electricity for only around eight hours a day. That will now be cut to just four hours a day using power supplied from the Israeli grid. — Agencies