Skip to contentSkip to conversation

Problem in IKE implemenation in linux(RACE CONDITION)

DISCUSSION Pranav 2 participants 2 messages Jul 29, 2004 – Jul 31, 2004

Subsystems (2)
lore
Share & tools
lore

Pranav

author
#0 lore raw

hi everyone,
I am working on IKE implementaion on linux.
i have got a problem in negoatiation when both the peers start negotiating at the same time,
both peers acting as initiator causing race condition.

Race condition happens only when both the peer's start the same application(like ping or telnet)with eachother at the same time.

can anybody help me out of this problem..

With Regards,
Pranav Jadhav

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Pranav" == Pranav <[email protected]> writes:

Pranav> hi everyone, I am working on IKE implementaion on linux. i Pranav> have got a problem in negoatiation when both the peers start Pranav> negotiating at the same time, both peers acting as initiator Pranav> causing race condition.

Pranav> Race condition happens only when both the peer's start the Pranav> same application(like ping or telnet)with eachother at the Pranav> same time.

Yes, in general you have to create both tunnels for receive. It is up to you to decide which tunnel to create for sending. If you want to get rid of them, then wait 5 minutes, and then rekey
the tunnels.

- --

]     "Elmo went to the wrong fundraiser" - The Simpson         |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] [email protected]      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[

] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBQQt/04qHRg3pndX9AQHCyAQAull2/qeUcL0mfxKyeRKRsiViMAMgNiDA KH62L05FP4mbiCrdhGBppaIIuK/hcu9axp8VQ7IDWS/Pa5S6FmMquegaJPTDGohd 3wZZi6vlBq4LiVnVqcBpFinNTP5dH43vfDNK42WSV+fUjrVc09uX9XWXhmFXh593 knlESrpooPI=
=Wq/Q
-----END PGP SIGNATURE-----