Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | miscellaneous typo fixes: | 2005-02-17 | 1 | -2/+2 | |
| | | | | | | | - sturct -> struct (spotted by pedro) - elimination of consecutive 'the' words ok jmc@, henning@, krw@, robert@, some whining by jolan@ | ||||
* | First step towards more sane time handling in the kernel -- this changes | 2004-06-21 | 1 | -5/+5 | |
| | | | | | | | | things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@ | ||||
* | make it possble to use IPsec over link-local address (policy table uses | 2004-06-21 | 1 | -3/+3 | |
| | | | | sin6_scope_id, IPsec porion uses embedded form). beck ok | ||||
* | simpler ipsp_aux_match() API; ok henning, hshoexer | 2004-04-14 | 1 | -17/+14 | |
| | |||||
* | Check for undersized IP header, found by jbm@, ok angelos@ | 2002-11-12 | 1 | -1/+9 | |
| | |||||
* | whitespace | 2002-06-09 | 1 | -2/+2 | |
| | |||||
* | Per-socket policies and authentication. Finally. | 2002-05-31 | 1 | -63/+382 | |
| | |||||
* | Search the correct ACQUIRE list --- shifflett@nps.navy.mil | 2002-02-18 | 1 | -2/+2 | |
| | |||||
* | It looks like there has been one crack smoking and a few cut and pastes. | 2002-01-23 | 1 | -3/+3 | |
| | | | | | PR_FREEHEADER should not be set in pool_init by the caller. It shouldn't be set in pool_init at all. Besides, it's going away soon anyway. | ||||
* | Pool deals fairly well with physical memory shortage, but it doesn't deal | 2002-01-23 | 1 | -5/+3 | |
| | | | | | | | | | | | | | | | | | | well (not at all) with shortages of the vm_map where the pages are mapped (usually kmem_map). Try to deal with it: - group all information the backend allocator for a pool in a separate struct. The pool will only have a pointer to that struct. - change the pool_init API to reflect that. - link all pools allocating from the same allocator on a linked list. - Since an allocator is responsible to wait for physical memory it will only fail (waitok) when it runs out of its backing vm_map, carefully drain pools using the same allocator so that va space is freed. (see comments in code for caveats and details). - change pool_reclaim to return if it actually succeeded to free some memory, use that information to make draining easier and more efficient. - get rid of PR_URGENT, noone uses it. | ||||
* | at least ; required after label or case; openbsd@davidkrause.com | 2002-01-02 | 1 | -1/+2 | |
| | |||||
* | Reset the error return value if the cached TDB matches the | 2001-09-24 | 1 | -1/+2 | |
| | | | | policy. Pointed out by jdmcbride@iol.ie | ||||
* | When the outgoing socket has BYPASS set, don't bother calling the | 2001-08-21 | 1 | -5/+4 | |
| | | | | PCB-checking routine. | ||||
* | bcmp done wrong, detected at bakeoff. Hint: always use | 2001-08-15 | 1 | -2/+2 | |
| | | | | relational operators when using *cmp APIs in conditional expressions. | ||||
* | Don't drop packets if we're using an ACQUIRE policy and some error | 2001-08-06 | 1 | -15/+12 | |
| | | | | | | occurs while notifying key mgmt; also, always check for new TDBs for policies where the destination gateway is left unspecified (end-to-end IPsec case), to avoid asking for new SAs from key mgmt. | ||||
* | Use TAILQ_FOREACH() instead of hand-crafted for loops. | 2001-06-27 | 1 | -5/+3 | |
| | |||||
* | When determining whether there's a pending acquire wrt a policy, look | 2001-06-27 | 1 | -4/+4 | |
| | | | | at the acquires associated with the policy only. | ||||
* | Attach IPsec acquire state to policy entries, and relevant cleanups. | 2001-06-27 | 1 | -3/+15 | |
| | |||||
* | Don't cache packets that hit policies -- we'll do that at the PCB for | 2001-06-27 | 1 | -91/+18 | |
| | | | | local packets. | ||||
* | Use the ACQUIRE sequence number to "wake up" acquire state kept and | 2001-06-26 | 1 | -73/+45 | |
| | | | | | | cause retransmission of outgoing packets. Also, only store outgoing packets -- just drop incoming packets that cause an SA acquisition. Some comment fixup. | ||||
* | ifdef out some currently unused code | 2001-06-26 | 1 | -1/+3 | |
| | |||||
* | Rewrite ipsp_clear_acquire() to be more readable, after all the KNF'ing | 2001-06-26 | 1 | -75/+69 | |
| | |||||
* | Use pool(9) for IPsec acquires too. | 2001-06-26 | 1 | -12/+19 | |
| | |||||
* | Use pool(9) for IPsec policy structures. | 2001-06-26 | 1 | -6/+15 | |
| | |||||
* | Keep the PFKEY sequence number at the TDB, plus a little bit of KNF | 2001-06-26 | 1 | -8/+12 | |
| | |||||
* | KNF | 2001-06-26 | 1 | -700/+692 | |
| | |||||
* | Copyright. | 2001-06-25 | 1 | -4/+3 | |
| | |||||
* | use new timeouts for spd expirations; ho@ ok | 2001-06-24 | 1 | -36/+8 | |
| | |||||
* | Trim include files. | 2001-06-08 | 1 | -8/+2 | |
| | |||||
* | Simplify SPD logic (and correct some input cases). | 2001-06-07 | 1 | -335/+138 | |
| | |||||
* | Match prototype. | 2001-05-30 | 1 | -3/+3 | |
| | |||||
* | Correctly free information attached to the policy. | 2001-05-30 | 1 | -4/+6 | |
| | |||||
* | Check that SAs also match on the credentials and the IDs. This means | 2001-05-05 | 1 | -23/+30 | |
| | | | | | | that flows with different source/destination ID requirements will cause different SAs to be established by IKE (or whatever other protocol). Also, use the new data types for allocated memory. | ||||
* | Missing splx in error handling. | 2001-04-23 | 1 | -1/+3 | |
| | |||||
* | Minor changes, preparing for real socket-attached TDBs; also, more | 2001-04-14 | 1 | -3/+3 | |
| | | | | information will be stored in the TDB. ok ho@ provos@ | ||||
* | allow host-to-host negotiations if no gateway has been specified. | 2001-04-10 | 1 | -5/+9 | |
| | | | | from angelos@ | ||||
* | Move offsetof define into sys/param.h | 2001-04-06 | 1 | -5/+1 | |
| | |||||
* | Allow tdbi's to appear in mbufs throughout the stack; this allows | 2001-03-28 | 1 | -3/+7 | |
| | | | | | | | | | 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. | ||||
* | include <machine/cpu.h>, since schednetisr needs to do a splsoftnet | 2001-03-15 | 1 | -1/+3 | |
| | |||||
* | Pretty. | 2001-02-28 | 1 | -2/+7 | |
| | |||||
* | Handle failures more gracefully. | 2001-02-28 | 1 | -10/+11 | |
| | |||||
* | Keep the last packet sent or received that matched an SPD entry, and | 2001-02-28 | 1 | -86/+167 | |
| | | | | retransmit if we eventually have an SA setup for that policy. | ||||
* | Compile in non-INET6 kernels. | 2000-12-14 | 1 | -3/+9 | |
| | |||||
* | Always look for a suitable TDB if the gateway is left unspecified. | 2000-12-14 | 1 | -5/+32 | |
| | |||||
* | All-1s addresses as policy destinations is also reserved for future | 2000-11-17 | 1 | -29/+51 | |
| | | | | use (policy discovery). | ||||
* | Fix compile error if lacking -DINET6 | 2000-10-18 | 1 | -1/+3 | |
| | |||||
* | ASKPOLICY message; used by key management to inquire about policy | 2000-10-14 | 1 | -10/+184 | |
| | | | | triggering an ACQUIRE. | ||||
* | Make sure there's enough data on the mbuf for the TCP/UDP ports (if | 2000-09-29 | 1 | -1/+15 | |
| | | | | applicable) -- bug located thanks to a crashdump from HJungheim@vpnet.com | ||||
* | Fix checking for incoming packets when the remote gateway has been | 2000-09-27 | 1 | -11/+41 | |
| | | | | fully specified in the flow. | ||||
* | Add IDENTITY payloads to flow establishment (and cleanup accordingly) | 2000-09-20 | 1 | -1/+5 | |
| | | | | | -- this will address one of itojun's question on how are IDs for IKE to be determined (need to add support for this to ipsecadm). |