Vitezslav Samel <vitezslav(a)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