1. A method for selecting a pre-written filter for a router in a network, the method comprising the steps of: a computer identifying an existing filter installed in the router that permits messages with a specified protocol sent from a first range of or alt source ports to a specified destination port that supports the protocol; the computer searching a plurality of available pre-written filters for a substitute fitter that permits messages with the specified protocol sent from fewer source ports than permitted by the existing filter to the destination port that supports the protocol to substitute for the existing filter in the router, wherein the existing filter includes a log or an acknowledgement function, the substitute filter does not include the log or acknowledgement function, and the computer modifies the substitute filter to include the log or acknowledgement function such that the modified substitute filter is installed in the router; and the computer writing the modified substitute fitter into a file for installation in the router to substitute for the existing filter.