It searches for non-alphabetic characters?Originally posted by leftism+20 February 2004 - 09:53--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (leftism @ 20 February 2004 - 09:53)</td></tr><tr><td id='QUOTE'><!--QuoteBegin-shn
In vi, what does this expression yield /^[a-zA-Z]/
Assuming I got it right, (fingers crossed ) What command would you issue to block all incoming packets to port 80 (TCP) ?[/b][/quote]
/^[a-zA-Z]/ Matches if the line starts with any letter
iptables -A INPUT -p tcp --dport 80 -j DROP
Bookmarks