summaryrefslogtreecommitdiff
path: root/src/util
Commit message (Collapse)AuthorAgeFilesLines
* SPDX: Mass-update to GPL-2.0-or-laterJeremy Harris2022-11-2710-10/+17
| | | | | This is based on the text in src/NOTICE which is taken to override text in individual files
* SPDX: license tags (mostly by guesswork)Jeremy Harris2022-11-2710-0/+11
|
* Copyright updates:Jeremy Harris2021-10-231-0/+1
| | | | vi $(git log --name-status exim-4.94..master | awk '/^M/{print $2}' | grep -v '^test/' | sort -u)
* gen_pkcs3: Terminate string before calling BH_hex2bn()Simon Arlott2021-05-271-5/+6
| | | | | | Signed-off-by: Phil Pennock <pdp@exim.org> (cherry picked from commit 1cf66e5872d517b620c308af634e4e26e3547f06) (cherry picked from commit 48d8c54ecf9493c709d4305850877b6062f285a7)
* Better(?!?) fallback for stat: PerlPhil Pennock2018-04-081-3/+6
| | | | | | We use Perl extensively in other scripts. *sigh*
* stat portabilityPhil Pennock2018-04-081-4/+12
| | | | | I forgot how much I loathe basic stuff like "get the size of a file, portably, in shell". Bleh.
* Added util/renew-opendmarc-tlds.sh script to renew PSLPhil Pennock2018-04-081-0/+117
|
* DKIM: document proper Ed25519 key-generation methods; remove helper programJeremy Harris2018-03-263-4805/+0
|
* DKIM: move ed25519_privkey_pem_to_pubkey_raw_b64 to src/util/ and add usage ↵Jeremy Harris2018-03-253-0/+4805
| | | | notes to docs
* Fix broken-in-queue messages predating CHUNKING fixPhil Pennock2017-02-141-0/+160
| | | | | | | | | | | | | | util/chunking_fixqueue_finalnewlines.pl walks the queue, fixing any affected messages; see README.UPDATING. We're extremely cautious about operation failure. We do one check without locking messages, so that we can quickly skip past before trying to lock and contending with an actual delivery. Then we lock and do another fix. Note that we use flock, not fcntl, because that's what Perl makes readily available; we use an OS-guard to barf if the OS is not handled.
* perl paranoia about @INCPhil Pennock2017-02-105-0/+7
|
* 214 spelling fixesJosh Soref2017-01-181-1/+1
|
* DH parameters update, new values & defaultexim-4_88_RC2pdp_new_dhparamPhil Pennock2016-10-082-7/+36
| | | | | | | | | | | | | | | | | | * Add three new Exim-specific DH parameter constants; state provenance, but no way for others to verify; this is a signed commit, which is about as much as we can do for the truly paranoid: provide an audit trail. * Add the RFC 7919 DH primes + No TLS feature negotiation, per 7919, but the DH primes can be used if folks so choose * Fixed broken format string in util/gen_pkcs3.c * Tried to make gen_pkcs3.c support q values. + Turns out, q doesn't affect the PEM and that's not a mistake in my initialisation; I've checked with a cryptographer, we're losing some server-side optimizations but not any security properties for our scenario. Fixes: 1895
* Bug 1394: PPv2 header modifedTodd Lyons2014-05-131-3/+3
| | | | | | | The HAProxy dev team adjusted the layout of the 16 byte header to allow it to be used for SSL connections. Had to adjust PPv2 handling code and perl proxy emulation script. Added link to this HAProxy commit in the documentation.
* Fix Proxy Protocol v2 handlingTodd Lyons2014-04-191-0/+250
| | | | | | | | | | | | | Change recv() to not use MSGPEEK and eliminated flush_input(). Add proxy_target_address/port expansions. Convert ipv6 decoding to memmove(). Use sizeof() for variable sizing. Correct struct member access. Enhance debug output when passed invalid command/family. Add to and enhance documentation. Client script to test Proxy Protocol, interactive on STDIN/STDOUT, so can be chained (ie a swaks pipe), useful for any service, not just Exim and/or smtp.
* Typo re-fix in ratelimit.pl docTodd Lyons2013-09-301-1/+1
|
* small typobes-internal2013-09-281-1/+1
|
* ratelimit.pl: format usage section, print debug to STDERR, add examplesbes-internal2013-09-281-37/+59
|
* Add notes and helper-script for OCSPJeremy Harris2013-06-301-0/+83
|
* gen_pkcs3: add comment explaining rationalePhil Pennock2012-12-231-0/+10
| | | | | | | Wondering why you wrote some code and having to grep the source code to find out, in the same year that you wrote it, is generally a sign of missing information. Fixed.
* For DH, use standard primes from RFCsPhil Pennock2012-05-271-0/+229
|
* Remove obsolete $Cambridge$ CVS revision strings.Tony Finch2011-06-296-8/+0
| | | | | I have also de-CVSed the ABOUT files and cleaned up a few introductory comments.
* Fix typo in usage: seond -> secondTony Finch2006-04-121-3/+3
|
* Fix the handling of reverse time in the ratelimit code.Tony Finch2005-09-131-2/+2
|
* Add util/ratelimit.pl to assist with choosing ratelimit settings.Tony Finch2005-09-132-1/+145
|
* (1) a new wish (2) minor tweaks to dbmbuild and cramtest when setting upPhilip Hazel2005-08-301-11/+11
| | | | new tests.
* Put DPC's mkcdb script (with tabs removed) into the util directory, andPhilip Hazel2005-05-242-0/+128
| | | | also created a README file for that directory.
* StartPhilip Hazel2004-10-073-0/+119