1. FreeBSD TCP Performance Tuning

    Posted on in system_administration

    To enable RFC 1323 Window Scaling and increase the TCP window size to 1 MB on FreeBSD, add the following lines to /etc/sysctl.conf and reboot.

    net.inet.tcp.rfc1323=1  
    kern.ipc.maxsockbuf=16777216  
    net.inet.tcp.sendspace=1048576  
    net.inet.tcp.recvspace=1048576
    

    You can make these …

  2. What is TCP Window Scaling?

    Posted on in System Administration

    The original TCP specification included a window size no larger than 64 KB. This limitation was introduced by the 16 bit header that specified window size. To achieve the recommended 1 MB window size, RFC 1323 TCP extensions must be enabled. The rest of this post is a somewhat detailed …

  3. Debugging AGIs In Asterisk

    Posted on in voice

    Asterisk LogoTrying to debug an <acronym title="Asterisk Gateway Interface">AGI</acronym> in Asterisk can be a frustrating experience. The main problem is that STDERR only outputs to the terminal Asterisk was started from. In most cases, this means the terminal is the server console. If your Asterisk server is sitting …

  4. 14 Algorithms For TCP Congestion Control

    Posted on in system_administration

    Note: Although this is a continuation of the TCP Performance Tuning article series, it's also valuable as a standalone reference.

    This is a list of 14 congestion control algorithms available in TCP. I'm presenting it in alphabetical order.

    1. BIC TCP - Binary Increase Congestion Control, this is the default congestion control …
  5. Redirecting User Email To Google With Postfix

    Posted on in System Administration

    Note: Now that Google is hosting email domains for free, it has become an interesting alternative for both new and old domains. As always, I've changed the names to protect those affected.

    Transitioning a domain to Google can be an arduous task. Once you have set up the domain with …

  6. Choosing Between RADIUS And TACACS+

    Posted on in Networking

    Deciding whether to use <acronym title="Remote Authentication Dial-In User Service">RADIUS</acronym> or <acronym title="Terminal Access Controller Access Control System Plus">TACACS+</acronym> for <acronym title="Authentication, Authorization, Accounting">AAA</acronym> functionality on a Cisco-based network seems straight-forward. After all, if the network uses Cisco, shouldn't the AAA …

My Bookshelf

Reading Now

Other Stuff