Attention is currently required from: Arne Schwabe. Name of user not set #1000061 has posted comments on this change by Arne Schwabe. ( https://gerrit.openvpn.net/c/openvpn/+/2037?usp=email )
Change subject: Add python scripts that demonstrate the ACC protocol ...................................................................... Patch Set 2: (9 comments) File sample/management/acc_sysinfo_client_demo.py: https://gerrit.openvpn.net/c/openvpn/+/2037/comment/412cb79a_3a2f35f7?usp=email : PS2, Line 84: addrs = [x[4][0] for x in socket.getaddrinfo('google.com', 443)] getaddrinfo is sync and it will block whole code, but maybe its not important for demo https://gerrit.openvpn.net/c/openvpn/+/2037/comment/d692af55_2380dac2?usp=email : PS2, Line 102: if platform.system() == 'linux': PyDev console: using IPython 8.39.0 Python 3.10.12 (main, Aug 31 2026, 10:18:17) [GCC 11.4.0] on linux import platform platform.system() Out[3]: 'Linux' It will be alwasy False https://gerrit.openvpn.net/c/openvpn/+/2037/comment/9477fae1_d19b8c09?usp=email : PS2, Line 123: proc = await asyncio.subprocess.create_subprocess_exec(cmd, *args, stdout=subprocess.PIPE) Maybe we want to add timeout here? https://gerrit.openvpn.net/c/openvpn/+/2037/comment/f7d993c6_478ee3d9?usp=email : PS2, Line 132: print(".", end="", flush=True) Leftover? https://gerrit.openvpn.net/c/openvpn/+/2037/comment/1816d935_417d4eb8?usp=email : PS2, Line 135: print(f"Management interface version: {management_version}") Mix of print and logger File sample/management/acc_sysinfo_server_demo.py: https://gerrit.openvpn.net/c/openvpn/+/2037/comment/d245e612_a5ef3c68?usp=email : PS2, Line 36: import base64 Unused import https://gerrit.openvpn.net/c/openvpn/+/2037/comment/e96fe39f_1476743f?usp=email : PS2, Line 40: from pprint import pformat Unused import https://gerrit.openvpn.net/c/openvpn/+/2037/comment/dc4ba47e_04308cce?usp=email : PS2, Line 64: def client_event_CONNECT(self, client, kid, env, extra): Should we have here a method for reautch client_event_REAUTH ? https://gerrit.openvpn.net/c/openvpn/+/2037/comment/56e858bd_12aeb4d1?usp=email : PS2, Line 94: if type(response[key]) == str: isinstance instead of type() ? -- To view, visit https://gerrit.openvpn.net/c/openvpn/+/2037?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I695967524bb9e83887b8c07d0d09baff6e41acf4 Gerrit-Change-Number: 2037 Gerrit-PatchSet: 2 Gerrit-Owner: Arne Schwabe <[email protected]> Gerrit-CC: Name of user not set #1000061 Gerrit-CC: openvpn-devel <[email protected]> Gerrit-Attention: Arne Schwabe <[email protected]> Gerrit-Comment-Date: Fri, 30 Oct 2026 10:37:46 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
