Apply the PtP Address bits of a patch from Tim Niemueller
* src/nm-ip4-config.[ch]
- Add ip4_ptp_address member to object
- (nm_ip4_config_copy): copy ptp address too
- (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
new functions
- (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
rather than local tunnel ip address
* src/vpn-manager/nm-vpn-service.c
- (print_vpn_config): update for PtP address
- (nm_vpn_service_stage4_ip_config_get): switch parsing to
DBusMessageIters in preparation for getting routes from the VPN
service daemons too
* vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
- (send_config_info): update for PtP address, clean up code
- (main): update for PtP address, clean up code, fix typo
* vpn-daemons/openvpn/src/nm-openvpn-service.c
- (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
* vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
- (pptp_ip_up): update for PtP address
* vpn-daemons/pptp/src/nm-pptp-service.c
- (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
* vpn-daemons/vpnc/src/nm-vpnc-service.c
- (print_vpn_config): update for PtP address
- (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1346 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
. compatibility
+ Set a fake login banner for now until we fixed when NM sets
. last_attempt_success (provided by Crispin)
Tim
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1136 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* Move NetworkManager.h -> include/NetworkManager.h
* Split out VPN stuff to include/NetworkManagerVPN.h
* Fix up makefiles to include new location
* Fix up sources to include NetworkManagerVPN.h
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1130 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
+ Updated header
* src/nm-openvpn-service.[ch]:
+ Added support for new X.509 + User/Pass connection type
+ device is now an explicit parameter, if not set it defaults to
. "tun" for compatibility with versions < 0.3.0
+ fixed closing of management socket, thanks for this patch goes
. to Crispin Flowerday
Tim
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1122 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* vpn-daemons/openvpn/auth-dialog/main.c: Only request one password,
still use GnomeTwoPasswordDialog, gives all the functionality we need.
This should be unified between VPN implementations. Also I had to add
GConf support to see if a password is really needed for the connection
type. The configuraton line should be written to the auth-dialog by NM
and maybe even an impl_needs_passwd_dialog or similar should be added.
Patch will follow when healthy again.
* vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade: Updated GUI,
contains now everything needed to configure all three connection types
* vpn-daemons/openvpn/properties/nm-openvpn.c: Added handling of all
three connection types.
* vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c: Use
different environment variables which are available for all connection
types, fixed the returned VPN gateway address. This was the remote IP
used in the VPN network, not the remote's real address. This prevented
it from working if VPN gateway was not in the same subnet since routes
were wrong.
* vpn-daemons/openvpn/src/nm-openvpn-service.h
vpn-daemons/openvpn/src/nm-openvpn-service.c: Added support for
password and shared secret connection types. Reformatted to Gnu style.
* vpn-daemons/openvpn/configure.in: Raised version to 0.2.0
* vpn-daemons/openvpn/intltool-extract.in
vpn-daemons/openvpn/intltool-merge.in
vpn-daemons/openvpn/intltool-update.in:
Version from intltool 0.33, 0.34 won't work at the moment.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1111 4912f4e0-d625-0410-9fb7-b9a5a253dbdc