Skip to content

Use ProxyProtocol SRC IP as Client IP (#12761)#12800

Merged
cmcfarlen merged 1 commit intoapache:10.1.xfrom
cmcfarlen:cp-12761-10.1
Jan 12, 2026
Merged

Use ProxyProtocol SRC IP as Client IP (#12761)#12800
cmcfarlen merged 1 commit intoapache:10.1.xfrom
cmcfarlen:cp-12761-10.1

Conversation

@cmcfarlen
Copy link
Contributor

  • Restore old feature to copy PP src IP to remote ip of NetVConn, but this time the copy is configurable. Expand autest to cover new setup Introduce get_client_addr to NetVConn, implement rchi log field, improve proxy protocol autests.

  • Use get_client_addr in some places it might matter.

  • rename get_client_addr to get_effective_remote_addr

  • PR fixes

(cherry picked from commit dbff9de)

* Restore old feature to copy PP src IP to remote ip of NetVConn, but this time the copy is configurable.  Expand autest to cover new setup
Introduce get_client_addr to NetVConn, implement rchi log field, improve proxy protocol autests.

* Use get_client_addr in some places it might matter.

* rename get_client_addr to get_effective_remote_addr

* PR fixes

(cherry picked from commit dbff9de)
@cmcfarlen cmcfarlen self-assigned this Jan 12, 2026
@cmcfarlen
Copy link
Contributor Author

[approve ci autest 1]

1 similar comment
@cmcfarlen
Copy link
Contributor Author

[approve ci autest 1]

@cmcfarlen cmcfarlen merged commit b7f290a into apache:10.1.x Jan 12, 2026
15 checks passed
@cmcfarlen cmcfarlen deleted the cp-12761-10.1 branch January 12, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant