HEP-PIPE: Pipe arbitrary data (logs, events, cdrs, etc) to HEP server (HOMER)
C C++ Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
minIni
.travis.yml
COPYING
Makefile.am
README
README.md
core_hep.h
hepipe
hepipe.c
hepipe.h
hepipe.ini
run.sh

README.md

Build_Status

HEPipe

Description:

HEPipe (pronounced HEP-pipe) is an application for logging arbitrary data (ie: logs, cdrs, debug lines) to a HEP/EEP capture server such as HOMER or PCAPTURE

Compilation:

Linux

cc -o hepipe hepipe.c -lpcap 

Solaris

cc -o hepipe hepipe.c -lpcap -lsocket
NOTE: Please make sure that your compiler is gcc or understands the packet attribute for structure

Format:

timesec;timeusec;correlationid;source_ip;source_port;destination_ip;destinaton_port;payload in json

Usage Example:

-t 100 - loging Protocol Type

echo '1396362930;1003;fd8f48ea-b9aa-11e3-92f7-1803731b65be;127.0.0.1;5060;10.0.0.1;5060;{"pl": 10, "jt": 10}' | ./hepipe  -s hepserver -p 9061 -t 100