Following suicide attacks on warships by terrorists such as in the Sri Lankan Civil War and the USS Cole bombing, navies have adapted specialized craft to maintain port security, patrol coastal and river line areas.