jailbird777
8f0c3422e7
Remove Windows support
2 years ago
Ariadne Conill
81531536aa
Remove ziplinks ( #218 )
2 years ago
Ed Kellett
a6f63a829e
Innovation by sed
2 years ago
Simon Arlott
4f8866f680
ssld: avoid clang static analysis warning
...
Edit by @aaronmdjones: fix for loop initialisation and inner condition
6 years ago
Simon Arlott
209c57fbbf
ssld: avoid clang static analysis warning
...
Don't set `x = 0` twice.
6 years ago
Simon Arlott
f660af2155
ssld: avoid clang static analysis warning
6 years ago
Aaron Jones
1187d61128
ssld: remove unused macros, avoid sign overflow in integer function argument
7 years ago
Aaron Jones
f5960b830b
[sslproc] Use certificate file if key file is not present
7 years ago
Aaron Jones
f831e92603
Fix possible crash when DH parameters are not provided
...
This has ssld calling strlen() on a NULL value
[ci ckip]
7 years ago
Simon Arlott
dc986b5468
sslproc: prefix SPKI certfp types to distinguish them from CERT
7 years ago
Simon Arlott
19d1853f71
ssld: remove init_prng command
...
This is no longer configurable so it's redundant.
7 years ago
Simon Arlott
4fbb736202
ssld: add a callback when the connection is opened
...
This allows us to wait until we have the fingerprint information before
continuing with a server connect process.
7 years ago
Simon Arlott
fbbc6aeb00
ssld: send cipher/certfp before proxying any plaintext traffic
7 years ago
Simon Arlott
cf430c1a40
ssld: Add new certfp_methods spki_sha256 and spki_sha512
...
These operate on the SubjectPublicKeyInfo of the certificate, which does
change unless the private key is changed. This allows the fingerprint to
stay constant even if the certificate is reissued.
(The same fingerprint is also used by DANE)
7 years ago
Simon Arlott
9e98a842e3
ssld: cipher commands don't have any fds
7 years ago
Simon Arlott
5a9fa2e2fa
ssld: certfp change commands don't have any fds
7 years ago
Matt Ullman
909346edb7
ssld: Remove left over function
7 years ago
William Pitcock
de7cf7e009
ircd: client: substantially rework the connid registry system
...
now connid's are allocated on demand and clients may have as many connid's as necessary.
this allows us to build chains of helpers while ensuring the ircd properly tracks and GCs the resources.
7 years ago
Matt Ullman
25a899651d
ssld: Move plain_check_cork() to a boolean
7 years ago
William Pitcock
d35870ee36
ssld: do not shadow openssl-internal symbol "ssl_ok" (yeah, i know)
7 years ago
Elizabeth Myers
503727d1ee
More bool conversions
7 years ago
Elizabeth Myers
1b7a47417b
Remove more $Id tags.
7 years ago
William Pitcock
c83f2f5e12
rename libratbox to librb, since its pretty modified anyway
7 years ago
Elizabeth Myers
4dbb75ee84
Remove some leftover ircd-ratbox references.
7 years ago
William Pitcock
9ea48ec30a
remove presupplied autotools files
7 years ago
Simon Arlott
e9ffc3c153
ssld: provide version in stats S output
7 years ago
William Pitcock
c678fbc08b
ircd: remove broken USE_IODEBUG_HOOKS knob and related code
7 years ago
Simon Arlott
26b83fa09d
ssld: fix format string warnings for statistics
...
Cast the uint64_t format arguments to unsigned long long as
that's what the format string specifies.
7 years ago
William Pitcock
c84003aeb5
ssld: we use uint8_t for IPC buffers, not char
7 years ago
Simon Arlott
7beaee5239
ssld: change_connid may be called with an unknown ID
...
If change_connid is called with an unknown ID, conn will be
NULL, check this with an assert and then respond by reporting
the new ID as closed instead of dereferencing a NULL pointer.
7 years ago
Valerii Iatsko
5203cba5ce
Remove libratbox's snprintf.c, update related ircd code
7 years ago
Valerii Iatsko
84b49742ad
ssld: fix memleak
...
same as r29199 ircd-ratbox:
free zlib_stream_t with the rest of the conn_t
7 years ago
William Pitcock
9e45a5ca19
buildsystem: further cleanup
7 years ago
William Pitcock
f0718c93d5
configure: use correct path for libltdl
7 years ago
William Pitcock
5164a68650
buildsystem: update Makefile.in's
7 years ago
Aaron Jones
d8c4154da2
Fix LTDL conditional, remove some unnecessary and/or ugly configure tests
7 years ago
Aaron Jones
eec2776c6c
Fix some autotools discrepancies, disable SQLite threading code
7 years ago
William Pitcock
2a19fc3f57
general: remove last vestiges of static modules support (this hasn't ever actually worked...)
7 years ago
William Pitcock
c52df12552
buildsystem: convert to automake + libtool
7 years ago
William Pitcock
a5ddb7df2e
ssld: check conn->plain_fd when setting conn->plain_fd type to RB_FD_SOCKET
7 years ago
William Pitcock
c1725bda3c
ssl: allow cipher list to be overridden ( closes #67 )
7 years ago
William Pitcock
94356462c0
ssld: use uint64_t explicitly when we want 64-bit counters
7 years ago
William Pitcock
74ff144d33
ssld: fix a type warning pointed out by clang
7 years ago
William Pitcock
6cd1aca7f1
ssld: take inbuf/outbuf out of global scope, since its unnecessary
7 years ago
William Pitcock
42dbc23943
ssld: enable sending SSL cipher information if available
7 years ago
William Pitcock
408a29c65a
ssld: integrate some cleanups from ratbox 3.1
7 years ago
William Pitcock
c7708a0994
ssld: update for protocol changes
7 years ago
William Pitcock
772c95cc7a
ssld: we only will continue supporting one fingerprint method at a time
7 years ago
Elizabeth Myers
e6bbb41030
Add ability to change CertFP hash.
...
Presently this only supports SHA1, as the machinery to actually change
the cipher is not hooked up to anything yet.
7 years ago
Jail Bird
29c92cf95f
Spring cleaning redux:
...
- Implemented changes suggested by Jilles
- Remove some unused parameters in functions
- Remove some unused ssl procs
- 63-bit time_t support in TS deltas
- const char * vs char * cleanup
- struct alignment (void *) casts
- signed vs unsigned fixes
- bad memset() call
- Bad LT_MAIN in libratbox
- char -> unsigned char casts for isdigit/isspace/etc calls
Thanks Jilles!
8 years ago