Commit graph

77 commits

Author SHA1 Message Date
Antony Mee
579686533a 2005-12-21 Antony Mee <A.J.Mee@ncl.ac.uk>
* vpn-daemons/pptp: initial checkin of PPTP VPN Module


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1223 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-21 22:29:06 +00:00
Antony Mee
25e0af63e8 Initial check in on NetworkManager PPTP VPN plugin (used pppd)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1220 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-21 21:50:07 +00:00
Robert Love
8440287aaa 2005-12-12 Robert Love <rml@novell.com>
* auth-dialog/main.c: one more NULL, this time for the ellipses


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1167 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 15:49:18 +00:00
Tim Niemueller
04413efd00 + Bumped version to 0.3.2
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1159 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-11 01:12:25 +00:00
Tim Niemueller
239b71f683 + Added support for encrypted key files for X.509 connections
+ Added support for port parameter in gconf keys. This is not shown in the
. guy but maybe set through gconf-editor.

Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1158 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-11 01:11:54 +00:00
Tim Niemueller
739f9cd449 + Added support for setting the primary password label
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1157 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-11 01:10:35 +00:00
Tim Niemueller
510458f78f + Notes about unused variable removal
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1146 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 20:31:08 +00:00
Tim Niemueller
41c92505be + Removed unused variable
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1145 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 20:29:42 +00:00
Tim Niemueller
9677e94d78 + Changes for 0.3.1
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1138 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 01:45:21 +00:00
Tim Niemueller
51c54ed60a + Raised versoin to 0.3.1
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1137 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 01:34:09 +00:00
Tim Niemueller
39c7b0d342 + Support proto flag in config, default to UDP if not set for backward
. 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
2005-12-07 01:33:50 +00:00
Tim Niemueller
3ad1df247d + Protocol can now be set, defaults to UDP, TCP maybe selected with
. check box

Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1135 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 01:33:00 +00:00
Tim Niemueller
5e613fff33 + Added check button to use TCP instead of UDP
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1134 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 01:32:37 +00:00
Tim Niemueller
25ca1a0882 + Only request one password from Gnome keyring, patch by Crispin Flowerday
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1133 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 01:32:00 +00:00
Dan Williams
6bcf90acf2 2005-12-06 Dan Williams <dcbw@redhat.com>
* 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
2005-12-06 23:37:09 +00:00
Tim Niemueller
b8c9b829c0 + Reformatted for better readability.
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1126 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 22:46:51 +00:00
Tim Niemueller
30697c19bb + NM-OpenVPN 0.3.0
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1125 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 22:38:16 +00:00
Tim Niemueller
b7c6f8ba3b + Versions from intltool 0.34 are back, magically work after new
. autogen.sh run!?

Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1124 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 22:37:57 +00:00
Tim Niemueller
7899ecc6b3 + Password is also needed for new X.509 + User/Pass connection type
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1123 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 22:34:18 +00:00
Tim Niemueller
415d12937e * src/nm-openvpn-service-openvpn-helper.c:
+ 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
2005-12-05 22:33:48 +00:00
Tim Niemueller
1981454b3b + Added support for new X.509 + User/Pass connection type
+ Added support for using TAP device, device is now written to
. config to new field dev, added checkbox to optional info expander

Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1121 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 22:32:47 +00:00
Robert Love
e90cdbbb60 Keep VPN-related changes in their respective ChangeLog
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1112 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-01 18:35:15 +00:00
Tim Niemueller
a2d09a9a4e 2005-11-30 Tim Niemueller <tim@niemueller.de>
* 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
2005-11-30 17:56:51 +00:00
Robert Love
d20de1509b update .cvsignore
remove unused var


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1106 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-14 16:24:36 +00:00
Robert Love
784706392b add .cvsignore files
remove a bunch of generated files


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1105 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-14 16:17:51 +00:00
Robert Love
266c94917f 2005-11-14 Robert Love <rml@novell.com>
* vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
          Niemueller <tim@niemueller.de>.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1104 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-14 16:04:36 +00:00
Robert Love
e2659894f4 2005-11-04 Robert Love <rml@novell.com>
* auth-dialog/gnome-two-password-dialog.c: Embarrassing bug!  Make sure
	  we g_free() these things in the right order.  Fix c/o JPR. (Novell
	  bug #121884).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1098 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-04 20:57:29 +00:00
Robert Love
b17b4de3f2 2005-10-28 Robert Love <rml@novell.com>
* vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
	  "Import Saved Configuration..." to make it clear that importing is
	  not the next step, but an option.  As an aside, a nice TODO would be
	  to move Importing out of the vpn-specific dialog and into the main
	  property editor, as Importing goes with Adding, but that will require
	  some rearchitecting of the VPN stuff I suspect.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1084 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-28 18:01:51 +00:00
Christopher Aillon
0aa2f997e4 2005-10-27 Christopher Aillon <caillon@redhat.com>
* src/nm-vpn-service.c: Only signal the bus that state
	changed	if old_state != new_state


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1083 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-28 06:16:31 +00:00
Robert Love
7374eff85f vpn-daemons/vpnc/po/.cvsignore: add *.pot
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1062 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-20 19:06:57 +00:00
Robert Love
f9450c787b 2005-10-19 Robert Love <rml@novell.com>
* vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1060 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 18:27:16 +00:00
Christopher Aillon
846ac5f251 2005-10-17 Christopher Aillon <caillon@redhat.com>
* configure.in: Bump version to 0.5.0


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1039 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 03:27:41 +00:00
Robert Love
8a0de324cf remove unused variables, labels, and a function.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1021 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-12 19:11:21 +00:00
Christopher Aillon
0f08c505a2 2005-10-07 Christopher Aillon <caillon@redhat.com>
* nm-vpnc.desktop.in: use a category for the desktop entry.
	(Rodrigo Moya <rodrigo@novell.com>)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1001 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-07 17:38:35 +00:00
Dan Williams
a326781e61 Fix debug info printout compile error
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@975 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-26 14:53:22 +00:00
Dan Williams
5c46be7149 2005-09-07 Dan Williams <dcbw@redhat.com>
* The great VPN Manager rewrite of 2005


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@946 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-07 19:12:52 +00:00
Christopher Aillon
31027d4d42 2005-09-07 Christopher Aillon <caillon@redhat.com>
* gnome/applet/menu-items.c:
	* gnome/applet/nm-device.c:
	* gnome/applet/wireless-network.c:
	* gnome/libnm_glib/libnm_glib.c:
	* src/NetworkManagerDbusUtils.c:
	* vpn-daemons/vpnc/src/nm-vpnc-service.c:
	g_malloc0 doesn't return NULL


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@944 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-07 06:44:42 +00:00
Christopher Aillon
2ea235020b 2005-08-26 Christopher Aillon <caillon@redhat.com>
* Fix up VPN state handling between the applet and NetworkManager,
		so that the applet doesn't show a VPN as connected when one
		really is not
			- The applet no longer has a pointer to the active VPN's
				name, but tracks each VPNs state individually
			- NM no longer has a "getActiveVPNConnection" method
			- NM no longer broadcasts the "VPNConnectionChange" signal
			- NM now broadcasts a "VPNConnectionStateChange" signal
				whenever the state of a VPN changes


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@902 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-26 23:36:35 +00:00
Christopher Aillon
88def5d4d6 2005-08-20 Christopher Aillon <caillon@redhat.com>
* gnome/applet/other-network-dialog.c:
	The "Create New Network" and "Connect to Other Network"
	dialogs share alot of code, but shouldn't share a window
	title.  Give them different ones.

	* gnome/applet/wireless-applet.glade:
	* vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
	Some more minor UI tweaks.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@892 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-20 05:12:23 +00:00
Dan Williams
722013e7f5 spacing fixups
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@888 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-19 15:39:33 +00:00
Dan Williams
84fb1fe77f Update cvsignore file
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@887 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-19 15:37:14 +00:00
Dan Williams
94f71ab85c 2005-08-19 Dan Williams <dcbw@redhat.com>
* vpn-daemons/vpnc/nm-vpnc-service.c
		- (vpnc_watch_cb): remove no-longer-relevant comment
		- (write_config_option): new function, helper to write
			config options to vpnc's stdin
		- (nm_vpnc_config_write): use the new helper, make the
			code shorter


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@886 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-19 15:36:27 +00:00
David Zeuthen
eb1a9774f1 2005-08-18 David Zeuthen <davidz@redhat.com>
* configure.in: Require NetworkManaged-devel >= 0.4.1. Bump version
        to 0.3.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@877 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-18 18:47:20 +00:00
Dan Williams
fa90b0567b update .cvsignore
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@861 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 04:30:03 +00:00
Dan Williams
387f572771 2005-08-16 Dan Williams <dcbw@redhat.com>
Patch from j@bootlab.org
	* vpn-daemons/vpnc/Makefile.am: Fix for autoreconf

	* configure.in: allow specifying the path to dhcdbd


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@852 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-16 17:27:48 +00:00
Christopher Aillon
fcce343152 2005-08-16 Christopher Aillon <caillon@redhat.com>
* vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
        * gnome/applet/applet.c: Add some mnemonics for VPNC

        * vpn-daemons/.cvsignore: fix this up a little bit


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@850 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-16 16:45:15 +00:00
Christopher Aillon
6df6b19135 2005-08-15 Christopher Aillon <caillon@redhat.com>
* gnome/vpn-properties/nm-vpn-properties.c:
        * gnome/vpn-properties/nm-vpn-ui-interface.h:
        * vpn-daemons/vpnc/properties/nm-vpnc.c:
        Makeshift fix to remove newlines from translatable strings.
        Note that we now return an allocated string, so callers of
        get_confirmation_details () must now call g_free () on the
        result. (fixes #309033).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@846 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-15 19:34:20 +00:00
Chris Aillon
fdb72866e6 d is for decimal, s is for string. vpnc is a wonderful thing.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@844 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-15 15:17:47 +00:00
Christopher Aillon
1262be4ea8 2005-08-14 Christopher Aillon <caillon@redhat.com>
* src/nm-vpn-service.c:  Use UDP Encapsulation, to allow
	multiple VPN connections from the same network


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@843 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-15 03:26:27 +00:00
Robert Love
b1dea9ba50 Add sv translation from base NetworkManager--it belongs here.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@837 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-12 18:28:04 +00:00