use tcputil, add some tweaks