Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi, big n00b here. I've successfully got NFS running on my DNS-313 with my WDTV live. Reading the info from nfs.sourceforge.net as recommended by Fonz, it has some good stuff about security. I'm going through it but can't find the files hosts.deny and hosts.allow on the DNS-313. Do i have to install extra packages to get these as indicated in post http://dns323.kood.org/forum/viewtopic.php?id=2666. I assume this will work ok with the DNS-313 ? Also, how can i get command 'rpcinfo' to work ?
Thanks heaps !
Offline
rpcinfo is part of glibc which is not used in ffp. Use rpcinfo on another Linux computer (any Live CD should do).
/etc/hosts.deny and /etc/hosts.allow are not installed by ffp. If you want to use them, create them yourself. See hosts_access(5) (man 5 hosts_access) or google for documentation.
Note that /etc will be reset on reboot, so you need to reinstall the files after each reboot.
Offline
1. Create hosts.allow and hosts.deny in /ffp/etc
2. put in fun_plug script under:
# create /ffp link
echo "ln -snf $FFP_PATH /ffp"
ln -snf $FFP_PATH /ffp
...
ln -snf /mnt/HD_a4/ffp/etc/hosts.allow /etc/hosts.allow
ln -snf /mnt/HD_a4/ffp/etc/hosts.deny /etc/hosts.deny
...
3. In hosts.allow and hosts.deny put your roules
4. Remember, that hosts.deny is more important then hosts.allow.
After reboot you will be yours files always.
Thats all
Last edited by marek.koszalin (2010-02-09 23:11:44)
Offline
Thanks for info.. will give it a crack !
Offline
This worked great guys, thats for that. For other N00Bs, here are more specifics:
copied fun_plug.local from /ffp/etc/examples to /ffp/etc; this file has the following in it.
---------------------------------------------------------------------------
#!/ffp/bin/sh
PATH=/ffp/sbin:/ffp/bin
ln -snf /mnt/HD_a4/ffp/etc/hosts.allow /etc/hosts.allow
ln -snf /mnt/HD_a4/ffp/etc/hosts.deny /etc/hosts.deny
---------------------------------------------------------------------------
Create 2 files in /ffp/etc called hosts.allow and hosts.deny
Here are mine ( I only want 192.168.0.11 to have access):
hosts.allow:
portmap: 192.168.0.11
hosts.deny:
portmap: ALL
Offline