⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cipso_ipv4.txt

📁 linux 内核源代码
💻 TXT
字号:
NetLabel CIPSO/IPv4 Protocol Engine==============================================================================Paul Moore, paul.moore@hp.comMay 17, 2006 * OverviewThe NetLabel CIPSO/IPv4 protocol engine is based on the IETF Commercial IPSecurity Option (CIPSO) draft from July 16, 1992.  A copy of this draft can befound in this directory, consult '00-INDEX' for the filename.  While the IETFdraft never made it to an RFC standard it has become a de-facto standard forlabeled networking and is used in many trusted operating systems. * Outbound Packet ProcessingThe CIPSO/IPv4 protocol engine applies the CIPSO IP option to packets byadding the CIPSO label to the socket.  This causes all packets leaving thesystem through the socket to have the CIPSO IP option applied.  The socket'sCIPSO label can be changed at any point in time, however, it is recommendedthat it is set upon the socket's creation.  The LSM can set the socket's CIPSOlabel by using the NetLabel security module API; if the NetLabel "domain" isconfigured to use CIPSO for packet labeling then a CIPSO IP option will begenerated and attached to the socket. * Inbound Packet ProcessingThe CIPSO/IPv4 protocol engine validates every CIPSO IP option it finds at theIP layer without any special handling required by the LSM.  However, in orderto decode and translate the CIPSO label on the packet the LSM must use theNetLabel security module API to extract the security attributes of the packet.This is typically done at the socket layer using the 'socket_sock_rcv_skb()'LSM hook. * Label TranslationThe CIPSO/IPv4 protocol engine contains a mechanism to translate CIPSO securityattributes such as sensitivity level and category to values which areappropriate for the host.  These mappings are defined as part of a CIPSODomain Of Interpretation (DOI) definition and are configured through theNetLabel user space communication layer.  Each DOI definition can have adifferent security attribute mapping table. * Label Translation CacheThe NetLabel system provides a framework for caching security attributemappings from the network labels to the corresponding LSM identifiers.  TheCIPSO/IPv4 protocol engine supports this caching mechanism.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -