[Ewrt-devel] patch for nocat functionality after changing splish stuff
Michael Rasmussen
Fri Jul 30 09:03:38 PDT 2004
On Thu, Jul 29, 2004 at 02:07:23PM -0600, Charlie Watts wrote:
> On Thu, 29 Jul 2004, Michael Rasmussen wrote:
>
> > For posterity sake, where's that patch, or can it be clipped and posted
> > to the list?
>
> This patch? Works for me ...
No, I meant the patch that fixes the path for nocat so it works after you change
the splish/htdocs content.
What's this patch do?
> Index: src/router/splish/libexec/iptables/initialize.fw
> ===================================================================
> RCS file: /home/cvs/cvsroot/ewrt/src/router/splish/libexec/iptables/initialize.fw,v
> retrieving revision 1.3
> diff -u -r1.3 initialize.fw
> --- src/router/splish/libexec/iptables/initialize.fw 23 Apr 2004 04:52:10 -0000 1.3
> +++ src/router/splish/libexec/iptables/initialize.fw 29 Jul 2004 20:04:50 -0000
> @@ -20,6 +20,8 @@
>
> export PATH=/tmp/sbin:/tmp/bin:/bin:/usr/bin:/sbin:/usr/sbin
>
> +sleep 10
> +
> # Enable IP forwarding and rp_filter (to kill IP spoof attempts).
> #
> echo "1" > /proc/sys/net/ipv4/ip_forward
--
Michael Rasmussen, Portland Oregon
Be appropriate && Follow your curiosity
http://meme.patch.com/memes/BicycleRiding
Get Fixed: http://www.dampfixie.org
The fortune cookie says:
Put your Nose to the Grindstone!
-- Amalgamated Plastic Surgeons and Toolmakers, Ltd.
More information about the Ewrt-devel mailing list