Skip to content

Commit

Permalink
Copyright update
Browse files Browse the repository at this point in the history
  • Loading branch information
cardigliano committed Jan 7, 2019
1 parent 80b0ff8 commit 3dfc9af
Show file tree
Hide file tree
Showing 75 changed files with 94 additions and 94 deletions.
2 changes: 1 addition & 1 deletion kernel/linux/pf_ring.h
Expand Up @@ -2,7 +2,7 @@
*
* Definitions for packet ring
*
* 2004-2018 - ntop.org
* 2004-2019 - ntop.org
*
*/

Expand Down
2 changes: 1 addition & 1 deletion kernel/pf_ring.c
@@ -1,6 +1,6 @@
/* ***************************************************************
*
* (C) 2004-2018 - ntop.org
* (C) 2004-2019 - ntop.org
*
* This code includes contributions courtesy of
* - Amit D. Chaudhary <amit_ml@rajgad.com>
Expand Down
2 changes: 1 addition & 1 deletion userland/examples/alldevs.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion userland/examples/pcap2nspcap.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions userland/examples/pcount.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -315,7 +315,7 @@ void printHelp(void) {
char errbuf[PCAP_ERRBUF_SIZE];
pcap_if_t *devpointer;

printf("pcount\n(C) 2003-2018 Deri Luca <deri@ntop.org>\n");
printf("pcount\n(C) 2003-2019 Deri Luca <deri@ntop.org>\n");
printf("-h [Print help]\n");
printf("-i <device> [Device name]\n");
printf("-f <filter> [pcap filter]\n");
Expand Down
2 changes: 1 addition & 1 deletion userland/examples/pfbridge.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions userland/examples/pfcount.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -648,7 +648,7 @@ void printDevs() {
/* *************************************** */

void printHelp(void) {
printf("pfcount - (C) 2005-2018 ntop.org\n\n");
printf("pfcount - (C) 2005-2019 ntop.org\n\n");
printf("-h Print this help\n");
printf("-i <device> Device name. Use:\n"
" - ethX@Y for channels\n"
Expand Down
2 changes: 1 addition & 1 deletion userland/examples/pfcount_82599.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion userland/examples/pfcount_multichannel.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion userland/examples/pfdump.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions userland/examples/pfflow_offload.c
@@ -1,5 +1,5 @@
/*
* (C) 2017-2018 - ntop
* (C) 2017-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -149,7 +149,7 @@ void processBuffer(const struct pfring_pkthdr *h,
/* *************************************** */

void printHelp(void) {
printf("pfflow_offload - (C) 2017-2018 ntop.org\n");
printf("pfflow_offload - (C) 2017-2019 ntop.org\n");
printf("Flow processing based on hardware offload\n\n");
printf("-h Print this help\n");
printf("-i <device> Device name. Use:\n");
Expand Down
2 changes: 1 addition & 1 deletion userland/examples/pflatency.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions userland/examples/pfsend.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -223,7 +223,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("pfsend - (C) 2011-2018 ntop.org\n");
printf("pfsend - (C) 2011-2019 ntop.org\n");
printf("Replay synthetic traffic, or a pcap, or a packet in hex format from standard input.\n\n");
printf("pfsend -i out_dev [-a] [-f <.pcap file>] [-g <core_id>] [-h]\n"
" [-l <length>] [-n <num>] "
Expand Down
2 changes: 1 addition & 1 deletion userland/examples/pfsystest.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion userland/examples/pftimeline.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion userland/examples/pfutils.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions userland/examples/pfwrite.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -99,7 +99,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("pfwrite - (C) 2003-2018 Deri Luca <deri@ntop.org>\n");
printf("pfwrite - (C) 2003-2019 Deri Luca <deri@ntop.org>\n");
printf("-h [Print help]\n");
printf("-i <device> [Device name]\n");
printf("-w <dump file> [Dump file path]\n");
Expand Down
2 changes: 1 addition & 1 deletion userland/examples/preflect.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion userland/examples_ft/ftutils.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions userland/examples_zc/zbalance.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -160,7 +160,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zbalance - (C) 2014-2018 ntop.org\n");
printf("zbalance - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A master thread balancing packets to multiple consumer threads counting packets.\n\n");
printf("Usage: zbalance -i <device> -c <cluster id> -g <id:id...>\n"
Expand Down
2 changes: 1 addition & 1 deletion userland/examples_zc/zbalance_DC_ipc.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions userland/examples_zc/zbalance_ipc.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -383,7 +383,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zbalance_ipc - (C) 2014-2018 ntop.org\n");
printf("zbalance_ipc - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A master process balancing packets to multiple consumer processes.\n\n");
printf("Usage: zbalance_ipc -i <device> -c <cluster id> -n <num inst>\n"
Expand Down
4 changes: 2 additions & 2 deletions userland/examples_zc/zbounce.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -150,7 +150,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zbounce - (C) 2014-2018 ntop.org\n");
printf("zbounce - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A packet forwarder application between interfaces.\n\n");
printf("Usage: zbounce -i <device> -o <device> -c <cluster id> [-b]\n"
Expand Down
4 changes: 2 additions & 2 deletions userland/examples_zc/zbounce_ipc.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -134,7 +134,7 @@ void my_sigalarm(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zbounce_ipc - (C) 2014-2018 ntop.org\n");
printf("zbounce_ipc - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A packet forwarder application between sw queues.\n\n");
printf("Usage: zbounce_ipc -i <queue id> -o <queue id> -c <cluster id>\n"
Expand Down
4 changes: 2 additions & 2 deletions userland/examples_zc/zcount.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -163,7 +163,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zcount - (C) 2014-2018 ntop.org\n");
printf("zcount - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A simple packet counter application.\n\n");
printf("Usage: zcount -i <device> -c <cluster id>\n"
Expand Down
4 changes: 2 additions & 2 deletions userland/examples_zc/zcount_ipc.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -139,7 +139,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zcount_ipc - (C) 2014-2018 ntop.org\n");
printf("zcount_ipc - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A simple packet counter application consuming packets from a sw queue.\n\n");
printf("Usage: zcount_ipc -i <queue id> -c <cluster id>\n"
Expand Down
4 changes: 2 additions & 2 deletions userland/examples_zc/zfanout_ipc.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -187,7 +187,7 @@ void sigproc(int sig) {
/* ******************************** */

void printHelp(void) {
printf("zfanout_ipc - (C) 2014-2018 ntop.org\n");
printf("zfanout_ipc - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A master process sending all ingress packets to all the consumer processes (e.g. zcount_ipc -c <cluster id> -i <consumer id>).\n");
printf("Note: this is an alternative to zbalance -m 2\n\n");
Expand Down
4 changes: 2 additions & 2 deletions userland/examples_zc/zfifo.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -179,7 +179,7 @@ void sigproc(int sig) {
/* ******************************** */

void printHelp(void) {
printf("zfifo - (C) 2014-2018 ntop.org\n");
printf("zfifo - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A master thread reordering packets from multiple interfaces with\n"
"hw timestamps support, and delivering them to a consumer thread. (experimental)\n\n");
Expand Down
4 changes: 2 additions & 2 deletions userland/examples_zc/zpipeline.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -129,7 +129,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zpipeline - (C) 2014-2018 ntop.org\n");
printf("zpipeline - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A pipeline of threads sending ingress packets to the next thread.\n\n");
printf("Usage: zpipeline -i <device> -c <cluster id> -g <id:id...>\n"
Expand Down
4 changes: 2 additions & 2 deletions userland/examples_zc/zpipeline_ipc.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -154,7 +154,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zpipeline_ipc - (C) 2014-2018 ntop.org\n");
printf("zpipeline_ipc - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A master process sending packets from a source interface to a sw queue and from a sw queue to a destination interface (first and last stage of a pipeline)\n\n");
printf("Usage: zpipeline_ipc -i <device>;<queue> -o <device>;<queue> -n <num queues>\n"
Expand Down
4 changes: 2 additions & 2 deletions userland/examples_zc/zreplicator.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -163,7 +163,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zreplicator - (C) 2014-2018 ntop.org\n");
printf("zreplicator - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("Read packets from multiple ingress devices and replicate it on multipe egress devices.\n\n");
printf("Usage: zreplicator -i <device> -o <device> -c <cluster id> [-h] [-g <core id>] [-a]\n\n");
Expand Down
6 changes: 3 additions & 3 deletions userland/examples_zc/zsend.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -193,7 +193,7 @@ static void forge_udp_packet(u_char *buffer, u_int idx) {
struct udp_header *udp_header;
u_int32_t src_ip = 0x0A000000; /* 10.0.0.0 */
u_int32_t dst_ip = 0xC0A80001; /* 192.168.0.1 */
u_int16_t src_port = 2014-2018, dst_port = 3000;
u_int16_t src_port = 2014-2019, dst_port = 3000;

if (num_ips == 0) {
src_ip |= idx & 0xFFFFFF;
Expand Down Expand Up @@ -355,7 +355,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zsend - (C) 2014-2018-2018 ntop.org\n");
printf("zsend - (C) 2014-2019-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A traffic generator able to replay synthetic udp packets or hex from standard input.\n");
printf("Usage: zsend -i <device> -c <cluster id>\n"
Expand Down
2 changes: 1 addition & 1 deletion userland/examples_zc/zutils.c
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 3dfc9af

Please sign in to comment.