Error message change request

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

 



Hey all,

I have a quick request - a change to an error message.

A friend I sold a server to called me insistant that iptables was broken on 
the firewall I sold him.

He was trying the following, and got the following message:

superuser root@hydrogen:/home/root
# /bin/iptables -A INPUT -s 0.0.0.0/0 -d 0.0.0.0/0 --dport 22 -j ACCEPT
iptables v1.2.7a: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.

I figured out that he missed -p tcp, but the error is misleading.

I think it should instead say something like "iptables v1.2.7a: Argument 
`--dport' cannot be used in this context" or something.

-- 
Sigþór Jarðarson
cshobe@xxxxxxxxxxxxxxxxxxxx

"First off, I'd suggest printing out a copy of the GNU coding standards,
and NOT read it.  Burn them, it's a great symbolic gesture."
     -- Linus Torvalds



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux