Sirzechs Lucifer
|
7ee1bfcecf
|
Integrate cmake & reorganize files
|
2024-08-28 17:32:52 +03:30 |
|
Morteza Bashsiz
|
ea0c632dfd
|
Create config and validate it. To do is check the validation of the config it does not work correctly, expected is to error when the one of the blocks log, server or agent is not there
|
2023-12-08 16:04:52 +01:00 |
|
Morteza Bashsiz
|
c94d6a4d9a
|
Change read method from originserver in tls
|
2023-12-06 13:55:03 +01:00 |
|
Morteza Bashsiz
|
8b297006a1
|
make logs better
|
2023-12-06 11:40:28 +01:00 |
|
Morteza Bashsiz
|
0301463762
|
Make tls simpler on server side
|
2023-12-05 14:05:40 +01:00 |
|
Morteza Bashsiz
|
04c96e25df
|
use simple connect to ip port
|
2023-11-29 12:09:12 +01:00 |
|
Morteza Bashsiz
|
92ee8f40f2
|
Sending cipherSuite from server to origin done; But I must handle all tls in a live and existing session
|
2023-11-24 14:12:52 +01:00 |
|
Morteza Bashsiz
|
4a031157fe
|
Try to handle serverName during the session. I need it for sending cipherSuite from server to origin
|
2023-11-24 12:18:48 +01:00 |
|
Morteza Bashsiz
|
cc423fab34
|
add some comments, change the implementation of proxy and define variables inside the class. The problem is function proxy.send() in request.cpp after client hello does not continue to process, it works fine for other responses from niposerver but only for clienthello. note that inside the function you can see that response is recieved and you can print it
|
2023-11-23 09:16:07 +01:00 |
|
Morteza Bashsiz
|
155c63387a
|
Abel to read all server hello handshake but it is too slow, I am following up with upstream https://github.com/boostorg/boost/issues/831
|
2023-11-22 14:49:26 +01:00 |
|
Morteza Bashsiz
|
2077315bc6
|
classify client, next step is use async_read_some to read correctly from response
|
2023-11-21 20:47:09 +01:00 |
|
Morteza Bashsiz
|
bf1c9eb751
|
get client hello from origin server as srting. next step is return it to nipo agent
|
2023-11-21 14:28:26 +01:00 |
|
Morteza Bashsiz
|
9c7d4766f6
|
Send hello from niposerver to originserver done; next step is get client hello and return it to the nipo agent
|
2023-11-20 10:35:04 +01:00 |
|
Morteza Bashsiz
|
3c8dde99dc
|
exceptions fixing, next step try to send client hello from server to origin
|
2023-11-17 08:04:52 +01:00 |
|
Morteza Bashsiz
|
8b5aa5682d
|
Add tls to server, Next step is send client hello from server to origin server
|
2023-11-15 15:30:25 +01:00 |
|
Morteza Bashsiz
|
fce5997fcc
|
add header isClientHello in agent and server
|
2023-11-15 09:50:53 +01:00 |
|
Morteza Bashsiz
|
f97e1cfe37
|
rename connection to session
|
2023-08-31 09:59:04 +02:00 |
|
Morteza Bashsiz
|
7221fb46bf
|
remove handshake from proxy server on connect request
|
2023-08-30 09:51:13 +02:00 |
|
Morteza Bashsiz
|
5f845a71d1
|
Add keepalive to socket
|
2023-08-30 09:40:56 +02:00 |
|
Morteza Bashsiz
|
d04ad12076
|
fix result in connect request, change and fix header length in response
|
2023-08-25 14:55:30 +02:00 |
|
Morteza Bashsiz
|
2dd02dfccd
|
check the response to call read and write in connection
|
2023-08-25 10:50:25 +02:00 |
|
Morteza Bashsiz
|
7cfdf845ee
|
improve logging
|
2023-08-21 15:25:51 +02:00 |
|
Morteza Bashsiz
|
4d8761d204
|
Change response from server to agent after connect ssl
|
2023-08-21 09:15:17 +02:00 |
|
Morteza Bashsiz
|
4950854b32
|
use original parser in request and response agent side and fix the parsing issue
|
2023-08-21 09:11:39 +02:00 |
|
Morteza Bashsiz
|
d5f43cde04
|
use original parser in request and response agent side
|
2023-08-21 09:05:18 +02:00 |
|
Morteza Bashsiz
|
9560a92c6e
|
when connecting over SSL, response does not parsed correctly on agent side OR response does not generated correctly on server side
|
2023-08-18 15:52:44 +02:00 |
|
Morteza Bashsiz
|
a4b14c6baf
|
ssl handshake return http 200 to client
|
2023-08-18 11:23:28 +02:00 |
|
Morteza Bashsiz
|
3f3807ac96
|
ssl handshake
|
2023-08-17 15:41:41 +02:00 |
|
Morteza Bashsiz
|
5ec4e781b9
|
add encryption yes or no to config, since encryption is not working good
|
2023-08-17 14:27:07 +02:00 |
|
Morteza Bashsiz
|
e54e9c437b
|
Before debug
|
2023-08-17 13:20:30 +02:00 |
|
Morteza Bashsiz
|
c0c64939eb
|
fix content size
|
2023-08-15 12:41:07 +02:00 |
|
Morteza Bashsiz
|
81ee9bf7d7
|
fix some includes
|
2023-08-14 21:43:42 +02:00 |
|
Morteza Bashsiz
|
9cd7618513
|
make logs better
|
2023-08-14 16:11:14 +02:00 |
|
Morteza Bashsiz
|
3c653aa552
|
encode base64 before sending
|
2023-08-14 15:29:14 +02:00 |
|
Morteza Bashsiz
|
ec5918c8fc
|
encode base64 before sending
|
2023-08-14 14:49:24 +02:00 |
|
Morteza Bashsiz
|
0b7858dc8d
|
fix content length in response from server to agent
|
2023-08-14 10:26:58 +02:00 |
|
Morteza Bashsiz
|
58e94b65bf
|
change response in server
|
2023-08-14 08:57:57 +02:00 |
|
Morteza Bashsiz
|
18684e0d36
|
fix encryption problem
|
2023-08-13 15:11:47 +02:00 |
|
Morteza Bashsiz
|
b57dd39eb7
|
encryption has problem
|
2023-08-13 14:15:53 +02:00 |
|
Morteza Bashsiz
|
c2781b7a4a
|
add more log
|
2023-08-12 20:03:04 +02:00 |
|
Morteza Bashsiz
|
f44636828c
|
on http request get unknown verb on niposerver side
|
2023-08-04 16:12:32 +02:00 |
|
Morteza Bashsiz
|
0a1b8815a7
|
response and request are parsed on agent
|
2023-08-04 15:38:17 +02:00 |
|
Morteza Bashsiz
|
5bbf2b07aa
|
response and request are parsed
|
2023-08-04 14:45:16 +02:00 |
|
Morteza Bashsiz
|
60dfbe5ba5
|
use http parser instead of mine
|
2023-08-04 11:24:32 +02:00 |
|
Morteza Bashsiz
|
26abcb1bf6
|
send request from niposerver to origin with exact method specified by client
|
2023-08-03 16:22:48 +02:00 |
|
Morteza Bashsiz
|
f38cad2d02
|
before starting dynamic send method from niposerver to origin server
|
2023-08-03 15:50:22 +02:00 |
|
Morteza Bashsiz
|
bd0a6ea54e
|
add log to niposerver
|
2023-08-03 12:52:04 +02:00 |
|
Morteza Bashsiz
|
dc54dd1333
|
add log to niposerver
|
2023-08-03 11:32:01 +02:00 |
|
Morteza Bashsiz
|
3481aba1b1
|
add log to niposerver
|
2023-08-03 09:42:40 +02:00 |
|
Morteza Bashsiz
|
52da85958c
|
check if method is connect
|
2023-08-02 20:43:04 +02:00 |
|