关于IPSec的疑问,不是VPN

%3CLINGO-SUB%20id%3D%22lingo-sub-2248293%22%20slang%3D%22zh-CN%22%3EQuestions%20about%20IPSec%2C%20not%20VPNs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2248293%22%20slang%3D%22zh-CN%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22x-hidden-focus%22%3EGroup%20policy%20(computer%20configuration%2C%20windows%20settings%2C%20security%20settings%2C%20IP%20security%20policy%2C%20on%20this%20computer)%2C%20sets%20the%20policy%20in%20the%20registry%3C%2FP%3E%3CP%3EIn%20HKEY_LOCAL_MACHINE%2C%22%20SOFTWARE%2C%20Policies%2C%20Microsoft%2C%20Windows%2C%20IPSec%2C%20Policy%2C%20Local%2C%3C%2FP%3E%3CP%3EI%20want%20to%20work%20on%20the%20%22ipsecData%22%20in%20the%20subkey%20ipsecFilter%20(Guid)%2C%20the%20key%20value%20is%20binary%2C%20part%20of%20which%20I%20already%20know%20what%20it%20means%2C%3C%2FP%3E%3CP%3EEach%20filter%20filter%20corresponds%20to%2070%20binary%20data%2C%20of%20which%201-18%20and%2035-70%20to%20understand%20its%20meaning%2C%20but%2019-34%20has%20no%20clue%2C%20check%20the%202-day%20MSDN%3C%2FP%3E%3CP%20class%3D%22x-hidden-focus%22%3ENo%20information%20found!%20Ask%20for%20help%2C%20hurry!!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2248354%22%20slang%3D%22zh-CN%22%3EResponse%3A%20Questions%20about%20IPSec%2C%20not%20VPNs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2248354%22%20slang%3D%22zh-CN%22%3ESomeone%20can%20help%20me%3F%20%3CBR%20%2F%3E%20I%20want%20to%20config%20IPSec%20by%20C%23%20and%20find%20the%20path%20in%20the%20%3CBR%20%2F%3E%20registry(%5CHKEY_LOCAL_MACHINE%5CSOFTWARE%5CPolicies%5CMicrosoft%5CWindows%5CIPSec%5CPolicy%5CLocal%5C%20)%2CThe%20%3CBR%20%2F%3E%20subkey%20is%20ipsecFilter%7BGuid%7D%2Cthe%20value%20name%20is%20%22ipsecData%22%2Cbut%20the%20value%20is%20encode%20by%20binary%2CSo%20I%20decode%20%3CBR%20%2F%3E%20it.the%20empty%20value%20has%2024%20bytes%3B%20every%20new%20IP%20selector%20takes%2070%20bytes%20(I%20tested%20by%20GPO).%20%3CBR%20%2F%3E%20Now%20I%20know%20from%20the%20first%20to%2018th%20and%20from%2035th%20to%2070th%20means%20what%20%2Cbut%20I%20don''t%20konw%20from%2019th%20to%2034th.%20Can%20someone%20konws%20it%3F%20%3CBR%20%2F%3E%20I%20have%20been%20searching%20on%20MSDN%20for%202%20days......%20but%20found%20nothing.........%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
New Contributor

 

组策略中(计算机配置\windows设置\安全设置\IP安全策略,在本计算机),设置的策略在注册表

计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\IPSec\Policy\Local\ 中,

我想对子键 ipsecFilter{Guid}中的"ipsecData"进行操作,键值是二进制的,一部分我已经知道其代表的含义,

每个filter筛选器对应的二进制数据70个,其中第1-18和35-70以明白其含义,但是19-34没有头绪,查了2天MSDN

没有找到任何信息!求助,急急急!!!

1 Reply
Someone can help me?
I want to config IPSec by C# and find the path in the
registry(\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\IPSec\Policy\Local\ ),The
subkey is ipsecFilter{Guid},the value name is "ipsecData",but the value is encode by binary,So I decode
it.the empty value has 24 bytes; every new IP selector takes 70 bytes (I tested by GPO).
Now I know from the first to 18th and from 35th to 70th means what ,but I don''t konw from 19th to 34th.Can someone konws it?
I have been searching on MSDN for 2 days...... but found nothing.........