Show
Ignore:
Timestamp:
04/14/06 13:26:50 (4 years ago)
Author:
ahu
Message:

implement stunningly cool spoofing protection, plus spoofer in dnspbench

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/dnswriter.cc

    r690 r699  
    124124  typedef vector<pair<unsigned int, unsigned int> > parts_t; 
    125125  parts_t parts; 
    126   vstringtok(parts, label, "."); 
     126  vstringtok(parts, label, "."); // XXX FIXME this should deal with escaped . 
    127127   
    128128  // d_stuff is amount of stuff that is yet to be written out - the dnsrecordheader for example