A federal judge sentenced Kevin Smith to 17-and-a-half years in prison Wednesday for distributing and possessing child pornography.