tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: "npfctl validate" error non-message



On Sun, 15 Jan 2017 19:22:31 +0000, Mindaugas Rasiukevicius wrote:
> Hauke Fath <hf%spg.tu-darmstadt.de@localhost> wrote:
>> On 01/14/17 14:13, Hauke Fath wrote:
>>> # npfctl validate /etc/npf.conf
>>> npfctl: address family mismatch
>>> #
>> 
> It is because of the IPv4 and IPv6 address mixing.

That's what I figured out in the end, by commenting out any lines that 
looked remotely related. 

I guess my point is that the error message was useless in the face of a 
300 line rule set. Any line that the parser objects to it should point 
out with (at least) the line number.

In the end, I gave up on npf when I ran into an

Enabling NPF.
npfctl: npfctl_config_send: Invalid argument

which I was not able to debug.

Cheerio,
Hauke

-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-21344


Home | Main Index | Thread Index | Old Index