Comments (3)
Sure, we can add that. I've pushed a commit to the 239-dhcp-mac-log branch.
Note that the MAC address is not the only identifier a DHCP server can use to assign leases. If the client identity is a FQDN it is always sent in a Hostname extension and if identity_lease is enabled the identity (in its binary encoding, no matter the type) is sent in a Client Id extension.
from strongswan.
I have added the patch to 5.9.2. The logfile looks like this:
May 25 21:53:16 23[IKE1] <IPSec-IKEv2|1> peer requested virtual IP 172.19.122.57
May 25 21:53:16 23[CFG1] <IPSec-IKEv2|1> sending DHCP DISCOVER for 7a:a7:3e:a3:16:c5 to 172.19.122.9
May 25 21:53:17 23[CFG1] <IPSec-IKEv2|1> sending DHCP DISCOVER for 7a:a7:3e:a3:16:c5 to 172.19.122.9
May 25 21:53:19 23[CFG1] <IPSec-IKEv2|1> sending DHCP DISCOVER for 7a:a7:3e:a3:16:c5 to 172.19.122.9
May 25 21:53:19 24[CFG1] received DHCP OFFER 172.19.122.57 from 172.19.122.9
May 25 21:53:19 23[CFG1] <IPSec-IKEv2|1> sending DHCP REQUEST for 172.19.122.57 to 172.19.122.9
May 25 21:53:19 23[CFG1] <IPSec-IKEv2|1> sending DHCP REQUEST for 172.19.122.57 to 172.19.122.9
May 25 21:53:19 23[CFG1] <IPSec-IKEv2|1> sending DHCP REQUEST for 172.19.122.57 to 172.19.122.9
May 25 21:53:19 27[CFG1] received DHCP ACK for 172.19.122.57
Great.
from strongswan.
Thanks for testing, applied to master.
from strongswan.
Related Issues (20)
- Issue with multiple wan interfaces
- Add support for AWS-LC in the openssl plugin HOT 2
- Make fails with ha plugin (Ubuntu 22.04 LTS with stock/unpatched kernel) HOT 6
- Throughput Performance on Gateway-to-Gateway is very low after inserting a rule that accepts packets with a matching IPsec policy in the POSTROUTING chain
- ipsec setup many SAs when rekey_time is less than reauth_time with IKE1 HOT 1
- Reject ECDSA Keys/Certificates With Explicitly Encoded Curve Parameters
- Libsharon crashes (somehow related to ppk_id) HOT 3
- Mobike Port Change unable to add attribute, buffer too small HOT 4
- pki --req --san add support for uri HOT 5
- Support for X.509 nameConstraints in the openssl plugin
- Support for X.509 nameConstraints of type iPAddress
- Adopt subjectKeyIdentifier of CA certificate as authorityKeyIdentifier if available
- IPsec set two IP address on 'left' options. Tunnel hints are always built on the first IP, but are actually built on the second IP HOT 5
- AndroidTV / FireTV App Problems HOT 1
- Segmentation fault in x509_ocsp_response.c:896 HOT 5
- Maybe add support for SHA2_512 in pubkey_authenticator.c ? HOT 2
- no NDK aarch64-linux-android-gcc on $PATH at (eval 10) line 142. HOT 3
- Add ssl=on parameter to mysql plugin. HOT 6
- FORTIFY: pthread_mutex_lock called on a destroyed mutex HOT 1
- charon-systemd Preemptively Exiting on Kernel alg Debugging Messages HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strongswan.