Message-ID: <20686C579479DC438276A726FE80CDAA01BC19CC@...281...> From: satinders@...280... Subject: RE: [Openvpn-devel] client-server customized session-id MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4AB88.AA3D9100" Sender: openvpn-devel-admin@lists.sourceforge.net Errors-To: openvpn-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Oct 6 02:43:30 2004 To: jim@...41..., satinders@...280... Cc: openvpn-devel@lists.sourceforge.net This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C4AB88.AA3D9100 Content-Type: text/plain; charset="iso-8859-1" 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:jim@...41...] Sent: Wednesday, October 06, 2004 3:00 PM To: satinders@...280... Cc: openvpn-devel@lists.sourceforge.net Subject: Re: [Openvpn-devel] client-server customized session-id On Wed, 6 Oct 2004 satinders@...280... 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 > 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 > 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 > 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 ------_=_NextPart_001_01C4AB88.AA3D9100 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [Openvpn-devel] client-server customized session-id

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 i= n each data message through which I can identify the client.

-----Original Message-----
From: James Yonan [mailt= o:jim@...41...]
Sent: Wednesday, October 06, 2004 3:00 PM
To: satinders@...280...
Cc: openvpn-devel@lists.sourceforge.net
Subject: Re: [Openvpn-devel] client-server customized se= ssion-id


On Wed, 6 Oct 2004 satinders@...280... wrote:

> Hi,
>       I am implementing cl= ient-server openvpn with following additional
> requirement:
> Client-server should share a secret session-id prov= ided by me while starting
> 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
> give the session-id to openvpn instance. This sessi= on-id will be sent in
> each request from client to server. This session-id= will be used to find out
> whether this is legitimate client instance or not. = It will also be used to
> check the client'access policy for particular servi= ce. 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 sev= eral ways of
doing this.  In particular, see --client-connect an= d --learn-address.
 
James

= ------_=_NextPart_001_01C4AB88.AA3D9100--