Refreshed copyright and added contributors list

This commit is contained in:
Luca Deri 2018-06-06 09:57:31 +02:00
parent 415f6b0a72
commit 7b07636281
20 changed files with 217 additions and 61 deletions

View File

@ -116,4 +116,4 @@ NULL (-O3) 10659
(C) 2007-2010 - Luca Deri <deri@ntop.org> and Richard Andrews <andrews@ntop.org> (C) 2007-2010 - Luca Deri <deri@ntop.org> and Richard Andrews <andrews@ntop.org>
(C) 2016 - ntop (C) 2018 - ntop

View File

@ -1,3 +1,21 @@
/*
* (C) 2007-18 - ntop.org and contributors
*
* 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
* along with this program; if not, see <http://www.gnu.org/licenses/>
*
*/
#include "n2n_wire.h" #include "n2n_wire.h"
#include "n2n_transforms.h" #include "n2n_transforms.h"
#include "n2n.h" #include "n2n.h"

8
contributors.txt Normal file
View File

@ -0,0 +1,8 @@
Code contributions courtesy of:
* Richard Andrews <andrews@ntop.org>
* Don Bindner <don.bindner@gmail.com>
* Sylwester Sosnowski <syso-n2n@no-route.org>
* Wilfried "Wonka" Klaebe
* Lukasz Taczuk
* Alaric Snell-Pym <alaric@kitten-technologies.co.uk>
* Babak Farrokhi <babak@farrokhi.net> [FreeBSD port]

9
edge.c
View File

@ -1,6 +1,5 @@
/** /**
* (C) 2007-09 - Luca Deri <deri@ntop.org> * (C) 2007-18 - ntop.org and contributors
* Richard Andrews <andrews@ntop.org>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@ -15,12 +14,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not see see <http://www.gnu.org/licenses/> * along with this program; if not see see <http://www.gnu.org/licenses/>
* *
* Code contributions courtesy of:
* Don Bindner <don.bindner@gmail.com>
* Sylwester Sosnowski <syso-n2n@no-route.org>
* Wilfried "Wonka" Klaebe
* Lukasz Taczuk
*
*/ */
#include "n2n.h" #include "n2n.h"

18
n2n.c
View File

@ -1,11 +1,10 @@
/* /**
*(C) 2007-09 - Luca Deri <deri@ntop.org> * (C) 2007-18 - ntop.org and contributors
* Richard Andrews <andrews@ntop.org>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or * the Free Software Foundation; either version 3 of the License, or
*(at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
@ -13,11 +12,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/> * along with this program; if not see see <http://www.gnu.org/licenses/>
*
* Code contributions courtesy of:
* Massimo Torquati <torquati@ntop.org>
* Matt Gilg
* *
*/ */
@ -235,12 +230,11 @@ void hexdump(const uint8_t * buf, size_t len)
void print_n2n_version() { void print_n2n_version() {
printf("Welcome to n2n v.%s for %s\n" printf("Welcome to n2n v.%s for %s\n"
"Built on %s\n" "Built on %s\n"
"Copyright 2007-09 - http://www.ntop.org\n\n", "Copyright 2007-18 - ntop.org and contributors\n\n",
n2n_sw_version, n2n_sw_osName, n2n_sw_buildDate); n2n_sw_version, n2n_sw_osName, n2n_sw_buildDate);
} }
/* *********************************************** */
/** Find the peer entry in list with mac_addr equal to mac. /** Find the peer entry in list with mac_addr equal to mac.
* *

11
n2n.h
View File

@ -1,6 +1,5 @@
/* /**
* (C) 2007-09 - Luca Deri <deri@ntop.org> * (C) 2007-18 - ntop.org and contributors
* Richard Andrews <andrews@ntop.org>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@ -13,11 +12,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/> * along with this program; if not see see <http://www.gnu.org/licenses/>
*
* Code contributions courtesy of:
* Babak Farrokhi <babak@farrokhi.net> [FreeBSD port]
* Lukasz Taczuk
* *
*/ */

View File

@ -1,6 +1,19 @@
/* (c) 2009 Richard Andrews <andrews@ntop.org> */ /**
/* Contributions from: * (C) 2007-18 - ntop.org and contributors
* - Jozef Kralik *
* 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
* along with this program; if not see see <http://www.gnu.org/licenses/>
*
*/ */
#include "n2n.h" #include "n2n.h"

View File

@ -1,4 +1,20 @@
/* (c) 2009 Richard Andrews <andrews@ntop.org> */ /**
* (C) 2007-18 - ntop.org and contributors
*
* 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
* along with this program; if not see see <http://www.gnu.org/licenses/>
*
*/
/** Key files /** Key files
* *

View File

@ -1,4 +1,20 @@
/* (c) 2009 Richard Andrews <andrews@ntop.org> */ /**
* (C) 2007-18 - ntop.org and contributors
*
* 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
* along with this program; if not see see <http://www.gnu.org/licenses/>
*
*/
#if !defined(N2N_TRANSFORMS_H_) #if !defined(N2N_TRANSFORMS_H_)
#define N2N_TRANSFORMS_H_ #define N2N_TRANSFORMS_H_

View File

@ -1,8 +1,19 @@
/* (c) 2009 Richard Andrews <andrews@ntop.org> /**
* (C) 2007-18 - ntop.org and contributors
*
* 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
* along with this program; if not see see <http://www.gnu.org/licenses/>
* *
* Contributions by:
* Luca Deri
* Lukasz Taczuk
*/ */
#if !defined( N2N_WIRE_H_ ) #if !defined( N2N_WIRE_H_ )

22
sn.c
View File

@ -1,12 +1,22 @@
/* Supernode for n2n-2.x */ /**
* (C) 2007-18 - ntop.org and contributors
/* (c) 2009 Richard Andrews <andrews@ntop.org> *
* 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
* along with this program; if not see see <http://www.gnu.org/licenses/>
* *
* Contributions by:
* Lukasz Taczuk
* Struan Bartlett
*/ */
/* Supernode for n2n-2.x */
#include "n2n.h" #include "n2n.h"

18
test.c
View File

@ -1,3 +1,21 @@
/**
* (C) 2007-18 - ntop.org and contributors
*
* 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
* along with this program; if not see see <http://www.gnu.org/licenses/>
*
*/
#include "n2n.h" #include "n2n.h"
#include "n2n_keyfile.h" #include "n2n_keyfile.h"
#include <assert.h> #include <assert.h>

View File

@ -1,6 +1,19 @@
/* (c) 2009 Richard Andrews <andrews@ntop.org> */ /**
/* Contributions from: * (C) 2007-18 - ntop.org and contributors
* - Jozef Kralik *
* 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
* along with this program; if not see see <http://www.gnu.org/licenses/>
*
*/ */
#include "n2n.h" #include "n2n.h"

View File

@ -1,4 +1,20 @@
/* (c) 2009 Richard Andrews <andrews@ntop.org> */ /**
* (C) 2007-18 - ntop.org and contributors
*
* 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
* along with this program; if not see see <http://www.gnu.org/licenses/>
*
*/
#include "n2n.h" #include "n2n.h"
#include "n2n_transforms.h" #include "n2n_transforms.h"

View File

@ -1,4 +1,20 @@
/* (c) 2009 Richard Andrews <andrews@ntop.org> */ /**
* (C) 2007-18 - ntop.org and contributors
*
* 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
* along with this program; if not see see <http://www.gnu.org/licenses/>
*
*/
#include "n2n.h" #include "n2n.h"
#include "n2n_transforms.h" #include "n2n_transforms.h"

View File

@ -1,5 +1,5 @@
/* /**
* (C) 2007-09 - Luca Deri <deri@ntop.org> * (C) 2007-18 - ntop.org and contributors
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@ -13,6 +13,7 @@
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not see see <http://www.gnu.org/licenses/> * along with this program; if not see see <http://www.gnu.org/licenses/>
*
*/ */
#include "n2n.h" #include "n2n.h"

View File

@ -1,5 +1,5 @@
/* /**
* (C) 2007-09 - Luca Deri <deri@ntop.org> * (C) 2007-18 - ntop.org and contributors
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@ -12,8 +12,9 @@
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/> * along with this program; if not see see <http://www.gnu.org/licenses/>
*/ *
*/
#include "n2n.h" #include "n2n.h"

View File

@ -1,6 +1,5 @@
/* /**
* (C) 2007-09 - Luca Deri <deri@ntop.org> * (C) 2007-18 - ntop.org and contributors
* (C) 2009 - Alaric Snell-Pym <alaric@kitten-technologies.co.uk>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@ -14,6 +13,7 @@
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not see see <http://www.gnu.org/licenses/> * along with this program; if not see see <http://www.gnu.org/licenses/>
*
*/ */
#include "n2n.h" #include "n2n.h"

View File

@ -1,5 +1,5 @@
/* /**
* (C) 2007-09 - Luca Deri <deri@ntop.org> * (C) 2007-18 - ntop.org and contributors
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@ -13,6 +13,7 @@
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not see see <http://www.gnu.org/licenses/> * along with this program; if not see see <http://www.gnu.org/licenses/>
*
*/ */
#include "n2n.h" #include "n2n.h"

18
wire.c
View File

@ -1,4 +1,20 @@
/* (c) 2009 Richard Andrews <andrews@ntop.org> */ /**
* (C) 2007-18 - ntop.org and contributors
*
* 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
* along with this program; if not see see <http://www.gnu.org/licenses/>
*
*/
/** Routines for encoding and decoding n2n packets on the wire. /** Routines for encoding and decoding n2n packets on the wire.
* *