Dave Horner's Website - Yet another perspective on things...
Home Tech Talk Random Tech Networking notes - wireshark, load balancing, IPv6, etc.
101 guests
Rough Hits : 2738999
moon and stars
how did u find my site?

consciousness survives death of brain?

There is no honest way to explain it because the only people who really know where it is are the ones who have gone over. But the edge is still Out there. Or maybe it's In.
--Hunter Stockton Thompson
0, 1, 1, 2, 3, 5, 8, 13, 21, 34,...
xn = xn-1 + xn-2

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

Saturday, 12 April 2008 03:33
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 <your_IP> mask <the_gateway> 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 mask metric 1; your computer responds with a strange confidence. OK!

Then, when you are done...make sure to remove it
route delete <your_IP>
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


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

< Prev  Next >
Last Updated on Wednesday, 06 August 2014 23:43