Got 15 minutes? Easy webRTC android app in 3 steps!

WebRTC is an exciting feature in newer browsers. It allows you to transfer any data between two peers. In conjunction with HTML5 elements like the <video> tag, it enables browser-to-browser audio and video conference calls ... with no extra plugins or help needed, it all lives in your browser. You can check out a demo here: http://www.webrtc.org/demo The … Continue reading Got 15 minutes? Easy webRTC android app in 3 steps!

Advertisements

Preserving client IP w/ apache reverse proxy

We recently had a scenario where an apache reverse proxy needed to be deployed in front of a pair of tomcat servers. Due to security concerns, this reverse proxy was hosting mod_security and acting as a web application firewall (WAF) However, a critical requirement was that the tomcat applications would be able to see the … Continue reading Preserving client IP w/ apache reverse proxy

Monitoring Tomcat via JMX–Lessons Learned: Part 1

Requirement : monitoring vital Tomcat statistics such as active & idle threads, memory consumption and so on. JMX (java monitoring extensions) is quite well documented – so a google search should bring you up to speed, but in a nutshell, JMX is almost like a java-centric SNMP. Java app developers can make certain attributes such … Continue reading Monitoring Tomcat via JMX–Lessons Learned: Part 1

Tomcat configuration summary

Tomcat is one of the more involving servers to setup. It contains a rather large server.xml file that can be daunting at first. If you “break down” the massive xml file into containers however, it becomes a lot more understandable. Below is a diagram I drew up during my studies: For a better (printable) view: … Continue reading Tomcat configuration summary

Tips and Tricks : Fiddler

When troubleshooting website issue (such as parts of the website not loading, infinite redirect loops, and so on) the web debugger tools Fiddler2 comes in handy. This is especially so when troubleshooting HTTPS issues. Wireshark is a bit difficult to use when troubleshooting encrypted sessions because unless you are given the private keys from the … Continue reading Tips and Tricks : Fiddler

IIS HTTP compression w/ gzip wasn’t working

I had followed the rather simple commands as per the microsoft KB article here: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/502ef631-3695-4616-b268-cbe7cf1351ce.mspx?mfr=true The server was still not compressing anything and the temporary compression directory remained empty. This was really frustrating, until I ran across this article: http://panvega.wordpress.com/2008/09/22/http-compression-in-iis/ There is an extra step that technet seems to have forgotten. The above site nails … Continue reading IIS HTTP compression w/ gzip wasn’t working

Implementing traffic shaping for home use (SonicWALL)

Having recently moved to a lower-bandwidth area (from 12Mb/s to 7Mb/s… sucks ), I really needed to find a way of controlling and optimizing the Internet usage from my home connection. That’s basically what traffic shaping, or bandwidth management (BWM) comes into play. I still have a low-end sonicwall TZ200 from my support days, and … Continue reading Implementing traffic shaping for home use (SonicWALL)