summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/udp.c
AgeCommit message (Collapse)Author
2002-01-03str[n]{cpy,cat} -> strl{cpy,cat}, sprintf -> snprintfHakan Olsson
2001-10-26Change to use sysdep_sa_len() function.Hakan Olsson
2001-10-09Print correct portnr in warning msg.Hakan Olsson
2001-08-25StyleNiklas Hallqvist
2001-08-23Make the wildcard address use SO_REUSEPORT, so multiple instances ofAngelos D. Keromytis
isakmpd can run on the same machine and reuse the wildcard address. This is intended mostly for debugging and testing purposes, so multiple listener issues are not relevant.
2001-08-23Reinitialize transports on SIGUP.Angelos D. Keromytis
2001-08-13use getifaddrs(3) rather than SIOCGIFCONF. in fact, if_map() does not doJun-ichiro itojun Hagino
the right thing on certain set of interface addresses. SIOCGIFCONF is the worst possible ioctl API...
2001-08-12Don't coredump if the kernel doesn't support IPv6.Angelos D. Keromytis
2001-08-11Check socket >= 0. We should also be going through the list of clonedAngelos D. Keromytis
transports and invalidating (somehow) those whose socket should not be used.
2001-08-11When a message is received on the wildcard (default) transport,Angelos D. Keromytis
re-examine the interface list; new addresses are bound to, and sockets to deleted addresses are closed. This only occurs if the Listen-to directive in isakmpd.conf is *not* used.
2001-07-06Style.Hakan Olsson
2001-07-05Add prototypes and some other various cleanup.Hakan Olsson
2001-07-03Slightly more verbose error messages.Hakan Olsson
2001-07-01strtol strictness. Style. Do not use dst end on an unconnected socket.Niklas Hallqvist
This should fix the IPv6 work for this round, There has been code by ho@ too in most my recent commits, we did this on Boston Logan airport, on our way home from !c2k1, the OpenBSD hackathon.
2001-07-01Pass the right arguments to getnameinfo()Angelos D. Keromytis
2001-07-01Fix remote_negotiation_address attribute; fix sockaddr2text() returnAngelos D. Keromytis
value when zero-filling; log_error()->log_print() consistently.
2001-06-29Fix address byte ordering issue, ho@ okAngelos D. Keromytis
2001-06-29Removing a debugging printout...Hakan Olsson
2001-06-29setsockopt flags needs to be IPv6 awareHakan Olsson
2001-06-29Set the port *before* the comparison.Angelos D. Keromytis
2001-06-29LOG_DBG in hash_get, and if sysdep_cleartext() fails bail out ofAngelos D. Keromytis
initializing socket.
2001-06-29Create an IPv6 default transportNiklas Hallqvist
2001-06-29IPv6 support, by niklas@ and me.Hakan Olsson
2001-06-29Change get_src/get_dst API as we get the length with sa_len.Hakan Olsson
2001-06-07Print the right port on error message.Angelos D. Keromytis
2001-04-09More style fixes...Hakan Olsson
2001-03-06Don't use the source for both sides!Angelos D. Keromytis
2001-01-27(c) 2001Niklas Hallqvist
2001-01-26Pedantic style policeNiklas Hallqvist
2001-01-26Merge with EOM 1.57Niklas Hallqvist
author: niklas Remove unused constant
2000-11-23Merge with EOM 1.56Niklas Hallqvist
author: niklas style nits author: angelos Print and use correct port when looking at listening sockets. Don't setup unnecessary flows on the receiver side. author: angelos Careful on the type used by inet_ntoa() author: niklas byte ordering
2000-10-16Merge with EOM 1.52Niklas Hallqvist
author: niklas ifdef HAVE_GETNAMINFO author: angelos That comment doesn't justify an XXX mark :-)
2000-08-03udp.c: Merge with EOM 1.50Niklas Hallqvist
transport.h: Merge with EOM 1.16 author: provos provide transport dependent ID decoding; hope indentation is right now ;)
2000-04-07Merge with EOM 1.49Niklas Hallqvist
author: ho Missing #ifndef linux
2000-03-08Merge with EOM 1.48Niklas Hallqvist
author: ho Do not crash if user forgot address field.
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
2000-02-01apps/certpatch/certpatch.8: Merge with EOM 1.4Niklas Hallqvist
apps/certpatch/certpatch.c: Merge with EOM 1.6 exchange.c: Merge with EOM 1.114 ike_quick_mode.c: Merge with EOM 1.110 ike_phase_1.c: Merge with EOM 1.16 ike_auth.c: Merge with EOM 1.41 ike_aggressive.c: Merge with EOM 1.4 libcrypto.c: Merge with EOM 1.10 libcrypto.h: Merge with EOM 1.10 isakmpd.8: Merge with EOM 1.19 isakmpd.c: Merge with EOM 1.42 ipsec.h: Merge with EOM 1.40 init.c: Merge with EOM 1.22 message.c: Merge with EOM 1.143 message.h: Merge with EOM 1.49 sa.c: Merge with EOM 1.98 sa.h: Merge with EOM 1.54 policy.c: Merge with EOM 1.14 pf_key_v2.c: Merge with EOM 1.36 x509.c: Merge with EOM 1.32 x509.h: Merge with EOM 1.9 udp.c: Merge with EOM 1.46 author: niklas Angelos copyrights
2000-01-26Merge with EOM 1.45Niklas Hallqvist
date: 2000/01/25 06:51:20; author: angelos; state: Exp; lines: +2 -3 Unneeded variable. date: 2000/01/25 06:50:51; author: angelos; state: Exp; lines: +1 -27 Didn't realize there was a sysdep_cleartext() for setting the BYPASS flags for socket security levels. Remove reduntant setsockopt() code. date: 2000/01/11 04:47:41; author: angelos; state: Exp; lines: +30 -4 Set IPSEC_LEVEL_BYPASS on all our sockets, so IKE packets don't accidentally get encrypted.
1999-10-01Merge with EOM 1.42Niklas Hallqvist
author: niklas Do not consider down interfaces or ones with bad addresses
1999-06-05Merge with EOM 1.41, RCSIdsNiklas Hallqvist
1999-06-05Use the Listen-on address as local address if Local-addressNiklas Hallqvist
not given, but Listen-on is.
1999-04-30Merge with EOM 1.40Niklas Hallqvist
author: niklas inet_ntoa returns a static, do not call twice in an expression
1999-04-27Merge with EOM 1.39Niklas Hallqvist
author: niklas reference transport when doing listen sockets. Style + remove old comment
1999-04-19./udp.c: Merge with EOM 1.38Niklas Hallqvist
Add LOG_REPORT to always go to logchannel regardless of level; misc small fixes 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 udp_report for transport_report Garbage collect transports via refcounting. Fix commentary.
1999-04-05Merge with EOM 1.34Niklas Hallqvist
Mem leak plugging. 1999 copyrights
1999-03-31Merge with EOM 1.32Niklas Hallqvist
Implement Local-address binding
1999-03-02if.c: Merge with EOM 1.8Niklas Hallqvist
Deal with old socket APIs udp.c: Merge with EOM 1.31 Deal with old socket APIs message.c: Merge with EOM 1.107 Remove unnecessary system dependent include
1999-02-26Merge from the Ericsson repositoryNiklas Hallqvist
| revision 1.30 | date: 1999/02/25 11:39:25; author: niklas; state: Exp; lines: +3 -1 | include sysdep.h everywhere | ---------------------------- | revision 1.29 | date: 1999/02/24 15:45:38; author: niklas; state: Exp; lines: +17 -5 | Use correct socket options for sharing of ports | ---------------------------- | revision 1.28 | date: 1999/02/24 12:17:02; author: niklas; state: Exp; lines: +2 -3 | Set extra transport flags after initialization | ---------------------------- | revision 1.27 | date: 1999/02/14 00:16:07; author: niklas; state: Exp; lines: +51 -8 | New fd_set API. Listen on chosen interfaces only. | ---------------------------- | revision 1.26 | date: 1999/01/31 01:23:22; author: niklas; state: Exp; lines: +3 -1 | commentary | ----------------------------
1998-12-22Generalize udp port decoding. Remove unneeded decls.Niklas Hallqvist
1998-12-22Remove obsolete connection code. Use strtol instead of atoiNiklas Hallqvist