Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sipcapture/hepipe

HEP-PIPE: Pipe arbitrary data (logs, events, cdrs, etc) to HEP server (HOMER)
https://github.com/sipcapture/hepipe

Last synced: 9 days ago
JSON representation

HEP-PIPE: Pipe arbitrary data (logs, events, cdrs, etc) to HEP server (HOMER)

Awesome Lists containing this project

README

        

Homer capturing agent.

The agent will duplicate all SIP messages in HEP to the Homer capture server.

At this time, only SIP UDP can be duplicate! Don't use it for TCP/SCTP/TLS SIP mirroring.

IPv6 should works also. :-). If you don't need this, remove -DUSE_IPv6 from CFLAGS.

All comments please send to [email protected]

URL: http://www.sipcapture.org

# How to use:

captagent -p 9060 -s homerserver -n -r 5060-5080

or load a pcap file to Homer

captagent -p 9060 -D test.pcap -s homerserver -n -r 5060-5080 -H 2 -i 101

usage: captagent <-mvhnc> <-d dev> <-s host> <-p port>
<-P pid file> <-r port|portrange> <-f filter file>
<-i id> <-H 1|2> --config=
-h is help/usage
-v is version information
-m is don't go into promiscuous mode
-n is don't go into background
-d is use specified device instead of the pcap default
-D is use specified pcap file instead of a device
-s is the capture server
-p is use specified port of capture server. I.E. 9060
-r is open specified capturing port or portrange instead of the default (5060)
-P is open specified pid file instead of the default (/var/run/captagent.pid)
-f is the file with specific pcap filter
-c is checkout
-i is capture identifity. Must be a 16-bit number. I.e: 101
-H is HEP protocol version [1|2]. By default we use HEP version 1
--config is config file to use to specify some options. Default location is [/usr/local/etc/captagent/captagent.ini]

#Tipp:
-p the port number where your capture server listen on.
-r normaly it's 5060, but you can use ports range 5060-5090 too.
-s this param can be an IP or FQDN