Re: [PATCH 1/2] New netfilter target to trigger LED devices

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

 



On Monday 2008-11-10 12:55, Adam Nielsen wrote:

>> > Does this mean I can remove those whole three lines?  Or do I still need to
>> > check the value of "invert" and complain if it's specified?
>> 
>> You still need to check for it. If you grep for P_NO_INVERT in all .c
>> files you will find the shortest possible line to do so.
>
> Ah ok, that makes sense.  On a related note, am I doing something wrong
> here?  Even when I'm not listing my target explicitly, I can get an odd
> error:
>
> $ iptables -A INPUT -j ACCEPT --test
> iptables v1.4.2: Unknown arg `(null)'

This is a known one. IIRC Pablo addressed this with a patch (but I don't 
see it in the git repo!?)


>> > Maybe I should only allow alphanumerics and basic punctuation?
>> 
>> I thought about that - but I have come to the conclusion that most
>> character should be allowed so that people can use all the
>> extended characters like CJK.
>
> So if I switch to using double-quotes then, is there anything else I'll
> need to escape? (such as '$')

Nope. Just '"', and obviously '\'.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux