Skip to content

Instantly share code, notes, and snippets.

View jfryman's full-sized avatar

James Fryman jfryman

View GitHub Profile
@jfryman
jfryman / btt-voicecode.io.settings
Created February 16, 2015 18:03
Better Touch Tool - voicecode.io Settings
436f 7265 4461 7461 0000 0001 0804 0800
0000 0000 0000 0fb2 0000 0000 0000 04bb
0000 0000 0000 0040 0000 0000 0000 0f72
0000 0000 0000 000d 0000 0000 0000 0000
6270 6c69 7374 3030 d400 0100 0200 0300
0400 0500 0602 2202 2358 2476 6572 7369
6f6e 5824 6f62 6a65 6374 7359 2461 7263
6869 7665 7254 2474 6f70 1200 0186 a0af
106c 0007 0008 0027 0028 0029 002a 002b
002c 002d 002e 002f 0030 0031 0032 0033
---
chain:
-
name: get_canary_version
ref: consul.get
params:
key: "{{project}}::canary_version"
on-success: query_if_production_deploy
-
name: query_if_production_deploy
@jfryman
jfryman / ac-graph.rb
Last active August 29, 2015 14:12
Graph Generators for ActionChain/Mistral
#!/usr/bin/env ruby
# damn ugly spike to generate dot files from an actionchain workflow
require 'yaml'
require 'erb'
module ActionChain
class Graph
include ERB::Util
attr_reader :title, :workflow
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
class LibratoBaseAction(Action):
def __init__(self, config):
super(LibratoBaseAction, self).__init__(config)
self.librato = self._get_client()
@jfryman
jfryman / CLI
Created December 29, 2014 18:57
root@st2server:/opt/stackstorm/packs/cicd/actions/workflows# mistral workbook-create test.yaml
Starting new HTTP connection (1): localhost
+------------+----------------------------+
| Field | Value |
+------------+----------------------------+
| Name | test |
| Tags | <none> |
| Created at | 2014-12-29 18:54:52.956522 |
| Updated at | None |
+------------+----------------------------+
@jfryman
jfryman / mongo
Last active August 29, 2015 14:11
---
name: 'st2.webhook.cicd.github.events'
description: 'Webhook listening for pushes to our CI/CD (SeatShare) repository'
trigger:
type: core.st2.webhook
parameters:
url: cicd/github/events
criteria:
trigger.body.hook.events:
pattern: push
---
runner_type: run-remote
enabled: true
entry_point: ''
name: create_deb_from_empty
description: Create a deb package from empty with fpm
parameters:
n:
type: string
description: 'Package Name (e.g.: libpq)'
" Setting up Vundle
let vundleUpdate=0
" Check to see if Vundle is even installed...
let vundleReadme=expand('~/.vim/bundle/vundle/README.md')
if !filereadable(vundleReadme)
echo "Installing Vundle.."
echo ""
silent !mkdir -p ~/.vim/bundle
silent !git clone https://github.com/gmarik/vundle ~/.vim/bundle/vundle

One thing I wanted to ask, given your exprience in DDoS attacks. We are putting in place a DDoS mitigation strategy and finding a wide variability in pricing from different vendors.

Near as I can tell, the difference between the low end like CloudFlare's $200/mth plan and the $5K-$10K/mth vendors like Prolexic is the support offered for a layer 7 attack. Is that a reasonable summary?

It seems like all vendors offer a reasonable level of layer 3-4 filtering but that if there's a layer 7 attack the high end vendors have the sophisticated tools and methodology to help the customer figure out how to mitigate the attack.

If this perspective is reasonable, how susceptible you think a product like XXX is to a layer 7 attack? I'd hate to buy insurance we don't really need.

The difference is a lot in integration. CloudFlare is only really a CDN at the heart of it, so what you're paying for is that with some DDoS stuff built in. If an attacker gets wind of this, and finds out your origin and decides to