*** trace.c Fri Nov 25 20:16:58 2005 --- trace.c-new Fri Nov 25 20:15:17 2005 *************** *** 924,930 **** || /* rule 3 */ (SYN_SET(ptcp) && (thisdir->syn_count > 1) && ! (thisdir->syn != ntohl(ptcp->th_seq)))) { if (debug>1) { printf("%s: Marking %p %s<->%s INACTIVE (idle: %f sec)\n", --- 924,934 ---- || /* rule 3 */ (SYN_SET(ptcp) && (thisdir->syn_count > 1) && ! (thisdir->syn != ntohl(ptcp->th_seq))) ! || /* rule 4 : Treat a RST packet as the beginning of a new connection ! if FIN segments were seen in both directions earlier)*/ ! ( RESET_SET(ptcp) && (thisdir->fin_count>=1) && (otherdir->fin_count>=1) ) ! ) { if (debug>1) { printf("%s: Marking %p %s<->%s INACTIVE (idle: %f sec)\n",