Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
66cfc25
fix to support nm-0.9
microcai Apr 16, 2011
83b2dee
add more to gitignore
microcai Apr 16, 2011
bd67164
update to use gtkbuilder
microcai Apr 17, 2011
a1234ad
fix path for debian/ubuntu
geocar May 29, 2011
f655c2f
Add some rudamentary ipsec support
geocar May 29, 2011
7e984d4
add helpful hints for ubuntu users
geocar May 29, 2011
a102c31
note the difference
geocar May 29, 2011
19aa167
try using system pluto
geocar May 30, 2011
eacea0b
try to come up clean after boot
geocar May 30, 2011
06c2ffd
Update UI equal to nm-pptp 0.9.0
seriyps Jan 19, 2012
006b809
Update auth-dialog like in network-manager-pptp (master 8b5c8b6ca3d24…
seriyps Jan 26, 2012
7235352
Update properties-editor UI and code + minor fix in nm-l2tp-service
seriyps Jan 26, 2012
ff99794
Add more gettext (to nm-l2tp-service mostly)
seriyps Jan 26, 2012
eeb5396
Add some options to nm-l2tp-service (for debugging purposes)
seriyps Jan 26, 2012
40a5c10
Fix --libexecdir example for ubuntu in README
seriyps Jan 26, 2012
a0b910e
Fix .pot files suorces (.glade replaced with .ui)
seriyps Jan 29, 2012
a61b7d4
Add optional support of gtk3 to autoconf
seriyps Feb 1, 2012
d0ae81e
remove unused "common-gnome" + some code ported from nm-pptp
seriyps Feb 2, 2012
4da8410
Fix auto-disabling encryption options when enceyption disabled itself…
seriyps Feb 2, 2012
dfb3206
Enlarge "authentication methods" widget
seriyps Feb 2, 2012
7e0a351
change NML2tpPppServicePrivate definition
seriyps Feb 5, 2012
743dfd2
more fixes for ppp-private struct
seriyps Feb 7, 2012
75330f5
Copy-pasted code (pppd options) refactored
seriyps Feb 7, 2012
3a3833a
Dump (for debugging purposes) connection as early as possible + minor…
seriyps Feb 8, 2012
1e64270
Version up
seriyps Feb 9, 2012
82499e4
Tell xl2tpd to create control file in /var/run directory, not /var/ru…
seriyps Feb 13, 2012
ab078b6
Gettext msgmerge
seriyps Feb 15, 2012
15ee23a
Fix gtkbuilder .ui file translation
seriyps Feb 15, 2012
ebfe1fd
Fix en_GB translation (just copy from msgid to msgstr)
seriyps Feb 18, 2012
2797bc3
replace NM_L2TP_KEY_USE_ACCOMP to NM_L2TP_KEY_NO_ACCOMP for consisten…
seriyps Feb 18, 2012
3cc1a2c
Add describing tooltips with mapping to pppd/xl2tpd options
seriyps Feb 18, 2012
d69a830
Update translations with new phrases
seriyps Feb 18, 2012
de2cf3c
Update ru and en_GB translation
seriyps Feb 18, 2012
f778ee7
Readme UPD
seriyps Feb 19, 2012
a4f3f86
Version 0.3.1
seriyps Feb 19, 2012
bdd6e2f
Feature: write "port" option to xl2tpd config. Check that this port i…
seriyps Feb 22, 2012
1d78560
Implement export_to_file for VPN part of options.
seriyps Feb 27, 2012
8ac3474
Export connection id (name) to file.
seriyps Feb 27, 2012
19e9cb4
Add "import connection" feature (has no strong validation)
seriyps Feb 28, 2012
2af765c
Properly set errors in import-export.
seriyps Feb 28, 2012
a895fae
fix indentation
seriyps Feb 28, 2012
617f2ed
Fix misprint
Mar 1, 2012
cbdd0ad
fixes in import error handling
seriyps Mar 5, 2012
9439544
can import VPN connection name
seriyps Mar 5, 2012
721e894
Add ip4 settings export
seriyps Mar 10, 2012
5915afe
Use a g_string for the route string construction (export)
seriyps Mar 10, 2012
ae0769c
Add ip4 settings import
seriyps Mar 13, 2012
46f710d
Strip spaces from gateway
seriyps Mar 15, 2012
90cb049
Import error handling functions
seriyps Mar 16, 2012
cf18c06
Update translations
seriyps Mar 18, 2012
2767b32
Change some xl2tpd config options
seriyps Mar 20, 2012
6f01f16
Fix bug with routes when gateway resolved to multiple IP addresses. P…
seriyps Apr 5, 2012
dc73c74
disable aggrmode for ipsec
seriyps May 8, 2012
8d50e9a
Update version
seriyps May 8, 2012
fe40f64
Copy external-ui mode from pptp plugin 113ade63f5f434f831181e46d4cc88…
seriyps May 30, 2012
1b16c52
build: copied some updates frop pptp plugin (build-time warnings & er…
seriyps May 30, 2012
76bf1d3
Synchronize codebase with pptp v0.9.4 plugin + fix warnings
seriyps May 31, 2012
d09ea90
Bump version (synchronize version number with pptp plugin)
seriyps May 31, 2012
f76f8d6
Remove .mo files
seriyps Jun 24, 2012
9fcc453
properties: fix toggling PAP/CHAP/EAP when both MSCHAP & MSCHAP2 are …
seriyps Jun 24, 2012
8df1ea3
Add missing command ("whack") to ipsec initialization. fixes: #2
seriyps Sep 22, 2012
f21ded2
Fix IS_*_KLASS macroses (ported from pptp)
seriyps Oct 21, 2012
53078bc
Version up 0.9.6
seriyps Oct 21, 2012
72de138
Applied Debian patches for pptp plugin
seriyps Oct 21, 2012
64397cd
Full license text added
Nov 26, 2012
bb48485
build: set GDK_VERSION_MIN_REQUIRED, to avoid deprecation warnings (p…
Nov 26, 2012
01bb644
core: fix internationalization of nm-l2tp-service (ported from pptp p…
Nov 26, 2012
09f5826
Define NM_L2TP_LOCALEDIR #5
Mar 21, 2013
bbdbd9e
build: modernize a bit (pptp port)
seriyps Mar 31, 2013
de7462b
Use full paths in .name file (pptp 0.9.8.1 port)
seriyps Mar 31, 2013
a601db9
release: bump version to 0.9.8.0
seriyps Mar 31, 2013
9e61ae3
build: require Gtk+ 3.4 and GLib 2.32 (pptp port)
seriyps Sep 8, 2013
cf9073d
Check /var/run/pluto/ipsec.info for existence before sourcing it.
seriyps Sep 8, 2013
5fe98f7
noccp pppd option added.
seriyps Sep 9, 2013
6831439
Fix locales paths (port from pptp); version 0.9.8.4
seriyps Oct 26, 2013
7d72b57
Fix error in nm-l2tp-service.name
seriyps Oct 28, 2013
7fb2a3a
Fix README.ubuntu typo
seriyps Oct 28, 2013
7f66059
Version up
seriyps Oct 28, 2013
73a30d4
Fix: don't continue, if IPSec start commands failed.
seriyps Feb 27, 2014
866dd70
Update translations
seriyps May 1, 2014
103576a
russian translation updated
seriyps May 1, 2014
994cf5a
ipsec: missing curly braces led to always false return
Jul 25, 2014
79fd238
Merge pull request #21 from ndorf/ndorf_ipsec
seriyps Jul 25, 2014
9aff622
More information for error in in IPSec setup and Fix error in start b…
Nov 17, 2014
5498092
ipsec: secrets shouldn't be world-readable
Nov 19, 2014
e6a04f6
Merge pull request #28 from ndorf/upstream
seriyps Nov 24, 2014
8c35a9a
ipsec: must specify L2TP port selectors for handshake to work
Jul 25, 2014
2c458ec
ipsec: it's not an error if we already know %defaultroute
Jul 26, 2014
34847cc
ipsec: don't forget to clean up tunnel when finished
Nov 26, 2014
443e055
ipsec: clean up startup commands, error handling, pointless strlens
Nov 27, 2014
4ec4f4f
Merge pull request #29 from ndorf/master
seriyps Nov 30, 2014
adc7408
Update zh_CN.po
wsxy162 Jun 2, 2015
684507b
Merge pull request #37 from wsxy162/patch-1
seriyps Jun 4, 2015
c2c8eeb
build: properly substitute DBUS_* variables
lkundrak Aug 24, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 25 additions & 36 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,45 +1,34 @@
# Temporary files
*~
*.swp

# Compiled files
*.o
*.la
*.lo
auth-dialog/nm-l2tp-auth-dialog
src/nm-l2tp-service

# Generated
nm-l2tp-service.name
src/nm-l2tp-pppd-service-glue.h

# GNU Autotools
.deps
.libs
*.la
Makefile
Makefile.in*
configure
compile
config.*
aclocal.m4
autom4te.cache/
depcomp
compile
config.guess
config.h
config.h.in
config.h~
config.log
config.status
config.sub
configure
install-sh
intltool-extract.in
intltool-merge.in
intltool-update.in
libtool
ltmain.sh
m4/
Makefile
Makefile.in
missing
po/*.pot
po/Makefile.in.in
po/POTFILES
po/stamp-it
stamp-h1
mkinstalldirs
POTFILES
stamp-*
.deps
.libs
autom4te.cache
intltool-*
po/*.gmo
po/.intltool-merge-cache
m4/gtk-doc.m4
m4/intltool.m4
m4/libtool.m4
m4/lt*.m4

auth-dialog/nm-l2tp-auth-dialog
nm-l2tp-service.name
nm-l2tp.desktop
src/nm-l2tp-pppd-service-glue.h
src/nm-l2tp-service
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Alexey Torkhov <[email protected]>
Sergey Prokhorov <[email protected]>

Based on NetworkManager-pptp by:
Antony Mee <[email protected]>
Expand Down
340 changes: 340 additions & 0 deletions COPYING

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = foreign
SUBDIRS = src

if WITH_GNOME
SUBDIRS += common-gnome auth-dialog properties po
SUBDIRS += auth-dialog properties po
endif

dbusservicedir = $(sysconfdir)/dbus-1/system.d
Expand All @@ -27,7 +27,11 @@ if WITH_GNOME
endif

nm-l2tp-service.name: $(srcdir)/nm-l2tp-service.name.in
sed -e 's|[@]LIBEXECDIR[@]|$(libexecdir)|g' $< >$@
sed -e 's|[@]LIBEXECDIR[@]|$(libexecdir)|g' \
-e 's|[@]PLUGINDIR[@]|$(libdir)/NetworkManager|g' \
$< >$@

DISTCHECK_CONFIGURE_FLAGS = --enable-more-warnings=yes

EXTRA_DIST = nm-l2tp-service.name.in \
$(dbusservice_DATA) \
Expand Down
15 changes: 15 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
L2TP support for NetworkManager
===============================

This version has IPSEC support and can connect to a Sonicwall

Uses xl2tpd and (optional) openswan.

Build
=====

./autogen.sh
./configure # (optional)
make
sudo make install

Ubuntu users see README.ubuntu file.
15 changes: 15 additions & 0 deletions README.ubuntu
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

The Debian and Ubuntu GNOME packages don't have reasonable defaults,
so you have to give ./configure every path manually.

./configure \
--prefix=/usr --localstatedir=/etc --sysconfdir=/etc \
--sharedstatedir=/var/lib --libexecdir=/usr/lib/NetworkManager \
--infodir=/usr/share/info --mandir=/usr/share/man \
--with-pppd-plugin-dir=/usr/lib/pppd/2.4.5 \
--with-dist-version=<my_build_ver>

You'll need at least the following installed:

sudo apt-get install xl2tpd openswan

22 changes: 9 additions & 13 deletions auth-dialog/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,24 @@ INCLUDES = -I${top_srcdir}
libexec_PROGRAMS = nm-l2tp-auth-dialog

nm_l2tp_auth_dialog_CPPFLAGS = \
$(NM_UTILS_CFLAGS) \
$(GTHREAD_CFLAGS) \
$(NM_CFLAGS) \
$(GLIB_CFLAGS) \
$(GTK_CFLAGS) \
$(GCONF_CFLAGS) \
$(GNOMEKEYRING_CFLAGS) \
-DICONDIR=\""$(datadir)/pixmaps"\" \
-DGLADEDIR=\""$(gladedir)"\" \
-DUIDIR=\""$(uidir)"\" \
-DBINDIR=\""$(bindir)"\" \
-DG_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \
-DGNOME_DISABLE_DEPRECATED \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DVERSION=\"$(VERSION)\"

nm_l2tp_auth_dialog_SOURCES = \
main.c \
gnome-two-password-dialog.c \
gnome-two-password-dialog.h
main.c \
vpn-password-dialog.c \
vpn-password-dialog.h

nm_l2tp_auth_dialog_LDADD = \
$(GTK_LIBS) \
$(GCONF_LIBS) \
$(top_builddir)/common-gnome/libnm-l2tp-common-gnome.la
$(NM_LIBS) \
$(GTK_LIBS) \
$(GNOMEKEYRING_LIBS)

CLEANFILES = *~
Loading