summaryrefslogtreecommitdiff
path: root/sbin/iked/util.c
AgeCommit message (Expand)Author
2018-06-22Use __func__ in log_debug calls.rob
2017-12-13getsockname(2) needs to be passed the length of the input struct.Patrick Wildt
2017-11-29Print_host is used mainly in printf style functions. So do not return NULLClaudio Jeker
2017-01-09Stop accessing verbose and debug variables from log.c directly.Reyk Floeter
2016-09-26Pass the flags argument of recvfromto down to the underlying recvmsgJeremie Courreges-Anglas
2016-09-04Now that we have IP_SENDSRCADDR, add sendtofrom().Vincent Gross
2015-11-23Replace socket_set_blockmode() and fcntl(fd, F_SETFL, O_NONBLOCK) callsReyk Floeter
2015-11-21Move local logging functions to util.c (which is shared with ikectl),Reyk Floeter
2015-11-19Simplify all instances of get_string() and get_data() using malloc() andmmcc
2015-08-21Switch iked to C99-style fixed-width integer types.Reyk Floeter
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-02-21support rekeying for IPCOMP; ok mikeb@Markus Friedl
2014-02-14initial support for IPCompMarkus Friedl
2013-12-03never cast to sockaddr_storage, always cast to the abstract 'class' sockaddrMarkus Friedl
2013-11-28include hexdump in debug output only for -vvv; ok mikeb@Markus Friedl
2013-11-22Whole bunch of (unsigned char) casts carefully added for ctype calls.Theo de Raadt
2013-11-21Make the bit string u_char * in print_bits(). In practice weTodd C. Miller
2013-10-24no need for netinet/ip_var.h (and friends)Theo de Raadt
2013-01-08Remove private CVS tag from an obsolete repository and bump copyrightReyk Floeter
2012-12-04remove some unnecessary sys/param.h inclusionsTheo de Raadt
2012-09-18update email addresses to match reality.Reyk Floeter
2012-05-08When setting up NAT-T notify payloads, make sure to supply anMike Belopuhov
2012-03-24fix some leaksJonathan Gray
2011-05-27spacingReyk Floeter
2011-01-21Reimplement the iked(8) policy evaluation for incoming connections toReyk Floeter
2011-01-17move mask2prefixlen functions to the util module; ok reykMike Belopuhov
2010-12-22move and rename util.c:print_id() to ikev2.c:ikev2_print_id() becauseReyk Floeter
2010-12-22split util.c into two files: imsg_util.c for ibuf/imsg stuff and util forReyk Floeter
2010-12-01Clarify the internal ibuf API: rename ibuf_copy() to ibuf_get() becauseReyk Floeter
2010-06-29add code to lookup the RSA public keys in /etc/iked/pubkeys/ as anReyk Floeter
2010-06-27cycle static buffers in print_bits()Reyk Floeter
2010-06-26Include the Id type in the generated SA tag that is passed to theReyk Floeter
2010-06-14restructure code a bit to move closer to initiator mode:Reyk Floeter
2010-06-14cleanup messages and parsed information correctlyReyk Floeter
2010-06-10small fix for sockaddr_cmp()Reyk Floeter
2010-06-03Import iked, a new implementation of the IKEv2 protocol.Reyk Floeter