Skip to contentSkip to conversation

Problem with OpenVPN 2.1_rc9 on Vista 32-bit

Openvpn-devel Bart Kus 2 participants 4 messages Aug 18, 2008 – Aug 20, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]...

Bart Kus

author
#1 lore raw

Sent this to openvpn-users a while back with no response. Perhaps it is a question better targeted @ the developers?

--Bart

Quoted 17 lines · Bart Kus

Thu Aug 07 19:24:06 2008 OpenVPN 2.1_rc9 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Jul 31 2008

[...] snip! [...]

Thu Aug 07 19:24:53 2008 write to TUN/TAP  [State=AT?c Err=[c:\src\21\tap-win32\tapdrvr.c/2268] #O=10 Tx=[49,0] Rx=[6,88] IrpQ=[1,1,16] PktQ=[0,1,64]]: The data area passed to a system call is too small.   (code=122)
Thu Aug 07 19:25:03 2008 write to TUN/TAP  [State=AT?c Err=[c:\src\21\tap-win32\tapdrvr.c/2268] #O=10 Tx=[49,0] Rx=[6,89] IrpQ=[1,1,16] PktQ=[0,1,64]]: The data area passed to a system call is too small.   (code=122)
Thu Aug 07 19:25:12 2008 write to TUN/TAP  [State=AT?c Err=[c:\src\21\tap-win32\tapdrvr.c/2268] #O=10 Tx=[50,0] Rx=[6,90] IrpQ=[1,1,16] PktQ=[0,1,64]]: The data area passed to a system call is too small.   (code=122)

...etc...

Anyone know what might be going wrong here? Would more data help?

Thanks for any help,

--Bart

author
#2 lore raw
Quoted 27 lines · Bart Kus

Sent this to openvpn-users a while back with no response. Perhaps it is a question better targeted @ the developers?

--Bart

Quoted 8 lines · Bart Kus

Thu Aug 07 19:24:06 2008 OpenVPN 2.1_rc9 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Jul 31 2008

[...] snip! [...]

Thu Aug 07 19:24:53 2008 write to TUN/TAP  [State=AT?c Err=[c:\src\21\tap-win32\tapdrvr.c/2268] #O=10 Tx=[49,0] Rx=[6,88] IrpQ=[1,1,16] PktQ=[0,1,64]]: The data area passed to a system call is too small.   (code=122)
Thu Aug 07 19:25:03 2008 write to TUN/TAP  [State=AT?c Err=[c:\src\21\tap-win32\tapdrvr.c/2268] #O=10 Tx=[49,0] Rx=[6,89] IrpQ=[1,1,16] PktQ=[0,1,64]]: The data area passed to a system call is too small.   (code=122)
Thu Aug 07 19:25:12 2008 write to TUN/TAP  [State=AT?c Err=[c:\src\21\tap-win32\tapdrvr.c/2268] #O=10 Tx=[50,0] Rx=[6,90] IrpQ=[1,1,16] PktQ=[0,1,64]]: The data area passed to a system call is too small.   (code=122)
Quoted 10 lines

...etc...

Anyone know what might be going wrong here? Would more data help?

Thanks for any help,

--Bart

Quoted 10 lines

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

The list is looping this message. I don't know why. :(

--Bart

#3 lore raw
In reply to Bart Kus
Quoted 13 lines · Bart Kus

Sent this to openvpn-users a while back with no response. Perhaps it is a question better targeted @ the developers?

--Bart

Quoted 7 lines · Bart Kus

Thu Aug 07 19:24:06 2008 OpenVPN 2.1_rc9 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Jul 31 2008

[...] snip! [...]

Thu Aug 07 19:24:53 2008 write to TUN/TAP  [State=AT?c Err=[c:\src\21\tap-win32\tapdrvr.c/2268] #O=10 Tx=[49,0] Rx=[6,88] IrpQ=[1,1,16] PktQ=[0,1,64]]: The data area passed to a system call is too small.   (code=122)
Thu Aug 07 19:25:03 2008 write to TUN/TAP  [State=AT?c Err=[c:\src\21\tap-win32\tapdrvr.c/2268] #O=10 Tx=[49,0] Rx=[6,89] IrpQ=[1,1,16] PktQ=[0,1,64]]: The data area passed to a system call is too small.   (code=122)
Thu Aug 07 19:25:12 2008 write to TUN/TAP  [State=AT?c Err=[c:\src\21\tap-win32\tapdrvr.c/2268] #O=10 Tx=[50,0] Rx=[6,90] IrpQ=[1,1,16] PktQ=[0,1,64]]: The data area passed to a system call is too small.   (code=122)

Are you using a non-standard MTU size? This error indicates that a write operation to the TAP driver is impossibly small, i.e. the packet isn't even large enough to contain an ethernet header (for dev tap) or IPv4 header (for dev tun).

James

author
#4 lore raw
Quoted 11 lines · James Yonan
Quoted 10 lines · Bart Kus

Sent this to openvpn-users a while back with no response. Perhaps it is a question better targeted @ the developers?

--Bart

Quoted 4 lines · Bart Kus

Thu Aug 07 19:24:06 2008 OpenVPN 2.1_rc9 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Jul 31 2008

[...] snip! [...]

Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Thu Aug 07 19:24:53 2008 write to TUN/TAP  [State=AT?c Err=[c:\src\21\tap-win32\tapdrvr.c/2268] #O=10 Tx=[49,0] Rx=[6,88] IrpQ=[1,1,16] PktQ=[0,1,64]]: The data area passed to a system call is too small.   (code=122)
Thu Aug 07 19:25:03 2008 write to TUN/TAP  [State=AT?c Err=[c:\src\21\tap-win32\tapdrvr.c/2268] #O=10 Tx=[49,0] Rx=[6,89] IrpQ=[1,1,16] PktQ=[0,1,64]]: The data area passed to a system call is too small.   (code=122)
Thu Aug 07 19:25:12 2008 write to TUN/TAP  [State=AT?c Err=[c:\src\21\tap-win32\tapdrvr.c/2268] #O=10 Tx=[50,0] Rx=[6,90] IrpQ=[1,1,16] PktQ=[0,1,64]]: The data area passed to a system call is too small.   (code=122)

Are you using a non-standard MTU size? This error indicates that a write operation to the TAP driver is impossibly small, i.e. the packet isn't even large enough to contain an ethernet header (for dev tap) or IPv4 header (for dev tun).

James

Negatory. MTU is 1500:

MTU MediaSenseState Bytes In Bytes Out Interface
------ --------------- --------- --------- -------------
4294967295 1 0 23833 Loopback Pseudo-Interface 1
1500 1 2450317296 362556326 Local Area Connection
1500 5 0 0 Local Area Connection 2

Also, I'm using the TUN device. Here's my config:

client
dev tun
proto tcp
remote <CENSORED>
resolv-retry infinite
nobind
persist-key
persist-tun
pkcs12 bkus1.p12
verb 3
ns-cert-type server
route-delay 30
route-method exe

The server grants the connection, an IP is assigned, but when traffic tries to move, I keep seeing those errors and nothing gets communicated.

--Bart