Re: Client history

Peter Davis via Openvpn-users <[email protected]>
Newsgroups gmane.network.openvpn.user
Message-ID <o3h7E7jzwOpMr6CThGRGxzfnrBcLY1WKcDQXJEmeKZeiZ-g-6vjlAAPc8HoO6dYoMkIcvJbnzkfxPJ0SYP3EOMDRjyAMWWkRg432W0O2Eh8=@proton.me>
> On Friday, February 23rd, 2024 at 3:33 PM, Bo Berglund <[email protected]> wrote:

> On Fri, 23 Feb 2024 11:36:39 +0000, Peter Davis via Openvpn-users
> [email protected] wrote:
> 
> > > On Friday, February 23rd, 2024 at 2:50 PM, Bo Berglund [email protected] wrote:
> > 
> > > On Fri, 23 Feb 2024 10:33:19 +0000, Peter Davis via Openvpn-users
> > > [email protected] wrote:
> 
> > > > # mkdir /etc/openvpn/Log/
> > > > 
> > > > Then, changed the script as below:
> > > > 
> > > > LOG_FILE="/etc/openvpn/Log/Connections.log"
> > > > 
> > > > Then:
> > > > 
> > > > # systemctl restart openvpn
> > > > 
> > > > But:
> > > > 
> > > > # ls /etc/openvpn/Log/
> > > > #
> > > > 
> > > > No files have been created.
> > > 
> > > Logfile is created following a login to the
> > > OpenVPN server you have configured for logging.
> > > 
> > > --
> > > Bo Berglund
> > > Developer in Sweden
> > > 
> > > _______________________________________________
> > > Openvpn-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/openvpn-users
> > 
> > Hi,
> > What do you mean?
> 
> 
> In your comment above you said that you restarted openvpn:
> 
> > > > # systemctl restart openvpn
> 
> 
> but there was no logfile.
> 
> That is why I said that the logfile is created when a user logs in and data
> are added to the end of that logfile (which will be created if it does not yet
> exist).
> 
> 
> --
> Bo Berglund
> Developer in Sweden
> 
> 
> 
> _______________________________________________
> Openvpn-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openvpn-users

Hi,
I report the log file:

2024-02-23 15:46:43 172.20.1.254:44526 VERIFY OK: depth=1, CN=Server
2024-02-23 15:46:43 172.20.1.254:44526 VERIFY OK: depth=0, CN=Peter
2024-02-23 15:46:43 172.20.1.254:44526 peer info: IV_VER=3.8.4connectX
2024-02-23 15:46:43 172.20.1.254:44526 peer info: IV_PLAT=android
2024-02-23 15:46:43 172.20.1.254:44526 peer info: IV_NCP=2
2024-02-23 15:46:43 172.20.1.254:44526 peer info: IV_TCPNL=1
2024-02-23 15:46:43 172.20.1.254:44526 peer info: IV_PROTO=990
2024-02-23 15:46:43 172.20.1.254:44526 peer info: IV_MTU=1600
2024-02-23 15:46:43 172.20.1.254:44526 peer info: IV_CIPHERS=AES-128-CBC:AES-192-CBC:AES-256-CBC:AES-128-GCM:AES-192-GCM:AES-256-GCM:CHACHA20-POLY1305
2024-02-23 15:46:43 172.20.1.254:44526 peer info: IV_AUTO_SESS=1
2024-02-23 15:46:43 172.20.1.254:44526 peer info: IV_GUI_VER=net.openvpn.connect.android_3.4.0-9755
2024-02-23 15:46:43 172.20.1.254:44526 peer info: IV_SSO=webauth,openurl,crtext
2024-02-23 15:46:43 172.20.1.254:44526 TLS: move_session: dest=TM_ACTIVE src=TM_INITIAL reinit_src=1
2024-02-23 15:46:43 172.20.1.254:44526 TLS: tls_multi_process: initial untrusted session promoted to trusted
2024-02-23 15:46:43 172.20.1.254:44526 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 2048 bit RSA, signature: RSA-SHA256
2024-02-23 15:46:43 172.20.1.254:44526 [Peter] Peer Connection Initiated with [AF_INET]172.20.1.254:44526
2024-02-23 15:46:43 Peter/172.20.1.254:44526 MULTI_sva: pool returned IPv4=10.10.0.3, IPv6=(Not enabled)
2024-02-23 15:46:43 Peter/172.20.1.254:44526 OPTIONS IMPORT: reading client specific options from: /tmp/openvpn_cc_49daa49dc12e3fd51fc8e9f83942bc70.tmp
2024-02-23 15:46:43 Peter/172.20.1.254:44526 Options error: Unrecognized option or missing or extra parameter(s) in /tmp/openvpn_cc_49daa49dc12e3fd51fc8e9f83942bc70.tmp:1: 2024-02-23 (2.6.3)
2024-02-23 15:46:43 Peter/172.20.1.254:44526 MULTI: Learn: 10.10.0.3 -> Peter/172.20.1.254:44526
2024-02-23 15:46:43 Peter/172.20.1.254:44526 MULTI: primary virtual IP for Peter/172.20.1.254:44526: 10.10.0.3
2024-02-23 15:46:43 Peter/172.20.1.254:44526 SENT CONTROL [Peter]: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 9.9.9.9,dhcp-option DNS 149.112.112.112,route-gateway 10.10.0.1,topology subnet,ping 10,ping-restart 120,ifconfig 10.10.0.3 255.255.255.0,peer-id 1,cipher AES-256-GCM,protocol-flags cc-exit tls-ekm dyn-tls-crypt,tun-mtu 1500' (status=1)
2024-02-23 15:46:43 Peter/172.20.1.254:44526 PUSH: Received control message: 'PUSH_REQUEST'
2024-02-23 15:46:44 Peter/172.20.1.254:44526 Data Channel: cipher 'AES-256-GCM', peer-id: 0
2024-02-23 15:46:44 Peter/172.20.1.254:44526 Timers: ping 10, ping-restart 240
2024-02-23 15:46:44 Peter/172.20.1.254:44526 Protocol options: explicit-exit-notify 1, protocol-flags cc-exit tls-ekm dyn-tls-crypt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.