It's not a Muslim ban. People who say that are only burning their own credibility. Indonesia isn't banned. Bangladesh isn't banned.
Libya, Yemen, Iran, Iraq, Sudan, Somalia, and Syria. Somalia is infamous for its pirates, Libya for Benghazi, Iran for its nuclear program, do I even need to continue?
It would be much easier to defend this ban as not targeting Muslims from countries that don't have the political capital to defend themselves if blanket bans like this one actually improved national security. Can you honestly make the claim that it does?
If a pipe bursts, temporarily turning off the water main while you figure out how to fix the problem isn't a bad strategy.
Also, your excuse about connections to terrorists needs citations because, from what I've read, these connections don't actually exist.