Use it when the storage question has been narrowed to iSCSI → CHAP. Preserve stable endpoint/LUN identity, separate connectivity from login/presentation, and prove each path plus the upper consumer before making disruptive SAN or iSCSI changes.
CHAP
CHAP validates possession of a shared secret through challenge-response during iSCSI login. It is an authentication mechanism, not payload encryption; protecting storage traffic confidentiality requires separate network/security controls such as IPsec where supported and designed.
1. CHAP authenticates initiators (and targets with mutual CHAP).
2. 12–16 char secrets.
3. Protects against rogue initiators, not eavesdropping.
4. Store secrets securely.
5. Combine with ACLs and isolated network.
login → CHAP challenge/response → access
Context & applicabilityCommon mistakes · platform/version boundaries
Successful CHAP shows authentication for the configured direction(s); it does not encrypt data or show LUN authorization and application integrity.
Suspicious evidence: repeated authentication rejects, mismatched one-way/mutual policy, stale secret, credentials exposed in troubleshooting output or CHAP treated as encryption.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
TCP connection → iSCSI login → CHAP challenge/response → authenticated session → target authorization/mapping → LUN
Healthy evidence: intended authentication mode succeeds for correct initiator/target identities, secrets remain protected and only authorized sessions progress to mapped LUNs.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- CHAP ≠ encryption.
- One-way CHAP ≠ mutual authentication.
- TCP reachability ≠ CHAP success.
- Successful CHAP ≠ LUN authorization if mapping policy still denies access.
grep -E 'node.session.auth' /etc/iscsi/iscsid.conf— CHAP settingsiscsiadm -m node -T <iqn> -o update -n node.session.auth.authmethod -v CHAP— enableSet-IscsiChapSecret— Windows initiator secret
ReferenceImportant terms & boundaries2 sections · depth on demand
Identity and presentation
Successful CHAP shows authentication for the configured direction(s); it does not encrypt data or show LUN authorization and application integrity.
In depth
CHAP authenticates with a shared secret that is never sent in clear: the target sends a challenge, the initiator returns an MD5 hash of ID + secret + challenge. One-way CHAP lets the target verify the initiator; mutual CHAP also lets the initiator verify the target. Secrets are typically 12–16 characters and must differ between directions.
# /etc/iscsi/iscsid.conf (or per node record)
node.session.auth.authmethod = CHAP
node.session.auth.username = esx01
node.session.auth.password = <secret>
CHAP does not encrypt data. Protect iSCSI traffic with a dedicated, non-routed VLAN; use IPsec or MACsec where encryption in transit is required.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in iSCSI → CHAP. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc7143 · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
iSCSI → CHAP SAN/iSCSI map
Fast identity, path, presentation and proof boundaries for iSCSI → CHAP.
| SAN/iSCSI boundary | What to verify | Proof limit |
|---|---|---|
| Identity / presentation | Initiator + target identity, portal/fabric path, LUN stable ID and mapping | Discovery or login alone does not prove correct storage ownership |
| Path / transport | Link/VLAN/IP/TCP or fabric state, path independence, session/path errors and multipath grouping | One reachable path does not prove resilience or backend health |
| Failure boundary | Successful CHAP proves authentication for the configured direction(s); it does not encrypt data or prove LUN authorization and application integrity. | Correlate host, network/fabric and target/array evidence for the same time window |
| Acceptance | Healthy evidence: intended authentication mode succeeds for correct initiator/target identities, secrets remain protected and only authorized sessions progress to mapped LUNs. | Close only after the original block workload and upper-layer consistency check succeeds |