📄 files.txt
字号:
- Overview of the Openswan commands and configuration filesImplementationOpenswan consists of two subsystems. The userland subsystem consists of theIKE keying daemon, called pluto, and various helper applications. The actualencryption is done in kernel mode. The Openswan implementation of the kernelcode is called KLIPS. This can be a kernel loadable module called ipsec.o.As of kernel 2.6, Linux comes with its own kernel implementation. This is aport of the BSD Kame code. There is no consistent name used by people to referto this implementation. Some call it the "native ipsec code", some call it the"2.6 code" or "26sec". Some call it kame, some pfkey and some afkey. Itconsists of various kernel modules that all need to get loaded to get afunctional kernel mode implementation. af_key.ko, xfrm_user.ko, esp4.koand ah4.ko.The Openswan userland tools can both use KLIPS or the Kame code, but you can'tuse both at the same time.Configuration filesOpenswan puts all the sensitive information, such as private keys, orpre-shared secrets, in a single file: /etc/ipsec.secrets.All the other configuration options go into /etc/ipsec.conf. This file canrefer to other include files, which are all normally found under thedirectory structure /etc/ipsec.d/CommandsNormally, Openswan is started through the system startup scripts, for examplein /etc/init.d/ipsec. Once it is running, you can use the "ipsec" command toto send or receive commands about the current state. These commands all talkto the IKE daemon called pluto. "ipsec --help" will give you some information.You can also use "man ipsec_command" to get more information about a certaincommand.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -