Łukasz Jerciński
824f66f2eb
prevent buffer overflow on large I2PControl requests
2026-03-27 13:26:15 +01:00
Benson Muite
73623a4793
Replace deadline_timer by steady_timer
...
Prevent deprecation warnings when building.
2026-03-06 10:55:47 +03:00
Łukasz Jerciński
e4365e5aeb
fix(I2PControl): use boost::iequals for RFC-compliant Content-Length parsing
...
Use case-insensitive comparison via boost::iequals to handle all
Content-Length header variations per RFC 2616.
2025-11-25 18:26:17 +01:00
Łukasz Jerciński
86ddc033e5
fix(I2PControl): handle case-insensitive Content-Length header
...
HTTP headers are case-insensitive per RFC 7230. The previous code only
matched "Content-Length" exactly, causing requests with lowercase
"content-length" (common in Rust's hyper/reqwest and other HTTP/2-derived
clients) to fail with JSON parse errors when payloads exceeded the
initial 1024-byte buffer read.
Now accepts both "Content-Length" and "content-length" header names.
2025-11-25 13:03:52 +01:00
Anon2025
d64030e255
add trailing newline in i2pcontrol json response
2025-11-17 13:56:38 +03:00
orignal
588108d7d0
use EVP_RSA_gen if openssl 3
2025-06-13 12:48:25 -04:00
orignal
c113241ccd
support local sockets for I2PControl
2025-03-05 14:14:34 -05:00
orignal
4f82fe24da
replace boost::lexical_cast by std::to_string. std::unique_ptr for thread
2025-03-04 18:11:58 -05:00
orignal
ffd18baf30
support boost 1.87
2024-11-25 16:00:06 -05:00
orignal
ac4c58bbe9
reload cerificate again after re-creation attempt
2024-10-10 15:46:22 -04:00
orignal
23bac4a403
recreate certificate if invalid
2024-10-09 21:40:26 -04:00
orignal
879d54fad4
replaced boost::date_time by functions from std
2024-08-23 22:01:08 -04:00
orignal
217aa0c882
fixed #2038 . don't add comma for missing param
2024-03-11 11:11:38 -04:00
orignal
36eddd48c3
move more handlers from I2PControl to I2PControlHandlers
2022-08-28 15:46:16 -04:00
orignal
b4d73683d1
spilt to I2PControl and I2PControlHandlers
2022-08-27 22:18:30 -04:00
R4SAS
6b4ffcff5a
cleanup code (spaces, tabs)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org >
2022-05-20 17:44:29 +00:00
orignal
843a968959
integer uptime
2022-01-09 19:07:10 -05:00
R4SAS
edc0162163
clean line trailing spaces and tabs
...
Signed-off-by: R4SAS <r4sas@i2pmail.org >
2021-11-27 23:30:35 +03:00
R4SAS
94661f697b
[log] update log messages ( closes #1693 )
...
Signed-off-by: R4SAS <r4sas@i2pmail.org >
2021-11-27 22:53:53 +03:00
orignal
35ba16ff3b
fixed #1665 . cast to int64_t
2021-06-20 17:20:29 -04:00
R4SAS
c359c6e634
update config file example, add v6 status to windows daemon window, code cleanup
...
Signed-off-by: R4SAS <r4sas@i2pmail.org >
2021-05-15 16:31:53 +03:00
orignal
4018cf9d76
SAM single and master sessions
2021-04-26 21:11:36 -04:00
R4SAS
3100d4f902
move thread naming to util
...
Signed-off-by: R4SAS <r4sas@i2pmail.org >
2020-12-07 06:22:30 +03:00
R4SAS
36473e3889
add naming to threads
...
Signed-off-by: R4SAS <r4sas@i2pmail.org >
2020-12-04 18:37:17 +03:00
orignal
335f9394a5
drop gcc 4.7 support
2020-09-26 19:32:19 -04:00
R4SAS
8bae4975fb
add copyright headers
...
Signed-off-by: R4SAS <r4sas@i2pmail.org >
2020-05-22 18:14:53 +00:00
R4SAS
7a5146ea74
fix code syle(spaces->tabs, tabulations)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org >
2020-05-22 18:14:53 +00:00
orignal
50450923df
don't add extra , to result string
2020-02-19 20:51:32 -05:00
Rosen Penev
90f2b2d249
Fix compilation without deprecated OpenSSL APIs
2019-01-06 15:39:24 -08:00
Jeff Becker
4643c92d33
Initial SAM cleanup
2018-04-24 09:45:16 -04:00
l-n-s
2661db23f6
I2PControl: fix indentation
2018-03-05 12:34:41 -05:00
l-n-s
12292afdec
I2PControl: s/remote_endpoint/peer
2018-03-04 11:28:09 -05:00
l-n-s
21545ab7da
I2PControl: add new method ClientServicesInfo
2018-03-03 05:52:11 -05:00
yangfl
50ba52756f
fix mixing tabs and spaces
2018-01-13 22:51:02 +08:00
yangfl
46f62e1af9
remove trailing whitespaces
2018-01-06 22:24:03 +08:00
Dmitry Marakasov
0f2d2156e6
Don't use deprecated boost::asio::ssl::context ctor
...
This was removed in boost 1.66, in prior versions the service
argument was not used
2017-12-11 22:34:48 +03:00
NeverExist
0f0fb266c7
Fix deformed json result with an extra comma
...
{"id":1,"result":{"i2p.router.net.bw.in":48,"i2p.router.net.bw.out":48,},"jsonrpc":"2.0"}
You can see there is an extra comma behind the number 48.
2017-08-27 12:57:06 +09:00
Jeff Becker
e238f7ed37
NetDb.h -> NetDb.hpp for case insensative file systems clashing with libc's netdb.h
2017-04-21 20:04:16 -04:00
Jeff Becker
4cc3b7f9fb
restructure build to separate the 3 main components into 3 subdirectories
...
libi2pd for core libs
libi2pd_client for i2pd client libs
daemon for i2pd daemon libs
2017-04-21 06:33:45 -04:00