You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Wendy Smoak (JIRA)" <ji...@codehaus.org> on 2009/09/02 17:15:41 UTC
[jira] Updated: (MRM-813) Audit log is reporting "Modify File
(proxied)" when no proxy connectors exist and the file has not changed
[ http://jira.codehaus.org/browse/MRM-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wendy Smoak updated MRM-813:
----------------------------
Affects Version/s: 1.2.2
This is still a problem in 1.2.2. Archiva still logs "Modifiied File (proxied)" when a file that has been in my managed repository since May 2008 is requested.
The request:
2009_09_01.request.log:0:0:0:0:0:0:0:1%0 - - [02/Sep/2009:15:04:29 +0000] "GET /archiva/repository/internal/org/apache/struts/struts-core/1.3.5/struts-core-1.3.5.jar HTTP/1.1" 200 319406 "http://localhost:9094/archiva/repository/internal/org/apache/struts/struts-core/1.3.5/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9"
The audit log:
archiva-audit.log:2009-09-02 08:04:30 internal admin 0:0:0:0:0:0:0:1%0 "org/apache/struts/struts-core/1.3.5/struts-core-1.3.5.jar" "Modified File (proxied)"
The filesystem:
{noformat}
imbrium:logs wsmoak$ ll /usr/local/share/repository/internal/org/apache/struts/struts-core/1.3.5
total 696
drwxr-xr-x 11 wsmoak wsmoak 374 May 10 2008 .
drwxr-xr-x 9 wsmoak wsmoak 306 Mar 21 07:15 ..
-rw-r--r-- 1 wsmoak wsmoak 168 Aug 30 10:12 maven-metadata.xml
-rw-r--r-- 1 wsmoak wsmoak 52 May 10 2008 maven-metadata.xml.md5
-rw-r--r-- 1 wsmoak wsmoak 60 May 10 2008 maven-metadata.xml.sha1
-rw-r--r-- 1 wsmoak wsmoak 319406 May 10 2008 struts-core-1.3.5.jar <----------
-rw-r--r-- 1 wsmoak wsmoak 55 Aug 30 10:12 struts-core-1.3.5.jar.md5
-rw-r--r-- 1 wsmoak wsmoak 63 Aug 30 10:12 struts-core-1.3.5.jar.sha1
-rw-r--r-- 1 wsmoak wsmoak 4248 May 10 2008 struts-core-1.3.5.pom
-rw-r--r-- 1 wsmoak wsmoak 55 Aug 30 10:12 struts-core-1.3.5.pom.md5
-rw-r--r-- 1 wsmoak wsmoak 63 Aug 30 10:12 struts-core-1.3.5.pom.sha1
{noformat}
> Audit log is reporting "Modify File (proxied)" when no proxy connectors exist and the file has not changed
> ----------------------------------------------------------------------------------------------------------
>
> Key: MRM-813
> URL: http://jira.codehaus.org/browse/MRM-813
> Project: Archiva
> Issue Type: Bug
> Components: remote proxy
> Affects Versions: 1.0.2, 1.2.2
> Reporter: Wendy Smoak
> Fix For: 1.x
>
>
> The Archiva audit log is reporting that files have been modified and proxied, when no proxy connectors are configured. For example:
> {noformat}
> 2008-01-02 13:47:27 sandbox guest 127.0.0.1 "/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml" "Modify File (proxied)"
> 2008-01-02 13:47:27 third-party guest 127.0.0.1 "/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml" "Modify File (proxied)"
> 2008-01-02 13:47:27 sandbox guest 127.0.0.1 "/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml" "Modify File (proxied)"
> 2008-01-02 13:47:27 third-party guest 127.0.0.1 "/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml" "Modify File (proxied)"
> 2008-01-02 13:47:27 sandbox guest 127.0.0.1 "/org/apache/maven/plugins/maven-surefire-plugin/maven-metadata.xml" "Modify File (proxied)"
> 2008-01-02 13:47:27 third-party guest 127.0.0.1 "/org/apache/maven/plugins/maven-surefire-plugin/maven-metadata.xml" "Modify File (proxied)"
> 2008-01-02 13:47:27 sandbox guest 127.0.0.1 "/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml" "Modify File (proxied)"
> 2008-01-02 13:47:27 third-party guest 127.0.0.1 "/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml" "Modify File (proxied)"
> 2008-01-02 13:47:27 sandbox guest 127.0.0.1 "/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml" "Modify File (proxied)"
> 2008-01-02 13:47:27 third-party guest 127.0.0.1 "/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml" "Modify File (proxied)"
> {noformat}
> Administration -> Proxy Connectors (copy/paste):
> ...
> Repository Proxy Connectors
> No Repository Proxy Connectors Defined.
> Administration -> Repositories (copy/paste):
> ...
> Remote Repositories
> There are no remote repositories configured yet.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira