[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Protocol and port fields in selectors





sakari.poussa@nokia.com wrote:
> Hi,
> 
> I have a question about protocol and src/dst port fields in the SAD selectors.
> 
> Is it allowed to have the protocol field as wildcard and still specify src/dst
> port as a specific value? Or is it so that transport layer protocol which actually
> has ports (like TCP/UDP/SCTP) must be specified along with the ports.
> 
> I guess it is the latter case according to the rfc2401, page 20 table, but
> I just wanted to be sure.

Not all transport protocols even have ports (e.g., IP, ICMP, and EGP are 
all 'transport' protocols, and none have ports). The port field is 
defined only relative to a particular transport protocol.

To cover multiple protocols under one port (e.g., TCP/NFS and UDP/NFS) 
seems to require multiple selectors.

Joe