Commit Graph

390 Commits (openssl)

Author SHA1 Message Date
acetone 013d5ff74f Addresshelper request validation by Refer-header 1 year ago
acetone 9af5a90757
Copyright year updated 1 year ago
acetone d8b6f5438c
log typo 1 year ago
acetone 10030a4e0d Addresshelper updating: referer check 1 year ago
orignal 7146a4dbae check if session socket was closed before tunnels were built 1 year ago
R4SAS 503f522cc3
[style] clean trailing spaces and tabs
Signed-off-by: R4SAS <r4sas@i2pmail.org>
1 year ago
R4SAS 2c19da9aa7
fix warnings about unused code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
1 year ago
R4SAS 6376328c98
[http proxy] do not remove X-Requested-With for *HttpRequest (#1816)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
1 year ago
Jigen 519c0fe81d
Remove "X-Requested-With"
When any app uses Android’s WebView to load a web page, WebView attaches an extra header, named X-Requested-With, with the value set to the application ID. 
That include Lightning-I2P browser by R4SAS. 
Google doesn’t want to make it easy to get rid of the X-Requested-With header. However, there is a mechanism for replacing header information. This doesn’t allow a program to stop sending the X-Requested-With header.

More info on: https://www.stoutner.com/the-x-requested-with-header/
1 year ago
Dimitris Apostolou 73b9c0302b
Fix typos 1 year ago
orignal 39b3996596 added notbob.i2p to jump services 2 years ago
orignal 9fd60b52f1 sync StreamCreate 2 years ago
orignal c6a6a4e0e8 sync Receive from stream 2 years ago
orignal 8299f80ea5 correct assignment of remote address 2 years ago
orignal b8ce0b0838 store Address instead IdentHash for UDP tunnel 2 years ago
orignal f9b0bb0383 I2PTunnel/UDPTunnel split 2 years ago
orignal 3d4d3ce80d compressable crypto key and padding for routers and destination 2 years ago
Jigen 01ea1854bc
Update HTTPProxy.cpp (#1794)
Remove DoNotTrack flag from HTTP Request header.
2 years ago
orignal c2f91ea63b SSL connection for IRC server tunnel 2 years ago
R4SAS 798dd8b27b
[HTTP Proxy] skip addresshelper page if destination is not changed (closes #1789)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS 96c4463d39
clean code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal 6b939eba59 fixed typo 2 years ago
orignal e82662b389 SSL support for server tunnels 2 years ago
orignal 9abc4cf359 fixed crash at startup if addressbook is disbaled 2 years ago
orignal 5b19237a85 limit HTTP header size 2 years ago
orignal 150b8f8cbd Handle long HTTP headers 2 years ago
orignal 7f0845dfd3 reset acceptor on stop of server tunnel 2 years ago
orignal e9e641afbe check if datagram destination exists before sending 2 years ago
R4SAS bc0cdaa669
[i18n] update gettext file, add translation context, change comments
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS 605ccf3e02 [BOB] require commands options, fix usage of existent nick and status
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal 2d4c7729ad case-insensitive headers 2 years ago
orignal 6ecab66b0e always send Connection: close, strip out Keep-Alive for server HTTP tunnel 2 years ago
orignal 1dded57a1c fix typo in Referer 2 years ago
orignal 1d6104ecf3 addressbook.enabled config param 2 years ago
orignal 1c9160c37d correct jump link 2 years ago
orignal e2ef88229f fixed warning 2 years ago
R4SAS 9ddbf255ba
fix const std::map usage
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS dfb171d32a
[httpproxy] ordered jumps list
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS 6b4ffcff5a cleanup code (spaces, tabs)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS d31cd2e5d6
fix incorrect boolean value parsing
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS 396c74e6c6 Revert "Simple refactor of nested if-statements" 2 years ago
R4SAS 923eb9fdb3 fix udp tunnels reload
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal a818b0ba02
Merge pull request #1748 from voltamperoff/Refactor-I2CP-CreateSessionMessageHandler
Simple refactor of nested if-statements
2 years ago
R4SAS f9f5084dd7
typo
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS b7e7c6db7b
UDP Client: ignore incomming traffic and error when stopping (prevent socket restarting)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
Volt Amperoff 4977f9e6b4 If-statements are simplified. Checks are rearranged for faster errors detection without unnecessary actions. 2 years ago
orignal 11f9eeabf1 inbound.lengthVariance and outbound.lengthVariance 2 years ago
orignal 48374d97df always use TCP/IP sockets for I2CP 2 years ago
R4SAS bf3d7e74f5
[i2cp] use tcp/ip socket on android
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS ab3f3890e4
[i2cp] use tcp/ip socket on android
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal 40e6d675c5 I2NP messages pool for I2CP 2 years ago
orignal 73b77c83b8 select compatible outbound tunnel 2 years ago
orignal afad405ed9 check for duplicate destination 2 years ago
orignal 401b7fe883 send error message in quotes 2 years ago
R4SAS 5f9972af78
[addressbook] fix loading subscriptions from config
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal 5d924cd35a don't copy received datagram 2 years ago
R4SAS edc0162163
clean line trailing spaces and tabs
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS 94661f697b
[log] update log messages (closes #1693)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
Dimitris Apostolou 8ee9c437e1
Fix typos 3 years ago
R4SAS d723faaaa3 [UDPTunnel] restart local listener on error
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal 2eded7cdd7 send ping every keealive interval for client tunnels 3 years ago
R4SAS 3dd9e81296
[addressbook] check domain ending when processing subscriptions
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS ec86c4611d disable reload checks for UDP tunnels (TODO)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal f7f36568ef set gzip compression to false by default 3 years ago
orignal 41d6c117ee make sure server tunnel is published 3 years ago
orignal e8f4c42bfb moved current language from RouterContext to ClientContext 3 years ago
orignal bce8469e59 eliminate extra error message 3 years ago
R4SAS 6b1ef6e1b9
tunnels reload changes: fix tcp tunnels reload
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal bb518d3d51 don't pass BN_CTX to encrypt/decrypt functions 3 years ago
orignal c45e202fab removed ElGamal encryption support for own router 3 years ago
R4SAS 86e118f2b7
[i18n] change string in HTTPProxy
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal b0874410f1 take first avalable resolved address if local address is not specified 3 years ago
orignal 797f5eb714 select compatible resolved address for server tunnel 3 years ago
orignal 38a2d45a3c close all existing streams when command SAM socket got closed 3 years ago
orignal d124d4cace allow ipv6 adresses for UDP server tunnels 3 years ago
orignal 37f1a55147 encryption type 0,4 by default for server tunnel 3 years ago
orignal c153471c49 use short tunnel build if possible 3 years ago
R4SAS f036b8df2d
[i18n] update translatable strings (remove douplicates)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal d752a83eb5 handle i2cp.dontPublishLeaseSet for all destinations 3 years ago
R4SAS 2db035d23c
[i18n] fix addresshelper
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS df66c2d2dc
[i18n] translate HTTP proxy
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal 59b471b9a2 i2cp.leaseSetPrivKey for HTTP and SOCKS proxy 3 years ago
orignal d299cbaabd Add/Remove subsession 3 years ago
orignal a8e1cd9a13 don't throw exception if local bind fails 3 years ago
orignal fffa550bb0 SAM subsessions 3 years ago
orignal 4018cf9d76 SAM single and master sessions 3 years ago
orignal bd33ac202f handle hostname for STREAM CREATE 3 years ago
orignal b43a9cc80d handle master session creation 3 years ago
orignal 83fc1b0b8e support b32 and b33 addresses in STREAM CONNECT 3 years ago
orignal 51ef7ef61c don't publish LeaseSet without tunnels 3 years ago
orignal ff9ee5873f post LeaseSet creation to I2CP destnation's thread 3 years ago
orignal 7c0b0a4e3e common HTTP basic authorization string 3 years ago
orignal f70ee480ba check connectivity between peers for tunnel 3 years ago
orignal 8bab4f60ef open socket before bing 3 years ago
orignal f75bef7c03 don't set local address if not specified 3 years ago
orignal 2d972752ff lookuplocal 3 years ago
orignal 616f0b2a21 address parameter for server tunnels 3 years ago
R4SAS 01df1647bc
[httpproxy] add viewport and update styles on error
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal df7fda9e0c support ratchets for shared local destination 3 years ago
R4SAS 7c8280934a
update addressbook subscriptions
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago