Commit graph

275 commits

Author SHA1 Message Date
orignal 7b341d5d30 update and show send queue size for transports 2023-01-01 16:03:53 -05:00
R4SAS 2c19da9aa7
fix warnings about unused code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2023-01-01 13:48:41 +03:00
R4SAS 01fc21ffb9
[webconsole] remove newline break
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-12-31 11:55:29 +00:00
orignal 84d9c8f1b8 access to RouterInfo's addresses by index 2022-12-16 15:12:30 -05:00
R4SAS 8943200ffa
calculate bandwidth every 1 and 15 seconds
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-12-13 22:04:19 +03:00
R4SAS 857df5c734
prevent log spamming with no_descriptors error
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-12-10 21:57:23 +03:00
orignal 737603e81b No descriptors error 2022-12-10 13:22:37 -05:00
orignal 753c7efde8 fixed build error 2022-12-04 21:12:48 -05:00
orignal d0d0cd8445 use shared pointer for RouterInfo's addreses list 2022-12-04 20:04:06 -05:00
orignal 410d2c2fa9 use shared pointer for RouterInfo's addreses list 2022-12-04 19:21:51 -05:00
orignal 97ef908b0c removed SSU and NTCP transports 2022-11-23 15:54:08 -05:00
orignal fb8be32c28 removed SSU and NTCP transports 2022-11-23 15:45:00 -05:00
orignal 379075c594 exluded SSU from transports 2022-11-22 19:29:20 -05:00
R4SAS 1d9d89b115
[transports] get addresses on interfaeces before initializing RouterContext
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-10-10 15:43:37 +03:00
R4SAS 96c4463d39
clean code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-10-09 20:24:43 +03:00
R4SAS 8f9dae8556
[webconsole] enable tunnels reload command (closes #1781)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-10-09 02:26:23 +03:00
orignal 8eade86624 moved InitTransports code from Daemon to Transports 2022-09-23 21:27:11 -04:00
orignal 9df757a3fd fixed warning 2022-08-30 13:10:26 -04:00
orignal 8fd466c5a9 separate network status and errors 2022-08-29 21:11:17 -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
orignal 3dd78a2589 remove SSU address if SSU is off 2022-08-09 19:12:11 -04:00
orignal df92a85159 set SSU2 port +1 if not specified 2022-08-09 14:08:13 -04:00
orignal 457b3cf168 disable ElGamal table if no SSU 2022-08-08 17:53:02 -04:00
orignal ed5c533982 recgnize symmetric NAT from SSU2 2022-08-02 20:02:55 -04:00
orignal 9d9d5e3e5d show ports for tranport links 2022-07-31 09:47:04 -04:00
R4SAS bc0cdaa669
[i18n] update gettext file, add translation context, change comments
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-07-27 00:38:02 +03:00
Gecero-Sensei 5f9f23eb3f
Added translation of webconsole site title 2022-07-21 23:53:49 +03:00
orignal e3eebe537b set correct port for unpublished SSU2 addresses 2022-07-05 14:00:30 -04:00
r4sas a5a35b1fa6 [daemon] check for SSU2 transport at start
Signed-off-by: r4sas <r4sas@i2pmail.org>
2022-07-05 06:11:23 +00:00
orignal 2a24584d45 set SSU2 port if not specified 2022-07-04 23:00:16 -04:00
R4SAS 078d76c6f3
fix tabulation, remove long description (to be moved to documentation)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-06-26 01:38:42 +03:00
AVAtarMod 437282b148 [config, daemon] catch TSTP, CONT is option 2022-06-25 18:54:54 +03:00
AVAtarMod 5394b747a1 [daemon] add SIGTSTP, SIGCONT support on Unix 2022-06-25 10:20:29 +03:00
orignal 2067de162a show itag for SSU2 sessions 2022-06-17 18:45:37 -04:00
R4SAS 690c9f7c6f
[FS] add support for windows ProgramData path when running as service
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-06-06 18:25:22 +03:00
TomasGl 0176e5cf18 Do not show 'Address registration' line if leaseset is encrypted 2022-06-04 19:28:01 +00:00
R4SAS 6b4ffcff5a cleanup code (spaces, tabs)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-05-20 17:44:29 +00:00
R4SAS c9e4e78f41
[webconsole] remove version from title, move tunnel chain print from Tunnel class
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-05-01 23:25:08 +03:00
R4SAS 9b4e8bf64b [webconsole] do not show registration block when token is not provided
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-05-01 18:12:43 +03:00
orignal 98e713166b show port for non-published SSU addresses 2022-04-18 12:27:57 -04:00
R4SAS 2f10decf56 daemon: make possible to set datadir before init
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-04-09 19:57:32 +03:00
orignal 7923ed9567 publish SSU2 address 2022-03-29 13:56:56 -04:00
orignal 4c323a666a show SSU2 transports in web console 2022-03-27 19:29:50 -04:00
R4SAS 70dca81c40 dropped MESHNET build option
Dropping MESHNET build option due to lack of usage. That change won't
affect on usage with currently supported Yggdrasil network.

Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-03-24 01:36:12 +03:00
orignal 21c1ec9c8c enable SSU2 server 2022-03-13 21:34:11 -04:00
orignal 6d7d71bb16 don't show address:port for non-published addresses 2022-03-13 11:58:19 -04:00
orignal 6eba061c2a show local SSU2 address 2022-03-13 11:04:37 -04:00
R4SAS ab2577ce0a [daemon] print errors to stdout
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-02-18 21:00:16 +03:00
R4SAS 6bf0fdd344
[webserver] use cancel instead shutdown for acceptor
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-02-18 09:45:35 +03:00
R4SAS a51ef0cfc6
set of updates:
* [webconsole] change error handling code to restart acceptor after any
error
* [webconsole] call shutdown vefore stopping acceptor on exit
* update license headers for modified files, change year to file
  creation year, not 2013 (when project started)

Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-02-18 09:20:06 +03:00
orignal 843a968959 integer uptime 2022-01-09 19:07:10 -05:00
R4SAS 0d6e801595
[webconsole] change dark style colors
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-01-09 20:54:18 +03:00
R4SAS c4207e7672
[webconsole] update css
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-11-28 03:49:08 +03: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
R4SAS fdde197c58
[webconsole] update stylesheet
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-11-08 07:40:39 +03:00
R4SAS 49883dc3ac
[webconsole] update stylesheet (closes #1699)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-11-08 07:02:11 +03:00
R4SAS b0f043ec86
[make] USE_GIT_VERSION option to use commit info in version (closes #1702)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-10-22 05:35:01 +03:00
R4SAS e5c773a3eb [webconsole] move resources to separate header file
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-09-13 23:16:18 +03:00
orignal e8f4c42bfb moved current language from RouterContext to ClientContext 2021-09-04 14:01:57 -04:00
orignal fc29911ffd rollback 2021-08-13 11:36:04 -04:00
R4SAS 1e17ef2f21
[webconsole] show v4 status only ipv4 is enabled
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-08-13 09:17:27 +03:00
R4SAS fcbc16f2fd
[webconsole] fix style issues, clean external style in file was not found on reload
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-08-07 01:37:45 +03:00
R4SAS 28a055bd78
[webconsole] add external CSS support (#1682)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-08-06 20:42:08 +03:00
R4SAS d88fe203e1
[tunnels] count outbound traffic for zero-hop tunnels
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-08-01 09:25:02 +03:00
R4SAS f036b8df2d
[i18n] update translatable strings (remove douplicates)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-06-28 12:45:28 +03:00
R4SAS 12d6f03dc9
[i18n] add language changing at runtime in webconsole
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-06-27 17:14:45 +03:00
R4SAS da20cae25c
[webconsole] urldecode domain for registration string generator
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-06-26 18:59:48 +03:00
orignal 35ba16ff3b fixed #1665. cast to int64_t 2021-06-20 17:20:29 -04:00
R4SAS e8ad7b4f79
rework of storing certificates path (#1642)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-06-18 10:04:48 +03:00
R4SAS c06a560946
[i18n] use xgettext compatible function format for plural
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-06-16 00:13:26 +03:00
R4SAS 1d973bc3ac [webconsole] remove extra line break
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-06-15 17:55:22 +03:00
R4SAS 779f2fa451
[i18n] rework localization system
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-05-25 22:03:29 +03:00
R4SAS b676d7034f
[i18n] update translation
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-05-23 16:30:42 +03:00
R4SAS e687773b41
[18n] translate webconsole
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-05-23 10:50:26 +03:00
R4SAS 80b44fc9a9
Support multilang, update code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-05-22 18:29:05 +03:00
R4SAS 0e68fe4a57 [i18n] start multilang support for webconsole
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-05-22 08:39:29 +03: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 2b22bfadbc show version in hidden content 2021-05-12 11:48:27 -04:00
orignal 4018cf9d76 SAM single and master sessions 2021-04-26 21:11:36 -04:00
orignal edf3b7e2fc set X bandiwth for floodfill by default 2021-03-28 13:13:00 -04:00
orignal 9e050d1a23 peer test for ipv6 2021-03-23 15:36:57 -04:00
orignal a7b56bbbb7 publish Yggdrasil address when enabled 2021-03-17 11:26:52 -04:00
orignal 43d458cf72 publish and upublish NTCP2 and yggdrasil addresses separatly 2021-03-16 13:08:10 -04:00
orignal cf8665748b network sattus Mesh added 2021-03-13 10:28:03 -05:00
R4SAS f5af059ef4
[webconsole] add submission of address registration line to reg.i2p
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-03-11 15:20:40 +03:00
R4SAS cb8651ec68 [win32] drop service code, fix start with daemon option. Throw notification when unable to parse config
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-03-11 14:40:06 +03:00
orignal 744b25190a don't set proxy if ntcp2 is disabled 2021-03-10 15:36:10 -05:00
orignal 3792bb4928 delete sig buffer 2021-03-09 22:10:51 -05:00
R4SAS 9049902ced [webconsole] add address registration line generator
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-03-10 01:48:54 +03:00
orignal 5f93dc72fd convert ifname* params to address* 2021-03-09 15:28:07 -05:00
orignal 2d59c968ca don't publish NTCP2 address connected through proxy 2021-03-06 18:43:50 -05:00
orignal f38920c338 Status: Proxy 2021-03-06 08:50:47 -05:00
orignal 6d88c3ab05 Symmetric NAT error 2021-03-01 12:20:53 -05:00
R4SAS 3d7e93a688
systemd: use SIGTERM instead SIGQUIT, indent UPNP code, make client target
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-02-25 00:37:41 +03:00
orignal b1fcd4d27b show actual IP addresses for proxy connections 2021-02-17 14:26:48 -05:00
orignal 3b32da4f5c don't disable NTCP2 address if Yggdrasil address is presented 2021-02-06 19:07:39 -05:00
orignal 1bc3de8df4 add Yggdrasil address without NTCP2 2021-02-06 18:23:50 -05:00
orignal 374e0cbbc3 enable NTCP2 server for Yggdrasil 2021-02-06 18:11:34 -05:00