Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Python script to forward traffic from a socket to Snarl
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
tcpsnarl ======== Phillip Pearson <firstname.lastname@example.org> http://github.com/myelin/tcpsnarl http://www.myelin.co.nz/post/2008/8/7/#200808071 A Python script to listen on port 10942 and forward any single-line messages it gets to a locally-running Snarl install. Dependencies ============ tcpsnarl requires either ctypes (included in Python 2.5) or pywin32. You will of course need Snarl: http://www.fullphat.net/ Usage ===== Change LISTEN_IP to the network interface you want to listen on, then run tcpsnarl.py. To send a message from a Linux box: echo "this is a test" | nc 192.168.0.1 10942 I do this inside a colinux VM that runs on my Windows XP laptop. License ======= Apache License, v2.0. Acknowledgements ================ tcpsnarl includes PySnarl (src/pysnarl), Copyright 2006-2008 Samuel Listopad II.