Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unnused af argument from unmask(), sync with pfctl | 2018-09-07 | 1 | -5/+4 | |
| | | | | | | Noted by jca, thanks. OK jca claudio | ||||
* | Support collapsing flow outputs. | 2017-11-20 | 1 | -8/+196 | |
| | | | | | | Makes it easier to check live status of complex setups. ok hshoexer@ | ||||
* | Rename all SA groups to bundles consistently. The first kernel | 2017-04-19 | 1 | -8/+8 | |
| | | | | | | | commit in 2000 that introduced the features already called them SA bundles. The word group is taken by Diffie-Hellman, reusing it causes confusion. OK hshoexer@ | ||||
* | Now that the kernel provides information about IPsec SA bundles, | 2017-03-02 | 1 | -4/+1 | |
| | | | | | print them by default. OK hshoexer@ | ||||
* | Remove NULL-checks before free(). ok tb@ | 2015-12-10 | 1 | -31/+16 | |
| | |||||
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where | 2015-01-16 | 1 | -2/+1 | |
| | | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | ||||
* | Yet more #include de-duplication. | 2014-11-20 | 1 | -2/+1 | |
| | | | | ok deraadt@ tedu@ | ||||
* | don't output "esn" string in the rule section as we can't use the | 2012-07-05 | 1 | -3/+1 | |
| | | | | | | | keyword in the grammar to create a esn-enabled rule (no reason to do so for manual sa configuration). instead decode sa flags so that we can also watch changes happening in the realtime with the monitor mode. prompted and ok by naddy | ||||
* | Print esn flag when dumping SAs with ESN enabled | 2012-06-29 | 1 | -2/+4 | |
| | |||||
* | - put -i in the right place | 2011-11-08 | 1 | -2/+2 | |
| | | | | - prevent an erroneous space in the formatting of -D | ||||
* | allow the path to isakmpd's fifo to be specified (aka changed) on the | 2011-11-08 | 1 | -4/+10 | |
| | | | | command line, ok mikeb sthen | ||||
* | A warning text in ipsecctl was used twice. Make the messages unique | 2009-01-27 | 1 | -2/+2 | |
| | | | | | | for easier debugging. ok grunk@, hshoexer@, todd@ | ||||
* | Add support to isakmpd(8) and ipsecctl(8) to install SA's with a | 2009-01-20 | 1 | -1/+3 | |
| | | | | | | | | different source network than we have negotiated with a peer. This enables us to do nat/binat on the enc(4) interface. Very useful to work around rfc 1918 collisions. Manpage and testing by Mitja Muzenic. Thanks! OK hshoexer@, markus@. "I like it" todd@ | ||||
* | Free the rules in the rule_queue also if ipsecctl is called with | 2008-07-21 | 1 | -7/+13 | |
| | | | | | | the -n switch. This triggers malloc related bugs during the regress tests. ok hshoexer | ||||
* | Isakmpd acquire mode did not work with a config generated from | 2008-07-01 | 1 | -1/+3 | |
| | | | | | | | | | | | | | ipsec.conf. The config created by isakmpd dynamically was different from the config that ipsecctl generated out of ipsec.conf. Both config formats are changed so that they match. One needs a passive ike line and a require flow line with the same parameters in the ipsec.conf. Then the acquire message generated by the kernel will trigger isakmpd to generate a config that matches the one that ipsecctl generated from the ike line. ok hshoexer, 'sounds good' todd | ||||
* | in all these programs using the same pfctl-derived parse.y, re-unify the | 2007-10-13 | 1 | -20/+2 | |
| | | | | | | | | yylex implementation and the code which interacts with yylex. this also brings the future potential for include support to all of the parsers. in the future please do not silly modifications to one of these files without checking if you are de-unifying the code. checked by developers in all these areas. | ||||
* | no need to include both sys/types.h and params.h | 2007-08-21 | 1 | -2/+1 | |
| | |||||
* | do not display empty authkey/enckey line when -k option is not | 2007-02-19 | 1 | -3/+3 | |
| | | | | | | specified. ok markus@ | ||||
* | add -k to usage(); | 2007-01-10 | 1 | -2/+2 | |
| | |||||
* | do not print secret keys by default, -k restores old behaviour; ok hshoexer | 2007-01-03 | 1 | -2/+8 | |
| | |||||
* | handle multiple SAs with different same src/dst but different port; | 2006-11-30 | 1 | -1/+7 | |
| | | | | | | store IKE connection string and phase2 IDs in the ipsec rule; cleanup internal API: pass rules around instead of rule members; report Brian Candler; fix with hshoexer, msf; ok hshoexer | ||||
* | When using -vv, also show grouped SAs. | 2006-11-10 | 1 | -1/+19 | |
| | |||||
* | KNF unrelated to previous commit. | 2006-11-01 | 1 | -2/+2 | |
| | |||||
* | Add support for aggressive mode (from the k2k6 IPsec hackathon). | 2006-11-01 | 1 | -9/+9 | |
| | | | | ok hshoexer | ||||
* | sort SAs by spi; ok hshoexer | 2006-09-19 | 1 | -4/+39 | |
| | |||||
* | Security Association Database is abbreviated 'SAD' (RFC 2401 et al), not 'SADB'. jmc@, hshoexer@ ok. | 2006-08-31 | 1 | -3/+3 | |
| | |||||
* | fix usage, make synopsis more pretty. noticed by david@ | 2006-06-08 | 1 | -2/+2 | |
| | |||||
* | exit(2) when loading of rules did work partially. ok markus@ | 2006-06-02 | 1 | -7/+11 | |
| | |||||
* | add trailing \ when printing multiple lines for an SA, this way | 2006-06-02 | 1 | -3/+3 | |
| | | | | the output of ispecctl matches its input | ||||
* | allow to specify phase 1 and 2 lifetimes. Right now, these values | 2006-06-02 | 1 | -1/+9 | |
| | | | | can only be set globally (ie. Default-phase-[12]-lifetime). | ||||
* | Support flows with port modifiers for proto tcp/udp, e.g. | 2006-06-01 | 1 | -1/+23 | |
| | | | | | | flow proto udp from 1.2.3.4 port ntp to 5.6.7.8 ok hshoexer@ msf@ | ||||
* | more to free, needed for SA grouping. | 2006-06-01 | 1 | -7/+13 | |
| | |||||
* | convert pfkey to ipsec_rule and use ipsecctl_print_rule() when dumping | 2006-06-01 | 1 | -2/+1 | |
| | | | | | the in-kernel SAs. this way we produce the same output as rule loading ok hshoexer | ||||
* | Prepare for SA grouping. | 2006-06-01 | 1 | -1/+2 | |
| | |||||
* | correct error messages to match calloc where appropriate | 2006-06-01 | 1 | -2/+2 | |
| | | | | ok hshoexer@ | ||||
* | rename list link for ipsec_rule structures from "entries" to "rule_entry". | 2006-06-01 | 1 | -4/+4 | |
| | |||||
* | implement monitor mode for ipsecctl. worked on with markus@ | 2006-05-30 | 1 | -2/+17 | |
| | | | | ok hshoexer@ | ||||
* | add ipsecctl_free_rule() for cleaning up rules. | 2006-05-29 | 1 | -39/+45 | |
| | |||||
* | wenn dumping rules always show type, srcid and dstid (if set). | 2006-03-31 | 1 | -12/+9 | |
| | | | | ok reyk@ | ||||
* | allow specification of encapsulated protocol for flows; ok hshoexer | 2006-03-31 | 1 | -8/+25 | |
| | |||||
* | allow specification of outer local ips in flows (SADB_EXT_ADDRESS_SRC); ok hshoexer, reyk | 2006-03-30 | 1 | -1/+13 | |
| | |||||
* | add support for macros in ipsec.conf(5). some bits have already been | 2006-03-22 | 1 | -4/+9 | |
| | | | | | | | there. requested by david@ ok hshoexer@, msf@ | ||||
* | noted by lint: include <string.h> instead of <strings.h>, add tow ARGSUSED1 | 2006-02-01 | 1 | -2/+4 | |
| | |||||
* | wrap long lines (no binary change) | 2006-01-17 | 1 | -2/+3 | |
| | |||||
* | add support for pre-shared keys with "ike esp" using the new keyword | 2006-01-16 | 1 | -1/+6 | |
| | | | | | | "psk". rsa-sig is recommended and will still be used by default. ok hshoexer@, manpage ok jmc@ | ||||
* | more appropriate error messages; ok hshoexer | 2005-12-06 | 1 | -3/+7 | |
| | |||||
* | ipip support: ip-in-ip w/o gif(4); ok hshoexer | 2005-12-06 | 1 | -3/+3 | |
| | |||||
* | do not choke and dump core when printing bypass flows. noticed by jacob | 2005-12-01 | 1 | -5/+9 | |
| | | | | schlyter. Thanks! | ||||
* | handle that pfkey_ipsec_flush() can fail. | 2005-11-30 | 1 | -2/+3 | |
| | |||||
* | Fix memory leaks. From Andrey Matveev <evol at online dot ptt dot ru>, | 2005-11-21 | 1 | -1/+5 | |
| | | | | thanks! |