For years, federal criminal defendants have been forced to give up their right to appeal in order to accept a federal deal. Prosecutors have lately been pushing for waivers of 2255 (post-conviction motions) as well. There has been huge push back. In October, the National Association of Criminal Defense Attorneys issued an ethics opinion condemning this practice. The ethics opinion is a wealth of resources and a great place to start the research on the subject.