• Stars
    star
    211
  • Rank 186,867 (Top 4 %)
  • Language
    Ruby
  • License
    MIT License
  • Created about 14 years ago
  • Updated over 12 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Keep safe from FireSheep

Sheepsafe

http://github.com/nicksieger/sheepsafe

Description

Sheepsafe is a small utility to keep you safe from FireSheep! It's a tool for mobile geeks.

We all know the cookie-stealing issue has been out there for a while, but now with FireSheep, it just got way too easy. If you're like me, I don't want to get exposed at the next gathering of techies at a conference or even at a local coffee shop with this thing out there. So I built Sheepsafe for myself.

Sheepsafe was built to automate the task of switching your network configuration to use a SOCKS proxy whenever you join an untrusted network.

Sheepsafe works by keeping a configuration of known safe wireless networks. When you join an untrusted network, Sheepsafe switches to a network location that has a SOCKS proxy configured and starts a SOCKS proxy by SSH'ing into a remote server, thus protecting your browsing traffic from FireSheep and other snoopers on the local network. When you switch back to a safe network, Sheepsafe switches back to the default, trusted location and shuts down the SOCKS proxy.

You could probably use something like Marco Polo for this too, but this setup Works For Me.

Requirements

  • Mac OS X. That's what I run. You'll have to cook something else up for a different OS. Tested on 10.6.
  • An SSH account on a remote server that can serve as a SOCKS proxy through which to tunnel traffic. Typically this can be an EC2 server, a VPS, or some other cloud instance.
  • Ruby 1.8.7 or greater. The Mac OS X system-installed Ruby is preferred as the OS will be launching Sheepsafe in the background.

Install

  • First install the gem: sudo gem install sheepsafe It's recommended to install using the system Ruby to minimize difficulties informing launchd about an RVM or some other package manager.
  • After installing the gem, run sheepsafe install and follow the prompts for configuring Sheepsafe.

Usage

  • sheepsafe: when run with no arguments, this checks your current network and updates settings if necessary.
  • sheepsafe install: Run the command-line installer. Fill out the prompts and you're ready.
  • sheepsafe update: Run when you've upgraded the gem to make sure launchd is running the most recent version.
  • sheepsafe add: Add the current network to your list of trusted networks.
  • sheepsafe list: Show the list of trusted networks.
  • sheepsafe proxy up: Manually start the SSH SOCKS proxy.
  • sheepsafe proxy down: Manually stop the SSH SOCKS proxy.
  • sheepsafe proxy kick: Manually restart the SSH SOCKS proxy.

Growl

If you wish to receive Growl notifications when Sheepsafe is switching your location, be sure to install the growlnotify utility from the "Extras" folder in the Growl .dmg. Then install the growl gem:

  sudo gem install growl

Post-install

Be sure you configure your applications to use system-wide proxy settings for making connections, where applicable.

Uninstall

  • Run sheepsafe uninstall to unregister the Launchd task and remove Sheepsafe vestiges from your system.

Give back

I'll gladly accept pull requests and bug reports.

More Repositories

1

jsonpretty

Command-line JSON pretty-printer
Go
109
star
2

refactoring-to-rails

Example of refactoring a Spring/Hibernate application to Rails
Java
51
star
3

neo4j-rails

Neo4j + ActiveModel for Rails 3
Ruby
29
star
4

drbirb

Simple IRB-over DRb for poking inside your servers
Ruby
12
star
5

stickshift

Pedal to the metal manual profiler
Ruby
12
star
6

warbler-demos

Demos of using Warbler to create executable .jar applications
Ruby
10
star
7

rake-ant

Example of using Rake, Ant, RSpec and Cucumber in a Java project
Ruby
9
star
8

advent-jruby

Code for article on Ruby Advent 2008
Ruby
9
star
9

spring-petclinic

Sandbox for exploring JRuby integration with a legacy Spring app
Java
8
star
10

jrexml

JREXML is an add-on for JRuby that uses a Java pull parser library to speed up REXML.
Ruby
7
star
11

jruby-sinatra-env

Simple environment-sniffer Sinatra app for JRuby-Rack
JavaScript
6
star
12

java-from-ruby-examples

Examples from JRubyConf tutorial day
Ruby
5
star
13

activerecord-cachedb-adapter

ActiveRecord adapter for Intersystems CacheDb
Ruby
5
star
14

ruby-jersey

JSR-311/Jersey with Ruby resource classes
Ruby
4
star
15

simple-rack-benchmark

Ruby
4
star
16

rack-chain

Rack::Chain uses fibers to minimize stack depth in Rack applications.
Ruby
3
star
17

railsbridgemn

Resources for RailsBridge MN
3
star
18

trinidad

Simple library to run rails and rackup applications into an embedded Apache Tomcat
Ruby
1
star
19

tilt-custom-extensions

Tilt extensions to customize your Tilt setup and do useful things
Shell
1
star
20

guard-jmx

JMX interaction with Guard
Ruby
1
star
21

ey-cloud-recipes

A starter repo for custom chef recipes on EY's cloud platform
Ruby
1
star
22

xmlbench

Some benchmarks for Ruby XML libraries
Ruby
1
star
23

ytrbium

Simple YAML+ERB templating in Ruby
Ruby
1
star
24

razorpit

A pure Ruby JavaScript implementation
Ruby
1
star