Changeset 2722 for pjproject


Ignore:
Timestamp:
May 22, 2009 4:13:37 PM (16 years ago)
Author:
bennylp
Message:

Added TODO comment to randomize DNS query sequence number/id for security purposes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/sipit24/pjlib-util/src/pjlib-util/resolver.c

    r2394 r2722  
    2929#include <pj/pool.h> 
    3030#include <pj/pool_buf.h> 
     31#include <pj/rand.h> 
    3132#include <pj/string.h> 
    3233#include <pj/sock.h> 
     
    784785 
    785786    /* Save the ID and key */ 
     787    /* TODO: dnsext-forgery-resilient: randomize id for security */ 
    786788    q->id = resolver->last_id++; 
    787789    if (resolver->last_id == 0) 
Note: See TracChangeset for help on using the changeset viewer.