Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IPsecSA10 = ipsec.SecurityAssociations_SA{ Name: "sa10", Spi: 1001, Protocol: ipsec.SecurityAssociations_SA_ESP, CryptoAlg: ipsec.CryptoAlgorithm_AES_CBC_128, CryptoKey: "4a506a794f574265564551694d653768", IntegAlg: ipsec.IntegAlgorithm_SHA1_96, IntegKey: "4339314b55523947594d6d3547666b45764e6a58", }
View Source
var IPsecSA20 = ipsec.SecurityAssociations_SA{ Name: "sa20", Spi: 1000, Protocol: ipsec.SecurityAssociations_SA_ESP, CryptoAlg: ipsec.CryptoAlgorithm_AES_CBC_128, CryptoKey: "4a506a794f574265564551694d653768", IntegAlg: ipsec.IntegAlgorithm_SHA1_96, IntegKey: "4339314b55523947594d6d3547666b45764e6a58", }
View Source
var IPsecSPD1 = ipsec.SecurityPolicyDatabases_SPD{ Name: "spd1", Interfaces: []*ipsec.SecurityPolicyDatabases_SPD_Interface{ {Name: "memif1"}, }, PolicyEntries: []*ipsec.SecurityPolicyDatabases_SPD_PolicyEntry{ { Priority: 100, IsOutbound: false, Action: ipsec.SecurityPolicyDatabases_SPD_PolicyEntry_BYPASS, Protocol: 50, }, { Priority: 100, IsOutbound: true, Action: ipsec.SecurityPolicyDatabases_SPD_PolicyEntry_BYPASS, Protocol: 50, }, { Priority: 10, IsOutbound: false, Action: ipsec.SecurityPolicyDatabases_SPD_PolicyEntry_PROTECT, RemoteAddrStart: "10.0.0.1", RemoteAddrStop: "10.0.0.1", LocalAddrStart: "10.0.0.2", LocalAddrStop: "10.0.0.2", Sa: "sa20", }, { Priority: 10, IsOutbound: true, Action: ipsec.SecurityPolicyDatabases_SPD_PolicyEntry_PROTECT, RemoteAddrStart: "10.0.0.1", RemoteAddrStop: "10.0.0.1", LocalAddrStart: "10.0.0.2", LocalAddrStop: "10.0.0.2", Sa: "sa10", }, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package iftst provides tools and input data for unit testing of ifplugin.
|
Package iftst provides tools and input data for unit testing of ifplugin. |
Package l2tst provides tools and input data for unit testing of the l2plugin.
|
Package l2tst provides tools and input data for unit testing of the l2plugin. |
Click to show internal directories.
Click to hide internal directories.