X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fconnection.h;h=206417b73cbeb477d4e50137f6eccfecf241d04b;hb=f8190b7233871b5b47c3fc8846731d1bbdef78a5;hp=48c839b538cca38d7d15234216c051ddd795f6c2;hpb=42d2dff33306beae8ddbd9cc991ad80f135950a6;p=tinc diff --git a/src/connection.h b/src/connection.h index 48c839b5..206417b7 100644 --- a/src/connection.h +++ b/src/connection.h @@ -49,7 +49,8 @@ typedef struct connection_status_t { unsigned int log: 1; /* 1 if this is a control connection requesting log dump */ unsigned int invitation: 1; /* 1 if this is an invitation */ unsigned int invitation_used: 1; /* 1 if the invitation has been consumed */ - unsigned int unused: 18; + unsigned int tarpit: 1; /* 1 if the connection should be added to the tarpit */ + unsigned int unused: 17; } connection_status_t; #include "ecdsa.h" @@ -94,6 +95,7 @@ typedef struct connection_t { int outcompression; char *hischallenge; /* The challenge we sent to him */ + char *mychallenge; /* The challenge we received */ struct buffer_t inbuf; struct buffer_t outbuf;