Hi, On 29-09-14 15:50, Stephan Alz wrote: > I had my ovpn servers in verb 3 mode. I didn't upgrade them just turned on > the tls-auth feature and surprisingly it stopped logging a lot of events. > Instead of an output like this: > > Tue Jan 27 09:53:41 2009 119.137.85.240:2114 VERIFY OK: depth=1, > /C=DK/ST=CPH/L=COPENHAGEN/O=CTcash_Limited/OU=IT/CN=server/[email protected] > Tue Jan 27 09:53:41 2009 119.137.85.240:2114 VERIFY OK: depth=0, > /C=DK/ST=CPH/O=CTcash_Limited/OU=IT/CN=client-1/[email protected] > Tue Jan 27 09:53:42 2009 119.137.85.240:2114 Data Channel Encrypt: Cipher > ‘BF-CBC’ initialized with 128 bit key > Tue Jan 27 09:53:42 2009 119.137.85.240:2114 Data Channel Encrypt: Using 160 > bit message hash ‘SHA1′ for HMAC authentication > Tue Jan 27 09:53:42 2009 119.137.85.240:2114 Data Channel Decrypt: Cipher > ‘BF-CBC’ initialized with 128 bit key > Tue Jan 27 09:53:42 2009 119.137.85.240:2114 Data Channel Decrypt: Using 160 > bit message hash ‘SHA1′ for HMAC authentication > Tue Jan 27 09:53:42 2009 119.137.85.240:2114 Control Channel: TLSv1, cipher > TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA > Tue Jan 27 09:53:42 2009 119.137.85.240:2114 [client-1] Peer Connection > Initiated with 119.137.85.240:2114 > Tue Jan 27 09:53:42 2009 client-1/119.137.85.240:2114 OPTIONS IMPORT: reading > client specific options from: ccd/client-1 > Tue Jan 27 09:53:42 2009 client-1/119.137.85.240:2114 MULTI: Learn: 10.8.0.6 > -> client-1/119.137.85.240:2114 > Tue Jan 27 09:53:42 2009 client-1/119.137.85.240:2114 MULTI: primary virtual > IP for client-1/119.137.85.240:2114: 10.8.0.6 > Tue Jan 27 09:53:42 2009 client-1/119.137.85.240:2114 MULTI: internal route > 10.10.1.0/24 -> client-1/119.137.85.240:2114 > Tue Jan 27 09:53:42 2009 client-1/119.137.85.240:2114 MULTI: Learn: > 10.10.1.0/24 -> client-1/119.137.85.240:2114 > Tue Jan 27 09:53:43 2009 client-1/119.137.85.240:2114 PUSH: Received control > message: ‘PUSH_REQUEST’ > Tue Jan 27 09:53:43 2009 client-1/119.137.85.240:2114 SENT CONTROL > [client-1]: ‘PUSH_REPLY,route 192.168.1.0/24 255.255.255.0,dhcp-option DNS > 10.8.0.1,redirect-gateway def1,route 10.8.0.1,ping 10,ping-restart > 120,ifconfig 10.8.0.6 10.8.0.5′ (status=1) > > I only get 1 line in the logs: > OPTIONS IMPORT: reading client specific options from: ... > > I did try verb mode 4 as well, it's the same. I don't want to go over that to > get raw packet info to the logfiles. Why is this happening? Tls-auth setting > should not affect the logging. I get the same result if I log into a separate > logfile or to syslog.
I tried, but am not able to reproduce this. I tested with both 2.3 and git-master. Both keep logging all the output just fine with tls-auth enabled. Are you sure you did not change anything else? Permissions on log files perhaps? Or just different log file? (Just some wild guesses) -Steffan ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
