So, it's illegal for the government to search electronic signals entering the country from overseas. Ships entering the country can be searched. Cargo containers, trucks, airplanes, and even your grandmother's luggage can all be searched as they enter the country. But not electronic signals. More 19th century reasoning applied to a 21st century problem.
Many people are wondering how this kind of thing can happen while we're at war. The sad truth is that we aren't at war. Our enemy is at war with us, but we're still standing at square one without a clue. We'd better get a clue soon. Unfortunately, I think it'll take another large attack (or two) before we finally get it.
Another problem is that we're dealing with judges here. Judges are people who are used to wielding power over people's lives without having to suffer any consequences for their bad decisions. They can't be sued, and (in the case of federal judges) they can't be fired.
If there is another attack, I think we need to take a page out of the ACLU's book and use their own tactics against them: shop for a sympathetic judge and sue the ACLU and the parties that brought the law suit that resulted in this idiotic decision.
And it's time to consider term limits for federal judges. A lifetime appointment? Gimme a break! Fidel Castro serves for life. So does Kim Jong Il. As did Joseph Stalin, Adolf Hitler, and Mao Tse-tung. Starting to see a pattern here? Make their terms ten years. Twelve, if ten's too short for you. But a lifetime appointment to a position that wields that much power has no place in a democratic republic.