Commit graph

28 commits

Author SHA1 Message Date
Daniel López Guimaraes
d5df60ef58
chore: Update module version to v2 2024-04-07 23:40:51 +01:00
Daniel López Guimaraes
3b90bdc96b
refactor: Update ServerInterface to EndpointInterface
This requires a lot of refactor but it brings back the option of getting
events when a connection disconnects.
2024-02-11 00:03:05 +00:00
Jonathan Barrow
f1549a79ca
prudp: removed unnecessary getters/setters 2024-01-24 13:08:49 -05:00
Jonathan Barrow
64b26b3eed
prudp: rework Kerberos ticket generation to use user accounts properly 2024-01-24 12:42:11 -05:00
Jonathan Barrow
1093a614db
streams: rename streams to ByteStreams 2023-12-31 23:22:41 -05:00
Daniel López Guimaraes
34fa2d53de
types: Replace type aliases with struct wrappers
Also remove StructureInterface, and make all structures initialize all
their fields. The structure header is now added as a common function
`ExtractHeaderFrom` and `WriteHeaderTo`.
2023-12-27 22:16:06 +00:00
Jonathan Barrow
793664257a
types: remove unused generic from PID type 2023-12-23 15:21:22 -05:00
Jonathan Barrow
919cabda7d
types: added constructor values to primitive types 2023-12-23 15:01:55 -05:00
Jonathan Barrow
715e3182cd
expanded all types into dedicated files and made the stream API generic 2023-12-23 13:03:32 -05:00
Jonathan Barrow
8c35f5e1a1
prudp: use PID type in kerberos and PasswordFromPID 2023-11-14 22:45:36 -05:00
Jonathan Barrow
f9f4d3bca4
total rewrite 2023-11-10 01:28:25 -05:00
Daniel López Guimaraes
16c5f5eca9
Use crypto/rand over math/rand
Also add error handling for rand.Read()
2023-08-06 01:36:14 +01:00
Jonathan Barrow
0c4508e64f
All relevant methods now return errors, and all errors are now checked 2023-06-07 23:12:13 -04:00
light
127f685036 Add WriteDateTime for clarity 2023-04-01 17:02:22 -04:00
Jonathan Barrow
b010f6d2aa
Fixed all incorrect Godoc comments 2023-01-01 13:51:53 -05:00
Jonathan Barrow
32d0632ab3
Added all missing Godoc comments 2023-01-01 13:45:06 -05:00
Jonathan Barrow
58b18c42eb Moved DeriveKerberosKey to be more clear 2022-04-17 22:01:47 -04:00
Jonathan Barrow
982781c4f9 Added Decrypt method to internal ticket data 2022-04-17 22:01:20 -04:00
Jonathan Barrow
5c22973b4a Addeed DeriveKerberosKey 2022-04-16 19:55:59 -04:00
Jonathan Barrow
655d59f4ae Added plogger logging 2022-04-15 16:51:05 -04:00
Jonathan Barrow
5d27f5c013 Made kerberos structs usable 2022-04-05 11:52:25 -04:00
Jonathan Barrow
8be2d8bca2 Moved all source files back to root 2022-03-29 00:15:55 -04:00
Jonathan Barrow
a2d673a235 Moving to Go modules 2022-03-27 19:59:17 -04:00
Jonathan Barrow
7713999b7a removed debug field and added missing godoc comments 2020-01-17 12:57:30 -05:00
Jonathan Barrow
8e489e4165 Complete rewrite 2020-01-17 12:42:59 -05:00
Adele Reed
f1f02ad30c Finish stream removal with kerberos.go 2019-08-11 16:07:16 -07:00
SuperMarioDaBom
547d4ed6a5 made some adjustments; can't guarentee this'll work as intended though 2019-05-26 15:31:27 -07:00
RedDuckss
126a1016cb Minor updates 2018-09-25 10:10:20 -04:00