How to check into Linux OS
I learned some experience while Nanjing found 0x03 error. At begining, we don't know why our GSRM(a linux process) hang in a short time 5 seconds sometimes. It didn't handle any message at that time and the interruption is not regularly. So we assume we have Linux OS problem. We did following checks: 1. Turn off Iptables service.
[root@Motorola-SRM-1A ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- Motorola-SRM-1A anywhere tcp dpt:glrpc flags:FIN,SYN,RST,ACK/SYN
ACCEPT tcp -- 10.0.0.2 anywhere tcp dpt:glrpc flags:FIN,SYN,RST,ACK/SYN
ACCEPT tcp -- Motorola-SRM-1B anywhere tcp dpt:glrpc flags:FIN,SYN,RST,ACK/SYN
DROP tcp -- anywhere anywhere tcp dpt:glrpc flags:FIN,SYN,RST,ACK/SYN
ACCEPT tcp -- Motorola-SRM-1A anywhere tcp dpt:sqlexec flags:FIN,SYN,RST,ACK/SYN
ACCEPT tcp -- 10.0.0.2 anywhere tcp dpt:sqlexec fl
相关文档:
这个rootkit使用的技术不比前一个,它不是拦截系统调用,而是拦截具体文件系统的回调函数,本身文件系统的回调函数就是动态注册的,很是不确定,那么反黑软件自然就不能简单下结论说这个函数被黑掉了,因此这个rootkit看来比前一个略胜一筹,自然的,既然是内核模块,那么模块隐藏也是一个重要的内容,以下是一个简单的模块 ......
Understanding software Installation (configure, make, make install)
This
tutorial is aimed at those who have just started using Linux.
Generally when users from the Windows background enter the Linux
scene,they are totally stumped by the softwar ......
Linux文件名的长度限制是255个字符
windows下完全限定文件名必须少于260个字符,目录名必须小于248个字符。
linux下文件数、目录数、文件名长度的各种限制
以下测试都是在没有优化或修改内核的前提下测试的结果
1. 测试目的:ext3文件系统下filename最大字符长度
测试平台:RHEL5U3_x64
测试过程:
L ......
现象:用SSH软件连接时,中文是乱码
解决:
修改/etc/sysconfig/i18n文件,将其改成以下内容:
LANG="zh_CN.GB18030"
LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
SUPPORTED="zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16" ......
在linux下,估计你经常使用pwd这个命令,这个命令就是打印当前的工作路径,即print working directroy, 今天我们也来c语言实现这个命令。
要实现这个功能,需要用到下面的一个系统调用:
#include <unistd.h>
char *getcwd(char *buf, size_t size);
该系统调用返回当前的工作目录的绝对路径,绝对路径 ......