debian/0000755000000000000000000000000012151350176007167 5ustar debian/README.Debian0000644000000000000000000000241512143427421011231 0ustar n2n for Debian -------------- This package depends on the kernel having the TUN/TAP driver configured in using CONFIG_TUN=yes. Quickstart ---------- * Decide where to place your supernode. Suppose you put it on host a.b.c.d at port xyw. * Decide what encryption password you want to use to secure your data. Suppose you use the password encryptme * Decide the network name you want to use. Suppose you call it mynetwork. Note that you can use your supernode/edge nodes to handle multiple networks, not just one. * Decide what IP address you plan to use on your edge nodes. Suppose you use IP address 10.1.2.0/24 * Start your applications: o #supernode > supernode -l xyw o #edge node1> edge -a 10.1.2.1 -c mynetwork -k encryptme -l a.b.c.d:xyw o #edge node2> edge -a 10.1.2.2 -c mynetwork -k encryptme -l a.b.c.d:xyw HINT: vpnhosting.cz provides a public n2n supernode you can use for testing. It is available at 88.86.108.50 port 82, use "-l 88.86.108.50:82" Now test your n2n network: o #edge node1> ping 10.1.2.2 o #edge node2> ping 10.1.2.1 For more info check http://www.ntop.org/n2n -- cristian paul peñaranda rojas Sat, 29 Nov 2008 00:31:58 -0500 debian/changelog0000644000000000000000000000313312151622612011036 0ustar n2n (1.3.1~svn3789-4) unstable; urgency=low * move the updated package from experimental to unstable now * copyright: Update copyright information. * control: Update to policy 3.9.4. No further changes. -- Rolf Leggewie Wed, 29 May 2013 17:55:10 +0800 n2n (1.3.1~svn3789-3) experimental; urgency=low * update build process from dh7 to dh9 * backport upstream-svn4235.patch to fix compile error * patch Makefile to import $LDFLAGS and $CPPFLAGS into $CFLAGS -- Rolf Leggewie Fri, 28 Dec 2012 03:09:08 +0100 n2n (1.3.1~svn3789-2) experimental; urgency=low * debian/control: - add myself to Uploaders - add ${misc:Depends} to run-time dependencies - add Homepage and VCS fields - bump standards version to 3.9.3 (no further changes) * debian/rules: radically simplify and rely on dh7 build intelligence * debian/source/format: use DebSrc3 format * debian/README.Debian: add information about public supernode -- Rolf Leggewie Fri, 14 Dec 2012 13:01:40 +0100 n2n (1.3.1~svn3789-1) unstable; urgency=low * Update package to version 1.3 from upstream cvs * Removed "libc6-dev (>= 2.0)" build dependency (closes: Bug#533881) * DH compatibility level is 7 * Run dh_prep instead of dh_clean -k * Standards Version is 3.8.2 -- cristian paul peñaranda rojas Sun, 22 Jun 2009 21:19:58 -0500 n2n (1.2.2~svn3653) unstable; urgency=low * Initial release (closes: Bug#507750) -- cristian paul peñaranda rojas Sat, 29 Nov 2008 00:31:58 -0500 debian/compat0000644000000000000000000000000212151347121010361 0ustar 9 debian/control0000644000000000000000000000115212151347205010570 0ustar Source: n2n Section: net Priority: extra Maintainer: cristian paul peñaranda rojas Uploaders: Rolf Leggewie Build-Depends: debhelper (>= 9) Standards-Version: 3.9.4 Homepage: http://www.ntop.org/products/n2n/ Vcs-git: git://git.debian.org/git/collab-maint/n2n.git Vcs-Browser: http://git.debian.org/?p=collab-maint/n2n.git Package: n2n Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Peer-to-Peer VPN network daemon n2n is an open source VPN application which utilizes a Peer-to-peer architecture for network membership and routing. debian/copyright0000644000000000000000000001035312151347123011122 0ustar This package was debianized by cristian paul peñaranda rojas on Sat, 29 Nov 2008 00:31:58 -0500. It was downloaded from https://svn.ntop.org/svn/ntop/trunk/n2n The current Debian packaging is © 2008-2009 cristian paul peñaranda rojas and © 2012-2013 Rolf Leggewie and is licensed under the GNU General Public License (GPL) version 3. A copy of the GNU GPL version 3 can be found in `/usr/share/common-licenses/GPL-3'. The current Debian maintainer is cristian paul peñaranda rojas with Rolf Leggewie as co-maintainer. Upstream Author: Luca Deri deri@ntop.org Copyright: Copyright (C) 2008 Luca Deri Copyright (C) 2008 Richard Andrews License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License with the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU General Public License, version 3, can be found in /usr/share/common-licenses/GPL-3. The Files: twofish.c twofish.h Copyright (C) 1997-2000 The Cryptix Foundation Limited. Copyright (C) 2000 Farm9. Copyright (C) 2001 Frank Knobbe. All rights reserved. For Cryptix code: Use, modification, copying and distribution of this software is subject the terms and conditions of the Cryptix General Licence. Cryptix General License Copyright (c) 1995 -2005 The Cryptix Foundation Limited. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE CRYPTIX FOUNDATION LIMITED AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE CRYPTIX FOUNDATION LIMITED OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The Files: minilzo.c minilzo.h lzodefs.h Copyright (C) 1996 - 2005 Markus Franz Xaver Johannes Oberhumer These files are part of the LZO real-time data compression library. All Rights Reserved. The LZO library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The LZO library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the LZO library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. debian/dirs0000644000000000000000000000002112143427421010043 0ustar usr/bin usr/sbin debian/docs0000644000000000000000000000000712143427421010036 0ustar README debian/patches/0000755000000000000000000000000012151347121010612 5ustar debian/patches/01-edge.8.diff0000644000000000000000000000045412143427421012742 0ustar --- a/edge.8.old 2008-12-02 20:33:54.000000000 -0500 +++ b/edge.8 2008-12-02 20:34:13.000000000 -0500 @@ -1,4 +1,4 @@ -.TH edge 1 "Jan 3, 2009" "revision 3679" "SUPERUSER COMMANDS" +.TH edge 8 "Jan 3, 2009" "revision 3679" "SUPERUSER COMMANDS" .SH NAME edge \- n2n edge node daemon .SH SYNOPSIS debian/patches/series0000644000000000000000000000006512151347121012030 0ustar 01-edge.8.diff upstream-svn4235.patch makefile.patch debian/patches/makefile.patch0000644000000000000000000000073512151347121013415 0ustar diff --git a/Makefile b/Makefile index 485adc3..191845a 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ WARN?=-Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs PLATOPTS_SPARC64=-mcpu=ultrasparc -pipe -fomit-frame-pointer -ffast-math -finline-functions -fweb -frename-registers -mapp-regs -CFLAGS+=$(DEBUG) $(WARN) $(OPTIONS) $(PLATOPTS) +CFLAGS+=$(DEBUG) $(WARN) $(LDFLAGS) $(CPPFLAGS) $(OPTIONS) $(PLATOPTS) INSTALL=install MKDIR=mkdir -p debian/patches/upstream-svn4235.patch0000644000000000000000000000074212151347121014620 0ustar diff --git a/n2n.c b/n2n.c index cfcfb74..ac98ad6 100644 --- a/n2n.c +++ b/n2n.c @@ -120,7 +120,7 @@ void traceEvent(int eventTraceLevel, char* file, int line, char * format, ...) { } snprintf(out_buf, sizeof(out_buf), "%s%s", extra_msg, buf); - syslog(LOG_INFO, out_buf); + syslog(LOG_INFO, "%s", out_buf); } else { snprintf(out_buf, sizeof(out_buf), "%s [%11s:%4d] %s%s", theDate, file, line, extra_msg, buf); printf("%s\n", out_buf); debian/rules0000755000000000000000000000003512143427421010244 0ustar #!/usr/bin/make -f %: dh $@debian/source/0000755000000000000000000000000012143427421010466 5ustar debian/source/format0000644000000000000000000000001412143427421011674 0ustar 3.0 (quilt)