jer 15/02/07 10:32:27 Added: 2.4_beta1-urlsnarf-pcap_timestamps.patch Log: Add simpler patch 23 (bug #506076 by Yun Zheng Hu). (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Revision Changes Path 1.1 net-analyzer/dsniff/files/2.4_beta1-urlsnarf-pcap_timestamps.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/dsniff/files/2.4_beta1-urlsnarf-pcap_timestamps.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/dsniff/files/2.4_beta1-urlsnarf-pcap_timestamps.patch?rev=1.1&content-type=text/plain Index: 2.4_beta1-urlsnarf-pcap_timestamps.patch =================================================================== Author: Hilko Bengen <[email protected]> Description: urlsnarf: use timestamps from pcap file if available. Closes: #573365 Index: dsniff-2.4b1+debian/urlsnarf.c =================================================================== --- a/urlsnarf.c +++ b/urlsnarf.c @@ -57,7 +57,7 @@ { static char tstr[32], sign; struct tm *t, gmt; - time_t tt = time(NULL); + time_t tt = nids_last_pcap_header->ts.tv_sec; int days, hours, tz, len; gmt = *gmtime(&tt);
