graduation project 2009, sniffer using libpcap on Ubuntu