From: Date: Sat, 24 Apr 2010 09:34:46 -0500 Message-id: <1272119686837120500@...1315...> MIME-version: 1.0 Content-type: multipart/alternative; boundary="===axigen=2432597625083128246516424839752072265147=axigen===" Subject: Re: [Openvpn-devel] Status Message Missing IP Address List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Sommerseth Cc: "openvpn-devel@lists.sourceforge.net" , "openvpn-users@lists.sourceforge.net" This is a MIME message. You may need a MIME compliant mail user agent. --===axigen=2432597625083128246516424839752072265147=axigen=== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, This makes sense to me on the server side, but I'm running the management i= nterface on the client ... why would it not know (or at least report) it's = IP address? Thanks, ... Russell -----Original Message----- From: David Sommerseth [openvpn.list@...1114...]=20 Sent: Saturday, April 24, 2010 5:08 AM To: openvpn@...1315... Cc: openvpn-users@lists.sourceforge.net; openvpn-devel@lists.sourceforge.net Subject: Re: [Openvpn-devel] Status Message Missing IP Address -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 24/04/10 06:54, openvpn@...1315... wrote: >=20 > Hi, >=20 > I have found what seems to be an interesting feature (bug) of the > management interface =E2=80=93 as I have been using it to write a connect= ion > monitor application. >=20 > Up until recently I have been using the server-bridge command on the > server, and setting up a bridge (allowing OpenVPN to assign the IP > address). When I did this the management interface on the client > reported the IP address that it was assigned (both in real-time or > manual state commands). However, now I have changed the server > configuration file to allow the local DHCP server (router) to assign the > client IP address. While this works fine, and the client connection is > functional, the management interface no longer reports the client IP > address. >=20 > Is this a known (or for some reason planned) mode of operation? Without having looked at the code, I would say this sounds reasonable. As OpenVPN would not care about which IP address is being used when it does not provide the IP address itself. The only reason OpenVPN would do that is to avoid giving out the same IP address to several clients. The rest of OpenVPN's task is to pass the traffic coming from the UDP/TCP port on the Internet side, encrypt/decrypt the data and put it into the TAP interface (in your case). Having that said, it can be done some research on how the "learn address" state is implemented and how that state is used when OpenVPN is not assigning the VPN IP addresses. kind regards, David Sommerseth -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkvSwx0ACgkQDC186MBRfrqT8QCfWhQGeVhp6Fm2CjF7jJ46Tdk8 wqcAn09kxxP+efeuZOoUTenph02+zwOW =3DBWfu -----END PGP SIGNATURE----- --===axigen=2432597625083128246516424839752072265147=axigen=== Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi,

This make= s sense to me on the server side, but I'm running the management interface = on the client ... why would it not know (or at least report) it's IP addres= s?

Thanks,
... Russell



-----Original Message-----<= BR>From: David Sommerseth [openvpn.list@...1114...]
Sent: Saturday, April 24, 2010 = 5:08 AM
To: ope= nvpn@...1315...
Cc: openvpn-users@lists.sourceforge.net; openvpn= -devel@lists.sourceforge.net
Subject: Re: [Openvpn-devel] Status Mes= sage Missing IP Address

-----BEGIN PGP SIGNED MESSAGE-----
Hash: = SHA1

On 24/04/10 06:54, openvpn@...1315... wrote:
>
> Hi,
> > I have found what seems to be an interesting feature (bug) of the
= > management interface =E2=80=93 as I have been using it to write a conn= ection
> monitor application.
>
> Up until recently I ha= ve been using the server-bridge command on the
> server, and setting = up a bridge (allowing OpenVPN to assign the IP
> address). When I did= this the management interface on the client
> reported the IP addres= s that it was assigned (both in real-time or
> manual state commands)= . However, now I have changed the server
> configuration file to allo= w the local DHCP server (router) to assign the
> client IP address. W= hile this works fine, and the client connection is
> functional, the = management interface no longer reports the client IP
> address.
&g= t;
> Is this a known (or for some reason planned) mode of operation?=

Without having looked at the code, I would say this sounds reasonab= le.
As OpenVPN would not care about which IP address is being used when = it
does not provide the IP address itself. The only reason OpenVPN would=
do that is to avoid giving out the same IP address to several clients.<= BR>The rest of OpenVPN's task is to pass the traffic coming from the
UDP= /TCP port on the Internet side, encrypt/decrypt the data and put it
into= the TAP interface (in your case).

Having that said, it can be done = some research on how the "learn
address" state is implemented and how th= at state is used when OpenVPN is
not assigning the VPN IP addresses.
=

kind regards,

David Sommerseth
-----BEGIN PGP SIGNATURE--= ---
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedo= ra - = http://enigmail.mozdev.org/

iEYEARECAAYFAkvSwx0ACgkQDC186MBRfrqT= 8QCfWhQGeVhp6Fm2CjF7jJ46Tdk8
wqcAn09kxxP+efeuZOoUTenph02+zwOW
=3DBWfu=
-----END PGP SIGNATURE-----
= --===axigen=2432597625083128246516424839752072265147=axigen===--