Verifies the integrety of the projects, as builds are executed immediately after a code change was detected. This plan provides no artifiacts (use a nightly build instead).

Build: #2992 was successful Changes by Guus der Kinderen

Stages & jobs

  1. Default Stage

  2. Continuous Integration

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
8 minutes
Labels
None
Agent
mesonet-ah.agron.iastate.edu (3)
Revision
ec8f7065790c6fd0001f8907ba9d6d8929e77a88
Total tests
1728
Successful since
#2937 ()

Tests

Code commits

Author Commit Message Commit date
Guus der Kinderen Guus der Kinderen 44adcf2227b3ff3845eb4ac8eed40b1669901580 OF-3261 (code review): Prevent persisting changes when errors are detected
Guus der Kinderen Guus der Kinderen d645fa41d51d324f05de494843bda426c9c894f4 OF-3261: Addressing minor code review feedback
- Changed package name to reflect that the code relates to Jetty (not Netty)
- Switch to IpUtils-provided API that ignores zone/scope parts in IPv6 addresses
- Use default capacity of new sets
- Fixes javadoc
Guus der Kinderen Guus der Kinderen 68ebbe69bf0fcb74499ee9c4b62eb51143e68065 OF-3261 (code review): Prevent nondeterministic order of stored trusted proxies
Guus der Kinderen Guus der Kinderen 5e152d9031f8b6f4e72f023d5c5a19d27f7ab78c OF-3261: Allow reverse proxies to be verified
Before trusting remote-peer provided HTTP headers like `Forwarded` and `X-Forwarded-For`, the source of these headers should be validated. This prevents malicious clients from setting this header themselves.

This commit introduces a wrapper for Jetty's ForwarededRequestCustomizer (which replaces the reported IP address of the remote peer with a value from the HTTP headers). When Openfire is now configured with a non-empty set of trusted proxies, such replacement only occurs when the remote peer is one of the trusted proxies.

This functionality has been added to the Admin Console and webbinding implementations, using two distinct properties:
- `adminConsole.forwarded.trusted.proxies`
- `httpbind.forwarded.trusted.proxies`

Valid values are IP addresses (IPv4 and IPv6) and ranges.

The admin console has been modified to allow for configuration of these values through the pages where related functionality was already provided.

A small CSS tweak was introduced: Openfire's setup had an implementation where a question-mark icon can be used to provide a tooltip help text. That has now been moved from 'setup' to 'global', so that it can be used both during setup, but also in the admin console itself (after setup has finished).
Guus der Kinderen Guus der Kinderen ec8f7065790c6fd0001f8907ba9d6d8929e77a88 (review feedback): Change name used in property change listener
The old value was clearly copy/pasted from another listener, referencing the purpose of that property. Although the values aren't used, their names should either be ambiguous, or reference the correct functionality. This helps avoid confusion.

Jira issues

IssueDescriptionStatus
Unknown Issue TypeOF-3261Could not obtain issue details from Jira

Shared artifacts

Artifact File size
Unpacked project files 267 MB