IPv4 Proxy Logs with IPv4-Mapped IPv6 Addresses
An address displayed in an IPv6-shaped form can contain an IPv4-mapped value. That notation can confuse an audit expecting a familiar dotted address. When checking Go2Proxy IPv4 proxies, preserve the raw observation and identify the component that recorded it. Formatting alone does not establish whether the client-to-proxy connection, the proxy exit and the destination-facing connection used the same address family.

Identify the logging boundary
Name the service that produced the address field and what peer it observed. A local application socket record and a destination server log can describe different connections. Neither should be silently substituted for the other.
Record whether the value represents a gateway, a forwarded application field or an actual peer address reported by the server. A string copied from an untrusted request header does not independently prove the network source of that request.
Parse with an address-aware implementation
Keep the original string and use a suitable address parser to identify supported mapped forms. Avoid manually deleting a prefix or extracting the final characters; unexpected formats can make that transformation incorrect.
The IPv4 connection guide separates address-family requirements from protocol selection. Use that distinction when deciding whether a normalized display satisfies the actual test requirement or merely makes one log easier for a human to read.
Separate comparison identity from display
Choose a consistent comparison policy for the logged boundary. If an IPv4 address and its mapped form should refer to the same observed value in that dataset, record the normalization rule explicitly.
Do not apply that rule indiscriminately to arbitrary IPv6 addresses. Preserve values that do not fit the intended form and mark parse failures clearly. A normalization process must not turn unrelated or malformed strings into apparently matching source addresses.
Test equivalent and non-equivalent inputs
Build a synthetic fixture containing a dotted IPv4 address, its recognized mapped representation and an unrelated IPv6 address. Confirm that the intended equivalent pair matches while the unrelated value remains distinct.
Include malformed text and a value from a different logging boundary. The validator should reject the malformed value and retain the boundary difference rather than treating every address-like string as interchangeable evidence of the same connection.
Report the actual network claim
A useful audit states the observed peer, its raw notation, the normalization policy and the boundary the evidence supports. If the requirement concerns the destination-facing exit, collect evidence from that destination or an approved diagnostic at the relevant boundary.
Do not conclude that every request used IPv4 merely because a display was normalized into dotted form. Redirects, separate clients and additional resources may follow different paths and need their own scoped observations.
Frequently asked questions
Does IPv6-shaped text always prove native IPv6 traffic?
No. Some forms represent mapped IPv4 values. Interpret the notation with a suitable parser and identify which connection the logging component actually observed.
Can all IPv6 addresses be reduced to IPv4?
No. Only the specific supported mapped relationship applies. Arbitrary truncation can destroy address identity and create false matches.
Should normalization replace the raw address?
Retain the raw value when needed for review. Store the normalized comparison form and its rule separately so later reports can explain the transformation.
Before the next run
Keep the mapped, native and malformed cases together, and repeat them when the logging format, parser or comparison policy changes.



