Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libhydra: Use lib->ns instead of hydra->daemon | Tobias Brunner | 2014-02-12 | 1 | -1/+1 |
| | |||||
* | mem-pool: add option for reusing online leases, and disable it by default | Martin Willi | 2013-07-29 | 1 | -1/+13 |
| | | | | | | | | | | | Mainly for reauthentication with third party implementations, we allowed to reuse an online lease, but only for the same peer identity and when it explicitly requested the same address. This has always been problematic, because it changes the reqid of the CHILD_SA with the same traffic selectors, breaking the old tunnel. As we now reject such policy overwrites, this usually lets the installation of the new policies fail. We therefore disable reassignment of online leases by default. | ||||
* | mem-pool: replace per-identity online/offline lists by more efficient arrays | Martin Willi | 2013-07-29 | 1 | -48/+52 |
| | | | | This saves two lists per connected peer identity, up to 0.4KB. | ||||
* | mem-pool: refcount online lease when reassigning it to another tunnel | Martin Willi | 2013-07-26 | 1 | -5/+28 |
| | | | | | | | When we reassign an online lease for the same peer, we have to refcount it. Otherwise we would set it offline if one of the tunnels goes down, but it is actually still in use by a the second tunnel. This can finally lead in assigning the same virtual IP to different peers. | ||||
* | Add a constructor to create in-memory pools from an address range | Martin Willi | 2013-03-11 | 1 | -3/+48 |
| | |||||
* | Fix maximum size of a mem_pool_t | Tobias Brunner | 2013-03-07 | 1 | -2/+2 |
| | |||||
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Moved data structures to new collections subfolder | Tobias Brunner | 2012-10-24 | 1 | -2/+2 |
| | |||||
* | In mem_pool, check for an existing ID entry before creating a new one | Martin Willi | 2012-09-20 | 1 | -7/+10 |
| | |||||
* | Use uintptr_t in mem pool to avoid compiler warning if sizeof(void*) != ↵ | Martin Willi | 2012-09-12 | 1 | -3/+2 |
| | | | | sizeof(int) | ||||
* | Check for an existing lease in all stroke pools before creating a new one | Martin Willi | 2012-09-11 | 1 | -75/+129 |
| | |||||
* | Properly remove broadcast address from mem pools | Tobias Brunner | 2012-09-10 | 1 | -1/+1 |
| | |||||
* | Strictly enforce address family match while acquiring mem_pool IPs | Martin Willi | 2012-08-30 | 1 | -3/+1 |
| | |||||
* | Add a getter for the mem_pool_t base address | Martin Willi | 2012-08-24 | 1 | -0/+7 |
| | |||||
* | Validate netmask in mem_pool_create | Tobias Brunner | 2012-08-13 | 1 | -0/+1 |
| | |||||
* | Reimplemented mem pool to support multiple leases for a single identity | Martin Willi | 2010-08-04 | 1 | -129/+172 |
| | |||||
* | Mem pool does not support multiple leases for an identity | Martin Willi | 2010-07-27 | 1 | -2/+11 |
| | |||||
* | Replaced some DBG_LIB with more specific groups. | Tobias Brunner | 2010-04-06 | 1 | -8/+8 |
| | |||||
* | Adding DBG_LIB to all calls of libstrongswan's version of DBG*. | Tobias Brunner | 2010-04-06 | 1 | -9/+10 |
| | |||||
* | Make in-memory pool thread-safe. | Tobias Brunner | 2010-04-06 | 1 | -15/+36 |
| | |||||
* | Extracted in-memory IP address pool from stroke plugin to libhydra. | Tobias Brunner | 2010-04-06 | 1 | -0/+429 |