Re: Portforwarding reboots machine on 2.2.3

Juanjo Ciarlante (irriga@impsat1.com.ar)
Tue, 13 Apr 1999 11:46:24 -0300


--sdtB3X0nJg68CQEu
Content-Type: text/plain; charset=us-ascii

On Wed, Mar 31, 1999 at 05:24:08PM +0100, Duarte Cordeiro wrote:
> By mistake, I've just run ipmasqadm with portfw and forward packets to port
> 80 on machineA into port 80 on machineA. It's wrong, I know, but that was a
> error. Trying to access port 80 on that machine does reboot the machine.
>
> First of all, I think ipmasqadm shouldn't allow you to insert that rule
> (IMHO).
> But even if it does, it was supposed the reboot to happen ?
>
> Running 2.2.3 on i586.
> Haven't tried it with any other kernel version.
IP masq'd input path wasn't checking for possible recursion.
Attached patch solves the problem.

Regards

-- 
-- Juanjo       http://juanjox.linuxhq.com/

== Yerba mate & Linux == ... ehee what a !P0WER! PS: sorry for the high delay... far from procmail guru' here 8)

--sdtB3X0nJg68CQEu Content-Type: application/x-gunzip Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="patch-2.2.5-masqmod_norecursion.gz"

H4sICDJIEzcAA3BhdGNoLTIuMi41LW1hc3Ftb2Rfbm9yZWN1cnNpb24AjVDbTsJAFHzefsWE B1KopZSCBrxxjSFEgxDeTJrSnsJa2GK7FRPjv7vlZjQmug9nd09mzswc0zSx4iJ7swRJi29e 66q4XGwyWfGZ3Ww2rWrdsh3YtVbVbtkNZlecc80wjH/SnJZTV0yt3YZZazhnFzDyy26i3dbA UEY/xpYgiALIGAGZay99ySjxAoJc8hQbz49I3u7QlobjeddMxriQSEjiGko/3LoBfbH1YhrN S5eacYLt3lY5ryizabwm5HCs4yBbUQrfEwpmcvFMvjzopuDhgTD3AvixCPkiSyio7LuWZuwU Ql0fjntdPdc0b8KVt0iLw/F01HXvO9PH2WDS6Q/6pZKyrdBskyhLkT4aTB7c/qA7u0PhuEC9 1MI+hvLiZ0nKY6EaUllSougtyY9+2D548qSCPonCPjOLwoTIVX700x6YWkKWCFR3v4+99b/2 hzwd9Bx2hWqeAL9Mx7fpn19yVs9YAgAA

--sdtB3X0nJg68CQEu--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/