Skip to contentSkip to conversation

client-server customized session-id

Openvpn-devel [email protected]... 1 participant 1 message Oct 6, 2004

lore
Share & tools
lore
#0 lore raw

This session id is not in my control. I want to have some secret (my own session-id, passed as command line parameter) thats there in each data message through which I can identify the client.

-----Original Message-----
From: James Yonan [mailto:[email protected]...]
Sent: Wednesday, October 06, 2004 3:00 PM
To: [email protected]...
Cc: [email protected]
Subject: Re: [Openvpn-devel] client-server customized session-id

Quoted 4 lines · On Wed, 6 Oct 2004 [email protected]... wrote:

Hi,
I am implementing client-server openvpn with following additional
requirement:
Client-server should share a secret session-id provided by me while

starting

Quoted 2 lines

client and server. I dont want to keep this session-id in a file on client machine. Preferrable client will be started from an applet. This applet

will

Quoted 2 lines

give the session-id to openvpn instance. This session-id will be sent in each request from client to server. This session-id will be used to find

out

Quoted 3 lines

whether this is legitimate client instance or not. It will also be used to check the client'access policy for particular service. Its a kind of firewall with specific permissions for each client for accessing servers.

OpenVPN already has a session ID. See session_id.c.

As far as checking access policies, there are already several ways of doing this. In particular, see --client-connect and --learn-address.

James