summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/exchange.c
AgeCommit message (Collapse)Author
2004-02-16check for isakmp_sa->transport != NULL; noticed by bluhm at genua.de ok ↵Markus Friedl
hshoexer@
2004-02-05small logging cleanup and improvement requested by markusHans-Joerg Hoexer
ok ho@ markus@
2004-01-16Added -v option. Enables logging of successful exchange completion.Hans-Joerg Hoexer
ok ho@
2003-11-06Style nits.Hakan Olsson
2003-11-06Require encrypted messages are soon as we have the keystate for it.Hakan Olsson
Require DELETE payloads to be accompanied by HASHes, and add validation for HASH payloads without active exchanges. From Hans-Joerg Hoexer with various modifications and suggestions from me and markus@. Ok markus@.
2003-10-14constant_lookup() to constant_name() cleanup. markus@ ok.Hakan Olsson
2003-09-25Fix one case of set length before realloc. Fix another case ofChad Loder
foo = realloc(foo...) and avoid possible memory leaks. Avoid leaving things pointing to freed memory on failure.
2003-08-08Be more careful when using constant_lookup() in messages. Pointed out byHakan Olsson
Jean-Francois Dive, although I opted for a slightly different patch.
2003-06-15ID copying should happen earlier in exchange_finalize so that we won't loseHakan Olsson
data during rekeying. From Jean-Francois Dive.
2003-06-10boring cleanupsTheo de Raadt
2003-06-04Remove the rest of clauses 3 and 4. Approved by Niklas Hallqvist, AngelosHakan Olsson
D. Keromytis and Niels Provos.
2003-06-03Cleanup. Use 'sizeof variable' instead of magic constants.Hakan Olsson
2003-05-15Cleanup. Do not store the private key in either the exchange or sa structs.Hakan Olsson
2003-03-06Bad cut'n'paste msg plus style fixes.Hakan Olsson
2003-02-26IPsec is written ``IPsec'', not ``IPSec''.David Krause
ok ho@
2003-01-09Add some #ifdef USE_ISAKMP_CFG, no need to compile in code that willHakan Olsson
never be used.
2003-01-09Enable SET/ACK (ike-mode-cfg) when acting as responder. From TomasHakan Olsson
Walpuski.
2002-11-21-Wshadow nits.Hakan Olsson
2002-11-15Missing "Configuration" tag in a Phase-1 peer was not handled correctly,Hakan Olsson
pointed out by Aref Taidi. Replace this with a "Default-Phase-1-Configuration" that will be used if this tag is missing from the peer. Update manpage accordingly. niklas@ ok.
2002-11-08I missed a 'return' statement. Also spotted by Aref Taidi. Thanks.Hakan Olsson
2002-11-06More careful will alloc/free. Spotted by Aref Taidi.Hakan Olsson
2002-09-11signed vs unsigned, some void * arithmetic, from -pedantic. niklas@ ok.Hakan Olsson
2002-09-05Without IDs wait until next step/retry to handle CERTREQs. This shouldHakan Olsson
make certificate auth work better with some clients, such as SSH Sentinel.
2002-09-05Do not create SAs for transaction exchanges either. By niklas@Hakan Olsson
2002-06-10The dlopen() stuff goes away.Hakan Olsson
2002-06-07Start for support of IKECFG in SET/ACK mode. Server side only so far.Hakan Olsson
2002-06-01size_t must be cast to (unsigned long) and printed using %luTheo de Raadt
2002-01-23snprintf, and only dump exchange data if USE_DEBUG is definedHakan Olsson
2002-01-03str[n]{cpy,cat} -> strl{cpy,cat}, sprintf -> snprintfHakan Olsson
2001-08-25StyleNiklas Hallqvist
2001-08-22Need an extra sa_release() when de-allocating exchange-associated SAs;Angelos D. Keromytis
thus, failed exchanges/negotiations don't leak SAs and transports. ok niklas@
2001-08-15Some more style...Hakan Olsson
2001-08-11Fix keynote credential case again.Angelos D. Keromytis
2001-07-05Add prototypes and some other various cleanup.Hakan Olsson
2001-07-03strlcpy->strncpy for nowMarkus Friedl
2001-07-01StyleNiklas Hallqvist
2001-07-01Remove inaccurate "Assumes IPv4" comments.Angelos D. Keromytis
2001-06-29oopsNiklas Hallqvist
2001-06-29more AF-independenceNiklas Hallqvist
2001-06-29Change get_src/get_dst API as we get the length with sa_len.Hakan Olsson
2001-06-27Keep track of the ACQUIRE sequence number, and pass it to the kernelAngelos D. Keromytis
along with the ADD message.
2001-06-05Style.Angelos D. Keromytis
2001-06-05Style issues and commentaryNiklas Hallqvist
2001-06-05Dynamically allocate conn, as this is given to the exchange; cleanupAngelos D. Keromytis
conf space on failure to establish dynamic SA. ok niklas@
2001-05-31Copy the new information from the exchange to the sa at the end of theAngelos D. Keromytis
exchange, and generalize certificate copying by taking advantage of the new routines in the cert handler.
2001-05-05Add comment about finalize routine processing.Angelos D. Keromytis
2001-04-24Correct SA refcounting. Fixes a bug where isakmpd could die when a peer wasNiklas Hallqvist
discovered to have rebooted, and old now invalid SAs had to be garbage- collected.
2001-04-09More style fixes...Hakan Olsson
2001-04-08log_print, not log_errorHakan Olsson
2001-03-28Take into consideration the IDs when determining whether two Phase 1Angelos D. Keromytis
SAs match.