Gaza Strip President Hosni Mubarak resigned on 28 May 2011, Egypt permanently opened its border with the Gaza Strip to students, medical patients, and foreign passport holders. Following the 2013 Egyptian coup d'état, Egypt's military has destroyed most of the 1,200 tunnels which are used for smuggling food, weapons, and other goods to Gaza. After the August 2013 Rabaa Massacre in Egypt, the border crossing was closed 'indefinitely.' Israel has alternately restricted or allowed goods and people to cross the terrestrial border and handles vicariously the movement of goods into and out of Gaza by air and sea. Israel largely provides for
Gaza Strip aid. The Red Cross claimed that the blockade harms the economy and causes a shortage of basic medicines and equipment such as painkillers and x-ray film. Israel claims the blockade is necessary to prevent the smuggling of weapons into Gaza. For example, in 2014, a Panamanian-flagged ship claiming to be carrying construction materials was boarded by the IDF and was found to contain Syrian produced rockets. Israel maintains that the blockade is legal and necessary to limit Palestinian rocket attacks from the Gaza Strip on its cities and to prevent Hamas from obtaining other weapons. Director of the Shin Bet