diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2017-10-07 18:41:42 +0100 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2017-10-07 18:51:28 +0100 |
commit | 185b7ce04b182d2d7e490f23a3f0c7b9ea5916e4 (patch) | |
tree | 1f9f1083384003786e339a1892938abe5a60bed5 /tcp.h | |
parent | 62f2725b5745a2bfcd4223e2ca12566556b73d22 (diff) | |
download | tcpdump-185b7ce04b182d2d7e490f23a3f0c7b9ea5916e4.tar.gz |
WHOIS is a plain text protocol, why not decode it.
With txtproto_print() this has become trivial. Add a test.
Diffstat (limited to 'tcp.h')
-rw-r--r-- | tcp.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -104,6 +104,9 @@ struct tcphdr { #ifndef SMTP_PORT #define SMTP_PORT 25 #endif +#ifndef WHOIS_PORT +#define WHOIS_PORT 43 +#endif #ifndef NAMESERVER_PORT #define NAMESERVER_PORT 53 #endif |