- You need this the moment you have more then 1 machine for Kazoo.
- yum -y groupinstall "Development Tools"
- yum install -y libpcap automake expat-devel libtool git libpcap-devel file make
- follow https://github.com/sipcapture/captagent
| # jsonclient.py | |
| # A simple JSONRPC client library, created to work with Go servers | |
| # Written by Stephen Day | |
| # Modified by Bruce Eckel to work with both Python 2 & 3 | |
| import json, socket, itertools, time | |
| from datetime import datetime | |
| class JSONClient(object): | |
| def __init__(self, addr, codec=json): |
| #!/bin/bash | |
| iptables -N SIPDDOS | |
| iptables -A INPUT -p all -m string --string "sundayddr" --algo bm --to 65535 -m comment --comment "deny sundayddr" -j SIPDDOS | |
| iptables -A INPUT -p all -m string --string "sipsak" --algo bm --to 65535 -m comment --comment "deny sipsak" -j SIPDDOS | |
| iptables -A INPUT -p all -m string --string "sipvicious" --algo bm --to 65535 -m comment --comment "deny sipvicious" -j SIPDDOS | |
| iptables -A INPUT -p all -m string --string "friendly-scanner" --algo bm --to 65535 -m comment --comment "deny friendly-scanner" -j SIPDDOS | |
| iptables -A INPUT -p all -m string --string "iWar" --algo bm --to 65535 -m comment --comment "deny iWar" -j SIPDDOS | |
| iptables -A INPUT -p all -m string --string "sip-scan" --algo bm --to 65535 -m comment --comment "deny sip-scan" -j SIPDDOS |
| cat data.csv | awk -F',' '{print " SET \""$1"\" \""$2"\" \n"}' | redis-cli --pipe |
First I would suggest to use vanilla Debian8 for Homer installation on the host. In this case you can just execute following command:
bash <( curl -s https://cdn.rawgit.com/sipcapture/homer-installer/masterhomer_installer.sh
I hereby claim:
To claim this, I am signing this object: