"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/ec_sniff_bridge.c" between
ettercap-0.8.3.tar.gz and ettercap-0.8.3.1.tar.gz

About: ettercap is a multipurpose sniffer/interceptor/logger for switched LAN.

ec_sniff_bridge.c  (ettercap-0.8.3):ec_sniff_bridge.c  (ettercap-0.8.3.1)
skipping to change at line 61 skipping to change at line 61
return; return;
} }
USER_MSG("Starting Bridged sniffing...\n\n"); USER_MSG("Starting Bridged sniffing...\n\n");
/* create the timeouter thread */ /* create the timeouter thread */
if (!EC_GBL_OPTIONS->read) { if (!EC_GBL_OPTIONS->read) {
pthread_t pid; pthread_t pid;
pid = ec_thread_getpid("timer"); pid = ec_thread_getpid("timer");
if (pthread_equal(pid, EC_PTHREAD_NULL)) if (pthread_equal(pid, ec_thread_getpid(NULL)))
ec_thread_new("timer", "conntrack timeouter", &conntrack_timeouter, NUL L); ec_thread_new("timer", "conntrack timeouter", &conntrack_timeouter, NUL L);
} }
/* create the thread for packet capture */ /* create the thread for packet capture */
capture_start(EC_GBL_IFACE); capture_start(EC_GBL_IFACE);
/* create the thread for packet capture on the bridged interface */ /* create the thread for packet capture on the bridged interface */
capture_start(EC_GBL_BRIDGE); capture_start(EC_GBL_BRIDGE);
EC_GBL_SNIFF->active = 1; EC_GBL_SNIFF->active = 1;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)