Haris Khan
5f2bfb8d9d
gofumpt adjustment
2024-11-02 21:36:55 -04:00
idk
9494c226a6
Merge pull request #19 from go-i2p/noise-experimental
...
Noise Subsystem
2024-11-02 02:59:43 +00:00
idk
344edc6d41
Merge branch 'master' into noise-experimental
2024-11-02 02:59:24 +00:00
idk
9eea99b489
Merge pull request #20 from hkh4n/noise-experimental
...
Polishes
2024-11-01 14:30:25 +00:00
idk
c984f94b90
Merge pull request #9 from hkh4n/sntp-experimental
...
Implemented mimic implementation of sntp from the original java implementation
2024-11-01 14:28:00 +00:00
Haris Khan
a17f0208dd
gofumpt adjustment
2024-10-31 10:53:22 -04:00
Haris Khan
487815f8f1
tests
2024-10-31 10:50:21 -04:00
Haris Khan
24e0baa879
Moved functions
...
-encryptPacketDeux -> testEncryptPacket in encrdecr_packet_test.go
-decryptPacketDeux -> testDecryptPacket in encrdecr_packet_test.go
2024-10-31 10:45:42 -04:00
Haris Khan
a5d2f0de8c
lib/transport/noise/doc.md
2024-10-31 00:01:22 -04:00
Haris Khan
423f616d53
Info -> Debug
2024-10-30 23:29:46 -04:00
idk
c65048f3c4
Merge pull request #18 from hkh4n/config
...
Added config
2024-10-30 22:03:24 +00:00
Haris Khan
39b683dac8
fixed circular dependency
2024-10-30 11:20:15 -04:00
Haris Khan
46883f6457
build fails -> import cycle
2024-10-30 09:31:01 -04:00
Haris Khan
4be55062fc
Moved config funcs to config.go
2024-10-30 09:22:32 -04:00
Haris Khan
12a3fd4623
Added config files + args
...
-added routerInstance
-added initConfig()
-added updateRouterConfig()
-yaml format
2024-10-30 09:16:22 -04:00
eyedeekay
80e539930e
Mapping: fix off-by-one. Format: gofumpt
2024-10-28 18:11:54 -04:00
Haris Khan
e58d326d89
Move obfuscation functions to lib/transport/ntcp
2024-10-25 21:29:02 -04:00
Haris Khan
e6f84c16f6
added experimental functions which factor in packet length
...
-encryptPacketDeux
-decryptPacketDeux
Added test -> TestEncryptDecryptPacketObfsOfflineWithFunc()
added new functions in aes.go
-EncryptNoPadding
-DecryptNoPadding
2024-10-24 22:57:36 -04:00
Haris Khan
971a18de8d
added Compatible warning message
2024-10-24 19:23:36 -04:00
Haris Khan
833836ae67
added TestEncryptDecryptPacketObfsOffline
2024-10-24 18:58:07 -04:00
Haris Khan
3f191db37a
implement TODO for Compatible in NoiseTransport
2024-10-24 18:03:20 -04:00
idk
6865bae386
Merge pull request #17 from hkh4n/dirs
...
create ~/go-i2p and ~/go-i2p/config properly
2024-10-24 20:12:06 +00:00
Haris Khan
f0d9f89ed9
Mkdir -> MkdirAll
2024-10-24 14:26:51 -04:00
idk
c149eef1de
Merge pull request #15 from hkh4n/makefile
...
Makefiles for tests + hotfix for logging naming convention
2024-10-23 17:34:06 +00:00
Haris Khan
748dc8a66f
tweaks
2024-10-23 00:11:46 -04:00
Haris Khan
677aac500e
fix logger naming collision with other libs
2024-10-23 00:06:06 -04:00
Haris Khan
4e06d3d5ed
makefiles
2024-10-22 22:31:19 -04:00
Haris Khan
5eaa9cf588
log name collision fix
2024-10-22 22:10:14 -04:00
Haris Khan
4dbf537e94
log name collision fix
2024-10-22 22:07:39 -04:00
Haris Khan
882c018c0c
log name collision fix
2024-10-22 22:06:06 -04:00
Haris Khan
5432502852
typo correction
2024-10-22 21:43:49 -04:00
idk
0ea5743365
Merge pull request #14 from hkh4n/noise-experimental
...
gofumpt adjustment
2024-10-22 21:53:24 +00:00
Haris Khan
a9dc482bda
gofumpt
2024-10-22 17:37:17 -04:00
idk
c31d20fec0
Merge pull request #13 from hkh4n/logging
...
Logging
2024-10-22 18:55:15 +00:00
Haris Khan
647546a374
typo fix
2024-10-22 14:51:17 -04:00
Haris Khan
e468520906
Merge branch 'master' into sntp-experimental
2024-10-20 00:09:42 -04:00
Haris Khan
ade80e577c
added sntp verification
...
-Leap Indicator
-Stratum level check
-Round-trip Delay
-Clock offset
-simple non-zero time
-Root Dispersion and Root Delay
2024-10-20 00:07:40 -04:00
Haris Khan
f45d301868
proposed refactor
...
-added secureRandBool() and performTimeQuery()
2024-10-19 22:17:10 -04:00
Haris Khan
0256908395
CRITICAL FIX, bytesRead -> n.
...
n wasn't being used before
2024-10-19 17:27:39 -04:00
Haris Khan
3c5aa206d1
expanded logging in message.go
2024-10-19 12:32:49 -04:00
Haris Khan
a4517cafd7
expanded logging in delivery.go
2024-10-19 12:25:31 -04:00
Haris Khan
f4f39ca53c
expanded logging in multi.go
2024-10-19 11:18:20 -04:00
Haris Khan
220159476a
expanded logging in write_session.go
2024-10-19 11:09:37 -04:00
Haris Khan
792cd49208
expanded logging in transport.go
2024-10-19 11:03:55 -04:00
Haris Khan
68051630c0
expanded logging in session.go
2024-10-19 10:55:30 -04:00
Haris Khan
a3340eb40a
expanded logging in read_session.go + changed structure in readPacketLocked()
2024-10-19 10:50:13 -04:00
Haris Khan
465a7787a9
expanded logging in outgoing_handshake.go
2024-10-19 10:44:08 -04:00
Haris Khan
af3bc44dba
expanded logging in incoming_handshake.go
2024-10-19 10:39:23 -04:00
Haris Khan
f850f482cf
expanded logging in handshake.go
2024-10-19 10:30:11 -04:00
Haris Khan
3f23376d22
expanded logging in su3.go
2024-10-19 10:19:55 -04:00