Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




bugtraq logo Bugtraq mailing list archives

Re: tcpdump workaround against dnsloop exploit.
From: davids () WEBMASTER COM (David Schwartz)
Date: Sat, 6 May 2000 15:12:54 -0700


        This won't work. It stops an A->A->A loop but allows an A->B->A->B loop.
What you want is something more like:

+                               /*
+                                * If we got two time the same data ptr,
+                                * or are being referred forward,
+                                * this means we may loop.
+                                */
+                               if ( cp >= old)
+                                       return NULL;
+                               old = cp;

        DS


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]