Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5BE9D200BAE for ; Fri, 28 Oct 2016 20:22:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5A8A6160AF5; Fri, 28 Oct 2016 18:22:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C8281160ACA for ; Fri, 28 Oct 2016 20:21:59 +0200 (CEST) Received: (qmail 79008 invoked by uid 500); 28 Oct 2016 18:21:58 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 78970 invoked by uid 99); 28 Oct 2016 18:21:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2016 18:21:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B78BA2C2A68 for ; Fri, 28 Oct 2016 18:21:58 +0000 (UTC) Date: Fri, 28 Oct 2016 18:21:58 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-11048) Audit Log should escape control characters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 28 Oct 2016 18:22:00 -0000 [ https://issues.apache.org/jira/browse/HDFS-11048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15616154#comment-15616154 ] Hudson commented on HDFS-11048: ------------------------------- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10723 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10723/]) HDFS-11048. Audit Log should escape control characters. Contributed by (liuml07: rev 8a9388e5f6d622152798aaaa256064919e4fec37) * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java * (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestAuditLogs.java > Audit Log should escape control characters > ------------------------------------------ > > Key: HDFS-11048 > URL: https://issues.apache.org/jira/browse/HDFS-11048 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Eric Badger > Assignee: Eric Badger > Attachments: HDFS-11048.001.patch, HDFS-11048.002.patch > > > Allowing control characters without escaping them allows for spoofing audit log entries at worst and accidentally breaking log parsing at best. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org