Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | make it possble to use IPsec over link-local address (policy table uses | 2004-06-21 | 1 | -1/+3 | ||
| | | | | sin6_scope_id, IPsec porion uses embedded form). beck ok | |||||
* | pass esp/ah/ipcmp to rawip if processing is disabled with sysctl; | 2004-04-18 | 1 | -5/+3 | ||
| | | | | allows userland ipsec; tested by sturm@; ok deraadt@, ho@, hshoexer@ | |||||
* | switch to sysctl_int_arr(); ok henning, deraadt | 2004-02-17 | 1 | -41/+20 | ||
| | ||||||
* | UDP encapsulation for ESP in transport mode (draft-ietf-ipsec-udp-encaps-XX.txt) | 2003-12-02 | 1 | -10/+22 | ||
| | | | | ok deraadt@ | |||||
* | allow gif(4) over ipsec: mark mbuf for transport mode SA, | 2003-07-28 | 1 | -1/+4 | ||
| | | | | | | so in_gif_input can detect whether a proto 4 header is due to ipsec tunnel mode or gif(4) encapsulation; fixes pr 3023 ok itojun@. provos@ and angelos@ agree; tested by sturm@ | |||||
* | update ip_len to reflect tunnel header removal (lost duing ip_len | 2003-07-24 | 1 | -1/+2 | ||
| | | | | flip changes); ok itojun; noticed by jrrs@ice-nine.org | |||||
* | do not flip ip_len/ip_off in netinet stack. deraadt ok. | 2003-07-09 | 1 | -3/+1 | ||
| | | | | (please test, especially PF portion) | |||||
* | make sure the packets contains a complete inner header | 2003-07-08 | 1 | -3/+31 | ||
| | | | | | for ip{4,6}-in-ip{4,6} encapsulation; fixes panic for truncated ip-in-ip over ipsec; ok angelos@ | |||||
* | knf typo | 2003-07-04 | 1 | -5/+5 | ||
| | ||||||
* | just as a safety measure, set m_flags to 0 for mbufs allocated on stack. | 2003-05-03 | 1 | -1/+2 | ||
| | | | | dhartmei ok | |||||
* | knf | 2003-02-20 | 1 | -3/+2 | ||
| | ||||||
* | If there's no tag to be reset, don't reset it (avoids a NULL deref in the IPCOMP case) | 2003-02-20 | 1 | -3/+4 | ||
| | ||||||
* | Fix usage counter for IPCOMP --- sam@errno.com | 2002-06-28 | 1 | -2/+2 | ||
| | ||||||
* | Forgot variable. | 2002-06-25 | 1 | -2/+2 | ||
| | ||||||
* | Handle correctly return values from xf_input methods --- since the | 2002-06-25 | 1 | -11/+7 | ||
| | | | | | return value was ignored anyway, this wasn't a problem so far. From sam@errno.com | |||||
* | Remove whitespace from the end of the file. | 2002-06-13 | 1 | -4/+1 | ||
| | ||||||
* | whitespace | 2002-06-09 | 1 | -8/+8 | ||
| | ||||||
* | Set/clear M_AUTH_AH. | 2002-06-09 | 1 | -3/+3 | ||
| | ||||||
* | disable pmtu for ipsec when the sysctl says so; bug report cjkim2000@yahoo.com | 2002-01-23 | 1 | -2/+2 | ||
| | ||||||
* | Use hzto() to handle overflow of (hz * timeout) cases --- when using | 2001-12-06 | 1 | -5/+14 | ||
| | | | | extremely long SA expirations. | |||||
* | Don't check the source address on the packet vs. the one on the SA, as | 2001-08-09 | 1 | -51/+1 | ||
| | | | | | this prevents use of ESP in mobility; pointed out on the IETF mailing list by Francis Dupont. | |||||
* | Remove IPCOMP option, it's now part of IPSEC option. You still need to | 2001-08-08 | 1 | -9/+1 | ||
| | | | | enable ipcomp via sysctl to use it. deraadt@ ok. | |||||
* | enable ah & esp by default, now that we trust the code more | 2001-08-07 | 1 | -3/+3 | ||
| | ||||||
* | Don't use enc0 interface for IPComp. angelos@ ok. | 2001-07-06 | 1 | -2/+3 | ||
| | ||||||
* | IPComp support. angelos@ ok. | 2001-07-05 | 1 | -25/+186 | ||
| | ||||||
* | KNF | 2001-06-26 | 1 | -581/+604 | ||
| | ||||||
* | Copyright. | 2001-06-25 | 1 | -3/+3 | ||
| | ||||||
* | path mtu discovery for ipsec. on receiving a need fragment icmp match | 2001-06-24 | 1 | -1/+89 | ||
| | | | | against active tdb and store the ipsec header size corrected mtu | |||||
* | Remove unneeded ip_id convertions. | 2001-06-23 | 1 | -2/+1 | ||
| | | | | | | Instead of using HTONS macro in some places, use htons directly in the struct member and save us a few bytes. Fix comment. | |||||
* | mop up after angelos | 2001-06-19 | 1 | -1/+2 | ||
| | ||||||
* | Trim include files. | 2001-06-08 | 1 | -9/+1 | ||
| | ||||||
* | Add a few DPRINTF()'s | 2001-06-05 | 1 | -2/+4 | ||
| | ||||||
* | Record last use time for SAs. | 2001-05-29 | 1 | -1/+3 | ||
| | ||||||
* | If we are passed a packet tag, it's an IPSEC_IN_CRYPTO_DONE so convert | 2001-05-27 | 1 | -15/+25 | ||
| | | | | it to IPSEC_IN_DONE, rather than adding a new one. | |||||
* | Forgot to convert this tag. | 2001-05-27 | 1 | -2/+2 | ||
| | ||||||
* | Use packet tags to signal input IPsec processing to upper layer protocols. | 2001-05-20 | 1 | -12/+12 | ||
| | ||||||
* | Check m_pullup() and m_pullup2() return for NULL, not 0; itojun@ ok | 2001-05-11 | 1 | -3/+3 | ||
| | ||||||
* | Move offsetof define into sys/param.h | 2001-04-06 | 1 | -5/+1 | ||
| | ||||||
* | Protect the IF_XXX macros in the callback routines with splimp(). Doh! | 2001-03-30 | 1 | -3/+11 | ||
| | | | | Thanks to erik@ipunplugged.com | |||||
* | Allow tdbi's to appear in mbufs throughout the stack; this allows | 2001-03-28 | 1 | -20/+8 | ||
| | | | | | | | | | security properties of the packets to be pushed up to the application (not done yet). Eventually, this will be turned into a packet attributes framework. Make sure tdbi's are free'd/cleared properly whenever drivers (or NFS) does weird things with mbufs. | |||||
* | convert SA expirations to the new timeouts. | 2001-03-15 | 1 | -13/+16 | ||
| | | | | | | | | | | simplifies expirations handling a lot. tdb_exp_timeout and tdb_soft_timeout are made consistant throughout the code to be a relative time offsets, just like first_use timeouts. tested on singlehost isakmpd setup. lots of dangling spaces and tabs removed. angelos@ ok | |||||
* | Lots and lots of changes. | 2000-09-19 | 1 | -124/+28 | ||
| | ||||||
* | Drop dubious ESP/AH packets without crashing (thanks to dr@kyx.net and | 2000-09-17 | 1 | -1/+8 | ||
| | | | | mfranz@cisco.com for finding the problem). | |||||
* | Correctly handle ip_off; angelos@ | 2000-07-11 | 1 | -1/+2 | ||
| | ||||||
* | do not play with rcvif, if the traffic is non-IPv4. | 2000-06-20 | 1 | -7/+21 | ||
| | | | | by setting rcvif to enc*, we break IPv6 scope considerations. | |||||
* | correct header chasing code. take care of AH length. | 2000-06-19 | 1 | -15/+29 | ||
| | ||||||
* | Arguments. | 2000-06-18 | 1 | -3/+3 | ||
| | ||||||
* | Use ip6_sprintf() rather than the home-cooked inet6_ntoa4() | 2000-06-18 | 1 | -3/+3 | ||
| | ||||||
* | IPv6 AH/ESP support, inbound side only. tested with KAME. | 2000-06-18 | 1 | -24/+65 | ||
| | ||||||
* | Remove outdated comment. | 2000-06-18 | 1 | -9/+1 | ||
| |