gamelinux / passivedns

A network sniffer that logs all DNS server replies for use in a passive DNS setup
http://gamelinux.org/
1.67k stars 372 forks source link

Initialize connections to SC_UNKNOWN vice SC_CLIENT #56

Closed jasontant closed 9 years ago

jasontant commented 9 years ago

These changes attempt to deal with missing requests and responses caused by defaulting connections to an assumed client state. It adds a new default state called SC_UNKNOWN at the transport layer and waits to make the SC_CLIENT/SC_SERVER determination until requests or responses are actually observed.