Commit Graph

1174 Commits

Author SHA1 Message Date
zzz
bfb5557099 i2ptunnel: Additional fixes for invalid entries in filter file (Gitlab #483)
as reported by drzed
2024-07-25 08:59:36 -04:00
zzz
b573fe461f i2ptunnel: Reduce severity of access filter errors (Gitlab #483)
So they don't prevent the tunnel from starting
Log tweaks
2024-06-20 11:21:42 -04:00
zzz
d4f580ee39 Build: Put JspC wrapper in its own jar, used only at build time
remove from jetty-i2p.jar, not required at runtime
2024-06-11 07:49:50 -04:00
zzz
a0f92b2e28 CLI: Fix getopt program names
these are output by getopt in error messages
2024-06-05 09:05:51 -04:00
zzz
9e18bded7b i2ptunnel: Fix CTCP ACTION (Gitlab #481)
aka /me ...
inadvertently filtered, broken by changes for IRCv3
was blocked in both directions, so both sending and receiving client need this fix for it to get through
2024-05-23 08:59:48 -04:00
zzz
b71b4a952e Build: Fix buildTest after distclean 2024-05-18 10:49:39 -04:00
zzz
ed065474b3 i2ptunnel: Fix keepalive bug causing truncation of chunked output 2024-05-14 13:08:34 -04:00
zzz
7f70126c60 javadoc fix 2024-04-11 08:46:20 -04:00
zzz
72e9bba84d javadoc typos 2024-02-15 05:58:55 -05:00
zzz
6575fbfe6a Tests: Fix lone i2ptunnel test classpath,
add to top-level ant test target (was only run on gradle side)
2024-02-14 06:00:29 -05:00
zzz
83ee28fbdc Implement server-side HTTP persistence (keepalive) for the i2p socket 2024-02-14 10:48:20 +00:00
zzz
7040d3202a Merge branch 'i2ptunnel-keepalive-client' into 'master'
Implement client-side HTTP persistence (keepalive) for the browser-to-client proxy socket

See merge request i2p-hackers/i2p.i2p!176
2024-02-02 15:42:58 +00:00
zzz
23937c11de Implement client-side HTTP persistence (keepalive) for the browser-to-client proxy socket 2024-02-02 15:42:58 +00:00
zzz
3b28fc3a98 susidns, i2ptunnel: Fix IDN decoding for newer codepoints
Without the ALLOW_UNASSIGNED flag, it will not decode to codepoints
newer than Unicode 3.2 (2002)
2024-01-23 07:16:09 -05:00
zzz
85c07c8eaa Merge branch 'ssl-errors' into 'master'
i2ptunnel: Don't send html error messages on CONNECT

See merge request i2p-hackers/i2p.i2p!175
2024-01-14 11:46:35 +00:00
zzz
d70e1fa150 i2ptunnel: Don't send html error messages on CONNECT 2024-01-14 11:46:35 +00:00
zzz
e5b9f9f134 i2ptunnel: Prep for keepalive 2024-01-14 11:42:13 +00:00
zzz
6b01b22d00 i2ptunnel: Log correct server host/port on error when there are multiple targets configured 2023-12-22 11:00:39 -05:00
ae1c939403 SAM/I2Ptunnel/I2PSnark: update Javadocs to reflect @since 0.9.61 2023-12-12 18:11:44 -05:00
zzz
97cb90ef16 restore stats 2023-12-01 05:59:03 -05:00
zzz
761967ed4b i2ptunnel: Add thread number to server thread names
like we already do for clients, to make debugging easier
2023-11-21 08:50:34 -05:00
zzz
3facdaabc7 Build: Force build to die on fatal JspC errors 2023-11-16 14:07:39 -05:00
zzz
11feb84d4a i2ptunnel: Exempt tunnel name from XSS filter (Gitlab #467) 2023-11-10 13:06:28 -05:00
zzz
e7de354f47 Merge branch '458-gunzip' into 'master'
i2ptunnel: Fix gzip footer check in GunzipOutputStream (Gitlab #458)

Closes #458

See merge request i2p-hackers/i2p.i2p!134
2023-10-28 15:40:55 +00:00
zzz
052c9463e0 i2ptunnel: Fix gzip footer check in GunzipOutputStream (Gitlab #458) 2023-10-28 15:40:55 +00:00
zzz
7a317e5026 i2ptunnel: Remove nonstandard Proxy-Connection header (Gitlab #452) 2023-10-28 15:39:44 +00:00
zzz
040bc58917 i2ptunnel: HTTPResponseOutputStream cleanup 2023-10-12 18:58:59 +00:00
idk
ed513b6c15 remove stats.i2p from jump services 2023-03-13 00:02:08 +00:00
zzz
be5a10194a Build: Fix list of changed files in manifests
Broken in move from mtn to git
Fix some places that were broken even with mtn
2023-01-22 10:08:53 -05:00
zzz
053f261e57 i2ptunnel: Fix typo for SSL outproxy host
for new and existing installs
Reported by Opicaak
2023-01-17 14:32:25 -05:00
zzz
399575aba5 i2ptunnel: Return error message from IRC client on failure to build tunnels
previously just closed the socket
2023-01-15 12:38:00 -05:00
zzz
19e3122f48 i2ptunnel: Return error code from SOCKS client on failure to build tunnels
previously just closed the socket
2023-01-15 11:18:00 -05:00
zzz
acec9b5275 i2ptunnel: Return 503 from HTTP client on failure to build tunnels
previously just closed the socket
2023-01-15 10:37:55 -05:00
zzz
a3fd28dcf4 i2ptunnel: Interrupt pending client tunnel build when stop button is clicked
Message/log cleanups
2023-01-15 10:02:17 -05:00
zzz
edfc9b1454 I2CP: Reduce session limit to 50
Set limit to 0 if vmCommSystem
i2ptunnel: Do not retry if session limit exceeded
2023-01-01 13:08:25 -05:00
zzz
d9979b8f97 Console: Sort tunnels by name on /tunnels, /configtunnels, /i2ptunnel 2022-12-26 05:38:35 -05:00
zzz
f8e0ee65f2 i2ptunnel: Change enc type defaults
ECIES (ratchet) introduced about 4 years ago, and we are still defaulting to both ECIES and ElG in most places.

There are four cases:

- New install: $I2P/i2ptunnel.config as shipped
- New tunnel: i2ptunnel code sets default
- Existing tunnel, no enc type config: i2ptunnel code sets default
- Existing tunnel, config changed and saved via UI in last 4 years: Setting as in config file

Changes:

- New install: Change eepsite and IRC client to ECIES-only; shared clients remains both
- New tunnel: Change from both to ECIES-only
- Existing tunnel, no enc type config: Change servers to ECIES-only; clients remain both
- Existing tunnel with enc type config: No defaults, no change
2022-11-28 09:38:34 -05:00
zzz
cb5d7f1f8d i2ptunnel: Fix SOCKS outproxy port configuration after testing
log tweaks
2022-11-26 10:54:22 -05:00
zzz
d9a9c17d02 i2ptunnel: Allow IRCv3 ACCOUNT and CHGHOST through the filter 2022-11-25 10:49:12 -05:00
zzz
a825949a8a i2ptunnel: Fix log message on config migration 2022-11-23 12:10:21 -05:00
zzz
495d91193c i2ptunnel: SOCKS 5 tunnel improvements and torsocks support
- Add support for Tor RESOLVE extension by caching and returning fake IP
- Handle user/pw when not required to support Tor stream isolation
  (not really isolating, just handling the authentication)
- Fix user/pw authentication
- Handle outproxy config changes after start
- Support CONNECT outproxies
- Add config UI for outproxy type
- Enable IPv6 (untested)
- Support outproxy config with :port (untested)
- Various cleanups

Further testing required
2022-11-23 12:03:08 -05:00
zzz
e54f5ffadd i2ptunnel: Fix IRC USER filtering
Wasn't passing through user and realname fields
Pass through RFC 2812 mode field if present
reported by RN
2022-11-12 15:26:27 -05:00
zzz
c1b241ab8f i2ptunnel, eepget: Add support for SHA-256 digest proxy auth (RFC 7616)
Requires re-saving user/pw on proxy side
2022-09-20 08:26:05 -04:00
zzz
3befe90007 i2ptunnel: Add tunnel name to offline expiration log messages 2022-06-10 09:53:55 -04:00
zzz
a5bc80da09 i2ptunnel: Improve message on filter file error 2022-05-19 13:15:16 -04:00
zzz
52958b95d5 i2ptunnel: Add log message on reconnect 2022-05-14 08:58:58 -04:00
zzz
265f5ee5df Util, i2ptunnel: Update firefox user-agent 2022-02-23 07:08:34 -05:00
c3abe7b3d4 Do not use forEach 2022-01-31 13:10:26 +00:00
899ce0f959 Fix for FileFilterDefinitionElement. Issue #349 2022-01-31 04:38:48 +00:00
zzz
13f910be70 i2ptunnel: Add hooks to get the session from the contoller 2022-01-02 11:23:23 -05:00