Re: Error message change request (Sigþór Jarðarson)

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

 



Hi netfilter-request!

On Fri, 19 Sep 2003, netfilter-request@xxxxxxxxxxxxxxxxxxx wrote:

> Message: 2
> From: =?iso-8859-1?q?Sig=FE=F3r_Jar=F0arson?= <cshobe@xxxxxxxxxxxxxxxxxxxx>
> To: netfilter@xxxxxxxxxxxxxxxxxxx
> Subject: Error message change request
> Date: Thu, 18 Sep 2003 20:56:03 -0400
> 
> 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=
> =20
> 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=20
> `--dport' cannot be used in this context" or something.
> 
> =2D-=20
> Sig=FE=F3r Jar=F0arson
> cshobe@xxxxxxxxxxxxxxxxxxxx

Hi,
the answer is: .... 42.Just kidding

# /bin/iptables -A INPUT -p tcp --dport 22 -s 0/0 -d 0/0 -j ACCEPT
Best regards
Frederic

-- 
B.O.F.H excuse of the day: Domain controller not responding
http://www.seclab.jp

Attachment: pgp00551.pgp
Description: PGP signature


[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