Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stun: minimal working client/server #545

Merged
merged 56 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
b608007
stun: WIP but compiles
Sep 1, 2023
ad238b5
stun: use later RFC for packet format
Sep 19, 2023
6ad7a1d
Merge branch 'develop' into ted/ping
pkova Oct 20, 2023
2666d30
vere: bumps hoon kelvin to %138
joemfb Jun 20, 2023
66208fe
jets: match hoon changes to bif:by
ashelkovnykov Jun 4, 2023
ca3612b
vere: bump %lull kelvin to %322
matthew-levan Aug 1, 2023
9e01dcf
vere: decrement zuse to %411
matthew-levan Aug 1, 2023
97826cb
pier: decrement arvo kelvin
pkova Aug 23, 2023
021054d
u3: rewrites jam atom encoding to maximize its range
joemfb Sep 22, 2022
c0f563c
vere: minimal jet dashboard compat for hoon %138
joemfb Oct 5, 2023
50b62cd
stun: inject %stun task into %ames
yosoyubik Oct 25, 2023
af0ca4f
stun: init timer in stun callback
yosoyubik Oct 25, 2023
ff14669
stun: don't stun if we are a galaxy
yosoyubik Oct 25, 2023
27bbc78
stun: stun sponsor galaxy
yosoyubik Oct 25, 2023
5bc1013
stun: handle stun requests & responses
yosoyubik Oct 25, 2023
b7c2b41
stun: send heard lane to requester
yosoyubik Oct 26, 2023
98ce42f
stun: add sanity checks on response
yosoyubik Oct 26, 2023
e70f06a
stun: encode ip in xor-mapped-address attribute
yosoyubik Nov 8, 2023
0f934da
stun: better resend times and error handling
yosoyubik Nov 8, 2023
81c1052
stun: remove logs
yosoyubik Nov 8, 2023
23e94cd
Merge branch 'develop' into yu/stun
yosoyubik Nov 12, 2023
97c3099
stun: add global 5 minute dns resolution timer
yosoyubik Nov 12, 2023
a81c147
stun: better reset stun timer calls
yosoyubik Nov 13, 2023
588ba28
stun: remove warnings
yosoyubik Nov 13, 2023
215d4e4
stun: send req after first successful dns resolve
yosoyubik Nov 13, 2023
fedccd0
stun: if cached ip switch to trying
yosoyubik Nov 13, 2023
de7bd9e
stun: better retry logic on error
yosoyubik Nov 14, 2023
064c313
stun: backoff sending fail stun request
yosoyubik Nov 15, 2023
37d9289
stun: refactor _stun_on_failure
yosoyubik Nov 15, 2023
597985a
stun: stop timer on stun request sending failure
yosoyubik Nov 15, 2023
154a33e
stun: %kick ping app on dns failure
yosoyubik Nov 15, 2023
ab893e8
stun: removed logs
yosoyubik Nov 15, 2023
3b67bdb
stun: refactor logic after dns failure
yosoyubik Nov 15, 2023
78f752a
stun: remove legacy mapped-address attribute
yosoyubik Nov 15, 2023
28d5aef
stun: fix check for stun response
yosoyubik Nov 16, 2023
692bc30
stun: refactor _ames_czar_gone
yosoyubik Nov 16, 2023
fd32d71
stun: refactor _ames_czar_dns
yosoyubik Nov 16, 2023
42e672c
stun: pass in expression in _stun_czar
yosoyubik Nov 16, 2023
c44041f
stun: refactor
yosoyubik Nov 17, 2023
d72087d
stun: use 12 bytes of entropy for transaction id
yosoyubik Nov 17, 2023
c07b315
stun: add fingerprint attribute and check
yosoyubik Nov 20, 2023
5af451b
stun: search for xor-mapped-address attribute
yosoyubik Nov 20, 2023
a6569f1
stun: refactor stun attribute parser
yosoyubik Nov 20, 2023
71bb1ec
stun: fix error
yosoyubik Nov 20, 2023
6c174c0
stun: remove custom crc32 function
yosoyubik Nov 20, 2023
7d7f4d2
stun: use required initial value for the crc
yosoyubik Nov 20, 2023
2a3ca0e
stun: add ship and lane to %arvo task
yosoyubik Nov 21, 2023
8de9d8d
stun: misc fixes
pkova Nov 30, 2023
9bbd71c
stunL fix wrong fingerprint length
yosoyubik Dec 1, 2023
6f8e718
stun: check if found attribute is correct
yosoyubik Dec 1, 2023
9578d35
stun: fix logging received port
yosoyubik Dec 1, 2023
0acaf10
stun: more fixes from joe
pkova Dec 5, 2023
c55b9d2
stun: fix hear ip:port log message
yosoyubik Dec 6, 2023
2901a18
stun: log port in network byte order
yosoyubik Dec 6, 2023
32843ba
Merge branch 'next/kelvin/411' into yu/stun
yosoyubik Dec 6, 2023
c343fc8
stun: stop when finding first attribute
yosoyubik Dec 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkg/c3/motes.h
Original file line number Diff line number Diff line change
Expand Up @@ -998,6 +998,7 @@
# define c3__sard c3_s4('s','a','r','d')
# define c3__sav c3_s3('s','a','v')
# define c3__save c3_s4('s','a','v','e')
# define c3__saxo c3_s4('s','a','x','o')
# define c3__scam c3_s4('s','c','a','m')
# define c3__scan c3_s4('s','c','a','n')
# define c3__scry c3_s4('s','c','r','y')
Expand Down Expand Up @@ -1111,6 +1112,7 @@
# define c3__ston c3_s4('s','t','o','n')
# define c3__stop c3_s4('s','t','o','p')
# define c3__stub c3_s4('s','t','u','b')
# define c3__stun c3_s4('s','t','u','n')
# define c3__stur c3_s4('s','t','u','r')
# define c3__sub c3_s3('s','u','b')
# define c3__sunt c3_s4('s','u','n','t')
Expand Down
Loading