All of lore.kernel.org
 help / color / mirror / Atom feed
* nfs-utils-1.2.0: insecure option and port range checking.
@ 2009-10-13 17:56 Robert Gordon
       [not found] ` <ADD0E404-49A2-49AA-A3A1-A7065243E14E-dkEPNP4dzOJBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Gordon @ 2009-10-13 17:56 UTC (permalink / raw)
  To: linux-nfs


I noticed that the insecure option validates that the client port is a  
subset of IPPORT_RESERVED as opposed to just validating it is a valid  
reserved port. The following proposed patch would correct that issue.  
Would anyone care to comment ? ..

# diff utils/mountd/auth.c utils/mountd/auth.c.orig
171a172
 > 		    (ntohs(caller->sin_port) <  IPPORT_RESERVED/2 ||

--
Robert. 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-13 23:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-13 17:56 nfs-utils-1.2.0: insecure option and port range checking Robert Gordon
     [not found] ` <ADD0E404-49A2-49AA-A3A1-A7065243E14E-dkEPNP4dzOJBDgjK7y7TUQ@public.gmane.org>
2009-10-13 18:07   ` Jeff Layton
2009-10-13 18:09   ` Steve Dickson
     [not found]     ` <4AD4C26C.2030002-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2009-10-13 23:46       ` Robert Gordon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.