View Issue Details

IDProjectCategoryView StatusLast Update
0001440bareos-coredirectorpublic2022-03-23 15:09
Reportermdc Assigned Tobruno-at-bareos  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionwon't fix 
Platformx86_64OSCentOSOS Versionstream 8
Product Version21.1.2 
Summary0001440: Only 127.0.0.1 ls logged in the audit log when the access comes from the webui
DescriptionInstant of the real IP of the user device, only 127.0.0. is logged.
22-Mar 13:31 Bareos Director: Console [foo] from [127.0.0.1] cmdline list jobtotals

I think, the director, see only the source ip of the webui server. But the real IP is not forwarded to the director.
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Activities

bruno-at-bareos

bruno-at-bareos

2022-03-23 15:08

developer   ~0004549

The audit log is use to log the remote (here local) ip of the initiator of the command.
Think about remote bconsole access etc.
so here localhost is the right agent.

You're totally entitled to propose a enhanced version of the code by making a PR on our github project.
bruno-at-bareos

bruno-at-bareos

2022-03-23 15:09

developer   ~0004550

Won't be fixed without external code proposal

Issue History

Date Modified Username Field Change
2022-03-22 13:42 mdc New Issue
2022-03-23 15:08 bruno-at-bareos Note Added: 0004549
2022-03-23 15:09 bruno-at-bareos Assigned To => bruno-at-bareos
2022-03-23 15:09 bruno-at-bareos Status new => resolved
2022-03-23 15:09 bruno-at-bareos Resolution open => won't fix
2022-03-23 15:09 bruno-at-bareos Note Added: 0004550