IPSec

G

Guest

Hi,

I'm trying to configure IPSec on my Wince 5.0 OS image so that TCP packets
are encrypted when sent. I added the IPSec v4 feature and followed the
documentation on how to conifgure it at:
http://msdn.microsoft.com/library/d...m5/html/wce50conl2tpipsecregistrysettings.asp.
This link says that i need to create a policy text fike and pass it to the
ipseccfg.exe sample app. This is what i did:
- i created a file "ipsecPolicyFile.txt" containing the following data:
policy=sample
inaction=1
outaction=2
auth=2
info= CN=Sample Root CA;
mmhash=7
mmenc=7
qmhash=7
qmenc=4
dh=3
protocol=0
flags=0
srcip=myip
- i opened up Command Prompt on my device
- I copied the file to my device's hard disk
- i typed "ipseccfg load ipsecPolicyFile.txt" in cmd and presed enter ->
nothing was printed to say it was successful or not.
- i typed "ipseccfg start ipsecPolicyFile.txt" in cmd and pressed enter ->
again nothing was printed.

I then ran my app on the device. This app sends data to my client running on
my dev PC. Since IPSec is not configured on my dev PC, i expected that there
would be no TCP packets being sent or received - but i was wrong, everything
was working fine and no encryption was taking place. This obviously meant
that IPSec was not configured correctly. What is the best way to configure
it?

Also, there is another component in PB called L2TP/IPSec. I have done a bit
of reading about this and i understand that it "tunnels" the packets
encrypted by IPSec. Which component am i supposed to be using - IPSec v4 or
L2TP/IPSec? All i want to do is encrypt data being sent to and from an
embedded device and a dev PC. Thanks.

Michael--J.
 
G

Guest

You're going to be better off asking this in a newsgroup where it's actually
relevant. Maybe in platbuilder?

-Chris
 
G

Guest

Yeah i have... i didn't get any replies. I posted a similar question
regarding IPSec here before and received a few replies so i thought i'd give
it another go. Thanks anyway.
 
G

Guest

Yeah i have... i didn't get any replies. I posted a similar question
regarding IPSec here before and received a few replies so i thought i'd give
it another go. Thanks anyway.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top