summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/transport.c
AgeCommit message (Collapse)Author
2004-08-08spacingTheo de Raadt
2004-08-03Rewrite the transport reference count code to avoid leaks.Hakan Olsson
hshoexer@ ok.
2004-06-21Port floating (500->4500) for p1 and p2 exchanges.Hakan Olsson
2004-06-20NAT-Traversal for isakmpd. Work in progress...Hakan Olsson
hshoexer@ ok.
2004-06-14KNF, style, 80c, etc. hshoexer@ okHakan Olsson
2004-06-09Style nits. hshoexer@ okHakan Olsson
2004-04-15partial move to KNF. More to come. This has happened because thereTheo de Raadt
are a raft of source code auditors who are willing to help improve this code only if this is done, and hey, isakmpd does need our standard auditing process. ok ho hshoexer
2003-12-18Mention the exchange name when giving up on a message. Suggested byHakan Olsson
Michael Coulter.
2003-06-20Be a bit more verbose when we give up on ever seeing a response to theHakan Olsson
last message we sent out. In case we initiated the exchange, one possible and common reason is a network level problem (pf, routing, whatnot), if we're the responder, there is also the possibility we were scanned by something like ike-scan. markus@ ok.
2003-06-10boring cleanupsTheo de Raadt
2003-06-03Remove clauses 3 and 4. With approval from Niklas Hallqvist andHakan Olsson
Niels Provos.
2003-03-14Spelling fixes from david@. jmc@ ok.Hakan Olsson
2002-06-09rm trailing whitespaceTodd T. Fries
2002-06-07Avoid some gcc3 warnings. From David Krause <openbsd@davidkrause.com>Hakan Olsson
2001-10-26Sometimes the daemon will not die promptly on SIGTERM, even thoughHakan Olsson
all DELETE notifications is sent out. Create a prioritized send-queue for the DELETE messages to solve this. Some (C)-2001. niklas@ ok.
2001-10-05Tweak a couple of debug levels.Hakan Olsson
2001-08-23Reinitialize transports on SIGUP.Angelos D. Keromytis
2001-04-09More style fixes...Hakan Olsson
2000-10-10message.c: Merge with EOM 1.156Niklas Hallqvist
message.h: Merge with EOM 1.51 transport.c: Merge with EOM 1.43 author: provos use message_send_expire for timeouts. okay niklas@
2000-10-07Merge with EOM 1.42Niklas Hallqvist
author: provos remove previous timeout if adding a new one
2000-02-25regress/crypto/Makefile: Merge with EOM 1.5Niklas Hallqvist
regress/dh/Makefile: Merge with EOM 1.7 regress/group/Makefile: Merge with EOM 1.9 regress/prf/Makefile: Merge with EOM 1.4 regress/rsakeygen/Makefile: Merge with EOM 1.8 regress/x509/Makefile: Merge with EOM 1.10 Makefile: Merge with EOM 1.62 attribute.c: Merge with EOM 1.10 sa.c: Merge with EOM 1.99 conf.c: Merge with EOM 1.20 crypto.c: Merge with EOM 1.28 isakmpd.c: Merge with EOM 1.45 connection.c: Merge with EOM 1.19 doi.h: Merge with EOM 1.28 field.c: Merge with EOM 1.11 exchange.c: Merge with EOM 1.116 ike_auth.c: Merge with EOM 1.44 pf_key_v2.c: Merge with EOM 1.37 ike_phase_1.c: Merge with EOM 1.22 ipsec.c: Merge with EOM 1.118 isakmp_doi.c: Merge with EOM 1.40 log.c: Merge with EOM 1.26 log.h: Merge with EOM 1.18 math_group.c: Merge with EOM 1.23 message.c: Merge with EOM 1.144 pf_encap.c: Merge with EOM 1.70 policy.c: Merge with EOM 1.18 timer.c: Merge with EOM 1.13 transport.c: Merge with EOM 1.41 udp.c: Merge with EOM 1.47 ui.c: Merge with EOM 1.37 x509.c: Merge with EOM 1.36 author: niklas Made debug logging a compile time selectable feature
1999-05-01sysdep/openbsd/sysdep.c: Merge with EOM 1.7Niklas Hallqvist
DESIGN-NOTES: Merge with EOM 1.42 Makefile: Merge with EOM 1.51 app.c: Merge with EOM 1.6 conf.c: Merge with EOM 1.18 init.c: Merge with EOM 1.14 isakmpd.conf.5: Merge with EOM 1.19 pf_encap.c: Merge with EOM 1.64 pf_encap.h: Merge with EOM 1.12 pf_key_v2.h: Merge with EOM 1.3 sysdep.h: Merge with EOM 1.16 transport.c: Merge with EOM 1.40 ui.c: Merge with EOM 1.32 author: niklas A new connection abstraction
1999-04-30Merge with EOM 1.39Niklas Hallqvist
author: niklas Unused var removed
1999-04-30Merge with EOM 1.38Niklas Hallqvist
author: niklas Careful rewrite of the message sending to cope with exchanges disappearing in post-send functions. author: niklas Try to fix the retransmit business, so info exchanges does not retransmit author: niklas Keep track of messages in the send queue from the exchange point of view.
1999-04-27Merge with EOM 1.35Niklas Hallqvist
author: niklas Do not lose the transport we are handling author: niklas Remove obsolete XXX comment. author: niklas Collapse MSG_NO_RETRANS & MSG_KEEP into MSG_LAST.
1999-04-19./transport.c: Merge with EOM 1.32Niklas Hallqvist
Add LOG_REPORT to always go to logchannel regardless of level; misc small fixes Nitpick: better english Move transport-independent reporting to transport_report instead. Also report the socket fd for UDP transports. A derived transport class is always aligned with the transport superclass, so there is no need to search for the udp_transport that matches a given transport. Add transport_report transport refcnt should start with 0 Garbage collect transports via refcounting. Fix commentary. 1999 copyrights
1999-02-26Merge from the Ericsson repositoryNiklas Hallqvist
| revision 1.25 | date: 1999/02/25 11:39:24; author: niklas; state: Exp; lines: +3 -1 | include sysdep.h everywhere | ---------------------------- | revision 1.24 | date: 1999/02/25 11:09:40; author: niklas; state: Exp; lines: +6 -2 | Make conf_get_num take a default value to give back when tag does not exist | ---------------------------- | revision 1.23 | date: 1999/02/24 12:14:10; author: niklas; state: Exp; lines: +2 -1 | initialize flags, noted by Ilya Tsindlekht | ---------------------------- | revision 1.22 | date: 1999/02/14 00:15:15; author: niklas; state: Exp; lines: +11 -8 | New fd_set API which may clear a bit. Use it for doing proper message | send queue runs, as reported by Ilya Tsindlekht. Better style. | ---------------------------- | revision 1.21 | date: 1999/02/06 15:03:41; author: niklas; state: Exp; lines: +2 -1 | Do not forget to remove message from sendq when freed | ----------------------------
1998-11-17Add RCS Ids from the EOM repositoryNiklas Hallqvist
1998-11-15openBSD RCS IDsNiklas Hallqvist
1998-11-15Initial import of isakmpd, an IKE (ISAKMP/Oakley) implementation for theNiklas Hallqvist
OpenBSD IPSEC stack by me, Niklas Hallqvist and Niels Provos, funded by Ericsson Radio Systems. It is not yet complete or usable in a real scenario but the missing pieces will soon be there. The early commit is for people who wants early access and who are not afraid of looking at source. isakmpd interops with Cisco, Timestep, SSH & Pluto (Linux FreeS/WAN) so far, so it is not that incomplete. It is really mostly configuration that is lacking.