Ending a long-running salmon war, Canada and the U.S. shook hands yesterday on a fishing treaty aimed at protecting dwindling Pacific salmon stocks. The agreement includes harvest limits for both nations that will fluctuate depending on the abundance of fish stocks, and it calls for the U.S. to put $140 million into a salmon restoration fund that will be jointly managed by the two nations.