Browse Source

(C) update (#965)

pull/966/head
Logan oos Even 3 years ago
committed by GitHub
parent
commit
e686b9592c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      README.md
  2. 2
      include/aes.h
  3. 2
      include/auth.h
  4. 2
      include/cc20.h
  5. 2
      include/curve25519.h
  6. 2
      include/edge_utils_win32.h
  7. 2
      include/header_encryption.h
  8. 19
      include/lzoconf.h
  9. 18
      include/lzodefs.h
  10. 19
      include/minilzo.h
  11. 2
      include/n2n.h
  12. 2
      include/n2n_define.h
  13. 19
      include/n2n_port_mapping.h
  14. 2
      include/n2n_regex.h
  15. 2
      include/n2n_typedefs.h
  16. 2
      include/n2n_wire.h
  17. 2
      include/network_traffic_filter.h
  18. 2
      include/pearson.h
  19. 19
      include/portable_endian.h
  20. 2
      include/random_numbers.h
  21. 2
      include/sn_selection.h
  22. 2
      include/speck.h
  23. 2
      include/tf.h
  24. 19
      include/uthash.h
  25. 2
      src/aes.c
  26. 2
      src/auth.c
  27. 2
      src/cc20.c
  28. 2
      src/curve25519.c
  29. 2
      src/edge.c
  30. 2
      src/edge_management.c
  31. 2
      src/edge_utils.c
  32. 2
      src/edge_utils_win32.c
  33. 2
      src/example_edge_embed.c
  34. 2
      src/example_edge_embed_quick_edge_init.c
  35. 2
      src/example_sn_embed.c
  36. 2
      src/header_encryption.c
  37. 17
      src/hexdump.c
  38. 18
      src/minilzo.c
  39. 4
      src/n2n.c
  40. 2
      src/n2n_port_mapping.c
  41. 2
      src/n2n_regex.c
  42. 2
      src/network_traffic_filter.c
  43. 2
      src/pearson.c
  44. 2
      src/random_numbers.c
  45. 2
      src/sn_management.c
  46. 2
      src/sn_selection.c
  47. 2
      src/sn_utils.c
  48. 2
      src/speck.c
  49. 2
      src/supernode.c
  50. 2
      src/tf.c
  51. 2
      src/transform_aes.c
  52. 2
      src/transform_cc20.c
  53. 2
      src/transform_lzo.c
  54. 2
      src/transform_null.c
  55. 2
      src/transform_speck.c
  56. 2
      src/transform_tf.c
  57. 2
      src/transform_zstd.c
  58. 2
      src/tuntap_freebsd.c
  59. 2
      src/tuntap_linux.c
  60. 2
      src/tuntap_netbsd.c
  61. 2
      src/tuntap_osx.c
  62. 2
      src/wire.c
  63. 2
      tools/n2n-benchmark.c
  64. 2
      tools/n2n-decode.c
  65. 2
      tools/n2n-keygen.c
  66. 2
      tools/tests-auth.c
  67. 2
      tools/tests-compress.c
  68. 2
      tools/tests-elliptic.c
  69. 2
      tools/tests-hashing.c
  70. 2
      tools/tests-transform.c
  71. 2
      tools/tests-wire.c
  72. 22
      win32/getopt.c
  73. 18
      win32/getopt.h
  74. 23
      win32/getopt1.c
  75. 2
      win32/n2n_win32.h
  76. 2
      win32/wintap.c
  77. 4
      win32/wintap.h

2
README.md

@ -115,4 +115,4 @@ Here is a list of third-party projects connected to this repository:
---
(C) 2007-21 - ntop.org and contributors
(C) 2007-22 - ntop.org and contributors

2
include/aes.h

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
include/auth.h

@ -1,5 +1,5 @@
/*
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
include/cc20.h

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
include/curve25519.h

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
include/edge_utils_win32.h

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
include/header_encryption.h

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

19
include/lzoconf.h

@ -1,3 +1,22 @@
/**
* (C) 2007-22 - 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/>
*
*/
/* lzoconf.h -- configuration of the LZO data compression library
This file is part of the LZO real-time data compression library.

18
include/lzodefs.h

@ -1,3 +1,21 @@
/**
* (C) 2007-22 - 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/>
*
*/
/* lzodefs.h -- architecture, OS and compiler specific defines
This file is part of the LZO real-time data compression library.

19
include/minilzo.h

@ -1,3 +1,22 @@
/**
* (C) 2007-22 - 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/>
*
*/
/* minilzo.h -- mini subset of the LZO real-time data compression library
This file is part of the LZO real-time data compression library.

2
include/n2n.h

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
include/n2n_define.h

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

19
include/n2n_port_mapping.h

@ -1,3 +1,22 @@
/**
* (C) 2007-22 - 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/>
*
*/
#ifndef _N2N_PORT_MAPPING_H_
#define _N2N_PORT_MAPPING_H_

2
include/n2n_regex.h

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
include/n2n_typedefs.h

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
include/n2n_wire.h

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
include/network_traffic_filter.h

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
include/pearson.h

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

19
include/portable_endian.h

@ -1,3 +1,22 @@
/**
* (C) 2007-22 - 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/>
*
*/
// taken from
// https://raw.githubusercontent.com/pyca/bcrypt/master/src/_csrc/portable_endian.h
// as of June 11, 2020

2
include/random_numbers.h

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
include/sn_selection.h

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
include/speck.h

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
include/tf.h

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

19
include/uthash.h

@ -1,3 +1,22 @@
/**
* (C) 2007-22 - 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/>
*
*/
/*
Copyright (c) 2003-2018, Troy D. Hanson http://troydhanson.github.com/uthash/
All rights reserved.

2
src/aes.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/auth.c

@ -1,5 +1,5 @@
/*
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/cc20.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/curve25519.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/edge.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/edge_management.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/edge_utils.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/edge_utils_win32.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/example_edge_embed.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/example_edge_embed_quick_edge_init.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/example_sn_embed.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/header_encryption.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

17
src/hexdump.c

@ -1,3 +1,20 @@
/**
* (C) 2007-22 - 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 <stdio.h>

18
src/minilzo.c

@ -1,3 +1,21 @@
/**
* (C) 2007-22 - 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/>
*
*/
/* minilzo.c -- mini subset of the LZO real-time data compression library
This file is part of the LZO real-time data compression library.

4
src/n2n.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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
@ -582,7 +582,7 @@ void print_n2n_version () {
printf("Welcome to n2n v.%s for %s\n"
"Built on %s\n"
"Copyright 2007-2021 - ntop.org and contributors\n\n",
"Copyright 2007-2022 - ntop.org and contributors\n\n",
PACKAGE_VERSION, PACKAGE_OSNAME, PACKAGE_BUILDDATE);
}

2
src/n2n_port_mapping.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/n2n_regex.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/network_traffic_filter.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/pearson.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/random_numbers.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/sn_management.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/sn_selection.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/sn_utils.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/speck.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/supernode.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/tf.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/transform_aes.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/transform_cc20.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/transform_lzo.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/transform_null.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/transform_speck.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/transform_tf.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/transform_zstd.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/tuntap_freebsd.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/tuntap_linux.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/tuntap_netbsd.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/tuntap_osx.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
src/wire.c

@ -1,5 +1,5 @@
/**
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
tools/n2n-benchmark.c

@ -1,5 +1,5 @@
/*
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
tools/n2n-decode.c

@ -1,5 +1,5 @@
/**
* (C) 2019-21 - ntop.org and contributors
* (C) 2019-22 - 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

2
tools/n2n-keygen.c

@ -1,5 +1,5 @@
/*
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
tools/tests-auth.c

@ -1,5 +1,5 @@
/*
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
tools/tests-compress.c

@ -1,5 +1,5 @@
/*
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
tools/tests-elliptic.c

@ -1,5 +1,5 @@
/*
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
tools/tests-hashing.c

@ -1,5 +1,5 @@
/*
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
tools/tests-transform.c

@ -1,5 +1,5 @@
/*
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

2
tools/tests-wire.c

@ -1,5 +1,5 @@
/*
* (C) 2007-21 - ntop.org and contributors
* (C) 2007-22 - 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

22
win32/getopt.c

@ -1,3 +1,21 @@
/**
* (C) 2007-22 - 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/>
*
*/
/* Getopt for GNU.
NOTE: getopt is now part of the C library, so if you don't know what
"Keep this file name-space clean" means, talk to drepper@gnu.org
@ -20,7 +38,7 @@
License along with the GNU C Library; see the file COPYING.LIB. If not,
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* This tells Alpha OSF/1 not to define a getopt prototype in <stdio.h>.
Ditto for AIX 3.2 and <stdlib.h>. */
#ifndef _NO_PROTO
@ -255,7 +273,7 @@ extern int strlen (const char *);
#endif /* __GNUC__ */
#endif /* not __GNU_LIBRARY__ */
/* Handle permutation of arguments. */
/* Describe the part of ARGV that contains non-options that have

18
win32/getopt.h

@ -1,3 +1,21 @@
/**
* (C) 2007-22 - 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/>
*
*/
/* Declarations for getopt.
Copyright (C) 1989,90,91,92,93,94,96,97,98 Free Software Foundation, Inc.
This file is part of the GNU C Library.

23
win32/getopt1.c

@ -1,3 +1,22 @@
/**
* (C) 2007-22 - 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/>
*
*/
/* getopt_long and getopt_long_only entry points for GNU getopt.
Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
Free Software Foundation, Inc.
@ -17,7 +36,7 @@
License along with the GNU C Library; see the file COPYING.LIB. If not,
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
@ -92,7 +111,7 @@ getopt_long_only (argc, argv, options, long_options, opt_index)
#endif /* Not ELIDE_CODE. */
#ifdef TEST
#include <stdio.h>

2
win32/n2n_win32.h

@ -1,6 +1,6 @@
/*
(C) 2007-09 - Luca Deri <deri@ntop.org>
(C) 2007-22 - Luca Deri <deri@ntop.org>
*/

2
win32/wintap.c

@ -1,5 +1,5 @@
/*
(C) 2007-09 - Luca Deri <deri@ntop.org>
(C) 2007-22 - Luca Deri <deri@ntop.org>
*/
#include "n2n.h"

4
win32/wintap.h

@ -1,5 +1,5 @@
/*
(C) 2007 - Luca Deri <deri@ntop.org>
(C) 2007-22 - Luca Deri <deri@ntop.org>
*/
#ifndef _WINTAP_H_
@ -69,4 +69,4 @@ extern void initWin32();
extern void destroyWin32();
extern void win_print_available_adapters();
#endif
#endif

Loading…
Cancel
Save