Skip to content

Instantly share code, notes, and snippets.

@jarogers
jarogers / scammerJammer.sh
Created August 10, 2018 23:52
bash script to generate asterisk call files. Used to congest scammers inbound trunks.
#!/bin/bash
asteriskSpoolPath=/var/spool/asterisk/outgoing
slow ()
{
if [ -z "$2" ]
then
@KartikTalwar
KartikTalwar / Documentation.md
Last active July 24, 2026 21:21
Rsync over SSH - (40MB/s over 1GB NICs)

The fastest remote directory rsync over ssh archival I can muster (40MB/s over 1gb NICs)

This creates an archive that does the following:

rsync (Everyone seems to like -z, but it is much slower for me)

  • a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
  • H: preserves hard-links
  • A: preserves ACLs