diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-12-31 11:03:45 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-12-31 11:03:45 -0800 |
| commit | 10df5dcf707e76d4f66daef8dfb4a51df27abce1 (patch) | |
| tree | e52a72a59461b0125f91261a4029e39c0a0b23dd /node/Packet.cpp | |
| parent | 8055635e85beba3f0cf028cf3efe50dbf99b0cc3 (diff) | |
| download | infinitytier-10df5dcf707e76d4f66daef8dfb4a51df27abce1.tar.gz infinitytier-10df5dcf707e76d4f66daef8dfb4a51df27abce1.zip | |
Fix several things:
(1) The changes to path learning in the two previous releases were poorly thought out,
and this version should remedy that by introducing PROBE. This is basically a kind of
ECHO request and is used to authenticate endpoints that are not learned via a valid
request/response pair. Thus we will still passively learn endpoints, but securely.
(2) Turns out there was a security oversight in _doHELLO() that could have permitted...
well... I'm not sure it was exploitable to do anything particularly interesting since
a bad identity would be discarded anyway, but fix it just the same.
Diffstat (limited to 'node/Packet.cpp')
| -rw-r--r-- | node/Packet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Packet.cpp b/node/Packet.cpp index d809d402..20547d79 100644 --- a/node/Packet.cpp +++ b/node/Packet.cpp @@ -48,6 +48,7 @@ const char *Packet::verbString(Verb v) case VERB_NETWORK_MEMBERSHIP_CERTIFICATE: return "NETWORK_MEMBERSHIP_CERTIFICATE"; case VERB_NETWORK_CONFIG_REQUEST: return "NETWORK_CONFIG_REQUEST"; case VERB_NETWORK_CONFIG_REFRESH: return "NETWORK_CONFIG_REFRESH"; + case VERB_PROBE: return "PROBE"; } return "(unknown)"; } |
