[prev in list] [next in list] [prev in thread] [next in thread] 

List:       iptraf-ng
Subject:    Re: ethernet.desc in iptraf-ng syntax error
From:       Nikola Pajkovsky <npajkovs () redhat ! com>
Date:       2013-11-18 11:34:13
Message-ID: 87a9h2hrka.fsf () npajkovs ! redhat ! com
[Download RAW message or body]

Vitezslav Samel <vitezslav@samel.cz> writes:

> On Wed, Nov 06, 2013 at 09:13:55AM -0800, david wrote:
>> Folks
>> 
>> I just tried iptraf-ng, coming from a working version of iptraf.  I
>> found that the file, "ethernet.desc", is not being parsed correctly.
>> 
>> OS:  Centos 6.4 (same as RHEL 6.4)
>> iptraf version:  iptraf-ng-1.1.4-2.el6 (x86_64)
>> 
>> In iptraf, the ethernet description file consists of lies, each of
>> which has the form:
>> 
>> <mac-address>:name
>> where:
>>   <mac-address> is 12 hex characters (I used all lower case)
>>   :  stands for an actual colon
>>   name is a printable name to be shown on the display.
>> 
>> Although I don't know what restrictions there are on 'name', in my
>> case they consist of English letters, digits, underscore.
>> 
>> When the program runs, I get a very hard-to-read error message (it's
>> pink on a red background) saying that it's an invalid MAC, and
>> listing the MAC address, the colon and the first four characters of
>> the name.
>
>   In 1.1.4 version the "ethernet.desc" has another format and is not
> backwards compatible. Now he format is the same as /etc/ethers file.
> You need to rewrite the ethernet.desc to the new format or make new one
> with iptraf-ng.

yes, that's right. I had changed that as I haven't seen any reasons why
it should differ.

-- 
Nikola
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic