summaryrefslogtreecommitdiffstats
path: root/PICA_client.c
Commit message (Collapse)AuthorAgeFilesLines
* bugfix, use address of IP and port instead of valueAnton2019-02-171-2/+2
|
* free EVP_PKEYAnton2019-02-171-0/+1
|
* fixed getting public key from cert, use X509_get_pubkey()Anton2019-02-171-1/+1
|
* pica-client: sending and receiving MULTILOGIN messageAnton2019-02-141-2/+239
|
* pica-client: anont tls for c2c connectionsAnton2019-01-051-7/+81
|
* remove unused PICA_read_socket()Anton2019-01-021-46/+0
|
* pica-client: anon tls for c2n connectionsAnton2019-01-011-78/+104
|
* pica-client: add and initialize anon DH SSL_CTXAnton2018-12-161-8/+25
|
* full peer cert verification for directc2c connections, incoming and outgoingAnton2018-07-291-16/+9
|
* removed excess fprintf()-sAnton2018-07-291-16/+0
|
* moved common peer certificate verification code into new func ↵Anton2018-07-291-31/+39
| | | | verify_peer_cert_common(); added check for min RSA key size
* add header file PICA_security.h to group important security parameters in ↵Anton2018-07-281-1/+6
| | | | one place
* commentsAnton2018-07-201-159/+9
|
* fix arg type in listener_add_connection()Anton2018-07-171-1/+1
|
* add copyrigt and GPL-3.0-or-later license notice to source filesAnton2018-07-171-0/+17
|
* handle unaccessible DH params fileAnton2018-07-161-0/+2
|
* add multilogin policy to protocol and client settingsAnton2018-07-031-3/+5
|
* fixed code style on all source files (*.c *.cpp *.h) using astyle ↵Anton2017-12-011-69/+69
| | | | --style=allman --lineend=linux --indent=tab --pad-oper
* added flag want_write, fixed conditions for adding sockets to write FD set ↵Anton2017-11-121-7/+33
| | | | for select() in order to prevent CPU wasting loops
* fixed removing PICA_directc2c from listener's accepted connections listAnton2017-07-201-1/+4
|
* fixed memory leak in PICA_get_id_from_cert_file()Anton2017-06-261-1/+5
|
* fixed directc2c logic for cases when receiver side does not wait for ↵Anton2017-06-261-13/+9
| | | | incoming direct connection
* new macro PICA_TRACEFUNC to print func name; fixed releasing resources for ↵Anton2017-06-251-13/+57
| | | | failed direct connections
* fixed bugs in directc2c processingAnton2017-06-251-9/+12
|
* fixing directc2c bugs, work in progress... get rid of c2c/c2n _init_messages ↵Anton2017-06-181-37/+43
| | | | arrays; fixed resource release in PICA_new_listener; fixed pointer manipulations in PICA_send_directc2caddrlist
* directc2c, work in progressAnton2017-06-171-20/+71
|
* implementing directc2c processing, work in progressAnton2017-01-101-0/+61
|
* processing directc2c, work in progressAnton2017-01-091-7/+145
|
* implemented PICA_send_directc2cfailed() and PICA_send_directc2c_switch()Anton2016-12-291-2/+20
|
* declared functions for sending DIRECTC2C_FAILED and DIRECTC2C_SWITCH ↵Anton2016-12-281-2/+17
| | | | messages, also for processing received DIRECTC2C_SWITCH
* set verification callback for incoming directc2c TLS connectionAnton2016-12-261-0/+4
|
* implemented find_matching_c2c()Anton2016-12-261-3/+23
|
* implementing process_directc2c(), work in progressAnton2016-12-241-0/+49
|
* setting and handling PICA_DIRECTC2C_STATE_WAITINGINCOMING stateAnton2016-12-241-7/+36
|
* new direct c2c state that is set when outgoing connections to all direct ↵Anton2016-12-051-1/+1
| | | | addresses provided by peer have failed
* implemented starting direct c2c connectionAnton2016-12-051-5/+15
|
* renamed C2CDIRECT to DIRECTC2C everywhereAnton2016-12-051-23/+23
|
* implementing outgoing direct c2c connections and direct c2c-related packets ↵Anton2016-12-041-41/+112
| | | | exchange, work in progress
* renamed PICA_listener_conn to PICA_c2c_direct, use same struct for incoming ↵Anton2016-11-261-8/+8
| | | | and outgoing direct connections
* check if listener is not NULL before processingAnton2016-11-241-12/+18
|
* implemented sending direct c2c address list (single address only yet, to be ↵Anton2016-11-241-0/+29
| | | | improved)
* add listener connections' sockets to fd_set-s in event loopAnton2016-10-261-0/+10
|
* implemented closing listener connectionsAnton2016-10-211-3/+26
|
* processing connections accepted by listener, work in progressAnton2016-10-171-4/+49
|
* listener connection struct and code accepting listener connectionsAnton2016-09-281-1/+44
|
* linked listener processing to c2n structAnton2016-09-251-25/+13
|
* direct c2c packet handlersAnton2016-09-251-2/+30
|
* function declarationsAnton2016-09-231-3/+9
|
* renamed macros, use PICA_C2C_INCOMING instead of 0 magic numberAnton2016-09-231-2/+2
|
* added timeout handling to process_c2c(); removed unused obsolete functionsAnton2016-09-231-132/+5
|