OpenWrt Forum Archive

Topic: firewallrule mistake in r3629 ?

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I know its a rather old release.
The build in firewall has this part:

### OUTPUT
### (connections with the router as source)

  # base case
  iptables -P OUTPUT DROP
  iptables -A OUTPUT -m state --state INVALID -j DROP
  iptables -A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT

  #
  # insert accept rule or to jump to new accept-check table here
  #
  iptables -A OUTPUT -j output_rule

  # allow
  iptables -A OUTPUT -j ACCEPT          #allow everything out

Isn't my firewall.user useless, when in output_rule chain I close somthing, and afterwords the build-in firewall opens all?
Did I miss something?
Should/ must I upgrade?
Did I post before reading relaese-note, which mention this allready?

I excuse for any non-readed documentation in advance

Revision 3629? Huh?

That's very old. Kamikaze is currently at revision 10051.

Yeah I know. But I hade upgrading, just because there is something new.
And I'm missing the way how to upgrade via LAn (like I did the first install via a perl script I think, called adam2flash.pl)

So this are actuall 2 question
1.Did I understand the firewall rule right (means it is wrong :-))
2. if I should upgrade, which way (just install it like new, because of the big cap between the relaeses, or is there a uopgrade way)
(2b. where is the adam2flash.pl?)
[EDIT]
Sorry: D-Link DSL-G664T
[/EDIT]

(Last edited by mclien on 30 Dec 2007, 13:51)

pick one
ls -al scripts/adam2flash*
-rw-r--r-- 1 weedy users 10729 2007-12-29 10:00 scripts/adam2flash-502T.pl
-rw-r--r-- 1 weedy users  5658 2007-12-29 10:00 scripts/adam2flash-fritzbox.pl
-rwxr-xr-x 1 weedy users  4511 2007-08-08 13:15 scripts/adam2flash.pl

The discussion might have continued from here.