Add KEYBOARD_ABORT=disable into /etc/default/kbd if you want to prevent users from using STOP-A.
Check the utils under /usr/proc/bin
Modules
/usr/sbin/modinfo Display kernel module information
/usr/sbin/modload <module> Load a kernel module
/usr/sbin/modunload -i <module id> Unload a kernel module
nm -x /dev/ksyms | grep OBJ | more Tuneable kernel parameters
/usr/sbin/sysdef Show system kernal tunable details
Still to be validated:
- /etc/.netrc - ls() { /usr/bin/ls -a -b $* ; } - group-passwords (add a password-field to /etc/group) TRY requires then to use newgrp to change to that group (e.g. add thesu-program to this group...) - /etc/default/su: SULOG=/var/adm/sulog - touch /var/adm/loginlog; chown root:sys; chmod 600; - /etc/init.d/inetsvc: add /usr/sbin/inetd -s -t & - inetd: /usr/sbin/in.ftpd in.ftpd -dl
- eeporm oem-banner?true - eeprom oem-banner "This system is property of ..." - install quotas on your solaris-webserver (see instructions) - Patches:http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-license&nav=pub-patches - run pwck and grpck !!! on all machines at home! - touch /etc/default/{ftpd|telnetd} echo BANNER='""' > /etc/default/ftpd - /etc/init.d/inetinit ndd -set /dev/ip ip_forwarding 0 ip_forward_directed_broadcast 0 ip_ignore_redirect 1 ip_forward_src_routed 0 TCP_STRONG_ISS=2 (prevent ISS guessing) - /etc/system set noexec_user_stack=1 set noexec_user_stack_log=1
modlist = ndd -set $device $parameter !!
#
# retransmission timeouts Sol8
#
# tcp_rexmit_interval_initial 3000
# tcp_rexmit_interval_min 200 400
# tcp_ip_abort_interval 480000
# tcp_ip_abort_cinterval 180000
# tcp_rexmit_interval_max 60000
#
modlist /dev/tcp tcp_rexmit_interval_initial 3000 # 500 for laboratories
modlist /dev/tcp tcp_rexmit_interval_min 2000 # 200 for laboratories
modlist /dev/tcp tcp_ip_abort_interval 600000 # 10 min before drop
modlist /dev/tcp tcp_ip_abort_cinterval 60000 # 60 sec to estab. conn.
modlist /dev/tcp tcp_rexmit_interval_max 60000 # free nw resources quickly
modlist /dev/tcp tcp_slow_start_initial 2 # Solaris 8 uses 4
modlist /dev/tcp tcp_slow_start_after_idle 2 # Solaris 8 uses 4
modlist /dev/ip ip_ire_pathmtu_interval 600000
modlist /dev/tcp tcp_keepalive_interval 3600000
modlist /dev/tcp tcp_fin_wait_2_flush_interval 67500
modlist /dev/tcp tcp_time_wait_interval 60000 # 2MSL value
modlist /dev/ip ip_icmp_err_interval 0
modlist /dev/ip ip_forward_src_routed 0
modlist /dev/tcp tcp_smallest_anon_port 8192
modlist /dev/udp udp_smallest_anon_port 8192
# - uncomment, if you don't want to respond to a ping to any of your
# broadcast addresses. On one hand, it is rumored to have caused
# panics. On the other hand, it is a valid response, and often
# used to determine the UP hosts on a particular network.
modlist /dev/ip ip_respond_to_echo_broadcast 0
test $osver -ge 580 && modlist /dev/ip ip6_respond_to_echo_multicast 0
# - Enable the 'strong end system' model from RFC 1122
# Beware, this might break some interface routing policies in
# combination with static routes - disable, if you need such.
modlist /dev/ip ip_strict_dst_multihoming 1
test $osver -ge 580 && modlist /dev/ip ip6_strict_dst_multihoming 1
modlist /dev/udp udp_xmit_hiwat 16384 # max. UDP PDU size for sending
modlist /dev/udp udp_recv_hiwat 64000 # queue for UDP
|
CopyLeft (l) 2003 by Raffael Marty
|