aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/dhcp
Commit message (Collapse)AuthorAgeFilesLines
* attribute-provider: Pass full IKE_SA to provider backendsMartin Willi2015-02-201-3/+9
|
* attributes: Move the configuration attributes framework to libcharonMartin Willi2015-02-201-5/+4
|
* plugins: Don't link with -rdynamic on WindowsMartin Willi2014-06-041-1/+1
|
* Properly hash pointers for hash tables where appropriateTobias Brunner2014-03-311-17/+2
| | | | | Simply using the pointer is not optimal for our hash table implementation, which simply masks the key to determine the bucket.
* libcharon: Use lib->ns instead of charon->nameTobias Brunner2014-02-121-4/+4
|
* dhcp: Allow binding of socket to particular interfaceThomas Egerer2014-01-201-0/+34
| | | | | | | | | In certain situations it is desirable to bind the send/receive sockets for the DHCP address allocation to a particular interface. With this patch the strongswan.conf option charon.plugins.dhcp.interface can be used to restrict the DHCP communication to a configurable interface. Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
* dhcp: use watcher instead of dedicated receiver threadMartin Willi2013-07-181-10/+8
|
* capabilities: Some plugins don't actually require capabilities at runtimeTobias Brunner2013-07-181-2/+3
|
* automake: replace INCLUDES by AM_CPPFLAGSMartin Willi2013-07-181-3/+5
| | | | | | INCLUDES are now deprecated and throw warnings when using automake 1.13. We now also differentiate AM_CPPFLAGS and AM_CFLAGS, where includes and defines are passed to AM_CPPFLAGS only.
* dhcp: Use chunk_hash_static() to calculate ID-based MAC addressesTobias Brunner2013-06-281-1/+1
|
* dhcp: Require CAP_NET_BIND_SERVICE and CAP_NET_RAW to open/bind socketsTobias Brunner2013-06-251-0/+11
|
* dhcp: search for transactions only for connections having a poolname "dhcp"Martin Willi2013-06-181-1/+6
| | | | | | When a connection has a single pool that queries recursively the DHCP backend, we shouldn't return any attributes directly from DHCP when queried for that pool.
* dhcp: Use plugin features with dependency to RNG implementationTobias Brunner2013-06-111-17/+45
|
* Moved data structures to new collections subfolderTobias Brunner2012-10-243-3/+3
|
* Moved host_t and host_resolver_t to a new networking subfolderTobias Brunner2012-10-241-1/+1
|
* Properly initialize sockaddr_in struct in fast and dhcp pluginsTobias Brunner2012-09-281-4/+7
|
* Option added to enforce a configured destination address for DHCP packetsTobias Brunner2012-09-131-1/+9
|
* Pass full pool list to release_addressMartin Willi2012-09-111-6/+20
|
* Pass the full list of pools to acquire_address, enumerate in providersMartin Willi2012-09-111-8/+20
| | | | | | | | If the provider has access to the full pool list, it can enumerate them twice, for example to search for existing leases first, and only search for new leases in a second step. Fixes lease enumeration in attr-sql using multiple pools.
* DHCP plugin returns virtual IPs for IPv4 requests onlyMartin Willi2012-08-301-2/+2
|
* Pass all configured pool names to attribute provider enumeratorMartin Willi2012-08-301-1/+1
|
* Pass a list instead of a single virtual IP to attribute enumeratorsMartin Willi2012-08-301-7/+14
|
* Check rng return value when generating Transaction IDs in DHCP pluginTobias Brunner2012-07-161-1/+5
|
* Centralized thread cancellation in processor_tTobias Brunner2012-06-251-12/+3
| | | | | | | | | | This ensures that no threads are active when plugins and the rest of the daemon are unloaded. callback_job_t was simplified a lot in the process as its main functionality is now contained in processor_t. The parent-child relationships were abandoned as these were only needed to simplify job cancellation.
* Use name from initialization to access settings in libcharon.Tobias Brunner2012-05-031-3/+4
| | | | Also fixes several whitespace errors.
* Use CRITICAL job priority class for long running dispatcher jobsMartin Willi2011-05-161-2/+2
|
* Set broadcast flag in DHCP requests when sending broadcastsMartin Willi2011-04-151-0/+3
|
* Added a (not yet implemented) plugin_t method to reload plugin configurationMartin Willi2011-04-151-0/+1
|
* Added a get_name() function to plugin_t, create_plugin_enumerator enumerates ↵Martin Willi2011-04-151-0/+7
| | | | over plugin_t
* Fixed memory cleanup if no DHCP transaction found for an OFFERMartin Willi2011-01-131-4/+3
|
* Prefer the 'server identifier' attribute address to send DHCP requests toMartin Willi2010-10-181-5/+13
|
* Refer to scheduler and processor via lib and not hydra.Tobias Brunner2010-09-021-1/+1
|
* Refer to kernel interface via hydra and not charon.Tobias Brunner2010-09-021-2/+2
|
* Refer to processor via hydra and not charon.Tobias Brunner2010-09-021-1/+2
|
* Use a seperate section for each nested struct member in INIT macroMartin Willi2010-08-181-1/+5
|
* Added missing pool parameter in DHCP attribute provider.Tobias Brunner2010-07-121-1/+2
|
* include dhcp-client-identifier in the DHCP requestAndreas Steffen2010-04-231-1/+11
|
* make DHCP debug messages consistentAndreas Steffen2010-04-231-1/+1
|
* fixed typoAndreas Steffen2010-04-231-1/+1
|
* Accept DHCP replies on bootps port, as we act as a relay agent if server ↵Martin Willi2010-04-191-5/+7
| | | | address configured
* Revert "Use the same formatting as in the Makefiles of the other plugins. ↵Tobias Brunner2010-03-261-3/+3
| | | | | | | Makes refactorings easier." This reverts commit e91b116a622bbfb20cd66268ca4cb91d620984ad. Missed to notice commit 89bf11d204cb934ea9109aa077c8514515d538f6.
* Use the same formatting as in the Makefiles of the other plugins. Makes ↵Tobias Brunner2010-03-261-3/+3
| | | | refactorings easier.
* Migrated dhcp plugin to moved attribute managerMartin Willi2010-03-252-3/+7
|
* Include configuration payloads for DNS/WINS server received via DHCPMartin Willi2010-03-254-2/+125
|
* Send DHCP RELEASE on virtual IP releaseMartin Willi2010-03-253-16/+64
|
* Added identity_lease option to create random or identity based DHCP leasesMartin Willi2010-03-251-3/+17
|
* Added DHCP request construction, ACK processingMartin Willi2010-03-253-36/+181
|
* Added reception of DHCP responses via PACKET socketMartin Willi2010-03-251-46/+271
|
* DHCP plugin framework, send DHCP Discover upon IP requestMartin Willi2010-03-258-1/+822
|
* Added DHCP plugin stub.Martin Willi2010-03-253-0/+108