# PaCkAgE DaTaStReAm ibackup 1 272 # end of header 070701000fe094000081a40000000000000001000000013edd9b5d00000169000000880000000000000000000000000000001000000004ibackup/pkginfoCLASSES=none BASEDIR=/ TZ=MET PATH=/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin PKG=ibackup NAME=iBackup ARCH=all VERSION=2.27 CATEGORY=system DESC=This package contains a tool to backup configuration files VENDOR=www.linuks.mine.nu HOTLINE= EMAIL=gurkan@linuks.mine.nu VSTOCK= PSTAMP=Grkan Sengn PKGINST=ibackup PKGSAV=/var/sadm/pkg/ibackup/save INSTDATE= 070701000fe093000081a40000000000000001000000013edd9b5d00000455000000880000000000000000000000000000000f00000004ibackup/pkgmap: 1 272 1 d none /etc 0755 root root 1 f none /etc/ibackup.conf 0700 root root 623 54982 1047668475 1 d none /usr 0755 root root 1 d none /usr/bin 0755 root root 1 f none /usr/bin/ibackup 0755 root root 11634 20615 1054040170 1 f none /usr/bin/sysconf 0755 root root 5524 48559 1054043610 1 d none /usr/local 0755 root root 1 d none /usr/local/doc 0755 root root 1 f none /usr/local/doc/COPYING 0644 root root 17992 29528 1014390491 1 f none /usr/local/doc/alpha.html 0644 root root 48607 44787 1050429842 1 f none /usr/local/doc/changelog 0644 root root 3137 18034 1054039318 1 d none /usr/local/doc/ibackup 0755 root root 1 f none /usr/local/doc/ibackup.html 0644 root root 9759 92 1054040934 1 f none /usr/local/doc/ibackup.png 0644 root root 2924 41766 1018594599 1 d none /usr/share 0755 root root 1 d none /usr/share/man 0755 root root 1 d none /usr/share/man/man1 0755 root root 1 f none /usr/share/man/man1/ibackup.1.gz 0644 root root 639 12067 1047666524 1 f none /usr/share/man/man1/sysconf.1.gz 0644 root root 600 7109 1050536766 1 i COPYING 17992 29528 1014390491 1 i pkginfo 361 30819 1054710621 07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!!070701000fe094000081a40000000000000001000000013edd9b5d00000169000000880000000000000000000000000000000800000004pkginfoCLASSES=none BASEDIR=/ TZ=MET PATH=/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin PKG=ibackup NAME=iBackup ARCH=all VERSION=2.27 CATEGORY=system DESC=This package contains a tool to backup configuration files VENDOR=www.linuks.mine.nu HOTLINE= EMAIL=gurkan@linuks.mine.nu VSTOCK= PSTAMP=Grkan Sengn PKGINST=ibackup PKGSAV=/var/sadm/pkg/ibackup/save INSTDATE= 070701000fe093000081a40000000000000001000000013edd9b5d00000455000000880000000000000000000000000000000700000004pkgmap: 1 272 1 d none /etc 0755 root root 1 f none /etc/ibackup.conf 0700 root root 623 54982 1047668475 1 d none /usr 0755 root root 1 d none /usr/bin 0755 root root 1 f none /usr/bin/ibackup 0755 root root 11634 20615 1054040170 1 f none /usr/bin/sysconf 0755 root root 5524 48559 1054043610 1 d none /usr/local 0755 root root 1 d none /usr/local/doc 0755 root root 1 f none /usr/local/doc/COPYING 0644 root root 17992 29528 1014390491 1 f none /usr/local/doc/alpha.html 0644 root root 48607 44787 1050429842 1 f none /usr/local/doc/changelog 0644 root root 3137 18034 1054039318 1 d none /usr/local/doc/ibackup 0755 root root 1 f none /usr/local/doc/ibackup.html 0644 root root 9759 92 1054040934 1 f none /usr/local/doc/ibackup.png 0644 root root 2924 41766 1018594599 1 d none /usr/share 0755 root root 1 d none /usr/share/man 0755 root root 1 d none /usr/share/man/man1 0755 root root 1 f none /usr/share/man/man1/ibackup.1.gz 0644 root root 639 12067 1047666524 1 f none /usr/share/man/man1/sysconf.1.gz 0644 root root 600 7109 1050536766 1 i COPYING 17992 29528 1014390491 1 i pkginfo 361 30819 1054710621 0707010010612e000041ed0000000000000001000000023edd9b5d00000000000000880000000000000000000000000000000800000004install0707010010612f000081a40000000000000001000000013c765edb00004648000000880000000000000000000000000000001000000004install/COPYING GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. 070701000fe095000041ed0000000000000001000000043edd9b5d00000000000000880000000000000000000000000000000500000004root070701000fe096000041ed0000000000000001000000023edd9b5d00000000000000880000000000000000000000000000000900000004root/etc070701000fe097000081e40000000000000000000000013e7226fb0000026f000000880000000000000000000000000000001600000004root/etc/ibackup.conf#configuration for ibackup #gurkan@linuks.mine.nu, www.linuks.mine.nu/ibackup/ #destination directory (could also be $PWD) dest=/root #compress the tarball or not (try with gzip, then compress) compress=1 #encrypt the tarball using openssl with a password encrypt=0 password=foobar #upload/mail the backup to some host/account (and delete it locally) upload=0 uploadcmd='scp -P 22 $file user@host:/some/dir && rm $file' #uploadcmd='ncftpput -u user -p password -p port somehost /home/backup $file && rm $file' #uploadcmd='nail -r ibackup@${HOSTNAME} -s $HOSTNAME -a $file moo@castle.is.home.my < /etc/motd && rm $file' 070701000fe098000041ed0000000000000001000000053edd9b5d00000000000000880000000000000000000000000000000900000004root/usr070701000fe099000041ed0000000000000001000000023edd9b5d00000000000000880000000000000000000000000000000d00000004root/usr/bin070701000fe09a000081ed0000000000000000000000013ed3606a00002d72000000880000000000000000000000000000001500000004root/usr/bin/ibackup#! /bin/sh #iBackup, gurkan@linuks.mine.nu, www.linuks.mine.nu/ibackup/ VERSION=2.27 if [ "x$ZSH_NAME" != x ]; then emulate sh; fi #look for $HOME/.ibackuprc and /etc/ibackup.conf if [ -f $HOME/.ibackuprc ]; then echo "Using $HOME/.ibackuprc" . $HOME/.ibackuprc else if [ -f /etc/ibackup.conf ]; then echo "Using /etc/ibackup.conf" . /etc/ibackup.conf else echo "Error: No configuration found, please set up" echo "$HOME/.ibackuprc or /etc/ibackup.conf." exit 1 fi fi if [ "`id`" != "`id root`" ]; then echo "Warning: probably can't read some files, you ain't root" >&2 fi #all umask are belong to me umask 077 #clear excludes file rm -rf /tmp/excludes touch /tmp/excludes case $@ in *-e*|*--encrypt*) encrypt=1;; esac case $@ in *--compress*) compress=1;; esac case $@ in *-n*|*--dont-compress*) compress=0;; esac case $@ in *-u*|*--upload*) upload=1;; esac case $@ in *--dont-upload*) upload=0;; esac case $@ in *linux*) rm -rf /tmp/sysinfo mkdir -p /tmp/sysinfo which rpm >/dev/null && rpm -qa >/tmp/sysinfo/rpm_installed which dpkg >/dev/null && dpkg -l >/tmp/sysinfo/deb_installed which dpkg >/dev/null && dpkg --get-selections >/tmp/sysinfo/deb_installed_gs which pkgtool >/dev/null && ls -la /var/log/packages >/tmp/sysinfo/tgz_installed dmesg >/tmp/sysinfo/dmesg fdisk -l >/tmp/sysinfo/fdisk-l ifconfig >/tmp/sysinfo/ifconfig netstat -nr >/tmp/sysinfo/netstat-nr netstat -plunt >/tmp/sysinfo/netstat-plunt netstat -s >/tmp/sysinfo/netstat-s dir="$dir var/spool/cron etc tmp/sysinfo/* usr/src/linux/.config boot/grub/menu.lst boot/grub/grub.conf boot/config*" ;; esac case $@ in *solaris*) cd /tmp rm -rf /tmp/sysinfo mkdir -p /tmp/sysinfo dmesg >sysinfo/dmesg hostid >sysinfo/hostid modinfo >sysinfo/modinfo ifconfig -a >sysinfo/ifconfig-a netstat -nr >sysinfo/netstat-nr netstat -na >sysinfo/netstat-na netstat -s >sysinfo/netstat-s showrev -a >sysinfo/showrev-a pkginfo >sysinfo/pkginfo who -r >sysinfo/who-r uname -a >sysinfo/uname-a cat /etc/*release | awk '{ for (i=1; i<=NF; i++) printf "%s ",$i; printf "\n" }' 2> /dev/null >sysinfo/release echo Machine running in `isainfo -b` bit mode >sysinfo/cpubits prtconf |grep -i "Memory size" >sysinfo/memory psrinfo -v| awk '{ for (i=1; i<=NF; i++) printf "%s ",$i; printf "\n" }' 2> /dev/null >sysinfo/cpuspeed echo "" >sysinfo/interfacesettings for a in `ifconfig -a |awk '{ print $1 }' |grep : |grep -v lo |sed s/://`; do name=`echo $a |sed s/[0-9]//g` num=`echo $a |sed s/[a-z]//g` echo interface $name instance $num >>sysinfo/interfacesettings ndd -set /dev/$name instance $num >>sysinfo/interfacesettings for b in instance link_speed link_mode adv_autoneg_cap adv_100hdx_cap adv_100fdx_cap; do echo -n "ndd /dev/$name $b" >>sysinfo/interfacesettings ndd /dev/$name $b >>sysinfo/interfacesettings done done dir="$dir tmp/sysinfo" dir="$dir etc/lvm var/spool/cron etc/ssh2 etc/ssh etc/host* etc/inet etc/defaultrouter etc/notrouter etc/ethers etc/passwd etc/group etc/inetd.conf etc/inittab etc/issue etc/netmasks etc/nodename etc/nsswitch.conf etc/profile etc/shadow etc/resolv.conf etc/staticroutes.conf etc/vfstab etc/system etc/rc0.d etc/rc1.d etc/rc2.d etc/rc3.d etc/rcS.d etc/init.d usr/local/etc" ;; esac case $@ in *freebsd*|*netbsd*|*openbsd*|*bsd*) cd /tmp rm -rf /tmp/sysinfo mkdir -p /tmp/sysinfo dmesg >sysinfo/dmesg ifconfig -a >sysinfo/ifconfig-a netstat -nr >sysinfo/netstat-nr netstat -na >sysinfo/netstat-na netstat -s >sysinfo/netstat-s uname -a >sysinfo/uname-a pkg_info >sysinfo/pkg_info dir="$dir tmp/sysinfo" dir="$dir etc usr/local/etc var/cron" esac case $@ in *ipso*) #restore #clish -c "set restore manual filename.tgz" clish -c "set backup manual filename `hostname`" clish -c "set backup manual on" dir="$dir var/backup/`hostname`_*.tgz" esac case $@ in *finjan*) #user surfingate, defaultpwd finjan #this won't work non-interactive yet, as i don't have any finjan #on solaris to work on it and test. su - oracle -c "csh -c /opt/Oracle/app/oracle/admin/7.3.4/bin/exp" dir="$dir usr/local/Finjan/Finjanserver/config/*.cfg" esac case $@ in *rainfinity*) dir="$dir /opt/rainfinity/rain/conf/*" esac case $@ in *sysconf*) mkdir -p /tmp/sysconf sysconf > /tmp/sysconf/sysconf.html dir="$dir tmp/sysconf" esac case $@ in *squid*) dir="$dir usr/local/squid/etc/* etc/squid/* etc/squid.conf etc/init.d/squid" esac case $@ in *apache*) dir="$dir usr/local/apache/conf/* usr/local/apache/htdocs/* etc/apache/* etc/init.d/apache" esac case $@ in *citrix*) dir="$dir usr/lib/ICAClient/config" esac #case $@ in *proc*) # rm -rf /tmp/proc # mkdir -p /tmp/proc # #grep -vE "^/proc/[0-9]+/" # find /proc -name "*" -type f |grep -v "[0-9]" |grep -v "kmsg" |grep -v "kcore" |grep -v "self" |tail +2 |while read a; do cat $a >/tmp/proc/`echo ${a:1}|sed "s,/,_,g"`; done # dir="$dir tmp/proc" # ;; #esac case $@ in *userconf*) #home .dotconf files dir="$dir `find /root -maxdepth 1 -name .\*`" dir="$dir `find /home -maxdepth 2 -name .\*`" ;; esac case $@ in *bind*) dir="$dir var/cache/bind var/named";; esac case $@ in *mysql-fs*) pre="/etc/init.d/mysql stop" post="/etc/init.d/mysql start" dir="$dir var/lib/mysql etc/mysql";; esac case $@ in *mysql-dump*) mysqldump --set-variable=max_allowed_packet=32M --all-databases > /tmp/db.mysql dir="$dir etc/mysql tmp/db.mysql";; esac case $@ in *postgresql-fs*) pre="/etc/init.d/postgresql stop" post="/etc/init.d/postgresql start" dir="$dir var/lib/postgres etc/postgresql";; esac case $@ in *postgresql-dump*) su - postgres -c "psql -l" >/tmp/db.tables su - postgres -c "/usr/lib/postgresql/bin/pg_dumpall >/tmp/db.pg" #|gzip >/tmp/db.pg.gz" dir="$dir tmp/db.pg tmp/db.tables etc/postgresql" post='echo Removing temporary database dumps... && rm /tmp/db.pg* /tmp/db.tables';; esac case $@ in *self*) dir="$dir usr/bin/ibackup etc/ibackup.conf";; esac case $@ in *pks*) dir="$dir var/lib/pks etc/pks/*";; esac case $@ in *mailman*) dir="$dir var/lib/mailman etc/mailman/*";; esac case $@ in *aide*) dir="$dir var/lib/aide etc/aide/*";; esac case $@ in *tripwire*) dir="$dir usr/local/tripwire/tfs/bin/twserver.cert usr/local/tripwire/tfs/bin/*.txt usr/local/tripwire/tfs/bin/*.cfg usr/local/tripwire/tfs/key/* usr/local/tripwire/tfs/policy/* usr/local/tripwire/tfs/report/*.twr usr/local/tripwire/tfs/db/database.twd";; esac case $@ in *home*) H=`echo $HOME |sed s,/,,1` dir="$dir $H/.gnupg $H/.ssh $H/.irssi $H/.lftp $H/.links $H/.mc";; esac case $@ in *sb_fullcluster*) dir="$dir opt/fullcluster/etc opt/fullcluster/web_config/conf";; esac case $@ in *sb_servercluster*) dir="$dir opt/SBSCbase etc/opt";; esac case $@ in *checkpoint*) dir="$dir `echo $FWDIR |sed "s,/,var/,"`";; esac case $@ in *viruswall*) find /etc/iscan/ -type f -name "lpt*" -print |sed "s,/,," >>/tmp/excludes find /etc/iscan/ -type f -name "log*" -print |sed "s,/,," >>/tmp/excludes dir="$dir etc/iscan opt/trend/ISADMIN/IScan.adm/conf opt/trend/ISBASE/IScan.BASE/intscan.ini*";; esac case $@ in *raptor*) /usr/raptor/bin/changelog #do NOT go subdirs for raptor! ifconfig -a >/usr/adm/sg/ifconfig-a.txt netstat -nr >/usr/adm/sg/netstat-nr.txt dir="$dir `for a in usr/adm/sg/*; do if [ ! -d $a ]; then echo $a; fi; done`" find /usr/adm/sg/ -type d |sed "s,/,," |tail +2 >>/tmp/excludes echo "usr/adm/sg/logfile" >>/tmp/excludes ;; esac case $@ in *example*) #do NOT go into subdirs for example! dir="$dir `for a in some/dir/*; do if [ ! -d $a ]; then echo $a; fi; done`" #exclude subdirectories find /some/dir/ -type d |sed "s,/,," |tail +2 >>/tmp/excludes ;; esac case $@ in *macosx*) dir="$dir etc Library/Preferences" ;; esac case $@ in *auto*) if [ ! -z "$FWDIR" ]; then backup="$backup checkpoint"; fi #ibackup $backup exit ;; esac if [ "x${1}" = "x" ]; then echo "$0 ${VERSION}, backup directory is set to ${dest}" echo "Usage: $0 [OPTION]... [CONFIGURATION]..." echo "Backup configuration files." echo cat << EOF -e, --encrypt encrypt the tarball -n, --dont-compress don't compress the tarbal --compress compress the tarball -u, --upload upload the tarball (scp/ftp/whatever) --dont-upload don't upload the tarball linux system configuration Linux solaris system configuration Solaris bsd system configuration FreeBSD, NetBSD, OpenBSD sysconf generate HTML system configuration squid Squid configuration apache Apache configuration citrix Citrix ICA Client configuration bind Bind configuration mailman Mailman configuration and data pks OpenPGP Public Key Server configuration and data aide AIDE configuration tripwire Tripwire configuration and db mysql-fs MySQL configuration and db (filesystem) mysql-dump MySQL configuration and db (dump) postgresql-fs PostgreSQL configuration and db (filesystem) postgresql-dump PostgreSQL configuration and db (dump) sb_fullcluster Stonebeat Fullcluster configuration sb_servercluster Stonebeat Servercluster configuration checkpoint Checkpoint Firewall configuration ipso Checkpoint and system configuration of Nokia IPSO viruswall Trend Micro Interscan Viruswall configuration raptor Raptor/Symantec Firewall configuration finjan Finjan Surfingate configuration rainfinity Rainfinity configuration EOF #echo "$0 [`cat $0 | grep "^case"| sed "s/)//g;s,*,,g" |awk '{ printf ("%s|", $4) }'`]"; echo exit fi if [ "x${dir}" = "x" ]; then echo "invalid configuration" echo exit fi if [ ! -d $dest ]; then mkdir -p $dest; fi backupdir=$dest/`hostname`_`date +%d%m%Y_%H%M%S`.tar cd / echo "Please wait while archiving $@ (${dest})..." #execute pre backup commands if any if [ ! "x${pre}" = "x" ]; then $pre; fi #create file one-file-system same-permissions tar cflpX $backupdir /tmp/excludes $dir #execute post backup commands if any if [ ! "x${post}" = "x" ]; then $post; fi #restore with cd / && tar xfp backup.tar chmod 600 $backupdir #clean up rm -rf /tmp/sysinfo /tmp/excludes /tmp/proc /tmp/sysconf if [ -f "${backupdir}" ]; then file=${backupdir} else echo "tar failed..." exit 1 fi if [ ! "x${compress}" = "x0" ]; then echo "Please wait while compressing ${1}..." gzip $file || compress $file if [ -f ${file}.gz ]; then file=${file}.gz; fi if [ -f ${file}.Z ]; then file=${file}.Z; fi fi if [ ! "x${encrypt}" = "x0" ]; then if [ ! -f "`which openssl`" ]; then echo "openssl not found... aborting" exit 1 fi echo "Please wait while encrypting ${file}..." openssl enc -bf -e -k $password -in $file -out ${file}.bf && rm $file if [ -f ${file}.bf ]; then file=${file}.bf; fi fi if [ ! "x${upload}" = "x0" ]; then echo "Please wait while uploading $file..." eval "$uploadcmd" fi 070701000fe09b000081ed0000000000000000000000013ed36dda00001594000000880000000000000000000000000000001500000004root/usr/bin/sysconf#! /bin/sh #sysconf System Configuration, gurkan@linuks.mine.nu, www.linuks.mine.nu/ibackup/ version="0.68" if [ "${1}x" = "-ax" ]; then h="-a" fi #which on solaris does not return non zero #if it does not find any binaries which() { p=`echo $PATH | sed "s,:, ,g"` nn=`find $p -name "$1" |wc -l` if [ $nn = 0 ]; then return 1; else return 0; fi } css() { cat << EOF EOF } command() { case "$1" in cat*) f=`echo "$1" | sed "s,cat,,"` #echo $f if [ -f $f ]; then if [ ! "${h}x" = "-ax" ]; then echo -e "

$2

" fi echo "# $1" if [ ! "${h}x" = "-ax" ]; then echo "
"
	    fi
	    cat $f
	    if [ ! "${h}x" = "-ax" ]; then
	    echo "
" fi fi ;; *) which `echo $1 | sed "s/ .*$//g"` >/dev/null && { if [ ! "${h}x" = "-ax" ]; then echo -e "

$2

" else echo fi echo "# $1" if [ ! "${h}x" = "-ax" ]; then echo "
"
	fi
    	eval $@
	if [ ! "${h}x" = "-ax" ]; then
	echo "
" fi } ;; esac } titleindex() { if [ ! "${h}x" = "-ax" ]; then builtin echo -ne "

$1

" else echo $1 fi } subindex() { if [ ! "${h}x" = "-ax" ]; then echo -e "$1
" else echo $1 fi } title() { if [ ! "${h}x" = "-ax" ]; then echo "
" echo -e "

$1

" else echo $1 fi } if [ ! "${1}x" = "-ax" ]; then cat << EOF System Configuration `hostname` EOF else echo System Configuration `hostname` fi # if [ ! "${1}x" = "-ax" ]; then css fi if [ ! "${1}x" = "-ax" ]; then cat << EOF EOF fi if [ ! "${1}x" = "-ax" ]; then echo "

System Configuration

" echo "

for `hostname`, `date`

" else echo "System Configuration" echo "for `hostname`, `date`" fi #create index with anchors titleindex "Hardware and Device Information" titleindex "Operating System Information" titleindex "Filesystem Information" titleindex "Network Information" titleindex "User and Login Information" titleindex "Security Information" title "Hardware and Device Information" command "cat /proc/cpuinfo" command "free -m" command "lspci" command "hostid" command "eeprom" command "dmesg | cut -c-80" command "ioscan -fn" title "Operating System Information" command "uname -a" command "uptime" command "ulimit -a" command "rpm -qa" command "dpkg -l" command "pkginfo" command "showrev -a" command "pkg_info" command "cat /etc/modules" command "/usr/sbin/modinfo" command "who -r" command "isainfo" command "isainfo -b" command "prtconf" command "/usr/platform/`uname -m`/sbin/prtdiag -v | grep OBP" command "ls /etc/*elease; cat /etc/*elease" command "ls /etc/*ersion; cat /etc/*ersion" command "psrinfo -v" command "sysctl -a" command "ndd /dev/arp \?" command "ndd /dev/icmp \?" command "ndd /dev/ip \?" command "ndd /dev/tcp \?" command "ndd /dev/udp \?" command "cat /etc/sysctl.conf" command "ps -ef" command "vrms" command "deborphan" command "cat /etc/default/su" command "cat /etc/default/kbd" command "cat /etc/default/login" command "cat /etc/default/passwd" command "cat /etc/default/inetinit" command "cat /etc/issue.net" command "ioscan -f" command "swap -s" command "swap -l" command ' cat /var/sadm/install_data/Solaris*log | grep "^\*\*\* Install"' title "Filesystem Information" command "df -k" command "cat /etc/fstab" command "cat /etc/vfstab" command "mount" command "fdisk -l" command "cat /etc/lvm/md.tab" command "metastat" command "disklabel -r wd0" command "vxdisk list" command "vxdg list" command "vxprint -sg" command "vxprint -lp" command "vxinfo" command "vxtask list" title "Network Information" command "cat /etc/hosts" command "cat /etc/resolv.conf" command "netstat -nr" command "netstat -na" command "netstat -ni" command "arp -a" command "ifconfig -a" command "cat /etc/defaultrouter" command "cat /etc/nodename" command "cat /etc/hostname" command "cat /etc/system" command "cat /etc/netmasks" command "cat /etc/network/interfaces" command "cat /etc/hostname.*" command "cat /etc/*inetd.conf" command "cat /etc/notrouter" command "cat /etc/ethers" command "cat /etc/nsswitch.conf" command "cat /etc/hosts.allow" command "cat /etc/hosts.deny" command "ls -la /etc/init.d/" command "cat /etc/ipf.conf" command "tcpdchk" command "ipfstat" command "ipfstat -i" command "ipchains -nL" command "iptables -nL" command "ipmasqadm portfw -ln" title "User and Login Information" command "cat /etc/passwd" command "cat /etc/shadow" command "cat /etc/group" command "cat /etc/shells" command "cat /etc/ftpusers" command "env" command "crontab -l" command "last -n 8" command 'lastlog | grep -v "Never logged in"' title "Security Information" command "chkrootkit -q" command "/usr/local/tripwire/tfs/bin/tripwire -m c" #command ' cat /usr/local/tripwire/tfs/policy/twpol.txt | grep -v "^$\|^#\|\ *#"' #command "aide --check" #command "tiger" if [ ! "${1}x" = "-ax" ]; then echo "" echo "" else echo fi 070701000fe09c000041ed0000000000000001000000033edd9b5d00000000000000880000000000000000000000000000000f00000004root/usr/local070701000fe09d000041ed0000000000000001000000023edd9b5d00000000000000880000000000000000000000000000001300000004root/usr/local/doc070701000fe09e000081a40000000000000000000000013c765edb00004648000000880000000000000000000000000000001b00000004root/usr/local/doc/COPYING GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. 070701000fe0a6000081a40000000000000000000000013e9c49920000bddf000000880000000000000000000000000000001e00000004root/usr/local/doc/alpha.html System Configuration alpha3

System Configuration

for alpha3, Sun Apr 6 14:43:13 CEST 2003

Hardware and Device Information

Operating System Information

Filesystem Information

Network Information

User and Login Information


Hardware and Device Information

# cat /proc/cpuinfo
cpu			: Alpha
cpu model		: EV5
cpu variation		: 7
cpu revision		: 0
cpu serial number	: 
system type		: Alcor
system variation	: Alcor
system revision		: 0
system serial number	: 
cycle frequency [Hz]	: 333333333 
timer frequency [Hz]	: 1024.00
page size [bytes]	: 8192
phys. address bits	: 40
max. addr. space #	: 127
BogoMIPS		: 331.35
kernel unaligned acc	: 0 (pc=0,va=0)
user unaligned acc	: 0 (pc=0,va=0)
platform string		: Digital AlphaStation 500/333
cpus detected		: 1

# free -m
             total       used       free     shared    buffers     cached
Mem:            58         54          4         61          4         29
-/+ buffers/cache:         20         38
Swap:          237         40        197

# lspci
00:06.0 Ethernet controller: Digital Equipment Corporation DECchip 21040 [Tulip] (rev 24)
00:08.0 VGA compatible controller: Digital Equipment Corporation PBXGB [TGA2] (rev 22)
00:09.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 02)
00:0a.0 Non-VGA unclassified device: Intel Corp. 82375EB (rev 05)

# hostid
ccc19420

# dmesg |cut -c-80
Linux version 2.2.20 (herbert@cardolan) (gcc version 2.95.4 20011006 (Debian pre
Booting GENERIC on Alcor variation Alcor using machine vector Alcor from SRM
Command line: ro root=/dev/sda1
Using epoch = 1952
Console: colour VGA+ 80x25
Calibrating delay loop... 331.48 BogoMIPS
Memory: 59536k available
Dentry hash table entries: 8192 (order 4, 128k)
Buffer cache hash table entries: 65536 (order 6, 512k)
Page cache hash table entries: 8192 (order 3, 64k)
POSIX conformance testing by UNIFIX
Alpha PCI BIOS32 revision 0.04
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 65536 bhash 65536)
Initializing RT netlink socket
Starting kswapd v 1.5 
parport0: PC-style at 0x3bc [SPP,PS2]
parport_probe: failed
parport0: no IEEE-1284 device present.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
lp0: using parport0 (polling).
RAM disk driver initialized:  16 RAM disks of 8192K size
loop: registered device at major 7
Floppy drive(s): fd0 is 2.88M
FDC 0 is a National Semiconductor PC87306
qlogicisp : new isp1020 revision ID (2)
scsi0 : QLogic ISP1020 SCSI on PCI bus 00 device 48 irq 28 I/O base 0x9800
scsi : 1 host.
  Vendor: DEC       Model: RZ28D    (C) DEC  Rev: 0010
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
  Vendor: OLIVETTI  Model: CP30540 525MB3.5  Rev: ADB6
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
scsi : detected 2 SCSI disks total.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 4110480 [2007 MB] [2.0 GB]
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 1025472 [500 MB] [0.5 GB]
eth0: DE434/5 at 0x9000 (PCI bus 0, device 6), h/w address 00:00:f8:23:1d:50,
      and requires IRQ29 (provided by PCI BIOS).
de4x5.c:V0.544 1999/5/8 davies@maniac.ultranet.com
Partition check:
 sda: sda1 sda2 sda3 sda4
 sdb: sdb1 sdb2
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 192k freed
Adding Swap: 243704k swap-space (priority -1)
eth0: media is BNC/AUI.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
VM: killing process apache
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
eth0: Insufficient memory; nuking packet.
VM: killing process syslogd
VM: killing process python2.1
VM: killing process python2.1
VM: killing process zope-z2
VM: killing process su

Operating System Information

# uname -a
Linux alpha3 2.2.20 #2 Wed Mar 20 19:57:28 EST 2002 alpha unknown unknown GNU/Linux

# uptime
 14:43:14 up 33 days,  2:15,  2 users,  load average: 0.00, 0.04, 0.12

# dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  aboot          0.9-1          Linux bootloader for the SRM console
ii  adduser        3.47           Add and remove users and groups
ii  analog         5.23-0woody1   analyzes logfiles from web servers
ii  apache         1.3.27-0.1     Versatile, high-performance HTTP server
ii  apache-common  1.3.27-0.1     Support files for all Apache webservers
ii  apt            0.5.4          Advanced front-end for dpkg
ii  apt-utils      0.5.4          APT utility programs
ii  aptitude       0.2.11.1-2     curses-based apt frontend
ii  at             3.1.8-11       Delayed job execution and batch processing
ii  autoconf       2.53-2         automatic configure script builder
ii  autoconf2.13   2.13-43        automatic configure script builder (obsolete
ii  automake       1.4-p4-1.1     A tool for generating GNU Standards-complian
ii  autoproject    0.15.1-2       create a skeleton source package for a new p
ii  autotools-dev  20020320.1     Update infrastructure for config.{guess,sub}
ii  base-config    1.33.18        Debian base configuration package
ii  base-files     3.0.2          Debian base system miscellaneous files
ii  base-passwd    3.4.1          Debian Base System Password/Group Files
ii  bash           2.05a-11       The GNU Bourne Again SHell
ii  binutils       2.12.90.0.1-4  The GNU assembler, linker and binary utiliti
ii  bison          1.35-3         A parser generator that is compatible with Y
ii  bsdmainutils   5.20020211-4.9 More utilities from FreeBSD.
ii  bsdutils       2.11n-4        Basic utilities from 4.4BSD-Lite.
ii  c2man          2.41-14        Graham Stoney's mechanized man page generato
ii  cflow          2.0-15         C function call hierarchy analyzer
ii  chrony         1.14-7         It sets your computer's clock from time serv
ii  console-common 0.7.14         Basic infrastructure for text console config
ii  console-data   1999.08.29-24  Keymaps, fonts, charset maps, fallback table
ii  console-tools  0.2.3-23.3     Linux console and font utilities.
ii  console-tools- 0.2.3-23.3     Shared libraries for Linux console and font 
ii  coreutils      4.5.8-2        The GNU core utilities
ii  courier-authda 0.37.3-2.3     Courier Mail Server authentication daemon
ii  courier-base   0.37.3-2.3     Courier Mail Server Base System
ii  courier-imap   1.4.3-2.3      IMAP daemon with PAM and Maildir support
rc  courier-pop    0.37.3-2.3     POP3 daemon with PAM and Maildir support
ii  cpio           2.4.2-39       GNU cpio -- a program to manage archives of 
ii  cpp            2.95.4-14      The GNU C preprocessor.
ii  cpp-2.95       2.95.4-11woody The GNU C preprocessor.
ii  cron           3.0pl1-72      management of regular background processing
ii  cutils         1.6-2          C source code utilities
ii  cvs            1.11.1p1debian Concurrent Versions System
ii  cxref          1.5c-9         Generates latex and HTML documentation for C
ii  debconf        1.2.31         Debian configuration management system
ii  debianutils    1.16           Miscellaneous utilities specific to Debian.
ii  dhcp-client    2.0pl5-11      DHCP Client
ii  diff           2.7-29         File comparison utilities
ii  dpkg           1.9.21         Package maintenance system for Debian
rc  drupal         4.0-4          Fully-featured content management/discussion
ii  e2fsprogs      1.27-2         The EXT2 file system utilities and libraries
ii  ed             0.2-19         The classic unix line editor
ii  epic4          1.1.7.20020907 epic irc client, version 4
ii  epic4-help     1.1.7.20020907 help files for epic4.
ii  epic4-script-s 1.35-3         the ONLY |<-lame irc script!
rc  exim           3.35-1         An MTA (Mail Transport Agent)
ii  fdutils        5.3-7          Linux floppy utilities
ii  file           3.37-3.1.woody Determines file type using "magic" numbers
ii  fileutils      4.1-10         GNU file management utilities
ii  findutils      4.1.7-2        utilities for finding files--find, xargs, an
ii  flex           2.5.4a-24      A fast lexical analyzer generator.
ii  g++            2.95.4-14      The GNU C++ compiler.
ii  g++-2.95       2.95.4-11woody The GNU C++ compiler.
ii  gcc            2.95.4-14      The GNU C compiler.
ii  gcc-2.95       2.95.4-11woody The GNU C compiler.
ii  gdb            5.2.cvs2002040 The GNU Debugger
ii  gettext        0.10.40-5      GNU Internationalization utilities
ii  gettext-base   0.10.40-5      GNU Internationalization utilities for the b
ii  gettext-el     0.10.40-5      Emacs po-mode for editing .po files.
ii  glibc-doc      2.2.5-11.2     GNU C Library: Documentation
ii  gpm            1.19.6-12.1    General Purpose Mouse Interface
ii  grep           2.4.2-3        GNU grep, egrep and fgrep.
ii  groff-base     1.17.2-15.wood GNU troff text-formatting system (base syste
ii  gzip           1.3.2-3        The GNU compression utility.
ii  hostname       2.09           A utility to set/show the host name or domai
ii  iconx          9.4.0-2        Executor for Icon, a high-level programming 
ii  ifupdown       0.6.4-4        High level tools to configure network interf
ii  indent         2.2.7-2        C language source code formatting program
ii  info           4.1-2          Standalone GNU Info documentation browser
ii  ipchains       1.3.10-15      Network firewalling for Linux 2.2.x
ii  klogd          1.4.1-10       Kernel Logging Daemon
ii  less           374-4          A file pager program, similar to more(1)
ii  lftp           2.4.9-1        Sophisticated command-line FTP/HTTP client p
ii  libapache-mod- 2.2.10-3       FastCGI module for Apache.
ii  libbz2-1.0     1.0.2-1        A high-quality block-sorting file compressor
ii  libc6.1        2.3.1-14       GNU C Library: Shared libraries and Timezone
ii  libc6.1-dev    2.3.1-14       GNU C Library: Development Libraries and Hea
ii  libcap1        1.10-12        support for getting/setting POSIX.1e capabil
ii  libdb1-compat  2.1.3-7        The Berkeley database routines [glibc 2.0/2.
ii  libdb2         2.7.7.0-7      The Berkeley database routines (run-time fil
ii  libdb3         3.2.9-16       Berkeley v3 Database Libraries [runtime]
ii  libdbi-perl    1.21-2         The Perl5 Database Interface by Tim Bunce
ii  libexpat1      1.95.6-3       XML parsing C library - runtime library
ii  libfreetype6   2.0.9-1        FreeType 2 font engine, shared library files
ii  libgd1         1.8.4-17.woody GD Graphics Library
ii  libgdbmg1      1.7.3-27       GNU dbm database routines (runtime version).
ii  libglib1.2     1.2.10-4       The GLib library of C routines
ii  libglib1.2-dev 1.2.10-4       Development files for GLib library
ii  libgpmg1       1.19.6-12      General Purpose Mouse Library [libc6]
ii  libgtk1.2      1.2.10-11      The GIMP Toolkit set of widgets for X
ii  libgtk1.2-comm 1.2.10-11      Common files for the GTK+ library
ii  libgtk1.2-dev  1.2.10-11      Development files for the GIMP Toolkit
ii  libident       0.22-2         simple RFC1413 client library - runtime
ii  libjpeg62      6b-5           The Independent JPEG Group's JPEG runtime li
ii  libldap2       2.0.23-6.3     OpenLDAP libraries.
ii  liblockfile1   1.03           NFS-safe locking library, includes dotlockfi
ii  libmm11        1.1.3-6.1      Shared memory library
ii  libmm12        1.2.2-1        Shared memory library - runtime
ii  libncurses5    5.3.20021109-2 Shared libraries for terminal handling
ii  libncurses5-de 5.3.20021109-2 Developer's libraries and docs for ncurses
ii  libnewt0       0.50.17-9.6    Not Erik's Windowing Toolkit - text mode win
ii  libnkf-ruby    1.6.7-3        Network Kanji code conversion Filter for Rub
ii  libpam-modules 0.72-35        Pluggable Authentication Modules for PAM
ii  libpam-runtime 0.72-35        Runtime support for the PAM library
ii  libpam0g       0.76-9         Pluggable Authentication Modules library
ii  libpcap0       0.6.2-2        System interface for user-level packet captu
ii  libpcre3       3.4-1.1        Philip Hazel's Perl Compatible Regular Expre
ii  libperl5.6     5.6.1-8.2      Shared Perl library.
ii  libpgsql2      7.2.1-2woody2  Shared library libpq.so.2 for PostgreSQL
ii  libpng2        1.0.12-3.woody PNG library - runtime
ii  libpopt0       1.6.2-7        lib for parsing cmdline parameters
ii  libreadline4   4.3-4          GNU readline and history libraries, run-time
ii  libruby        1.6.7-3        Libraries necessary to run Ruby
ii  libsasl7       1.5.27-3       Authentication abstraction library.
ii  libsigc++0     1.0.4-3        Type-safe Signal Framework for C++ - runtime
ii  libssl0.9.6    0.9.6c-2.woody SSL shared libraries
ii  libstdc++2.10- 2.95.4-11woody The GNU stdc++ library (development files)
ii  libstdc++2.10- 2.95.4-11woody The GNU stdc++ library
ii  libtool        1.4.2-4        Generic library support script
ii  libwrap0       7.6-9          Wietse Venema's TCP wrappers library
ii  libxml2        2.5.3-1        GNOME XML library
ii  liwc           1.7-1.1        Tools for manipulating C source code
ii  login          20000902-12    System login tools
ii  logrotate      3.5.9-8        Log rotation utility
ii  lynx           2.8.4.1b-3.2   Text-mode WWW Browser
ii  m4             1.4-14         a macro processing language
ii  mailman        2.0.11-1woody5 Powerful, web-based mailing list manager
ii  mailx          8.1.2-0.200204 A simple mail user agent.
ii  make           3.79.1-14      The GNU version of the "make" utility.
ii  makedev        2.3.1-58       Creates device files in /dev.
ii  makepasswd     1.10-1         Generate and encrypt passwords
ii  man-db         2.3.20-18      The on-line manual pager
ii  manpages       1.39-1.1       Man pages about using a Linux system.
ii  manpages-dev   1.39-1.1       Linux-development man pages.
ii  mawk           1.3.3-8        a pattern scanning and text processing langu
ii  mc             4.5.55-1.2     Midnight Commander - A powerful file manager
ii  mc-common      4.5.55-1.2     Common files for mc and gmc
ii  mime-codecs    7.03-1         Fast Quoted-Printable and BASE64 MIME transp
ii  mime-support   3.18-1         MIME files 'mime.types' & 'mailcap', and sup
ii  mimedecode     1.9-2          Decodes transfer encoded text type mime mess
ii  modconf        0.2.43         Device Driver Configuration
ii  modutils       2.4.15-1       Linux module utilities.
ii  mount          2.11n-4        Tools for mounting and manipulating filesyst
ii  mutt           1.3.28-2       Text-based mailreader supporting MIME, GPG, 
ii  nano           1.0.6-2        free Pico clone with some new features
ii  ncurses-base   5.2.20020112a- Descriptions of common terminal types
ii  ncurses-bin    5.2.20020112a- Terminal-related programs and man pages
ii  net-tools      1.60-4         The NET-3 networking toolkit
ii  netbase        4.07           Basic TCP/IP networking system
ii  netkit-inetd   0.10-9         The Internet Superserver
ii  netkit-ping    0.10-9         The ping utility from netkit
ii  netselect      0.3-4          Choose the fastest server automatically.
ii  nowebm         2.9a-7.1       A WEB-like literate-programming tool.
rc  ntp            4.1.0-8        Daemon and utilities for full NTP v4 timekee
rc  ntp-simple     4.1.0-8        NTP v4 daemon for simple systems.
rc  ntpdate        4.1.0-8        The ntpdate client for setting system time f
ii  nvi            1.79-20        4.4BSD re-implementation of vi.
ii  odbc-postgresq 7.2.1-2woody2  ODBC support for PostgreSQL
ii  odbcinst1      2.1.1-8        Support library and helper program for acces
ii  passwd         20000902-12    Change and administer password and group dat
ii  patch          2.5.4-11       Apply a diff file to an original
ii  pciutils       2.1.9-4        Linux PCI Utilities (for 2.[1234].x kernels)
ii  perl           5.6.1-8.2      Larry Wall's Practical Extraction and Report
ii  perl-base      5.6.1-8.2      The Pathologically Eclectic Rubbish Lister.
ii  perl-modules   5.6.1-8.2      Core Perl modules.
ii  php4           4.2.3-11       A server-side, HTML-embedded scripting langu
ii  php4-cgi       4.2.3-11       A server-side, HTML-embedded scripting langu
ii  php4-domxml    4.2.3-11       XMLv2 module for php4
ii  php4-pear      4.2.3-11       PEAR - PHP Extension and Application Reposit
ii  pkg-config     0.11.0-0.1     program and autoconf macro to gather compile
ii  plone          1.0.1-2        A zope/cmf-based content management system
ii  postfix        1.1.11-0.woody A high-performance mail transport agent
ii  postfix-ldap   1.1.11-0.woody LDAP map support for Postfix
ii  postfix-pcre   1.1.11-0.woody PCRE map support for Postfix
ii  ppp            2.4.1.uus-4    Point-to-Point Protocol (PPP) daemon.
ii  pppconfig      2.0.14         A text menu based utility for configuring pp
ii  pppoe          3.3-1.1        PPP over Ethernet driver
ii  pppoeconf      0.9.10.6       configures PPPoE/ADSL
ii  procmail       3.22-4         Versatile e-mail processor.
ii  procps         2.0.7-8        The /proc file system utilities.
ii  python         2.1.3-3.2      An interactive object-oriented scripting lan
ii  python2.1      2.1.3-4        An interactive object-oriented scripting lan
ii  python2.1-egen 2.0.3-3        Date and time handling routines for Python 2
ii  python2.1-egen 2.0.3-3        A collection of new builtins for Python 2.1
ii  python2.1-popy 2.0.8-3        module providing access to PostgreSQL from P
ii  python2.1-xml  0.7.1-2        XML tools for Python (2.1.x)
ii  python2.1-xmlb 2.1.3-4        XML support included in Python (v2.1)
rc  qpopper        4.0.4-2.woody. Enhanced Post Office Protocol server (POP3).
ii  rdate          1.4-1          Set the system's date from a remote host.
ii  ruby           1.6.7-3        An interpreter of object-oriented scripting 
ii  sed            3.02-8         The GNU sed stream editor.
ii  setserial      2.17-24        Controls configuration of serial ports.
ii  shellutils     2.0.11-11      The GNU shell programming utilities.
ii  slang1         1.4.4-7.2      The S-Lang programming library - runtime ver
ii  solid-pop3d    0.15-1.1       POP3 server supporting Maildir, PAM, vhostin
ii  squishdot      1.4.0-1        Web-based News/Discussion System
ii  ssh            3.4p1-1        Secure rlogin/rsh/rcp replacement (OpenSSH)
ii  stl-manual     3.30-4         C++-STL documentation in HTML
ii  strace         4.4-1.2        A system call tracer.
ii  sysklogd       1.4.1-10       System Logging Daemon
ii  sysvinit       2.84-2woody1   System-V like init.
ii  tar            1.13.25-2      GNU tar
ii  tasksel        1.18           Tool for selecting tasks for installation on
ii  tcpd           7.6-9          Wietse Venema's TCP wrapper utilities
ii  telnet         0.17-18        The telnet client.
ii  textutils      2.0-12         The GNU text file processing utilities.
ii  unzip          5.50-1         De-archiver for .zip files
ii  util-linux     2.11n-4        Miscellaneous system utilities.
ii  vim            6.1.018-1      Vi IMproved - enhanced vi editor
ii  wget           1.8.2-5        retrieves files from the web
ii  whiptail       0.50.17-9.6    Displays user-friendly dialog boxes from she
ii  wwwconfig-comm 0.0.25         Debian web auto configuration
ii  xfree86-common 4.1.0-16       X Window System (XFree86) infrastructure
ii  xlibs          4.1.0-16       X Window System client libraries
ii  xlibs-dev      4.1.0-16       X Window System client library development f
ii  xmms           1.2.7-1        Versatile X audio player that looks like Win
ii  xmms-dev       1.2.7-1        XMMS development static library and header f
ii  zlib1g         1.1.4-1        compression library - runtime
ii  zope           2.6.1-0.3      An Open Source Web Application Server
ii  zope-book      20030116-1     Zope Open Content Book
ii  zope-cmf       1.3-1          Zope Content Management Framework.
ii  zope-cmfcalend 1.3-1          Zope Content Management Framework Calendar.
ii  zope-cmfcore   1.3-1          Zope Content Management Framework Core servi
ii  zope-cmfdefaul 1.3-1          Zope Content Management Framework Default (b
ii  zope-cmfplone  1.0.1-2        A zope/cmf-based content management system
ii  zope-cmftopic  1.3-1          Zope Content Management Framework Topic.
ii  zope-cmfworkfl 0.4.2-1        Zope Content Management Framework workflow m
ii  zope-formulato 1.3.1-1        A tool to create and validate web forms in Z
ii  zope-tinytable 0b2-7          Present tabular data in Zope

# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a "#", and everything on the line after them are ignored.

# who -r
         run-level 2  Mar  4 08:34                   last=S  

# ls /etc/*elease; cat /etc/*elease

# ls /etc/*ersion; cat /etc/*ersion
/etc/debian_version
3.0

# cat /etc/sysctl.conf
#
# /etc/sysctl.conf - Configuration file for setting system variables
# See sysctl.conf (5) for information.
#
#kernel.domainname = example.com
#net/ipv4/icmp_echo_ignore_broadcasts=1

# ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Mar04 ?        00:00:10 init [2]        
root         2     1  0 Mar04 ?        00:00:41 [kflushd]
root         3     1  0 Mar04 ?        00:00:20 [kupdate]
root         4     1  0 Mar04 ?        00:01:09 [kswapd]
root         5     1  0 Mar04 ?        00:00:00 [keventd]
daemon     207     1  0 Mar04 ?        00:00:00 /usr/sbin/atd
root      7811     1  0 Mar06 ?        00:00:00 [inetd]
root      7820     1  0 Mar06 ?        00:00:58 /usr/sbin/cron
root      7835     1  0 Mar06 ?        00:00:00 /usr/sbin/sshd
root      9070     1  0 Mar06 ?        00:00:00 [gpm]
root      9658     1  0 Mar06 tty2     00:00:00 [getty]
root      9659     1  0 Mar06 tty1     00:00:00 [getty]
root      9660     1  0 Mar06 tty3     00:00:00 [getty]
root      9661     1  0 Mar06 tty4     00:00:00 [getty]
root      9662     1  0 Mar06 tty5     00:00:00 [getty]
root     21201     1  0 Mar19 tty6     00:00:00 [getty]
root     12482     1  0 Mar20 ?        00:00:24 /usr/lib/postfix/master
postfix  12486 12482  0 Mar20 ?        00:00:10 qmgr -l -t fifo -u -c
root     12752     1  0 Mar20 ?        00:00:00 [authdaemond.pla]
root     12753 12752  0 Mar20 ?        00:00:00 [authdaemond.pla]
root     12754 12752  0 Mar20 ?        00:00:00 [authdaemond.pla]
root     12755 12752  0 Mar20 ?        00:00:00 [authdaemond.pla]
root     12756 12752  0 Mar20 ?        00:00:00 [authdaemond.pla]
root     12757 12752  0 Mar20 ?        00:00:00 [authdaemond.pla]
root     28452     1  0 Mar24 ?        00:00:00 [couriertcpd]
root     28455     1  0 Mar24 ?        00:00:00 [courierlogger]
www-data 13686     1  0 Apr04 ?        00:05:04 [python2.1]
www-data 13687     1  0 Apr04 ?        00:00:05 [python2.1]
www-data 13688     1  0 Apr04 ?        00:00:07 [python2.1]
www-data 13689     1  0 Apr04 ?        00:02:01 [python2.1]
root     13752     1  0 Apr04 ?        00:00:19 /usr/sbin/apache
www-data 13935 13752  0 06:26 ?        00:00:00 /usr/sbin/apache
www-data 13936 13752  0 06:26 ?        00:00:00 /usr/sbin/apache
www-data 13937 13752  0 06:26 ?        00:00:00 /usr/sbin/apache
www-data 13938 13752  0 06:26 ?        00:00:00 /usr/sbin/apache
www-data 13939 13752  0 06:26 ?        00:00:00 /usr/sbin/apache
root     14016     1  0 06:27 ?        00:00:02 /sbin/syslogd
www-data 14125 13752  0 06:35 ?        00:00:00 /usr/sbin/apache
www-data 14712 13752  0 07:05 ?        00:00:00 /usr/sbin/apache
www-data 14726 13752  0 07:06 ?        00:00:00 /usr/sbin/apache
www-data 14755 13752  0 07:08 ?        00:00:00 /usr/sbin/apache
root     21413  7835  0 14:15 ?        00:00:00 /usr/sbin/sshd
kpanic   21415 21413  0 14:15 ?        00:00:00 /usr/sbin/sshd
kpanic   21416 21415  0 14:15 pts/1    00:00:00 -bash
root     21419 21416  0 14:15 pts/1    00:00:00 bash
postfix  27692 12482  0 14:37 ?        00:00:00 pickup -l -t fifo -u -c
root     27744  7835  0 14:40 ?        00:00:00 /usr/sbin/sshd
tarzeau  27746 27744  0 14:40 ?        00:00:00 /usr/sbin/sshd
tarzeau  27747 27746  0 14:40 pts/0    00:00:00 -bash
root     27783 21419  0 14:41 pts/1    00:00:00 less .config
tarzeau  27817 27747  2 14:43 pts/0    00:00:00 sh ./sysconf
tarzeau  27872 27817  0 14:43 pts/0    00:00:00 ps -ef

# cat /etc/issue.net
Debian GNU/%s 3.0 %h

Filesystem Information

# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1                93329     34127     54383  39% /
/dev/sda2               474475     15140    434836   4% /home
/dev/sda3               672000    575880     61984  91% /usr
/dev/sda4               773048    132492    601288  19% /var
/dev/sdb2               259766       839    245514   1% /tmp

# cat /etc/fstab
# /etc/fstab: static file system information.
#
# 						
/dev/sda1	/		ext2	errors=remount-ro	0	1
/dev/sdb1	none		swap	sw			0	0
proc		/proc		proc	defaults		0	0
/dev/fd0	/floppy		auto	user,noauto		0	0
/dev/cdrom	/cdrom		iso9660	ro,user,noauto		0	0
/dev/sda2	/home	ext2	defaults			0	2
/dev/sda3	/usr	ext2	defaults			0	2
/dev/sda4	/var	ext2	defaults			0	2
/dev/sdb2	/tmp	ext2	defaults			0	2

# mount
/dev/sda1 on / type ext2 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda2 on /home type ext2 (rw)
/dev/sda3 on /usr type ext2 (rw)
/dev/sda4 on /var type ext2 (rw)
/dev/sdb2 on /tmp type ext2 (rw)

Network Information

# cat /etc/hosts
127.0.0.1	localhost
191.103.12.148	alpha3.unipv.it	alpha3

# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

# cat /etc/resolv.conf
search unipv.it
nameserver 191.103.15.27
nameserver 131.175.1.4

# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
191.103.12.0    0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         191.103.12.254  0.0.0.0         UG        0 0          0 eth0

# netstat -na
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 191.103.12.148:22       217.162.4.93:63278      ESTABLISHED 
tcp      625      0 127.0.0.1:9673          127.0.0.1:4876          CLOSE_WAIT  
tcp        1      1 191.103.12.148:80       80.104.45.241:32885     LAST_ACK    
tcp      625      0 127.0.0.1:9673          127.0.0.1:4875          CLOSE_WAIT  
tcp        1      1 191.103.12.148:80       80.104.45.241:32884     LAST_ACK    
tcp        0      0 191.103.12.148:22       151.38.68.163:55218     ESTABLISHED 
tcp      318      0 127.0.0.1:9673          127.0.0.1:4844          CLOSE_WAIT  
tcp      318      0 127.0.0.1:9673          127.0.0.1:4843          CLOSE_WAIT  
tcp      321      0 127.0.0.1:9673          127.0.0.1:4841          CLOSE_WAIT  
tcp      321      0 127.0.0.1:9673          127.0.0.1:4840          CLOSE_WAIT  
tcp      321      0 127.0.0.1:9673          127.0.0.1:4839          CLOSE_WAIT  
tcp      363      0 127.0.0.1:9673          127.0.0.1:4838          CLOSE_WAIT  
tcp      335      0 127.0.0.1:9673          127.0.0.1:4836          CLOSE_WAIT  
tcp      335      0 127.0.0.1:9673          127.0.0.1:4835          CLOSE_WAIT  
tcp      318      0 127.0.0.1:9673          127.0.0.1:4834          CLOSE_WAIT  
tcp      304      0 127.0.0.1:9673          127.0.0.1:4832          CLOSE_WAIT  
tcp      304      0 127.0.0.1:9673          127.0.0.1:4831          CLOSE_WAIT  
tcp      294      0 127.0.0.1:9673          127.0.0.1:4830          CLOSE_WAIT  
tcp      296      0 127.0.0.1:9673          127.0.0.1:4828          CLOSE_WAIT  
tcp      306      0 127.0.0.1:9673          127.0.0.1:4749          CLOSE_WAIT  
tcp      306      0 127.0.0.1:9673          127.0.0.1:4748          CLOSE_WAIT  
tcp      296      0 127.0.0.1:9673          127.0.0.1:4747          CLOSE_WAIT  
tcp      298      0 127.0.0.1:9673          127.0.0.1:4745          CLOSE_WAIT  
tcp        0      0 191.103.12.148:9673     80.104.73.228:3073      ESTABLISHED 
tcp        0      0 191.103.12.148:9673     80.104.73.228:3063      ESTABLISHED 
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:8021            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:9673            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:2401            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
raw        0      0 0.0.0.0:1               0.0.0.0:*               7           
raw        0      0 0.0.0.0:6               0.0.0.0:*               7           
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  0      [ ACC ]     STREAM     LISTENING     424945 public/cleanup
unix  0      [ ACC ]     STREAM     LISTENING     424952 private/rewrite
unix  0      [ ACC ]     STREAM     LISTENING     424956 private/bounce
unix  0      [ ACC ]     STREAM     LISTENING     424960 private/defer
unix  0      [ ACC ]     STREAM     LISTENING     424964 public/flush
unix  0      [ ACC ]     STREAM     LISTENING     424968 private/smtp
unix  0      [ ACC ]     STREAM     LISTENING     424972 public/showq
unix  0      [ ACC ]     STREAM     LISTENING     424976 private/error
unix  0      [ ACC ]     STREAM     LISTENING     424980 private/local
unix  0      [ ACC ]     STREAM     LISTENING     424984 private/virtual
unix  0      [ ACC ]     STREAM     LISTENING     424988 private/lmtp
unix  0      [ ACC ]     STREAM     LISTENING     424992 private/cyrus
unix  0      [ ACC ]     STREAM     LISTENING     424996 private/uucp
unix  0      [ ACC ]     STREAM     LISTENING     425000 private/ifmail
unix  0      [ ACC ]     STREAM     LISTENING     425004 private/bsmtp
unix  0      [ ACC ]     STREAM     LISTENING     425008 private/scalemail-backend
unix  1      [ ]         DGRAM                    963173 /dev/log
unix  0      [ ACC ]     STREAM     LISTENING     908583 /var/lib/zope/var/Z2-pcgi.soc
unix  0      [ ACC ]     STREAM     LISTENING     425590 /var/run/courier/authdaemon/socket.tmp
unix  0      [ ACC ]     STREAM     LISTENING     74078  /dev/gpmctl
unix  1      [ W ]       STREAM     CONNECTED     981205 
unix  1      [ ]         STREAM     CONNECTED     981204 
unix  0      [ ]         DGRAM                    981094 
unix  1      [ W ]       STREAM     CONNECTED     974517 
unix  1      [ ]         STREAM     CONNECTED     974516 
unix  0      [ ]         DGRAM                    554733 
unix  0      [ ]         DGRAM                    425589 
unix  1      [ ]         STREAM     CONNECTED     425011 
unix  1      [ ]         STREAM     CONNECTED     425010 
unix  1      [ ]         STREAM     CONNECTED     425007 
unix  1      [ ]         STREAM     CONNECTED     425006 
unix  1      [ ]         STREAM     CONNECTED     425003 
unix  1      [ ]         STREAM     CONNECTED     425002 
unix  1      [ ]         STREAM     CONNECTED     424999 
unix  1      [ ]         STREAM     CONNECTED     424998 
unix  1      [ ]         STREAM     CONNECTED     424995 
unix  1      [ ]         STREAM     CONNECTED     424994 
unix  1      [ ]         STREAM     CONNECTED     424991 
unix  1      [ ]         STREAM     CONNECTED     424990 
unix  1      [ ]         STREAM     CONNECTED     424987 
unix  1      [ ]         STREAM     CONNECTED     424986 
unix  1      [ ]         STREAM     CONNECTED     424983 
unix  1      [ ]         STREAM     CONNECTED     424982 
unix  1      [ ]         STREAM     CONNECTED     424979 
unix  1      [ ]         STREAM     CONNECTED     424978 
unix  1      [ ]         STREAM     CONNECTED     424975 
unix  1      [ ]         STREAM     CONNECTED     424974 
unix  1      [ ]         STREAM     CONNECTED     424971 
unix  1      [ ]         STREAM     CONNECTED     424970 
unix  1      [ ]         STREAM     CONNECTED     424967 
unix  1      [ ]         STREAM     CONNECTED     424966 
unix  1      [ ]         STREAM     CONNECTED     424963 
unix  1      [ ]         STREAM     CONNECTED     424962 
unix  1      [ ]         STREAM     CONNECTED     424959 
unix  1      [ ]         STREAM     CONNECTED     424958 
unix  1      [ ]         STREAM     CONNECTED     424955 
unix  1      [ ]         STREAM     CONNECTED     424954 
unix  1      [ ]         STREAM     CONNECTED     424951 
unix  1      [ ]         STREAM     CONNECTED     424950 
unix  1      [ ]         STREAM     CONNECTED     424948 
unix  1      [ ]         STREAM     CONNECTED     424947 
unix  1      [ ]         STREAM     CONNECTED     424944 
unix  1      [ ]         STREAM     CONNECTED     424943 
unix  1      [ ]         STREAM     CONNECTED     424941 
unix  1      [ ]         STREAM     CONNECTED     424940 
unix  0      [ ]         DGRAM                    424935 
unix  0      [ ]         DGRAM                    138    

# netstat -ni
Kernel Interface table
Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR   TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0   1500   0 9718434      0     46      0  337363      0      0      0 BMRU
lo     8020   0   71923      0      0      0   71923      0      0      0 LRU

# cat /etc/hostname
alpha3

# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
	address 191.103.12.148
	netmask 255.255.255.0
	network 191.103.12.0
	broadcast 191.103.12.255
	gateway 191.103.12.254

# cat /etc/*inetd.conf
# /etc/inetd.conf:  see inetd(8) for further informations.
#
# Internet server configuration database
#
#
# Lines starting with "#:LABEL:" or "##" should not
# be changed unless you know what you are doing!
#
# If you want to disable an entry so it isn't touched during
# package updates just comment it out with a single '#' character.
#
# Packages should modify this file by using update-inetd(8)
#
#       
#
#:INTERNAL: Internal services
#echo		stream	tcp	nowait	root	internal
#echo		dgram	udp	wait	root	internal
#chargen	stream	tcp	nowait	root	internal
#chargen	dgram	udp	wait	root	internal
#discard		stream	tcp	nowait	root	internal
#discard		dgram	udp	wait	root	internal
#daytime		stream	tcp	nowait	root	internal
#daytime	dgram	udp	wait	root	internal
#time		stream	tcp	nowait	root	internal
#time		dgram	udp	wait	root	internal

#:STANDARD: These are standard services.

#:BSD: Shell, login, exec and talk are BSD protocols.

#:MAIL: Mail, news and uucp services.
#disabled#smtp		stream	tcp	nowait	mail	/usr/sbin/exim exim -bs
pop3		stream	tcp	nowait	root.mail	/usr/sbin/tcpd	/usr/sbin/solid-pop3d

#:INFO: Info services

#:BOOT: Tftp service is provided primarily for booting.  Most sites
# run this only on machines acting as "boot servers."

#:RPC: RPC based services

#:HAM-RADIO: amateur-radio services

#:OTHER: Other services
cvspserver	stream	tcp	nowait.400	root	/usr/sbin/tcpd	/usr/sbin/cvs-pserver

# cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

# cat /etc/hosts.allow
# /etc/hosts.allow: list of hosts that are allowed to access the system.
#                   See the manual pages hosts_access(5), hosts_options(5)
#                   and /usr/doc/netbase/portmapper.txt.gz
#
# Example:    ALL: LOCAL @some_netgroup
#             ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper. See portmap(8)
# and /usr/doc/portmap/portmapper.txt.gz for further information.
#

# cat /etc/hosts.deny
# /etc/hosts.deny: list of hosts that are _not_ allowed to access the system.
#                  See the manual pages hosts_access(5), hosts_options(5)
#                  and /usr/doc/netbase/portmapper.txt.gz
#
# Example:    ALL: some.host.name, .some.domain
#             ALL EXCEPT in.fingerd: other.host.name, .other.domain
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper. See portmap(8)
# and /usr/doc/portmap/portmapper.txt.gz for further information.
#
# The PARANOID wildcard matches any host whose name does not match its
# address. You may wish to enable this to ensure any programs that don't
# validate looked up hostnames still leave understandable logs. In past
# versions of Debian this has been the default.
# ALL: PARANOID

# ls -la /etc/init.d/
total 93
drwxr-xr-x    2 root     root         2048 Mar 20 18:47 .
drwxr-xr-x   56 root     root         3072 Apr  6 14:40 ..
-rw-r--r--    1 root     root          854 May 29  2002 README
-rwxr-xr-x    1 root     root         1430 Jan  4 03:43 apache
-rwxr-xr-x    1 root     root         1074 Jan 19  2002 atd
-rwxr-xr-x    1 root     root         1967 May 29  2002 bootmisc.sh
-rwxr-xr-x    1 root     root          894 May 29  2002 checkfs.sh
-rwxr-xr-x    1 root     root         4048 May 29  2002 checkroot.sh
-rwxr-xr-x    1 root     root         1266 Apr 19  2002 chrony
-rwxr-xr-x    1 root     root         2757 Nov 12  2001 console-screen.sh
-rwxr-xr-x    1 root     root          814 Nov 14 14:39 courier-authdaemon
-rwxr-xr-x    1 root     root         1510 Nov 14 14:39 courier-imap
-rwxr-xr-x    1 root     root         1440 Nov 14 14:39 courier-pop
-rwxr-xr-x    1 root     root          868 Oct  1  2001 cron
-rwxr-xr-x    1 root     root          782 Feb 26 08:34 devpts.sh
-rwxr-xr-x    1 root     root          599 Jan  5  2002 dns-clean
-rwxr-xr-x    1 root     root         1315 Mar  6  2002 exim
-rwxr-xr-x    1 root     root         1473 Feb 11 20:37 gpm
-rwxr-xr-x    1 root     root          418 May 29  2002 halt
-rwxr-xr-x    1 root     root          165 May 29  2002 hostname.sh
-rwxr-xr-x    1 root     root         3390 Feb  2  2002 hwclock.sh
-rwxr-xr-x    1 root     root         3233 Feb  2  2002 hwclockfirst.sh
-rwxr-xr-x    1 root     root          218 Jul 14  2001 ifupdown
-rwxr-xr-x    1 root     root         1764 Nov 18  2001 inetd
-rwxr-xr-x    1 root     root          723 Apr 22  2002 keymap.sh
-rwxr-xr-x    1 root     root         1575 Mar  9 13:24 klogd
-rwxr-xr-x    1 root     root          320 Mar 29  2001 makedev
-rwxr-xr-x    1 root     root          735 Mar 25  2002 modutils
-rwxr-xr-x    1 root     root          896 May 29  2002 mountall.sh
-rwxr-xr-x    1 root     root         1579 May 29  2002 mountnfs.sh
-rwxr-xr-x    1 root     root         4042 Nov 18  2001 networking
-rwxr-xr-x    1 root     root          647 Mar 27  2002 ntp
-rwxr-xr-x    1 root     root          406 Mar 27  2002 ntpdate
-rwxr-xr-x    1 root     root         1882 Dec 24  2001 nviboot
-rwxr-xr-x    1 root     root         2060 Jul 14  2002 postfix
-rwxr-xr-x    1 root     root         1116 Dec 11  2001 ppp
-rwxr-xr-x    1 root     root         1013 Jun  8  2001 procps.sh
-rwxr-xr-x    1 root     root         2235 May 29  2002 rc
-rwxr-xr-x    1 root     root         1190 May 29  2002 rcS
-rwxr-xr-x    1 root     root          197 May 29  2002 reboot
-rwxr-xr-x    1 root     root          261 May 29  2002 rmnologin
-rwxr-xr-x    1 root     root          358 May 29  2002 sendsigs
-rwxr-xr-x    1 root     root         3797 Nov  8  2001 setserial
-rwxr-xr-x    1 root     root          499 May 29  2002 single
-rwxr-xr-x    1 root     root         1771 May 29  2002 skeleton
-rwxr-xr-x    1 root     root         1699 Jun 29  2002 ssh
-rwxr-xr-x    1 root     root         1908 Jan  4  2002 sysklogd
-rwxr-xr-x    1 root     root          505 May 29  2002 umountfs
-rwxr-xr-x    1 root     root          436 May 29  2002 umountnfs.sh
-rwxr-xr-x    1 root     root         1176 May 29  2002 urandom
-rwxr-xr-x    1 root     root          702 Mar  1 13:59 zope

User and Login Information

# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:100:sync:/bin:/bin/sync
games:x:5:100:games:/usr/games:/bin/sh
man:x:6:100:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
postgres:x:31:32:postgres:/var/lib/postgres:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
operator:x:37:37:Operator:/var:/bin/sh
list:x:38:38:SmartList:/var/list:/bin/sh
irc:x:39:39:ircd:/var:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/home:/bin/sh
umibozu:x:1000:1000:umibozu,,,:/home/umibozu:/bin/bash
sshd:x:100:65534::/var/run/sshd:/bin/false
postfix:x:101:101::/var/spool/postfix:/bin/false
spop3d:x:102:8::/var/state/solid-pop3d:/bin/false
tarzeau:x:1001:1001:.,,,:/home/tarzeau:/bin/bash
kpanic:x:1002:1002:.,,,:/home/kpanic:/bin/bash

# cat /etc/shadow

# cat /etc/group
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:lp
mail:x:8:
news:x:9:
uucp:x:10:
proxy:x:13:
kmem:x:15:
dialout:x:20:
fax:x:21:
voice:x:22:
cdrom:x:24:
floppy:x:25:
tape:x:26:
sudo:x:27:
audio:x:29:tarzeau
dip:x:30:
postgres:x:32:
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:
staff:x:50:
games:x:60:
users:x:100:
nogroup:x:65534:
umibozu:x:1000:
postfix:x:101:
postdrop:x:102:
tarzeau:x:1001:
kpanic:x:1002:

# cat /etc/shells
# /etc/shells: valid login shells
/bin/ash
/bin/bash
/bin/csh
/bin/sh
/usr/bin/es
/usr/bin/ksh
/bin/ksh
/usr/bin/rc
/usr/bin/tcsh
/bin/tcsh
/usr/bin/zsh
/bin/sash
/bin/zsh
/usr/bin/esh

# env
PWD=/home/tarzeau/ibackup-2.23
USER=tarzeau
MAIL=/var/mail/tarzeau
SSH_CLIENT=117.162.1.23 63278 22
LOGNAME=tarzeau
SHLVL=2
SHELL=/bin/bash
HOME=/home/tarzeau
TERM=xterm
PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
SSH_TTY=/dev/pts/0
_=/usr/bin/env

# crontab -l



070701000fe0ab000081a40000000000000000000000013ed35d1600000c41000000880000000000000000000000000000001d00000004root/usr/local/doc/changelogTODO	support for setting root to something else than the default /
	if [ ${ROOT}x = x ]; then ROOT=/; fi
	echo "Working in $ROOT (\$ROOT)"
	add support for db2, http://www.ibm.com/db2

2.27	fixed file permissions for solaris package, sysconf title,
	added an example for sending the sysconf output by email,
	fixed the user backup part
2.26    added veritas filesystem info to sysconf
	support for user configfiles and backing up current users config files
	support for tripwire, updated sysconf with security checks and
	login information, better which function and and sysconf for solaris,
	rpm spec file
2.25    added example for restore, improved sysconf
2.24	added support for openpgp public key server, aide and mailman,
	added make pkg for making a solaris package, made sysconf nicer
	looking and support asciimode
2.23    added /etc/lvm to solaris config, and metastat to sysconf,
        support for finjan software, zsh support, example for mailing the
	configuration, manpage for sysconf (thanks andre luis lopes),
	added /usr/local/etc to solaris config
2.22	added /var/named/ to bind config (thanks mario and aleksander)
	added configuration howto, cleanup html
2.21	works on freebsd and netbsd now, added nokia ipso config,
        commented proc part so it runs on freebsd/netbsd/ipso /bin/sh,
	sysconf now runs in /bin/sh also
2.20	/bin/sh should be supported in Solaris now, help output of
        script rewritten, documentation updated
2.19	fixed output information ($1/$@), added system configuration
	html report
2.15	support for online dumping mysql databases added (mysql-dump)
	i can keep the name "iBackup", added missing conf to postgresql-dump
2.14	fix in postgresql-dump
        added seconds to the name of the backupfile
2.13	added support for citrix icaclient configuration
	makefile typo
2.12	basic support for freebsd
	manpage
2.11	exclude viruswall logs (they get quite big)
	support for postgresql (by filesystem or dump)
	fix for mysql (added /etc/mysql), changed name to mysql-fs
	added netstat -s to linux and solaris
	example for cronjob
2.1	fixed some config (solaris), added --dont-upload, --compress,
	added --auto which guesses what to backup make install doesn't overwrite
	config files anymore to install the example config use make install-config
	i have been contacted by ibackup.com because of a trademark name issue,
	it might be possible the name will change in the future, i'm open to
	suggestions. this was released because of bugfixes and i can't wait for
	trademark issue	to be resolved (because that will hurt my users)
	read more about this at www.linuks.mine.nu/ibackup/nameissue/
	contact me if you can add support for aix, hp-ux, irix, tru64 or other operating
	systems
2.03	added support for
	/boot/grub/grub.conf and /boot/grub/menu.lst, /boot/config*
	ibackup script and configuration
	mysql database (pre and post backup commandlines)
2.02	bugfix for checkpoint fw config
2.01	small bugfixes for raptor firewall config and checkpoint fw config
2.0	support for a few commercial products added
1.9	support for solaris system configuration added
1.8	bugfix for upload command
070701000fe0ac000081a40000000000000000000000013ed363660000261f000000880000000000000000000000000000002000000004root/usr/local/doc/ibackup.html


iBackup



iBackup Logo
Version 2.27 download .tar.gz | changelog |
Debian |
Solaris |
RPM |
freshmeat

What is it?
iBackup simplifies backing up the system configuration files (/etc) for UNIX systems (Solaris, *BSD, Linux). You can run the program from any directory, it will by default save the (maybe compressed) tarball to /root. It is possible to encrypt the tarball, to upload the tarball to some other host and run this backup automated in a cronjob. You could also send the backup by mail, using nail.
You might want to check the man pages of tar(1), scp(1), gzip(1), compress(1), ncftp(1), openssl(1) and kimmo.suominen.com/ssh/ for an introduction to ssh/scp with public/private keys. You can also generate reports about the running system, which look like this.

Installation and configuration
gzip -dc ibackup-2.27.tar.gz | tar -xvf -
make install install-config
$EDITOR /etc/ibackup.conf

Dependencies
GNU Bash (recommended)
OpenSSH (recommended)

Usage
Run ibackup with one or more of the following parameters:
linuxsave system configuration of Linux (Debian, Slackware)
solarissave system configuration of Solaris
bsdsave system configuration of FreeBSD, NetBSD and OpenBSD
sysconfgenerate and save a HTML system configuration report, example
mysql-fssave MySQL configuration and db (filesystem)
mysql-dumpsave MySQL configuration and db (dump)
postgresql-fssave PostgreSQL configuration and db (filesystem)
postgresql-dumpsave PostgreSQL configuration and db (dump)
apachesave Apache configuration
squidsave Squid configuration
bindsave Bind configuration
pkssave OpenPGP Public Key Server configuration and data
mailmansave Mailman configuration and data
aidesave AIDE configuration
raptorsave Raptor/Symantec Firewall configuration
viruswallsave Trend Micro Interscan Viruswall configuration
checkpointsave Checkpoint Firewall configuration
ipsosave Checkpoint and system configuration of Nokia IPSO
citrixsave Citrix ICA Client configuration
sb_fullclustersave Stonebeat Fullcluster configuration
sb_serverclustersave Stonebeat Servercluster configuration
finjansave Finjan Surfingate configuration
rainfinitysave Rainfinity configuration
--compresscompress the tarball
--dont-compressdon't compress the tarball
--encrypt | -eencrypt the tarball
--upload | -uupload the tarball (scp/ftp)
--dont-uploaddon't upload the tarball

Running iBackup without parameter gives you a list of available configurations. You should check the source to add your own parameters (things to backup or exclude). When restoring make sure you are in /, unpacking in /pub would restore your backups in there.

Output
iBackup will produce a tarball named like this hostname_date_time.tar[.gz|.Z] including all the configuration files you specify as parameters.

Example
root@silverhorse:~# ibackup linux sysconf
root@silverhorse:~# ls -la
-rw------- 1 root root 158269 Jan 15 14:59 silverhorse_15011963_1459.tar.gz
root@silverhorse:~# _

Setting up a cronjob
This will set up a cronjob for a quarter past 6 am daily.
root@silverhorse:~# export EDITOR=mcedit
root@silverhorse:~# crontab -e
15 6 * * * /usr/bin/ibackup linux apache postgresql-dump > /dev/null 2>&1
15 6 * * * (/usr/bin/sysconf 2>/dev/null | mail -a "Content-type: text/html" -s "System Report" jolly@jumper.net)
root@silverhorse:~# crontab -l
15 6 * * * /usr/bin/ibackup linux apache postgresql-dump > /dev/null 2>&1
15 6 * * * (/usr/bin/sysconf 2>/dev/null | mail -a "Content-type: text/html" -s "System Report" jolly@jumper.net)
root@silverhorse:~# _

Can I add support for other configurations?
Of course you can, just edit /usr/bin/ibackup to fit your needs, if you think your changes might be useful for others, don't hesitate to send them to me. Let us have a look at the mysql-fs example
case $@ in *mysql-fs*)
   pre="/etc/init.d/mysql stop"
   post="/etc/init.d/mysql start"
   dir="$dir var/lib/mysql etc/mysql";;
esac
We define the variable pre which is executed before we create the tarball (here we stop the database). The post variable says what to do after we have created our backup (in this example start the database). In the dir variable we define what paths or files we want to backup, it is important to not have a / at the beginning (for example etc, not /etc). You can exclude files by writing them to /tmp/excludes (for example "echo etc/shadow >> /tmp/excludes").

Restore from a backup
Following command restores the complete etc directory to /
cd /
gzip -dc silverhorse_15011963_1459.tar.gz | tar -xvf - etc

I Thank
mcduke on fn (#macdev) for making the logo (even when he was dead tired)
ORBman from #windowmaker for giving me security related tips and telling me about openssl
mentor (my hero) from #debian for fixing the upload bug

Name issue (tm)
Please note the content and services related to ibackup are not related to online storage and online backup services offered at IBackup (http://www.ibackup.com). The use of ibackup name here refers to a set of tools and utilities for backups on unix alike platforms. The trademark rights to the IBackup word and stylized logo are international.

27/05/2003 gurkan@linuks.mine.nu, www.linuks.mine.nu

debian banner

070701000fe21a000081a40000000000000000000000013cb6852700000b6c000000880000000000000000000000000000001f00000004root/usr/local/doc/ibackup.pngPNG  IHDR;bKGD pHYs  ~tIME 0\f IDATx]/w'ruTruYG%8ǺdXɮ:꺒su]+Y׺://tzK!|33&tr<==Y q2N///X,>ɐfEE}~dX<>>NӢ(窪~vl6jeW{B!*( _zw~ss󋋋ϲ\"+Bh>  Zq4 $9Cɲ<8ry]׹Ѩ 20ƦijUӴhp8Ʋ^?/V8c^Fl6LӄPFl<ϗ˥m1nQ+-"םU8"*fern+sO Z1ƒe$ľ?˲+o_ +Ф`0pnkۓ}pfA4q\jY|>o:v2b6FO"WWW0CZ0Ay9.H?bFVvڲ~ZEItP!deYFkX,4uPcb[;4M>"vIH<$EQ\m|22M|߯O6˲z-JgYFEQl\B<'Tp8$I2'|>? !a;UU}߯z"ɛ s/rlAY5 !yd2q]VX)0BH400ƚ),̏OԪq8r+*q#y~9h8+\MNm 0ʹɲQƘ]C0a=͎J$U[H%lSzJj]Ra e2`%V`G5M" hBuίp-u]5 ÆX)1tUή,VfYˮ+-VLӔdJuI$ 7T9]UiFv8#4 sj=p d2J$0 (FIdYFUӧbVb0 &ײ,yhƺ4*8o)v2<;+Y:*Rh VbÜ*J-?-V2}}q0e2*#4*H7#rDg7@[nv I,CZy"wp|˦&[V AT3 !$Y+RMb3aEo 3eЫy-)bl6Nsqx<c8Xrk?NHF6u4h!v~?MSPg*5څ)C>|xxg 4ƶQA$I8N]dQg&Pl"pϮ@8Ŀ_xo|UhJӔ???sMӌ#|+͆;V0i$ɫ" 7^I3eӵC^"_+Yնo[(~:M۶,ᲇA1ԙ!nZMӶ7B=ij*BZu f[1){5id r}}͝1C"{flt:~I4<'jBհ"ܿ??[p8r1!"=CųEQ*E_ +H\sɹPsxh \v/@Mr/仞s`Eݵw j _NQ̶eU\.0=MLш힨6cM Ƙma b1>Bq~{tӢ*OӧFQa!v^U×@ `"F?'\ו`_X9}iO!M @p:&IR8X;BIEg Ƴ~P%i,ٍZ&ajV[8+rw Q^9lYŘoUg21J ]r)7+a֒8:zNBܷ=c!N^W5N*9Bx+8t Nq  t,ݮ q -v+"0 VhNԝif*,ض-$Q BcU*!3]y_Z|o98i8 ME`'ܗ%wP\Ue]p蒋Ų 0 }!wJCt˲`VTk(7AH "qpR%Bq4Iuhf7 ?9C5{T7Pؼ}7a:IN:ta+tXwG /#ItX(;G\,?<{crDomhQPU멪zqqQEe/Egzed.1047666372SMo0 W9CN0,͂%q [BX, 4EzEG࿾)00x3LYWVS]߮pKD]/cFL6npx Kih(B"*c~B<X?*ٗI>^*;cGS)4^ `'CB06= D~ƅ, VI@#i0Mc 0\K=LY8TRo8Lgzed.1050536621Sn0+9@,'mOEI8_lA%,),(=l@OYٙuAޭ.%|x!tb*\rkJxA95O$O:}LEr Gv$>r?M6j) wdu#HS@(} ,Af6xF8_yPNP0F}[~9@e`]̡TKgXʠ=84Dr qRBpȲXXfu0UqH(F_-fmR"Zf!JiW<@zhH0ў@NzRc'cUH x7g`!_2catalq ׅ |e҇xLed-&~_gtsxc[.W -;$Am v8mg -rAjhe-)^51y`n O"|UO2,1Sr7+^/!ʹ4\plcKQe07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!!