-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
log: rename http.xff to http.xff_header #7051
Conversation
Ticket: 4860 So as to differentiate between .xff which is just one IP, depending on the configuration first or last, and .http.xff_header which is the complete header value
Codecov Report
@@ Coverage Diff @@
## master #7051 +/- ##
==========================================
- Coverage 77.88% 75.46% -2.42%
==========================================
Files 628 628
Lines 185373 185242 -131
==========================================
- Hits 144374 139791 -4583
- Misses 40999 45451 +4452
Flags with carried forward coverage won't be shown. Click here to find out more. |
Information: QA ran without warnings. Pipeline 6389 |
Can you provide samples of the output? As mentioned here, #6904 (comment), I don't think I'm in favour of adding a new field. I'd rather see xff gone at the root, and xff only logged in the http object like here: #6904 (comment) regardless of the code path that caused it to be logged. This lets us remove a xff at the root, which I think is a better breaking change that renaming http.xff. |
Do you know where this feature comes from ? Maybe I can remove xff from the root, and have another value for the config option |
Ok, I see whats going on. The |
Ok will do |
Replaced by #7148 |
Link to redmine ticket:
https://redmine.openinfosecfoundation.org/issues/4860
but also https://redmine.openinfosecfoundation.org/issues/1369
Describe changes:
http.xff_header
as it does not have the same meaning as.xff
suricata-verify-pr: 756
OISF/suricata-verify#756
Replaces #6904 with renaming
http.xff
tohttp.xff_header