Project

General

Profile

Actions

Bug #7555

closed

Snort settings show translation metadata when creating a new interface that is not yet defined

Added by Jim Pingle almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
Snort
Target version:
Start date:
05/17/2017
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.4
Affected Plus Version:
Affected Architecture:
All

Description

A few places in snort call gettext("{$if_friendly}") but that ends up showing translation metadata when it is a new interface that has not yet been saved/enabled.

Example, the breadcrumbs when creating a new interface show:

    Services / Snort / Edit Interface / Project-Id-Version: PACKAGE VERSION Report-Msgid-Bugs-To: POT-Creation-Date: 2017-05-16 09:23-0300 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PO-Revision-Date: 2017-02-03 05:17-0500 Last-Translator: Jim Thompson Language-Team: English (United States) Language: en-US X-Generator: Zanata 3.9.6 Plural-Forms: nplurals=2; plural=(n != 1) 

In this case, $if_friendly is NULL when gettext is called.

Actions #1

Updated by Bill Meeks almost 7 years ago

This is fixed in Snort GUI package version 3.2.9.3. The value is checked, and if NULL, the string "None" is substituted instead. This issue can be closed.

Actions #2

Updated by Jim Pingle almost 7 years ago

  • Status changed from New to Resolved

This is working in the current package. Thanks!

Actions #3

Updated by Jim Pingle almost 7 years ago

You might consider changing "None" to "New Interface" or something like that as otherwise the tab names could be confusing to users.

Actions #4

Updated by Bill Meeks almost 7 years ago

Jim Pingle wrote:

You might consider changing "None" to "New Interface" or something like that as otherwise the tab names could be confusing to users.

Good idea. I will do that in the next update. I suspect the same issue exists in the Suricata package as well, since they share a bunch of GUI code. I will fix it there, too.

Bill

Actions

Also available in: Atom PDF