A network of nodes interconnected by links has content filtering specified
at certain nodes, and routing of packet connections through the network
is generated based on the specified content-filtering nodes. The network
is specified via a content-filtering node placement method and a
network-capacity maximization method so as to apply content filtering to
packets for substantially all traffic (packet streams) carried by the
network.