GNU bug report logs - #33292
Piped log program failed unexpectedly when using sed with Apache at windows

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: sed; Reported by: Assaf Gordon <assafgordon@HIDDEN>; Keywords: moreinfo notabug; Done: Assaf Gordon <assafgordon@HIDDEN>; Maintainer for sed is bug-sed@HIDDEN.
bug closed, send any further explanations to 33292 <at> debbugs.gnu.org and Assaf Gordon <assafgordon@HIDDEN> Request was from Assaf Gordon <assafgordon@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) notabug. Request was from Assaf Gordon <assafgordon@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 33292 <at> debbugs.gnu.org:


Received: (at 33292) by debbugs.gnu.org; 13 Feb 2019 23:18:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 13 18:18:36 2019
Received: from localhost ([127.0.0.1]:47467 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gu3nY-0007SV-9w
	for submit <at> debbugs.gnu.org; Wed, 13 Feb 2019 18:18:36 -0500
Received: from mail-pg1-f175.google.com ([209.85.215.175]:40118)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <assafgordon@HIDDEN>)
 id 1gu3nV-0007Rq-C6; Wed, 13 Feb 2019 18:18:34 -0500
Received: by mail-pg1-f175.google.com with SMTP id z10so1907836pgp.7;
 Wed, 13 Feb 2019 15:18:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=subject:to:references:cc:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=RwOCsJnA817ZHIxsrGDrkNRQiNi1D7TRYv9zdhjzntI=;
 b=snoXi+7wx96c+BZSWlvCs+ZGpUmuIDmd4lzHvJx7UUt0OqSnuAVVkVX8Xl4FHjs2VJ
 tN/qQmVSa5NzKTwztzLKl64anPq4TI1G0D0K6Yuh7/PrZerK5Pm1p1hcMp6NbkAJtwCh
 f7UWSaHj9HIoEIkVDPR/MCZ9+N4UFwcNiNOzWR1DRnyo+KEmJqttf9B+dE5tA5TmDDFA
 CXebDLJ5epOh6X4bJ+qKuvtg48CzBdiZ8/ZvF7DJ8BLD/Zwu4J6edRIKHBJKNmtg8hbs
 L6NAHt7vBS6auyyI0H+Jk274K36VgpL3SpgTErdvf3RJnb6cAd5yGxHxErofZ+7ECnww
 7/+A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:cc:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=RwOCsJnA817ZHIxsrGDrkNRQiNi1D7TRYv9zdhjzntI=;
 b=WVngJ0ai1xa7nHsb4kK/zF0xAg38ZkCRIr31BSLUKJMEOISdBv9sbxfH0KzIsDo8fW
 /2D4BVYaOpzrEFZ/qBEru1h8HvRSTd0b2eMudhMtsaKtfhEQJ9M02ZjNqAnYQooAQZkf
 Ex3/k9f16h/aB5wGg0i7O1pKV4WeI+P8eljG2xsl3J7aflm2WqRlTP2pP7RJ46LC7SHY
 oLpMkL1mbflpQp8jvGgrcQ8W8nAVEaizUnq+10rz6bc5SNEupvLV+VVUp93of+RyhX/m
 XcBxOpMQ6zdsMymIawl/6Li8H6y9DaSj6glQIb64O84w23EK0n4oR52R8zScttfxPSqv
 SqKw==
X-Gm-Message-State: AHQUAubQZFzkgg86NLWBtCoATOa8llfTlCQ0kHbnUnxKHtk7+GfV2sud
 6Np7/QonFy9XJBz3WmSfRNXFiswp
X-Google-Smtp-Source: AHgI3Ia0KKvMQMLKE1q6mw/5k+vcu8HCHFX0X3JJQrtv6s8n4sP2MsgmjTgbCLYW0Y1/uI1R3STPzw==
X-Received: by 2002:a62:5f07:: with SMTP id t7mr726067pfb.108.1550099907024;
 Wed, 13 Feb 2019 15:18:27 -0800 (PST)
Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38])
 by smtp.googlemail.com with ESMTPSA id
 y129sm885053pfy.102.2019.02.13.15.18.23
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 13 Feb 2019 15:18:26 -0800 (PST)
Subject: Re: bug#33292: issue : Mask sensitive data in apache logs using sed
To: "Behgal, Vikram" <Vikram.Behgal@HIDDEN>
References: <ae538957-d855-4942-7c48-a13a9d5f8582@HIDDEN>
 <VI1PR0701MB254332E61231B800D6C0BA86E5C10@HIDDEN>
 <983e08ab-2116-49b2-beff-39d09c4825ea@HIDDEN>
 <VI1PR0701MB25439BE9EADFA5CA3D4C3EABE5C20@HIDDEN>
From: Assaf Gordon <assafgordon@HIDDEN>
Message-ID: <7585ef45-4038-9696-ee05-a36ccd2daa1a@HIDDEN>
Date: Wed, 13 Feb 2019 16:18:23 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.4.0
MIME-Version: 1.0
In-Reply-To: <VI1PR0701MB25439BE9EADFA5CA3D4C3EABE5C20@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 33292
Cc: "33292 <at> debbugs.gnu.org" <33292 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 33292 notabug
close 33292
stop

Hello,

On 2018-11-12 9:41 p.m., Behgal, Vikram wrote:
> I tried sed without it. Its worked fine.

Thanks for confirming.
I'm thus closing this as "not a bug".

> I just want to give standard input from apache logs to the sed and write output to the file.
> Is there any command to achieve this. Jut for standard input and output rather than reading from file.
> 

I can't help with Apache administration,
though perhaps you can use 'sed' outside apache,
after the log files have been created.

-assaf






Information forwarded to bug-sed@HIDDEN:
bug#33292; Package sed. Full text available.

Message received at 33292 <at> debbugs.gnu.org:


Received: (at 33292) by debbugs.gnu.org; 13 Nov 2018 04:41:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 12 23:41:35 2018
Received: from localhost ([127.0.0.1]:48533 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gMQW7-0004hA-Aq
	for submit <at> debbugs.gnu.org; Mon, 12 Nov 2018 23:41:35 -0500
Received: from mail-eopbgr80054.outbound.protection.outlook.com
 ([40.107.8.54]:14428 helo=EUR04-VI1-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Vikram.Behgal@HIDDEN>) id 1gMQW5-0004gw-78
 for 33292 <at> debbugs.gnu.org; Mon, 12 Nov 2018 23:41:33 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basware.com;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=98IZ80UxuEzEKPtK7AW6qm70X9Pf9OjDF9D5o6v0gNA=;
 b=UNTim4UKQiQvUcAjNrGWRIpcEjHkls6Rrba5SNHud1/LDWODJjEOcBKh4p359AYFQqJRIk6twoTcybZ2om5xuaLyE/x0oOMY6ZH+nq3wrdmk1cypZ+dCu5N2xxM0pENCur8+vK6KKa/3j1Bd0mFTHjII9gNZyEDUuCqXkAF+ATU=
Received: from VI1PR0701MB2543.eurprd07.prod.outlook.com (10.168.139.144) by
 VI1PR0701MB2221.eurprd07.prod.outlook.com (10.169.137.136) with Microsoft
 SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.1339.12; Tue, 13 Nov 2018 04:41:26 +0000
Received: from VI1PR0701MB2543.eurprd07.prod.outlook.com
 ([fe80::9532:948d:a7d1:e78b]) by VI1PR0701MB2543.eurprd07.prod.outlook.com
 ([fe80::9532:948d:a7d1:e78b%3]) with mapi id 15.20.1339.019; Tue, 13 Nov 2018
 04:41:26 +0000
From: "Behgal, Vikram" <Vikram.Behgal@HIDDEN>
To: Assaf Gordon <assafgordon@HIDDEN>, "33292 <at> debbugs.gnu.org"
 <33292 <at> debbugs.gnu.org>
Subject: RE: bug#33292: issue : Mask sensitive data in apache logs using sed
Thread-Topic: bug#33292: issue : Mask sensitive data in apache logs using sed
Thread-Index: AdR6c7cOiAxCE4nHT3238F5lDD4VEAAQ1bCAABTtYfA=
Date: Tue, 13 Nov 2018 04:41:25 +0000
Message-ID: <VI1PR0701MB25439BE9EADFA5CA3D4C3EABE5C20@HIDDEN>
References: <ae538957-d855-4942-7c48-a13a9d5f8582@HIDDEN>
 <VI1PR0701MB254332E61231B800D6C0BA86E5C10@HIDDEN>
 <983e08ab-2116-49b2-beff-39d09c4825ea@HIDDEN>
In-Reply-To: <983e08ab-2116-49b2-beff-39d09c4825ea@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=none (sender IP is )
 smtp.mailfrom=Vikram.Behgal@HIDDEN; 
x-originating-ip: [115.248.173.210]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR0701MB2221;
 6:Okle0N8gGCbkiISRx/cpVylyE+9faBCTcF6vzb4yTeFxELSmgrktTu6anBHsT73qZgp+443fv6RVed9UJfR6mPWqmpcFf7A8frSf3dgPdHBhmYzijEYYKu9CTHBPxW+6VZ5VDbwShOHb1KU1DBBC7hruLIOWmjIcpQ+y16wvYe0bKlhQx4K+De5/FXiEftpeJ2M7gtAGnRNCZGklzKDPPW/njH+NJURoh5SWsJbtqSm2lvM/qhBAUcR9YyodzBwRxM6XChvIXcZM36mbKPsd5gbt5AbfmJDpKllmbOUjmi3oNo3p42M5Z2+JlhuLIKmTONfVuRTxrYaGzE5RoZ62fw3v7u+O3JGNf+3E0lvPJNDShpdq7YHw2jfmylNwMYqOV1NwmhiXVNt5kxjZJFx6kbXB7bqHXqP9Irh4lTRBhYsPek8kxdmzXqANhymlgT+wkg/ppeZay5fVo/UCUgtnxg==;
 5:48DqlO5s9twfUWuzFHFm/4XHnb/20bAf/5lvEvhC5ePBSWEILWtNtZyUOrNY/rw7OAWDmw9MyPzW6dAZLFslGcQTniXLYXJ+zHJbQrYnhq5uyvx6FqauHganNn0Jupgd+Ze74Btm2h5N9/c4pW2/KQNgPNi0KKMmkkfhY9wUEFE=;
 7:vUZyE9yd7ynsCcRrfYjrmFKEm924rVSuMszyb4qbeco6A0pi0w0oSTj8lrOj36poTMJlN9zDy45ziPDQCowWOCp3c02W9T7mDx63KkwG+BbnqDoT7R9l3B+vCpsoeDJ4uhvDdXFIzzEIKv2uCp5E0w==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: d2714ad7-80aa-42a3-90af-08d64922456f
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390060)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);
 SRVR:VI1PR0701MB2221; 
x-ms-traffictypediagnostic: VI1PR0701MB2221:
x-microsoft-antispam-prvs: <VI1PR0701MB22216518EDD3F71708642E35E5C20@HIDDEN>
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0;
 RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105112)(148016)(149066)(150057)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(201708071742011)(7699051)(76991095);
 SRVR:VI1PR0701MB2221; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0701MB2221; 
x-forefront-prvs: 085551F5A8
x-forefront-antispam-report: SFV:NSPM;
 SFS:(10009020)(396003)(136003)(346002)(39860400002)(366004)(376002)(13464003)(199004)(189003)(14454004)(8936002)(2906002)(53546011)(6506007)(66066001)(99286004)(81166006)(81156014)(26005)(186003)(2501003)(76176011)(97736004)(6306002)(6246003)(9686003)(53936002)(5660300001)(256004)(39060400002)(110136005)(102836004)(7696005)(575784001)(86362001)(316002)(55016002)(4001150100001)(71200400001)(446003)(6116002)(3846002)(6436002)(72206003)(305945005)(486006)(25786009)(68736007)(476003)(105586002)(106356001)(966005)(45080400002)(2900100001)(478600001)(8676002)(7736002)(74316002)(33656002)(229853002)(11346002)(71190400001);
 DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0701MB2221;
 H:VI1PR0701MB2543.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en;
 PTR:InfoNoRecords; A:1; MX:1; 
received-spf: None (protection.outlook.com: basware.com does not designate
 permitted sender hosts)
x-microsoft-antispam-message-info: 1KsWUq4INx02f88iLYbZkYoebrkK/7VYQUUG0UP0YNr/6K/52pFZeGjaVgMShMJIzJOk+Om1/kizCXg0VxYxVwouHxEDi/9B/djjlpGMt5flEApqtTebaTWw/tSfP97JUIYqAW4T/8NOUaj+Bw9lnEr3wA3dS81kG1n9B9zzeNj+Ii8fnQdCPhg6VZIdrnFwQKl0s6UCmuUYhkD7PUqaHE0aU3GwVVznR9t+J+UinZk2JI8P52NSyLjdD+8FMjLL66SvCa5nUkye538Ke8C8PjxONXXGojBVgwdLoMKs9Ry/81o7vop7USLCzuFUfiE5h020qtYPqP+uOXK9oET+fWkr3CLwEPvsbHR0Z5kCuS0=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: basware.com
X-MS-Exchange-CrossTenant-Network-Message-Id: d2714ad7-80aa-42a3-90af-08d64922456f
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Nov 2018 04:41:26.1065 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 9737b55a-4455-48e4-8c47-a26a6ee65c97
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB2221
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 33292
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

SGkgQXNzYWYsDQoNCkkgdHJpZWQgc2VkIHdpdGhvdXQgaXQuIEl0cyB3b3JrZWQgZmluZS4NCkkg
anVzdCB3YW50IHRvIGdpdmUgc3RhbmRhcmQgaW5wdXQgZnJvbSBhcGFjaGUgbG9ncyB0byB0aGUg
c2VkIGFuZCB3cml0ZSBvdXRwdXQgdG8gdGhlIGZpbGUuDQpJcyB0aGVyZSBhbnkgY29tbWFuZCB0
byBhY2hpZXZlIHRoaXMuIEp1dCBmb3Igc3RhbmRhcmQgaW5wdXQgYW5kIG91dHB1dCByYXRoZXIg
dGhhbiByZWFkaW5nIGZyb20gZmlsZS4NCg0KLSBWaWtyYW0NCg0KLS0tLS1PcmlnaW5hbCBNZXNz
YWdlLS0tLS0NCkZyb206IEFzc2FmIEdvcmRvbiA8YXNzYWZnb3Jkb25AZ21haWwuY29tPiANClNl
bnQ6IDEzIE5vdmVtYmVyLCAyMDE4IDEyOjEwIEFNDQpUbzogQmVoZ2FsLCBWaWtyYW0gPFZpa3Jh
bS5CZWhnYWxAYmFzd2FyZS5jb20+OyAzMzI5MkBkZWJidWdzLmdudS5vcmcNClN1YmplY3Q6IFJl
OiBidWcjMzMyOTI6IGlzc3VlIDogTWFzayBzZW5zaXRpdmUgZGF0YSBpbiBhcGFjaGUgbG9ncyB1
c2luZyBzZWQNCg0KSGVsbG8sDQoNCk9uIDIwMTgtMTEtMTIgMzo0MSBhLm0uLCBCZWhnYWwsIFZp
a3JhbSB3cm90ZToNCj4gSGksDQo+IA0KPiBJIGFtIHRyeWluZyB0byBhY2hpZXZlIHRoZSBzb2x1
dGlvbiBtZW50aW9uZWQgYXQgDQo+IGh0dHBzOi8vZW1lYTAxLnNhZmVsaW5rcy5wcm90ZWN0aW9u
Lm91dGxvb2suY29tLz91cmw9aHR0cHMlM0ElMkYlMkZzZXINCj4gdmVyZmF1bHQuY29tJTJGcXVl
c3Rpb25zJTJGMjIwOTYzJTJGcHJldmVudGluZy1hbi1hcGFjaGUtMi1zZXJ2ZXItZnJvbQ0KPiAt
bG9nZ2luZy1zZW5zaXRpdmUtZGF0YSZhbXA7ZGF0YT0wMiU3QzAxJTdDVmlrcmFtLkJlaGdhbCU0
MGJhc3dhcmUuY29tDQo+ICU3Q2U5Y2UyOWVhYTczNTQ3MzNlMzQ5MDhkNjQ4Y2UzMmMwJTdDOTcz
N2I1NWE0NDU1NDhlNDhjNDdhMjZhNmVlNjVjOTcNCj4gJTdDMSU3QzAlN0M2MzY3NzY0NDc3Nzk0
MzgxMjYmYW1wO3NkYXRhPWFnZ0doTiUyQk9WWDU0RUJhdHU1JTJGVURIRVVWMA0KPiA0dSUyRm9G
VVlmNm5CYUJINE9rJTNEJmFtcDtyZXNlcnZlZD0wDQo+IEhlcmUgYXJlIHRoZSBkZXRhaWxzIG9m
IGlzc3VlcyA6IA0KPiBodHRwczovL2VtZWEwMS5zYWZlbGlua3MucHJvdGVjdGlvbi5vdXRsb29r
LmNvbS8/dXJsPWh0dHBzJTNBJTJGJTJGZGViDQo+IGJ1Z3MuZ251Lm9yZyUyRmNnaSUyRmJ1Z3Jl
cG9ydC5jZ2klM0ZidWclM0QzMzI5MiZhbXA7ZGF0YT0wMiU3QzAxJTdDVmkNCj4ga3JhbS5CZWhn
YWwlNDBiYXN3YXJlLmNvbSU3Q2U5Y2UyOWVhYTczNTQ3MzNlMzQ5MDhkNjQ4Y2UzMmMwJTdDOTcz
N2I1NQ0KPiBhNDQ1NTQ4ZTQ4YzQ3YTI2YTZlZTY1Yzk3JTdDMSU3QzAlN0M2MzY3NzY0NDc3Nzk0
MzgxMjYmYW1wO3NkYXRhPXg1Y0pLDQo+IGRGdWUlMkJFRWd0Zk5tMUt2cmxHWUxqUXZTb0FiSVZr
ZDc1Uktob0klM0QmYW1wO3Jlc2VydmVkPTANCj4gDQpbLi4uXQ0KPiANCj4gSXRzIHVyZ2VudCB0
byBtZS4gUGxlYXNlIGxlIG1lIGtub3cgd2hhdCBtb3JlIGluZm9ybWF0aW9uIEkgY2FuIHByb3Zp
ZGUuDQoNCldlIGNhbiBoZWxwIHdpdGggc2VkIGlzc3VlcywgYnV0IG5vdCB3aXRoIGFwYWNoZSBp
c3N1ZXMuDQoNCklmIHlvdSBoYXZlIGEgc3BlY2lmaWMgZXJyb3IgbWVzc2FnZSBnZW5lcmF0ZWQg
Ynkgc2VkLCBwbGVhc2UgdGVsbCB1cyB0aGUgZXJyb3IuDQoNCkFzIHdyaXR0ZW4gaGVyZToNCmh0
dHBzOi8vZW1lYTAxLnNhZmVsaW5rcy5wcm90ZWN0aW9uLm91dGxvb2suY29tLz91cmw9aHR0cHMl
M0ElMkYlMkZkZWJidWdzLmdudS5vcmclMkZjZ2klMkZidWdyZXBvcnQuY2dpJTNGYnVnJTNEMzMy
OTIlMjM4JmFtcDtkYXRhPTAyJTdDMDElN0NWaWtyYW0uQmVoZ2FsJTQwYmFzd2FyZS5jb20lN0Nl
OWNlMjllYWE3MzU0NzMzZTM0OTA4ZDY0OGNlMzJjMCU3Qzk3MzdiNTVhNDQ1NTQ4ZTQ4YzQ3YTI2
YTZlZTY1Yzk3JTdDMSU3QzAlN0M2MzY3NzY0NDc3Nzk0MzgxMjYmYW1wO3NkYXRhPWtCaXNBSklD
QiUyQlRHdDZsMU9UMEJyQlI5elNtempiZ3NoTENiaEpwY2psbyUzRCZhbXA7cmVzZXJ2ZWQ9MA0K
Y29tcGFyZWQgdG8gdGhlIFNlcnZlckZhdWx0IGFuc3dlciwgeW91IGhhdmUgYW4gZXh0cmFuZW91
c25lc3MgIi1pIg0KcGFyYW1ldGVyIHRoYXQgbWlnaHQgY2F1c2UgdW5leHBlY3RlZCByZXN1bHRz
Lg0KDQpEaWQgeW91IHRyeSBydW5uaW5nIHNlZCB3aXRob3V0IGl0ID8NCg0KLWFzc2FmDQoNCg==




Information forwarded to bug-sed@HIDDEN:
bug#33292; Package sed. Full text available.

Message received at 33292 <at> debbugs.gnu.org:


Received: (at 33292) by debbugs.gnu.org; 12 Nov 2018 18:39:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 12 13:39:45 2018
Received: from localhost ([127.0.0.1]:48334 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gMH7g-0004vK-JG
	for submit <at> debbugs.gnu.org; Mon, 12 Nov 2018 13:39:44 -0500
Received: from mail-pl1-f171.google.com ([209.85.214.171]:37426)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <assafgordon@HIDDEN>) id 1gMH7e-0004v2-1y
 for 33292 <at> debbugs.gnu.org; Mon, 12 Nov 2018 13:39:42 -0500
Received: by mail-pl1-f171.google.com with SMTP id p6-v6so4744426pll.4
 for <33292 <at> debbugs.gnu.org>; Mon, 12 Nov 2018 10:39:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=subject:to:references:from:message-id:date:user-agent:mime-version
 :in-reply-to:content-language:content-transfer-encoding;
 bh=CcvdBTYDL4VjPzxpNVQwHk+w/SLMFAF7SWIFJJA8Inc=;
 b=aJoaSP/lnFMMTHBtEAQ0b/A5i4uROns/w+Ub9iF6hINmDHe4+sqwJHS0Se7+mlH0cM
 z5sAcDIIF3fomDCmj6ZhgbnNsG2Nqh1BC1w6RUS825V58S1STuaDKdnLZkhcjTqyrUKB
 RnY0Z+ybgn+n1M/6oLq7Rk842P75p+EwGR+oBXMiVdl+tru1Ub7dJDSvVahpkmTH6kTm
 K4XH7Drm7ryOUCgd37cefImbgTnJp1XiCXZRtFZZseoAuZDawc/i11rFf7eBjZhWtkKX
 vLfSw2/h6agqjPJPZW+T5+Hx3TmYBX3sVhGgD6G96KoI7ADJ3XVryQcOB5hx7d7oHtNa
 IKQw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=CcvdBTYDL4VjPzxpNVQwHk+w/SLMFAF7SWIFJJA8Inc=;
 b=D2w0n17iaeyswYCtUh/IyFBmjj3ZlfZzeK6xV4oQXZ91/HtPjtCcGKc5moK8B/RJiT
 XXt6UM2p2ew/RJg6nxss7AFujA1NPzUCiE7d1HjaPlXMzCvq6U6HEcw9Wv/mnxJUM5Vw
 1p5vlZ+h5rEOn5rvsC9LAJb846k85+UVF1efBrpBQHSiXBbazejq1NFPYVY2zgr2IESy
 WYFczUoUez0+NlyvpPYNYPuuDEGQDdeWRPjaqprIlrPoUZ4P6v3JgSdciuPMf31ASRO5
 XgGqtCaOc+0+2bc8Yxqc/mG8M+tL4idsKB7x05ieRBQD+vFv6J/lVunpAbrz+6iJQxqX
 iPAw==
X-Gm-Message-State: AGRZ1gLrANYD2AJSQOi8B7cTkZZkco9QlfYtUzXTgTyOH5LTUCURW7Qa
 7jjHOrEiAy/QPzP5Sl84UkCIuIq1
X-Google-Smtp-Source: AJdET5fo/d8LUW4Vq6Zu/aFu5frQ5jVAoaMYKATwSf6H2KrfvnoFyKX6E8We1KnN/vLW9MayzcfHxA==
X-Received: by 2002:a17:902:bd0b:: with SMTP id
 p11-v6mr1943681pls.35.1542047975517; 
 Mon, 12 Nov 2018 10:39:35 -0800 (PST)
Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38])
 by smtp.googlemail.com with ESMTPSA id
 g14-v6sm18442171pfb.130.2018.11.12.10.39.34
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 12 Nov 2018 10:39:34 -0800 (PST)
Subject: Re: bug#33292: issue : Mask sensitive data in apache logs using sed
To: "Behgal, Vikram" <Vikram.Behgal@HIDDEN>,
 "33292 <at> debbugs.gnu.org" <33292 <at> debbugs.gnu.org>
References: <ae538957-d855-4942-7c48-a13a9d5f8582@HIDDEN>
 <VI1PR0701MB254332E61231B800D6C0BA86E5C10@HIDDEN>
From: Assaf Gordon <assafgordon@HIDDEN>
Message-ID: <983e08ab-2116-49b2-beff-39d09c4825ea@HIDDEN>
Date: Mon, 12 Nov 2018 11:39:33 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.3.0
MIME-Version: 1.0
In-Reply-To: <VI1PR0701MB254332E61231B800D6C0BA86E5C10@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 33292
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

On 2018-11-12 3:41 a.m., Behgal, Vikram wrote:
> Hi,
> 
> I am trying to achieve the solution mentioned at https://serverfault.com/questions/220963/preventing-an-apache-2-server-from-logging-sensitive-data
> Here are the details of issues : https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33292
> 
[...]
> 
> Its urgent to me. Please le me know what more information I can provide.

We can help with sed issues, but not with apache issues.

If you have a specific error message generated by sed,
please tell us the error.

As written here:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33292#8
compared to the ServerFault answer, you have an extraneousness "-i"
parameter that might cause unexpected results.

Did you try running sed without it ?

-assaf





Information forwarded to bug-sed@HIDDEN:
bug#33292; Package sed. Full text available.

Message received at 33292 <at> debbugs.gnu.org:


Received: (at 33292) by debbugs.gnu.org; 12 Nov 2018 14:41:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 12 09:41:00 2018
Received: from localhost ([127.0.0.1]:47176 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gMDOd-00071z-QH
	for submit <at> debbugs.gnu.org; Mon, 12 Nov 2018 09:41:00 -0500
Received: from mail-eopbgr40086.outbound.protection.outlook.com
 ([40.107.4.86]:5280 helo=EUR03-DB5-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Vikram.Behgal@HIDDEN>) id 1gM9ek-0007Z0-LW
 for 33292 <at> debbugs.gnu.org; Mon, 12 Nov 2018 05:41:23 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basware.com;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=t/wJ8nma3nIw+9h6wQUioJwT31lbINupDSQl+AVq//w=;
 b=mEbk+P6MqzdHIeVTpbxHMInjjfcWg+3XQAlxjPBkV44ixq7aaOsl5zEmlYrjp5iYQs3d31yEH5mPFNqeow/KdAA7+VknOVaN6Gw4MMEzn/q1jpI1oia2sgLx+rqWTP5d/ReSos804AYOKnBjS2cOgaG6U/fFKnMwRU6dYY4swfA=
Received: from VI1PR0701MB2543.eurprd07.prod.outlook.com (10.168.139.144) by
 VI1PR0701MB2653.eurprd07.prod.outlook.com (10.173.78.147) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.1339.12; Mon, 12 Nov 2018 10:41:15 +0000
Received: from VI1PR0701MB2543.eurprd07.prod.outlook.com
 ([fe80::9532:948d:a7d1:e78b]) by VI1PR0701MB2543.eurprd07.prod.outlook.com
 ([fe80::9532:948d:a7d1:e78b%3]) with mapi id 15.20.1339.018; Mon, 12 Nov 2018
 10:41:15 +0000
From: "Behgal, Vikram" <Vikram.Behgal@HIDDEN>
To: "33292 <at> debbugs.gnu.org" <33292 <at> debbugs.gnu.org>
Subject: issue : Mask sensitive data in apache logs using sed
Thread-Topic: issue : Mask sensitive data in apache logs using sed
Thread-Index: AdR6c7cOiAxCE4nHT3238F5lDD4VEA==
Date: Mon, 12 Nov 2018 10:41:15 +0000
Message-ID: <VI1PR0701MB254332E61231B800D6C0BA86E5C10@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [115.248.173.210]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR0701MB2653;
 6:+LyXu0j/zIXk4GZJ/jwu+AiaacvHLpg134rTOcosLM5SnJyEBn3H7iIHBOcFg+wDscksHl7YS6Uids70QvBKRdTSXtG73eHe8bgtLY4BfJWqRwW88+cHQZ0GKDQGN7ui8Jf+xBzqXoz+QrK861YLAKhTRB+K5RPFfnrTx6YAnRpz3UHwsrdBV9Jv0FM+3cZK18QU67y8jvGZ3XbaqNyJrCRUXDvvaA9pWr+7oMRDt7TJ/AJZJfqC0YnXkfRQ4uzKhH1blf7457vp0dVKz8NDsz7hBEXyeyhnkL0TEhS9shbNKOkigIPwNwgVZU2sqoOZWbrqsE3mgagvbBLy5vS1ACDQNxpMhxOyh1ciQWwLAT8+1un0EIeFnY25gyvNEIzB+rtOZeSznQGTl7uUQHUoEio5klYINbnF2H1VkZT99FLm7TZjOQgzRLxdsKxLTzwtm8LeKL2GdZAhD0gEfsVKcA==;
 5:oa9Xfy6pdh3lEt0OIOLQZXyzzRpi1L8AoStx3zD/pNihqiAROO1OhJL4CLxeUmu55dpvW7Qk4xyEIv8kQAYaB9/wi3lCaKNIYQfD3WsRIofCNDBZfl1VFZRjbN7dGGfExDEye4CHAx2+nn46o+lPySi3b0rmtOE1/86vFbtYTgw=;
 7:s2fDZXrxzk8oee0ppwtG72vN8OU74j2tM0Ibn4sjbn6Ig9YM0qHYe3oNJIs/SqUGMkTHs/S24W4MvFaev9YRDUercIFvVBiOoSDTrd1Az4f2jRQGLwQ6Asm9CRecAKI23zM15RmWkuLJBvKqtwL4zA==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 1c1177ce-4ab4-4ad6-181a-08d6488b5f3c
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390040)(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);
 SRVR:VI1PR0701MB2653; 
x-ms-traffictypediagnostic: VI1PR0701MB2653:
authentication-results: spf=none (sender IP is )
 smtp.mailfrom=Vikram.Behgal@HIDDEN; 
x-microsoft-antispam-prvs: <VI1PR0701MB26530658FFC00F4AC0F4AAD2E5C10@HIDDEN>
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0;
 RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231402)(944501410)(52105112)(3002001)(10201501046)(93006095)(93001095)(148016)(149066)(150057)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);
 SRVR:VI1PR0701MB2653; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0701MB2653; 
x-forefront-prvs: 0854128AF0
x-forefront-antispam-report: SFV:NSPM;
 SFS:(10009020)(136003)(39860400002)(346002)(396003)(376002)(366004)(199004)(189003)(486006)(26005)(9326002)(71190400001)(71200400001)(8676002)(476003)(8936002)(256004)(14444005)(606006)(6116002)(3846002)(25786009)(790700001)(5660300001)(2906002)(86362001)(316002)(2900100001)(186003)(81156014)(81166006)(14454004)(236005)(2351001)(966005)(9686003)(106356001)(53936002)(66066001)(6436002)(478600001)(105586002)(2501003)(68736007)(74316002)(72206003)(102836004)(6506007)(54896002)(6306002)(7696005)(551544002)(97736004)(55016002)(5640700003)(6916009)(7736002)(33656002)(99286004);
 DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0701MB2653;
 H:VI1PR0701MB2543.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en;
 PTR:InfoNoRecords; A:1; MX:1; 
received-spf: None (protection.outlook.com: basware.com does not designate
 permitted sender hosts)
x-microsoft-antispam-message-info: QDswxIgjN3plGF2vOJaR7uUgkHi5nhZY9+8bPdR+lKDh9QdAkYSrqYpDtz3sHr4+POt5InEir3B0HigKw39+qTVSiFk4UZwnnTJTv3RG17ffk/B/eXWFTR9wd7vpz8ik/8wmKz6oqRhD9lUE0GaKPfcGuqcf10EBGV6XYtjHUCcp8jDEnsysPOPW8jM7k1XhQzLq2kBqB1rMhycJGx8NaaJVZHhySa8pbOA5Tx7Zs9z1o8cSNQlYzPiiTkwi5Z/xwbvt2ANaS4yMNL9mWz8XTxQg/AQU3yx1S0HqTSHiDQSZJX6dUHTZg+7rz2wVhP65ppPzix9dnUBjRpxFAXgwnvZIQGi7l5+LadXBtG7ftks=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative;
 boundary="_000_VI1PR0701MB254332E61231B800D6C0BA86E5C10VI1PR0701MB2543_"
MIME-Version: 1.0
X-OriginatorOrg: basware.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 1c1177ce-4ab4-4ad6-181a-08d6488b5f3c
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Nov 2018 10:41:15.2744 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 9737b55a-4455-48e4-8c47-a26a6ee65c97
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB2653
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 33292
X-Mailman-Approved-At: Mon, 12 Nov 2018 09:40:58 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--_000_VI1PR0701MB254332E61231B800D6C0BA86E5C10VI1PR0701MB2543_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

I am trying to achieve the solution mentioned at https://serverfault.com/qu=
estions/220963/preventing-an-apache-2-server-from-logging-sensitive-data
Here are the details of issues : https://debbugs.gnu.org/cgi/bugreport.cgi?=
bug=3D33292

I am trying to mask data of GET request. Like request Like  www.example.com=
?password=3D123445&uname=3Dabc<http://www.example.com?password=3D123445&una=
me=3Dabc>
It should get log in .log file like this : www.example.com?password=3DXXXXX=
X&uname=3Dabc<http://www.example.com?password=3DXXXXXX&uname=3Dabc>

Its urgent to me. Please le me know what more information I can provide.

Thanks You
VIkram


--_000_VI1PR0701MB254332E61231B800D6C0BA86E5C10VI1PR0701MB2543_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I am trying to achieve the solution mentioned at htt=
ps://serverfault.com/questions/220963/preventing-an-apache-2-server-from-lo=
gging-sensitive-data
<o:p></o:p></p>
<p class=3D"MsoNormal">Here are the details of issues : <a href=3D"https://=
debbugs.gnu.org/cgi/bugreport.cgi?bug=3D33292">
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D33292</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I am trying to mask data of GET request. Like reques=
t Like &nbsp;<a href=3D"http://www.example.com?password=3D123445&amp;uname=
=3Dabc">www.example.com?password=3D123445&amp;uname=3Dabc</a><o:p></o:p></p=
>
<p class=3D"MsoNormal">It should get log in .log file like this : <a href=
=3D"http://www.example.com?password=3DXXXXXX&amp;uname=3Dabc">
www.example.com?password=3DXXXXXX&amp;uname=3Dabc</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Its urgent to me. Please le me know what more inform=
ation I can provide.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Thanks You<o:p></o:p></p>
<p class=3D"MsoNormal">VIkram<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_VI1PR0701MB254332E61231B800D6C0BA86E5C10VI1PR0701MB2543_--




Information forwarded to bug-sed@HIDDEN:
bug#33292; Package sed. Full text available.
Added tag(s) moreinfo. Request was from Assaf Gordon <assafgordon@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 33292 <at> debbugs.gnu.org:


Received: (at 33292) by debbugs.gnu.org; 6 Nov 2018 17:51:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 06 12:51:33 2018
Received: from localhost ([127.0.0.1]:37647 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gK5Vk-0002Qf-Op
	for submit <at> debbugs.gnu.org; Tue, 06 Nov 2018 12:51:32 -0500
Received: from mail-pl1-f174.google.com ([209.85.214.174]:38849)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <assafgordon@HIDDEN>)
 id 1gK5Vj-0002QN-5y; Tue, 06 Nov 2018 12:51:31 -0500
Received: by mail-pl1-f174.google.com with SMTP id p4-v6so4158761plo.5;
 Tue, 06 Nov 2018 09:51:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=subject:from:to:references:message-id:date:user-agent:mime-version
 :in-reply-to:content-language:content-transfer-encoding;
 bh=qm1XbCq6ZsTsAf62xdnA465kY2n3rSQbSVDE6DZlLKc=;
 b=bS/r8ZaVBfU2m0fcUVt73IDXzRBxyBoVj1ECLIGnKYJUj8B6/3jn+LHifhy8agWQwT
 7GYW2giSdIqS5E73elTphRMuyhPyaX/QXVxtqtl+Nhjs+KA3wayE+xvidgW7eroz0ovY
 L/3B3ZjGZIEBw60H32ymotu6AqmviphY4KvWD8NC8ow509VH7ckmknDrSd5mILcqFEo4
 Ta8adoVvT9rw0NL3NAY9JIDwPaaV8JgkhSYwuyDhuZJBRO7xZ349J07oynUT8hLNeiQv
 N85Tj/jKibhr5GaGnw1jDo3qIFHfs3OuxlRGOjXI2WjIdIY0oVx/3aT3xjY/jhLXyrrS
 0OiQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:from:to:references:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=qm1XbCq6ZsTsAf62xdnA465kY2n3rSQbSVDE6DZlLKc=;
 b=WqpKyNUjqNEcozrgyMRVh0jrBo9pHIkVSYtJkXJPI6tT+F93OGmn++2qugjRCrPRsF
 YiivVaetZjWcFkUc6X4aHb8vCay8lyk8KVgLtck/okoNsNzIwqb/tyVvspSuuOePkDSu
 3cNq05lvEF3Y/PlgD3W+FqhHxoyrddbM6ymDlJNYuAw3eS+r2ActDh2TORf+kuXA4vEP
 mYM+Ywl6kb65ySD6YwWl/xuNkAfTsuWFJGiyhTcxsiRxXtgDtjuMAr9RPQqQc3+edoDl
 Dks2GkuXlLEElHj2/d1oSR8mXaZK9rXLH0Crn9+DMoc9eByQykOvlnU3C3rHGUAeYsyX
 va7Q==
X-Gm-Message-State: AGRZ1gKTGzLKqXnmuFKB7eWeDhk4ybXDTwQHEwzxDut3zEK8+oN2wG8H
 J+HLzoJtKBhR4Vc9B+LCYADaiVva
X-Google-Smtp-Source: AJdET5fjrdm2TOEH/ogYs/0LNV83/cyvcWAdFHndS3cXqkrmnHiB4GR4qzsFrbzggjdztgKdQhzqow==
X-Received: by 2002:a17:902:7082:: with SMTP id
 z2-v6mr4736413plk.78.1541526684604; 
 Tue, 06 Nov 2018 09:51:24 -0800 (PST)
Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38])
 by smtp.googlemail.com with ESMTPSA id
 u2-v6sm33835585pfn.50.2018.11.06.09.51.23
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 06 Nov 2018 09:51:23 -0800 (PST)
Subject: Re: bug#33292: Piped log program failed unexpectedly when using sed
 with Apache at windows
From: Assaf Gordon <assafgordon@HIDDEN>
To: 33292 <at> debbugs.gnu.org
References: <ae538957-d855-4942-7c48-a13a9d5f8582@HIDDEN>
Message-ID: <e0c09814-4cde-b95d-506c-5d830fc88d15@HIDDEN>
Date: Tue, 6 Nov 2018 10:51:22 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.2.1
MIME-Version: 1.0
In-Reply-To: <ae538957-d855-4942-7c48-a13a9d5f8582@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 33292
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 33292 moreinfo
stop



Hello,

On 2018-11-06 10:42 a.m., Assaf Gordon wrote:
> Bug report forwarded from
>  From github https://github.com/agordon/sed/issues/1
> and/or stackoverflow https://stackoverflow.com/q/53118038
> 
> Vikram Singh writes:
> ====
> I am using sed to mask some data in proxy logs of Apache at windows.
> Putting command in httpd.conf file is :
> 
>   CustomLog "|$'C:/Program Files (x86)/GnuWin32/bin/sed' -i 
> 's/password=[^ ]*/password=masked/' 'logs/proxy-access.log'" combined

The GnuWin32 version is sed is not maintained by us, so we can't 
directly help with it.

There were alos some windows-related improvements recently,
if you could test a newer version that would be very useful.

Lastly,
The command seems weird at a cursory look:
Using "|" means you are piping into sed (and expecting sed to output
the data to STDOUT). but using "sed -i" is "replace --in-place",
meaning it will read the "logs/proxy-access.log" and update it without
reading anything from STDIN or writing anything to STDOUT.

Is that intentional?

> on starting Apache service command prompts start opening and closing and 
> in error.logs found exception i.e :
> 
> AH00106: piped log program ''C:/Program Files (x86)/GnuWin32/bin/sed' -i 
> 's/password=[^ ]*/password=masked/' 'C:/Apache24/logs/proxy-access.log'' 
> failed unexpectedly
> apache logging sed proxy
> ===
> 

"failed unexpectedly" is not a sed error - another program generates it 
(apache?) - so it isn't clear what is failing and how.

Can you provide more details?

regards,
  - assaf





Information forwarded to bug-sed@HIDDEN:
bug#33292; Package sed. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Nov 2018 17:42:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 06 12:42:36 2018
Received: from localhost ([127.0.0.1]:37634 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gK5N6-0000A5-29
	for submit <at> debbugs.gnu.org; Tue, 06 Nov 2018 12:42:36 -0500
Received: from eggs.gnu.org ([208.118.235.92]:45133)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <assafgordon@HIDDEN>) id 1gK5N4-00009r-B3
 for submit <at> debbugs.gnu.org; Tue, 06 Nov 2018 12:42:35 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <assafgordon@HIDDEN>) id 1gK5Mv-0003c0-Cu
 for submit <at> debbugs.gnu.org; Tue, 06 Nov 2018 12:42:26 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:33974)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <assafgordon@HIDDEN>)
 id 1gK5Mr-0003Uh-WD
 for submit <at> debbugs.gnu.org; Tue, 06 Nov 2018 12:42:25 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54603)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <assafgordon@HIDDEN>) id 1gK5Mq-0007a2-62
 for bug-sed@HIDDEN; Tue, 06 Nov 2018 12:42:21 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <assafgordon@HIDDEN>) id 1gK5Mi-0002zS-HT
 for bug-sed@HIDDEN; Tue, 06 Nov 2018 12:42:20 -0500
Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]:38303)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <assafgordon@HIDDEN>)
 id 1gK5Mh-0002r6-UV
 for bug-sed@HIDDEN; Tue, 06 Nov 2018 12:42:12 -0500
Received: by mail-pl1-x62f.google.com with SMTP id p4-v6so4146708plo.5
 for <bug-sed@HIDDEN>; Tue, 06 Nov 2018 09:42:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:subject:message-id:date:user-agent:mime-version
 :content-language:content-transfer-encoding;
 bh=1dXLDx6d7PNclbHKZhUveYNOA0QSra0Gh0ARZfoNbzY=;
 b=UTU/OyX4WeyRTExHm6N6JGR0ME4buJUuT0N0eel9Sz+KqV6sdzl4HaQj5ZnxtbIM/5
 avk4xLH+wG88YWEJT/OP/vnQZ+UCoRTe1qLfl5KgEYOTNdQGvGrwFc6AiUNqtm9qRQpJ
 9lho0TtrbwO/4qu0pHXOxoNkp4mfesbFeWnQHti7gZYx/Xqf0vHhWTrNRoI6v9IRaaif
 k1XqB8F40o11tJPTFkP+wjAscnuwghFCT0kOfYP/kEBdL6cX4eY8WH3xQlJoTMsQqHeD
 VGhEO+9BVaii2td4EKgWIP20QCq3mtMb0gNiBx6Zq04/NoFvE85FmpmXNUdgcqAqfA9a
 LwVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:subject:message-id:date:user-agent
 :mime-version:content-language:content-transfer-encoding;
 bh=1dXLDx6d7PNclbHKZhUveYNOA0QSra0Gh0ARZfoNbzY=;
 b=Xb+99LrJ+m+uk/TA4772oDmFnJIg+Zr2KMmD0RWqaz5MZC8I97WTPmiMOUIHnu9OLe
 e37HqfgMlykfS4E4goAhJfPRoWsFsq4lCkG/64OkjwUuweNn7ThscKcZdAOdl/oiFseq
 xTsHC0sqHrUmACWizyPYXAZif1+9jaT6wtCZLcyZLUUGuxqhbDpuRshK8O7RXnItWlCp
 eHn03Tm7KFKyH39ldhj3DMq9Xr3pJvApLAJ8TfBHYqhW12ITklJuWvNnk4sX7FS9cPMV
 r8G0+MG+CD6gd0mBbnknrWaokymrn5byJ9JPXXROiQZxgnfKqBpHez35mnyNyjWTs7Tr
 YSaw==
X-Gm-Message-State: AGRZ1gIICKVSB8CVhuehpByGPiLkBddIH7XmqIQen0w1ofPF296ZIlrW
 ApIQ3Q+qaRh71bwegdgp/eLTucqk
X-Google-Smtp-Source: AJdET5f7Dj+1ZA23Z5ziwgIvQ6ZOeOeh6sLML6CulryDYF+xVTMspC6Oq0krRKA1MkllLyfZu9DDDw==
X-Received: by 2002:a17:902:3fe4:: with SMTP id
 a91-v6mr27107253pld.295.1541526129433; 
 Tue, 06 Nov 2018 09:42:09 -0800 (PST)
Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38])
 by smtp.googlemail.com with ESMTPSA id
 s2-v6sm108249212pfk.133.2018.11.06.09.42.08 for <bug-sed@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 06 Nov 2018 09:42:08 -0800 (PST)
To: bug-sed@HIDDEN
From: Assaf Gordon <assafgordon@HIDDEN>
Subject: Piped log program failed unexpectedly when using sed with Apache at
 windows
Message-ID: <ae538957-d855-4942-7c48-a13a9d5f8582@HIDDEN>
Date: Tue, 6 Nov 2018 10:42:07 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.2.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Bug report forwarded from
 From github https://github.com/agordon/sed/issues/1
and/or stackoverflow https://stackoverflow.com/q/53118038

Vikram Singh writes:
====
I am using sed to mask some data in proxy logs of Apache at windows.
Putting command in httpd.conf file is :

  CustomLog "|$'C:/Program Files (x86)/GnuWin32/bin/sed' -i 
's/password=[^ ]*/password=masked/' 'logs/proxy-access.log'" combined

on starting Apache service command prompts start opening and closing and 
in error.logs found exception i.e :

AH00106: piped log program ''C:/Program Files (x86)/GnuWin32/bin/sed' -i 
's/password=[^ ]*/password=masked/' 'C:/Apache24/logs/proxy-access.log'' 
failed unexpectedly
apache logging sed proxy
===




Acknowledgement sent to Assaf Gordon <assafgordon@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-sed@HIDDEN. Full text available.
Report forwarded to bug-sed@HIDDEN:
bug#33292; Package sed. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 13 Feb 2019 23:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.