banner
Dave Horner's Website - Yet another perspective on things...
Home Tech Talk Random Tech Networking notes.
If you appreciate the information found on this website, please drop me a line!

Who's Online

We have 20 guests online
Content View Hits : 1157109
moon and stars
How did you find my site?
 
How often do you answer random online questions?
 

Random Quote

Don't worry about what anybody else is going to do. The best way to predict the future is to invent it. -- Alan Kay
DCP00566
Gatlinburg_068
P1010057
109_0918

Networking notes.

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. 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 255.255.255.255 <the_gateway> metric 1
This will make all your packets go out to the gateway and back.
Then, when you are done...make sure to remove it
route delete <your_IP>
Very nice. I love etherreal/wireshark....checkout the wiki. FrontPage - The Wireshark Wiki


Load Balancing

Keepalived for Linux - Linux High Availability - an open source load balencer.
HAProxy - The Reliable, High Performance TCP/HTTP Load Balancer
Last Updated on Thursday, 17 November 2011 09:21