slitaz-tools rev 811
Tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Jul 18 19:35:25 2013 +0100 (2013-07-18) |
parents | 8e208c31ad8e |
children | de13422f3a69 |
files | etc/slitaz/firewall.conf etc/slitaz/firewall.sh tinyutils/file-manager tinyutils/tazhw tinyutils/terminal |
line diff
1.1 --- a/etc/slitaz/firewall.conf Thu Jul 18 03:32:28 2013 +0300 1.2 +++ b/etc/slitaz/firewall.conf Thu Jul 18 19:35:25 2013 +0100 1.3 @@ -2,14 +2,14 @@ 1.4 # Sourced by: /etc/init.d/firewall and /etc/slitaz/firewall.sh 1.5 # 1.6 1.7 -# Network interfaces (separate by space) 1.8 +# Network interfaces (separated by space). 1.9 INTERFACES="eth0" 1.10 1.11 -# Enable/disable kernel security 1.12 +# Enable/disable kernel security. 1.13 KERNEL_SECURITY="yes" 1.14 1.15 # Enable/disable iptables rules (iptables package must be installed). 1.16 IPTABLES_RULES="no" 1.17 1.18 -# Accept input on the local network 1.19 +# Accept input on the local network. 1.20 LOCAL_NETWORK="192.168.0.0/24"
2.1 --- a/etc/slitaz/firewall.sh Thu Jul 18 03:32:28 2013 +0300 2.2 +++ b/etc/slitaz/firewall.sh Thu Jul 18 19:35:25 2013 +0100 2.3 @@ -19,33 +19,33 @@ 2.4 # Accept input on the local network 2.5 iptables -A INPUT -s $LOCAL_NETWORK -j ACCEPT 2.6 2.7 -# Accept near all output trafic. 2.8 +# Accept (nearly) all output trafic 2.9 iptables -A OUTPUT -m conntrack --ctstate NEW,ESTABLISHED,RELATED -j ACCEPT 2.10 2.11 -# Accept input trafic only for connections initialized by user. 2.12 +# Accept input trafic only for connections initialized by user 2.13 iptables -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT 2.14 2.15 # If you manage a HTTP/SSH/FTP/IRC server you can accept input for 2.16 -# non-established connections an some ports. Else you can disable the 2.17 -# lines below for more secured setup. 2.18 +# non-established connections on some ports. Else you can disable the 2.19 +# lines below for a more secure setup 2.20 for iface in $INTERFACES 2.21 do 2.22 - # Accept input on port 80 for the HTTP server. 2.23 + # Accept input on port 80 for the HTTP server 2.24 iptables -A INPUT -i $iface -p tcp --source-port 80 -j ACCEPT 2.25 2.26 - # Accept input on port 22 for SSH. 2.27 + # Accept input on port 22 for SSH 2.28 iptables -A INPUT -i $iface -p tcp --destination-port 22 -j ACCEPT 2.29 2.30 - # Accept port 21 and, 1024 to 60310 for FTP. 2.31 + # Accept port 21 and 1024 to 60310 for FTP 2.32 iptables -A INPUT -i $iface -p tcp --destination-port 21 -j ACCEPT 2.33 iptables -A INPUT -i $iface -p tcp --destination-port 1024:60310 -j ACCEPT 2.34 2.35 - # Accept port 6667 for IRC chat. 2.36 + # Accept port 6667 for IRC chat 2.37 iptables -A INPUT -i $iface -p tcp --source-port 6667 -j ACCEPT 2.38 2.39 - # Accept unprivileged ports. 2.40 + # Accept unprivileged ports 2.41 iptables -A INPUT -i $iface -p udp --destination-port 1024:65535 -j ACCEPT 2.42 2.43 - # Accept ping. 2.44 + # Accept ping 2.45 iptables -A INPUT -i $iface -p icmp -j ACCEPT 2.46 done
3.1 --- a/tinyutils/file-manager Thu Jul 18 03:32:28 2013 +0300 3.2 +++ b/tinyutils/file-manager Thu Jul 18 19:35:25 2013 +0100 3.3 @@ -1,5 +1,5 @@ 3.4 #!/bin/sh 3.5 -# Lauch SliTaz default File manager. 3.6 +# Launch SliTaz default File manager. 3.7 # 3.8 . /etc/slitaz/applications.conf 3.9
4.1 --- a/tinyutils/tazhw Thu Jul 18 03:32:28 2013 +0300 4.2 +++ b/tinyutils/tazhw Thu Jul 18 19:35:25 2013 +0100 4.3 @@ -50,7 +50,7 @@ 4.4 { 4.5 if [ -x /usr/bin/get-$mod-firmware ]; then 4.6 if [ ! -d /var/lib/tazpkg/installed/$mod-firmware ]; then 4.7 - # We need and active connection to install firmware and we 4.8 + # We need an active connection to install firmware and we 4.9 # only install firmware if specified from cmdline. 4.10 if ifconfig | grep -q "inet addr"; then 4.11 # Ensure module is not loaded and get files.
5.1 --- a/tinyutils/terminal Thu Jul 18 03:32:28 2013 +0300 5.2 +++ b/tinyutils/terminal Thu Jul 18 19:35:25 2013 +0100 5.3 @@ -15,7 +15,7 @@ 5.4 -help --help $(gettext 'Print out this message') 5.5 -geometry --geometry $(eval_gettext 'Width and height of terminal window ($GEOMETRY)') 5.6 -t -title -T --title $(eval_gettext 'Title name for window ("$TITLE")') 5.7 --h -hold $(gettext "Dont't close terminal after command finished") 5.8 +-h -hold $(gettext "Don't close terminal after command finished") 5.9 -e --xterm-execute $(gettext 'Command to execute (must be last in line)') 5.10 5.11