-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added info to README and licence banners to the remaining files
- Loading branch information
Lennart Elsen
committed
Sep 30, 2014
1 parent
952fec4
commit d8a62cf
Showing
11 changed files
with
193 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
# | ||
# Makefile: Makefile to build the goProbe traffic monitor | ||
# | ||
# Written by Fabian Kohn [email protected] | ||
# and Lennart Elsen [email protected], August 2014 | ||
# Written by Lennart Elsen | ||
# and Fabian Kohn, August 2014 | ||
# Copyright (c) 2014 Open Systems AG, Switzerland | ||
# All Rights Reserved. | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,29 @@ | |
// approrpiate functions and exposing the API to C (which, in turn, can be used | ||
// by Google Go). | ||
// | ||
// Written by Lennart Elsen [email protected], July 2014 | ||
// Written by Lennart Elsen | ||
// and Fabian Kohn, July 2014 | ||
// Copyright (c) 2014 Open Systems AG, Switzerland | ||
// All Rights Reserved. | ||
// | ||
///////////////////////////////////////////////////////////////////////////////// | ||
/* This code has been developed by Open Systems AG | ||
* | ||
* goProbe 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. | ||
* | ||
* goProbe 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 goProbe; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
#include "ProtoId.h" | ||
|
||
#include <stdio.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,29 @@ | |
// approrpiate functions and exposing the API to C (which, in turn, can be used | ||
// by Google Go). | ||
// | ||
// Written by Lennart Elsen [email protected], July 2014 | ||
// Written by Lennart Elsen | ||
// and Fabian Kohn, July 2014 | ||
// Copyright (c) 2014 Open Systems AG, Switzerland | ||
// All Rights Reserved. | ||
// | ||
///////////////////////////////////////////////////////////////////////////////// | ||
/* This code has been developed by Open Systems AG | ||
* | ||
* goProbe 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. | ||
* | ||
* goProbe 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 goProbe; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
#ifndef ProtoId_h | ||
#define ProtoId_h | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,29 @@ | |
// Helper binary to extract the protocol-category mappings directly from | ||
// libprotoident such that they are made available to goquery | ||
// | ||
// Written by Lennart Elsen [email protected], July 2014 | ||
// Written by Lennart Elsen | ||
// and Fabian Kohn, July 2014 | ||
// Copyright (c) 2014 Open Systems AG, Switzerland | ||
// All Rights Reserved. | ||
// | ||
///////////////////////////////////////////////////////////////////////////////// | ||
/* This code has been developed by Open Systems AG | ||
* | ||
* goProbe 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. | ||
* | ||
* goProbe 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 goProbe; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
#include "libprotoident.h" | ||
|
||
int main(){ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
# This code has been developed by Open Systems AG | ||
# | ||
# goProbe 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. | ||
# | ||
# goProbe 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 goProbe; if not, write to the Free Software | ||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
|
||
# Run goprobe database cleanup (retention time 30 days) | ||
3 3 * * * root test -e /usr/local/goProbe/data/db && CURRENT_EPOCH=`date +\%s` && /usr/local/goProbe/shared/goquery -x -clean `expr $CURRENT_EPOCH - 2592000` > /dev/null 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,27 @@ | |
# Wrapper script used for querying the go database and nicing the process | ||
# appropriately | ||
# | ||
# Written by Lennart Elsen [email protected], August 2014 | ||
# Written by Lennart Elsen | ||
# and Fabian Kohn, August 2014 | ||
# Copyright (c) 2014 Open Systems AG, Switzerland | ||
# All Rights Reserved. | ||
# | ||
################################################################################ | ||
# This code has been developed by Open Systems AG | ||
# | ||
# goProbe 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. | ||
# | ||
# goProbe 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 goProbe; if not, write to the Free Software | ||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
|
||
#------------------------------------------------------------------------------- | ||
# Global Constants | ||
|