[Perl] cpbak v1.0

作者:reistlin 发布时间:February 23, 2011 分类:原创文章

作者: reistlin
来源: http://www.reistlin.com/blog/173
更新时间: 2011.02
版权声明: 原创文章.转载请保留作者信息和原文完整.谢绝任何方式的摘要

perl.gif

googlecode1.gifgooglecode2.gif
[https://reistlin.googlecode.com/svn/trunk/perl/cpbak.pl]

阅读剩余部分...

[Perl] install lib v1.0

作者:reistlin 发布时间:February 22, 2011 分类:原创文章

作者: reistlin
来源: http://www.reistlin.com/blog/172
更新时间: 2011.02
版权声明: 原创文章.转载请保留作者信息和原文完整.谢绝任何方式的摘要

perl.gif

googlecode1.gifgooglecode2.gif
[https://reistlin.googlecode.com/svn/trunk/perl/install_lib.pl/]

阅读剩余部分...

Redhat Enterprise Linux 5.4 + rkhunter 1.3.6 误报列表

作者:reistlin 发布时间:February 21, 2011 分类:原创文章

作者: reistlin
来源: http://www.reistlin.com/blog/171
更新时间: 2011.02
版权声明: 原创文章.转载请保留作者信息和原文完整.谢绝任何方式的摘要

redhatcentos.gif

默认安装 RHEL(Red Hat Enterprise Linux Server release 5.4 (Tikanga)),运行 [rkhunter](Rootkit Hunter 1.3.6),误报列表。

测试环境:

Red Hat Enterprise Linux Server release 5.4 (Tikanga)

[root@reistlin.com]# uname -a
Linux VM-RHEL-02 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686 i686 i386 GNU/Linux
 
[root@reistlin.com]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.4 (Tikanga)

Rootkit Hunter 1.3.6

[root@reistlin.com]# ./rkhunter  -V
Rootkit Hunter 1.3.6
 
Currently under active development by the Rootkit Hunter project team.
Please review your rkhunter.conf before using.
Please review the documentation before posting bug reports or questions.
To report bugs, obtain updates, or provide patches or comments, please go to:
http://rkhunter.sourceforge.net

检查结果:

System checks summary
=====================
 
File properties checks...
Required commands check failed
Files checked: 136
Suspect files: 6
 
Rootkit checks...
Rootkits checked : 253
Possible rootkits: 0
 
Applications checks...
Applications checked: 4
Suspect applications: 2
 
The system checks took: 8 minutes and 56 seconds
 
Info: End date is Mon Feb 21 11:24:08 CST 2011

误报文件:

/usr/bin/GET                                      [ Warning ]
Warning: The command ''''/usr/bin/GET'''' has been replaced by a script: /usr/bin/GET: perl script text executable
 
/usr/bin/groups                                   [ Warning ]
Warning: The command ''''/usr/bin/groups'''' has been replaced by a script: /usr/bin/groups: Bourne shell script text executable
 
/usr/bin/ldd                                      [ Warning ]
Warning: The command ''''/usr/bin/ldd'''' has been replaced by a script: /usr/bin/ldd: Bourne shell script text executable
 
/usr/bin/whatis                                   [ Warning ]
Warning: The command ''''/usr/bin/whatis'''' has been replaced by a script: /usr/bin/whatis: Bourne shell script text executable
 
/sbin/ifdown                                      [ Warning ]
Warning: The command ''''/sbin/ifdown'''' has been replaced by a script: /sbin/ifdown: Bourne-Again shell script text executable
 
/sbin/ifup                                        [ Warning ]
Warning: The command ''''/sbin/ifup'''' has been replaced by a script: /sbin/ifup: Bourne-Again shell script text executable

文件 MD5 值:

1f3f50b4551dc76eb5568952016005fc  /usr/bin/GET
b37f687b322e9fe7b0ee50408dde8770  /usr/bin/groups
690703166113ae9e73bed53463399bd7  /usr/bin/ldd
677ba807a76f2bbb7cbfcca34e8e4612  /usr/bin/whatis
a9d0955b2e5a60e28e43d59af96f3f73  /sbin/ifdown
2cff944b03ce2a0122e2b902d2cd681a  /sbin/ifup

RSA SecurID Replica Server 6.1 for Windows Installation

作者:reistlin 发布时间:February 16, 2011 分类:原创文章

作者: reistlin
来源: http://www.reistlin.com/blog/140
更新时间: 2011.02
版权声明: 原创文章.转载请保留作者信息和原文完整.谢绝任何方式的摘要

rsa.gifwindows.gif

RSA Authentication Manager 6.1 Replica Server for Windows Server 2003 (SP2) 平台安装手册,包括:RSA Authentication Manager 6.1 Replica Server 和 RSA Authentication Manager 6.1 Replica RADIUS Server。

关于安装环境,需要已经成功部署 RSA Authentication Manager 6.1 Primary Server 和 RADIUS Primary Server,并且能正常运行和网络访问(hosts 文件,FQDN 解析,RSA 端口访问正常)。

阅读剩余部分...

Outlook 检查,删除重复邮件 - Duplicate Email Remover

作者:reistlin 发布时间:February 16, 2011 分类:原创文章

作者: reistlin
来源: http://www.reistlin.com/blog/139
更新时间: 2011.02
版权声明: 原创文章.转载请保留作者信息和原文完整.谢绝任何方式的摘要

windows.gif

[Duplicate Email Remover] 能够检查,删除 Outlook 中重复的邮件(支持 Windows / Outlook 所有版本,赞!),最新版本为 v2.16.0,功能如下:

1,检查,删除重复的邮件,或信息;
2,使用“红色”标记重复的邮件,或信息;
3,复制,移动重复的邮件到指定文件夹,或删除;
4,检查所有文件夹,或者指定的文件夹,子文件夹;
5,支持 Microsoft Exchange Server 重复的公共文件夹。

支持 Windows 版本:
Microsoft Windows 7/Vista/2003/XP/2000/NT

支持 Outlook 版本:
Microsoft Outlook 2010, 2007, 2003, 2002/XP, 2000

1,安装完成后,集成在 Outlook 中,包括菜单和工具栏:

duplicate_email_remover_setup_01.gif

duplicate_email_remover_setup_02.gif

2,启动,支持英文,德文,俄文:

duplicate_email_remover_01.gif

3,选择检查重复邮件模式:

duplicate_email_remover_02.gif

阅读剩余部分...

[Perl] last logs v1.3

作者:reistlin 发布时间:January 27, 2011 分类:原创文章

作者: reistlin
来源: http://www.reistlin.com/blog/128
更新时间: 2011.01
版权声明: 原创文章.转载请保留作者信息和原文完整.谢绝任何方式的摘要

perl.gif

googlecode1.gifgooglecode2.gif
[https://reistlin.googlecode.com/svn/trunk/perl/last_logs2.pl]

阅读剩余部分...

Redhat 基础配置之三:挂载

作者:reistlin 发布时间:January 21, 2011 分类:原创文章

作者: reistlin
来源: http://www.reistlin.com/blog/127
更新时间: 2011.01
版权声明: 原创文章.转载请保留作者信息和原文完整.谢绝任何方式的摘要

redhatcentos.gif

Part1:配置 label,挂载点目录,系统自动挂载配置文件

1,执行 e2label,配置分区 label 卷标,建议将卷标与挂载点配置一致(标准化):我们准备将 /dev/sdb1 挂载到 /home1,/dev/sdc1 挂载到 /home2

[root@reistlin.com ~]# e2label /dev/sdb1 /home1
[root@reistlin.com ~]# e2label /dev/sdc1 /home2

2,挂载点目录必须存在,所以我们需要建立 /home1 和 /home2 目录

[root@reistlin.com ~]# mkdir /home{1..2}

3,挂载点目录 /home1 和 /home2 创建成功

[root@reistlin.com /]# ls -l
total 160
drwxr-xr-x   2 root root  4096 Jan 21 12:25 home1
drwxr-xr-x   2 root root  4096 Jan 21 12:25 home2

阅读剩余部分...

Redhat 基础配置之二:格式化

作者:reistlin 发布时间:January 21, 2011 分类:原创文章

作者: reistlin
来源: http://www.reistlin.com/blog/126
更新时间: 2011.01
版权声明: 原创文章.转载请保留作者信息和原文完整.谢绝任何方式的摘要

redhatcentos.gif

Part1:格式化,设备 /dev/sdb1 和 /dev/sdc1 均为主分区(1TB)

1,执行 mkfs.ext3(mkfs -t exe3)命令格式化 /dev/sdb1

[root@reistlin.com ~]# mkfs.ext3 /dev/sdb1
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
122109952 inodes, 244190000 blocks
12209500 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
7453 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
        102400000, 214990848
 
Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
 
This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

阅读剩余部分...

Redhat 基础配置之一:分区

作者:reistlin 发布时间:January 21, 2011 分类:原创文章

作者: reistlin
来源: http://www.reistlin.com/blog/125
更新时间: 2011.01
版权声明: 原创文章.转载请保留作者信息和原文完整.谢绝任何方式的摘要

redhatcentos.gif

Part1:关于主分区的配置

1,执行 fdisk -l 显示分区表信息,检查硬盘设备 /dev/sdb(1TB)

[root@reistlin.com ~]# fdisk -l
 
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot      Start         End      Blocks   Id  System

2,执行 fdisk /dev/sdb 进行分区

[root@reistlin.com ~]# fdisk /dev/sdb
 
The number of cylinders for this disk is set to 121601.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
 
Command (m for help):

3,按 m 显示菜单,按 p 显示分区表信息

Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition''''s system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

阅读剩余部分...

Nokia 防火墙 IPSO Clish 命令行配置

作者:reistlin 发布时间:January 12, 2011 分类:原创文章

作者: reistlin
来源: http://www.reistlin.com/blog/118
更新时间: 2007.03
版权声明: 原创文章.转载请保留作者信息和原文完整.谢绝任何方式的摘要

nokia.gif

Command Line 模式:

clish

命令行帮助:

TAB

显示网络接口:

show interfaces

设置 IP 地址:

add interface eht1 address 192.168.1.1/24

设置接口速率/双工模式:

set interface eht1 duplex full
set interface eht1 speed 100M

删除 IP 地址:

delete interface eht1 address 192.168.1.1/24

设置 VLAN:

add interface eht2 vlanid 100 address 192.168.2.1/24

设置静态路由:

set static-route 172.16.1.0/16 nexthop gateway address 192.168.1.1 on priority 1

设置默认网关:

set static-route default nexthop gateway address 192.168.1.1 on priority 1

保存配置:

save config

退出:

exit