Background: I'm running a very barebones Kamikaze 7.07 on Asus WL500gp. I'm using 2.6 (openwrt-brcm47xx-2.6-squashfs.trx). I'm new to Kamikaze, but very comfortable with Linux and command line/config files. I don't want wireless, so 2.6 is just fine.
Aside from the random seg faults (https://dev.openwrt.org/ticket/2035), things do seem to be working. I've been testing the port forwarding of the router and sustained transfers and so far so good.
I'd appreciate any help with the following questions:
1) I disabled crond (/etc/init.d/crond disable) and httpd. I don't want httpd. cron didn't seem to have any actual cron jobs to run, so it didn't seem like it was necessary. Any issues with that?
2) Where are the log files? The usual suspects are running (logger, syslogd, klogd), but there is nothing /var/log. If these are disabled somehow, is there anyway to enable them? I seem to have plenty of free ram (only 10M of 32M is in active use; I wouldn't mind using a couple of megs towards non-persistent logs).
3) I really like /etc/config/firewall. It tremendously simplifies iptables usage. There is one thing I can't figure out how to do: I'd like to "drop" certain ports, but only if they're on the WAN side. For example, I don't want anyone to be able to see port 22 (ssh) from the WAN side, but should be allowed from the LAN side. Is there a simple syntax for this in config/firewall? If not, what is equivalent iptables command and where do I put that?
4) I'm a bit confused about what files are permanent and which are not. Are all changes to the file system written back to flash storage? If not, which directories (other than /etc/config) are saved? Can I make changes in /etc/rc.d and expect those to survive a reboot?
5) /etc/modules.d enables both ppp and madwifi. I don't want either of those. Can I just remove those files and will it be permanent? are any of those modules necessary for a plain router on a broadband connection (no wireless)?
6) This may sound a bit crazy, but I gotta ask. Is there a way to disable all file system modifications once I'm happy with my configuration? Can I put the router in read-only mode for security purposes? The only way to change something should be via physical access to the device.
Thanks
Moh
P.S. It might be time to change the Sticky at the top of the forum. Kamikaze seems far enough along now :-) Pretty impressive stuff.