This Gist contains my IPTables rules for securing the Asterisk VoIP server. The "string" module is used to identify legitimate users and block attackers.
Learn how to set up your personal VoIP server
↓ ↓ ↓ Scroll down for the IPTables rules ↓ ↓ ↓
server { | |
listen 80; | |
listen [::]:80; | |
root /var/www/owaspsummit.org; | |
index index.html | |
server_name owaspsummit-test.org; |
This Gist contains my IPTables rules for securing the Asterisk VoIP server. The "string" module is used to identify legitimate users and block attackers.
Learn how to set up your personal VoIP server
↓ ↓ ↓ Scroll down for the IPTables rules ↓ ↓ ↓
#!/bin/bash | |
# Ardour 5 in Fedora 24 | |
sudo dnf install -y aubio aubio-devel dnf fftw-devel flac-devel gtkmm gtkmm24 gtkmm-2.4 \ | |
gtkmm24-devel jack-audio-connection-kit-devel jack-devel libflac-devel liblo-devel liblrdf-devel \ | |
liblv2-devel libogg-devel libsamplerate-devel libsndfile-devel lilv-devel lrdf-devel lv2-devel \ | |
rubberband-devel samplerate-devel serd-0 serd-devel sord-devel sratom-devel taglib-devel vamp-plugin-sdk-devel | |
./waf configure | |
umask 022; sudo ./waf install |
D/Wire (29964): http-outgoing-0 << "BEGIN:VTIMEZONE[\n]" | |
D/Wire (29964): http-outgoing-0 << "TZID:America/Montevideo[\n]" | |
D/Wire (29964): http-outgoing-0 << "BEGIN:STANDARD[\n]" | |
D/Wire (29964): http-outgoing-0 << "DTSTART:18980628T000000[\n]" | |
D/Wire (29964): http-outgoing-0 << "TZOFFSETFROM:-0344[\n]" | |
D/Wire (29964): http-outgoing-0 << "TZOFFSETTO:-0344[\n]" | |
D/Wire (29964): http-outgoing-0 << "TZNAME:MMT[\n]" | |
D/Wire (29964): http-outgoing-0 << "END:STANDARD[\n]" | |
D/Wire (29964): http-outgoing-0 << "BEGIN:STANDARD[\n]" | |
D/Wire (29964): http-outgoing-0 << "TZOFFSETFROM:-0330[\n]" |
#!/usr/bin/env bash | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2014 Arun Babu Neelicattu | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |