summaryrefslogtreecommitdiffstats
path: root/PICA_node.c
Commit message (Collapse)AuthorAgeFilesLines
* Build against OpenSSL 4.0: replace TLSv1_2_method()Anton2026-08-241-0/+18
| | | | | | | | | | | | | | | | | | | | | TLSv1_2_method() was deprecated in OpenSSL 1.1.0 and is gone from 4.0, which is what MXE now builds, so the Windows cross build failed to link it. The replacement is TLS_method() plus an explicit version range. Pinning both ends of that range to 1.2 is not tidiness, it is what keeps the protocol where it was: PICA_TLS_CIPHERLIST and PICA_TLS_ANONDHCIPHERLIST both name TLS 1.2 suites, TLS 1.3 has no anonymous key exchange at all, and SSL_CTX_set_cipher_list() has no say over which 1.3 suites get used. Letting 1.3 be negotiated would quietly ignore the first list and leave the second with nothing to offer. The range lives in PICA_security.h with the other security parameters, so raising it later is a deliberate edit in one place rather than a side effect. Also carries a PICA_TIMETOLERANCE define that was already in the tree. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CBqDgvq3Ty6C6BjLFH16bw
* pica-client: UDP transport for callsAnton2026-08-191-0/+4
|
* Fix various issues detected by ClaudeAnton2026-08-191-20/+25
|
* pica-node: fix c2c packet processing issuesAnton2026-08-121-62/+83
|
* pica-node: fix bug in client tree node removalAnton2026-04-301-0/+5
|
* fix license texts displayed by pica-node and pica-client in runtimeAnton2019-11-131-1/+1
|
* changed license from GPL-3.0-or-later to GPL-3.0-onlyAnton2019-11-131-2/+1
|
* append @SECLEVEL=0 to the anon cipherlist string when building with OpenSSL ↵Anton2019-06-041-0/+4
| | | | >= 1.1.0, ADH ciphers are disabled by default in OpenSSL 1.1.0 branch
* pica-node: remove events before closing socket, n2n and newconnAnton2019-04-061-15/+15
|
* pica-node: print client tree as a debug level 2 messageAnton2019-03-151-2/+2
|
* pica-node: set default paths relative to current directory on Windows. Set ↵Anton2019-03-151-5/+11
| | | | current directory to executable directory when running as a service
* pica-node: implement cleaning inactive nodesAnton2019-03-151-0/+12
|
* pica-node: remove events before closing c2c sockets, not after, fixes ↵Anton2019-03-131-14/+15
| | | | libevent warnings
* pica-node: moved to libevent usage instead of select()Anton2019-03-131-635/+625
|
* pica-node: fix size type in multilogin procmsgAnton2019-03-121-2/+2
|
* pica-node: fix compile errorAnton2019-03-111-1/+1
|
* pica-node: do not set socket option SO_REUSEADDR on windowsAnton2019-03-101-2/+2
|
* pica-node: running as a windows serviceAnton2019-03-101-2/+132
|
* pica-node: fix socket comparisons, SOCKET type is unsigned on WindowsAnton2019-03-091-10/+16
|
* fix mingw-w64 cross-compile issuesAnton2019-03-081-0/+5
|
* pica-node: add log info message on startup with version, pid, protocol versionAnton2019-03-071-0/+8
|
* pica-node: fix leak of SSL structs on transition from anon to authenticated ↵Anton2019-03-051-0/+2
| | | | c2n and c2c
* pica-node: fix free of anonssl handle, there was memory leak in timed out ↵Anton2019-02-261-8/+9
| | | | newconn-s
* pica-node: bugfix, update "up" pointer in client_tree_replace_multi(), ↵Anton2019-02-261-1/+14
| | | | prevent memory leak; improved client_tree_print()
* pica-node: bugfix, clear client/cclink pointer in newconn_free()Anton2019-02-241-0/+1
|
* pica-node: bugfix, update next_multi pointer when secondary client is removedAnton2019-02-221-1/+18
|
* pica-node: bugfix, process PICA_CLSTATE_MULTILOGIN_SECONDARY in ↵Anton2019-02-221-0/+1
| | | | process_c2n_write()
* pica-node: processing MULTILOGIN messagesAnton2019-02-211-11/+227
|
* pica-node: declare functions, fix compiler warningsAnton2019-02-191-0/+2
|
* pica-node: bugfix, function has void return typeAnton2019-02-191-2/+2
|
* pica-node: ignore SIGPIPEAnton2019-01-071-1/+5
|
* pica-node: improved debug messages, print what type of connection is closedAnton2018-12-141-4/+6
|
* pica-node: implemented anon DH TLS connection stage, reworked newconnsAnton2018-12-141-104/+419
|
* add header file PICA_security.h to group important security parameters in ↵Anton2018-07-281-0/+6
| | | | one place
* commentsAnton2018-07-201-40/+7
|
* add copyrigt and GPL-3.0-or-later license notice to source filesAnton2018-07-171-0/+17
|
* updated copyright noticesAnton2018-07-161-1/+4
|
* fixed return valueAnton2018-07-151-1/+1
|
* pica-node: check interfaces with global IP's first in autoconfigure mode, ↵Anton2017-12-291-9/+25
| | | | before trying UPnP
* autoconfigure mode for announced_addr setting, updated default config file; ↵Anton2017-12-281-0/+17
| | | | UPNP autoconfiguration is implemented, enumerating network interfaces having global IP is left to be done
* moved PICA_is_reserved_addr_ipv4() to new file PICA_netconf.cAnton2017-12-021-0/+1
|
* fixed code style on all source files (*.c *.cpp *.h) using astyle ↵Anton2017-12-011-710/+710
| | | | --style=allman --lineend=linux --indent=tab --pad-oper
* Merge branch 'direct_c2c_connections'Anton2017-12-011-999/+1021
|\
| * removed excess memcmp() callsAnton2017-11-121-4/+10
| |
| * reject all-zeroes IDAnton2017-11-121-5/+12
| |
| * bugfix, prevent removing entry from client_tree by duplicate connectionAnton2017-11-121-0/+1
| |
| * use pseudorandom bytes in short fixed-length protocol messages instead of ↵Anton2016-06-241-6/+6
| | | | | | | | random in order to not drain entropy pool
| * fixed code style using "astyle --style=allman --lineend=linux --indent=tab ↵Anton2016-04-071-1709/+1717
| | | | | | | | --pad-oper *.c *.h"
| * more consistent naming, renamed conn -> c2n, channel -> c2c in function ↵Anton2015-04-111-2/+2
| | | | | | | | names and enumerations
* | updated copyright yearsAnton2016-03-031-1/+1
| |