Skip to contentSkip to conversation

TAP-Win32 Link problem

Openvpn-devel Moshe 2 participants 2 messages Nov 25, 2004

lore
Share & tools
lore

Moshe

author
#0 lore raw

(posted comment before but didn't see it - so I'm re sending)

It looks like the TAP Adapter gets its link up signal as soon as the socket is being connected.
Several problems with that:
- There is no actual logical connection between the parties.
It could be another fake process, an intermediate proxy, or a bad version of
OpenSSL, bad keys... etc.
The user sees the adapter link brought up and down - and this is misleading
as the user thinks that the far end was indeed connected but something happened.
- As soon as the TAP adapter link is up, Windows starts to send packets. Normally this is fine, but if the other end is not yet connected (using
proxy), the socket buffer starts to fill for no good reason

Looks like there needs to be a logical handshake before link is brought up.

My 2 cents
Moshe

#1 lore raw

Try --up-delay.

James

Quoted 33 lines · Moshe

(posted comment before but didn't see it - so I'm re sending)

It looks like the TAP Adapter gets its link up signal as soon as the socket is being connected.
Several problems with that:
- There is no actual logical connection between the parties.
It could be another fake process, an intermediate proxy, or a bad version of
OpenSSL, bad keys... etc.
The user sees the adapter link brought up and down - and this is misleading
as the user thinks that the far end was indeed connected but something happened.
- As soon as the TAP adapter link is up, Windows starts to send packets. Normally this is fine, but if the other end is not yet connected (using
proxy), the socket buffer starts to fill for no good reason

Looks like there needs to be a logical handshake before link is brought up.

My 2 cents
Moshe

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel