Hi, On Sat, Jun 10, 2017 at 12:51:27PM +0200, richard lucassen wrote: > > looks like it might do the job (could not find very clear answers > > online). > > Here is a (temporary) upload of a --verb 9: > > http://tmp.xaq.nl/ovpn.stdout
Thanks, that is actually quite enlightening :-)
At 12:38:19, things are set up properly (and it sends one packet, because
"read from tun/tap" returns one - that might be the OS doing IPv6 DAD,
hard to say).
At 12:38:29, you have:
Sat Jun 10 12:38:29 2017 us=760820 TIMER: coarse timer wakeup 1 seconds
Sat Jun 10 12:38:29 2017 us=760830 SENT OCC_REQUEST
...
Sat Jun 10 12:38:29 2017 us=761062 UDP WRITE [68] to [AF_INET]e.f.g.h:1198:
DATA 3aa31726 fca6290a ad7ed8f6 54d9c125 1eb94c93 88c8383e a55bad67
59c8bfb[more...]
and then
Sat Jun 10 12:38:29 2017 us=767065 UDP read returned 228
Sat Jun 10 12:38:29 2017 us=767163 UDP READ [228] from [AF_INET]e.f.g.h:1198:
DATA a637d087 d7b750e0 7985bd2e 0cc3e570 7087b20f 1521252c 0df6c8b4
bc89063[more...]
Sat Jun 10 12:38:29 2017 us=767392 Peer Connection Initiated with
[AF_INET]e.f.g.h:1198
Sat Jun 10 12:38:29 2017 us=767405 RECEIVED OCC_REPLY
this is a bit misleading: in p2p mode, it will print "connection initiated"
the moment the first valid packet is received from the remote - so you
can have that after 1 second if you have a ping running on the other end...
10 seconds later, you pressed ctrl-c
Sat Jun 10 12:38:39 2017 us=383686 event_wait : Interrupted system call (code=4)
Sat Jun 10 12:38:39 2017 us=383699 I/O WAIT status=0x0010
Sat Jun 10 12:38:39 2017 us=383740 TCP/UDP: Closing socket
Sat Jun 10 12:38:39 2017 us=383782 Closing TUN/TAP interface
... so it's hard to say whether OpenVPN would have done anything else
in a 10-second-cycle afterwards.
Please try whether "--disable-occ" suppresses this. I think it might,
but it might only disable *checking* OCC, not *sending* - in which case
you need to recompile and remove the "#define ENABLE_OCC" line in
src/openvpn/syshead.h to really get rid of OCC. Worth a test.
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]
fax: +49-89-35655025 [email protected]
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
