"hello world"
article in Tech random-technology

Networking notes - wireshark, load balancing, IPv6, etc.

If you are looking for a good packet capture program, look at Wireshark.
It is great, provides cross platform packet analysis...wonderful for quick diagnostics when developing with remote services.

capture localhost using wireshark

However, capturing localhost from wireshark is not straight forward. Since localhost doesn't actually move the packets through the hardware, you've gotta do some special things.
The following page talks a bit about it:
CaptureSetup/Loopback - The Wireshark Wiki
The quick and dirty howto on wireshark localhost packet capture:
Add a default route for your IP:
route add  mask 255.255.255.255  metric 1
and how would one go about getting the ip address in the easiest way? hrm? well this is pretty easy...
powershell (gwmi win32_NetworkAdapterConfiguration -Filter 'ipenabled = "true"').ipaddress[0]
out pops ip.
powershell (gwmi win32_NetworkAdapterConfiguration -Filter 'ipenabled = "true"').defaultipgateway
hello gateway to other.
run the route command filling in your data; this will make all your packets go out to the gateway and back. don't forget to run in an elevated console for such shenanigans.
after running something like: > route add 192.168.1.7 mask 255.255.255.255 192.168.1.1 metric 1; your computer responds with a strange confidence. OK!

Then, when you are done...make sure to remove it
route delete 
Very nice. Use the PowerShell Grep Command to Parse the Command Line - Hey, Scripting Guy! Blog - Site Home - TechNet Blogs - thanks scripting guy!

I love etherreal/wireshark....checkout the wiki. FrontPage - The Wireshark Wiki


Load Balancing

Keepalived for Linux - Linux High Availability - an open source load balancer.
HAProxy - The Reliable, High Performance TCP/HTTP Load Balancer
perlbal/Perlbal - Perlbal is a Perl-based reverse proxy load balancer and web server.
Agile Testing: The mystery of stale haproxy processes - option forceclose in haproxy.cfg.
Agile Testing: Some gotchas around keepalived and iproute2 (part 1)
MySQL Master-Master Replication (Active-Active mode) with HAProxy - UNFINISHED | Knowledge Base
High Availability Load Balancing with HAProxy & Keepalived - part 2 | Knowledge Base


IPv6

SixXS - IPv6 Deployment & Tunnel Broker :: Main SixXS - IPv6 Deployment & Tunnel Broker :: Signup
Getting a free public IPv6 & using it on Ubuntu | Rafa? Cie?lak's blog - sudo apt-get install aiccu


TCP ex Machina - Remy is an optimization tool to develop new TCP congestion-control schemes, given prior knowledge about the network it will encounter and an objective to optimize for.


uProxy - uProxy is a browser extension that lets users share alternative more secure routes to the Internet. It's like a personalised VPN service that you set up for yourself and your friends. uProxy helps users protect each other from third parties who may try to watch, block, or redirect users’ Internet connections.


QUIC - Quick UDP Internet Connections

connections for a connectionless protocol...QUIC+SPDY
QUIC: Design Document and Specification Rational - Google DocsQuick UDP Internet Connections MULTIPLEXED STREAM TRANSPORT OVER UDP


Slow down network || throttle network || slow down socket

dsiroky/socket_retarder - artificially slow down socket traffic (TCP, UDP) of almost any program without any modification. LD_PRELOAD
Created: 2008-04-12 08:33:53 Modified: 2014-08-07 04:43:53
/root sections/
>peach custard pie
>linux
>windows
>programming
>random tech
>science
>research


moon and stars



My brain

Visible Dave Project


$$\cos x = \sum\limits_{n = 0}^\infty {\frac{{\left( { - 1} \right)^n x^{2n} }}{{\left( {2n} \right)!}}}$$