jfo planet

Hope is the best gift that tomorrow gives.

  • 首页
  • 分类
  • 归档
  • 标签
  • 搜索
close

【zz】Win 2003单网卡实现VPN+NAT完整攻略

发表于 2007-09-30   |   分类于 Network
  一、问题的提出  如图1所示,在单位有个私有地址为192.168.0.0的网络,各电脑 是通过ADSL共享方式接入Internet,在家中有台电脑也通过ADSL访问Internet,现在想在家中随时安全地访问单位 192.168.0.2这台机器,实现方法很多,最为安全的是通过VPN。  二、什么是VPN   以本例来说就是现在单位192.168.0.2这台机器上设置好VPN服务,在家中通过VPN客户端访问单位这台机器,建立连接后,这两台机器通信时就 像在局域网中一样,比如:要在192.168.1.10这台电脑中下载192.168.0.2这台机器的文件(假设该机已设好FTP服务),可以直接在浏 览器中键入:ftp://192.168.0.2下载文件了。虽然是通过Internet进行通信,但整个过程都是加密的,就像是在Internet中穿 了一条只有两台机器才能通过的隧道,这就是VPN( Virtual Private Networks )虚拟专用网。图1  三、优点  通过VPN最大的优点就是安全。这点将在后面介绍到。  四、设置VPN服务   实现VPN的方式非常多,用带VPN功 ...
阅读全文 »

【zz】配置winxp成为一台VPN服务器

发表于 2007-09-30   |   分类于 Windows
[ZZ]E文教程:如何配置winxp成为一台VPN服务器?Configure Windows XP Professional to be a VPN server For the Small Office/Home Office (SOHO), Windows XP Professional VPN features are a real boon. Traveling users with laptops or handheld computers will inevitably want files on the home network; you just can抰 bring everything with you. This is where the beauty of the Windows XP Professional computer connected to an always-on connection, such as DSL or cable modem, shines. That always-on link can be used to accept i ...
阅读全文 »

ld 命令行选项 & ld_static

发表于 2007-09-30   |   分类于 gcc/binutils/make/共享库
ld       –start-group archives –end-group           The archives should be a list of archive files. They may be either           explicit file names, or -l options.           The specified archives are searched repeatedly until no new unde-      &nbs ...
阅读全文 »

Linux command

发表于 2007-09-27   |   分类于 Linux App
Linux Command ==============================================================netstat -ntupl-n Show numerical addresses instead of trying to determine symbolic host, port or user names.-t tcp-u udp-p –program Show the PID and name of the program to which each socket belongs.-l Show only listening sockets-a Show both listening and non-listening sockets ==============================================================ssh -CfNg -D 127.0.0.1:8000 jfo@pickbox.cc建立本地ssh代理,浏览器中可以设置socks5代理为127.0.0.1:8000-N ...
阅读全文 »

/Gs (Control Stack Checking Calls)

发表于 2007-09-25   |   分类于 Windows
[zz]from msdn/Gs (Control Stack Checking Calls) /Gsnwhere: n The number of bytes that local variables can occupy before a stack probe is activated. RemarksThis option is an advanced feature to control stack probes. A stack probe is a sequence of code the compiler inserts into every function call. When activated, a stack probe reaches benignly into memory by the amount of space required to store the associated function’s local variables.If a function requires more than n bytes of stack spac ...
阅读全文 »

Windows API

发表于 2007-09-22   |   分类于 Windows
[kernel32.dll]DWORD GetPrivateProfileString( LPCTSTR lpAppName, LPCTSTR lpKeyName, LPCTSTR lpDefault, LPTSTR lpReturnedString, DWORD nSize, LPCTSTR lpFileName);int WideCharToMultiByte( UINT CodePage, // code page DWORD dwFlags, // performance and mapping flags LPCWSTR lpWideCharStr, // wide-character string int cchWideChar, // number of chars in string. LPSTR lpMultiByteStr, // buffer for new string int cbMultiByte, // size of buffer LPCSTR ...
阅读全文 »

【zz】用Debug函数实现API函数的跟踪

发表于 2007-09-16   |   分类于 Windows
发布时间:2003.01.16 11:00     来源:赛迪网    作者:彭春华如果我们能自己编写一个类似调试器的功能,这个调试器需要实现我们对于跟踪监视工具的要求,即自动记录输入输出参数,自动让目标进程继续运行。下面我们就来介绍在不知道函数原型的情况下也可以简单输出监视结果的方案——用Debug函数实现API函数的监视。 大家知道,VC可以用来调试程序,除了调试Debug程序,当然也可以调试Release程 序(调试Release程序时为汇编代码)。如果知道函数的入口地址,只需在函数入口上设置断点,当程序调用了设置断点的函数时,VC就会暂停目标程序的 运行,你就可以得到目标程序内存的所有你希望得到的东西了。一般来说,只要你有足够的耐心和毅力,以及一些汇编知识,对于监视API函数的输入输出参数还 是可以完成的。 不过,由于VC的调试器会在每次断点时暂停目标程序的运行,对目标程序的过多的暂停对于监视任务而言实在不能忍受。所以,不会有太多的人真的会用VC的调试器作为一个良好的API ...
阅读全文 »

比较实用的linux开发网站集 & 电子书籍

发表于 2007-09-14   |   分类于 Linux App
学习OPcode:http://www.luocong.com/learningopcode/index.htm驱动开发论坛:http://bbs.zndev.com/index.phpSysinternals:http://sysinternals.com/http://www.osronline.com/驱动开发优秀网站:http://tie.163.nethttp://www.cetinet.com/http://jiaomcu.shareyou.net/more.htmhttp://www.lvr.com/usbcode.htmhttp://www.chinadz.com/icver/0038.htmsdkh.51.net/dz/usb.htm http://www-eu5.semiconductors.philips.com/pip/pdiusbd12.htmlhttp://www.beyondlogic.org/                ...
阅读全文 »

Thread Local Storage

发表于 2007-09-03   |   分类于 Windows
[zz]from msdnThread Local StorageAll threads of a process share its virtual address space. The local variables of a function are unique to each thread that runs the function. However, the static and global variables are shared by all threads in the process. With thread local storage (TLS), you can provide unique data for each thread that the process can access using a global index. One thread allocates the index, which can be used by the other threads to retrieve the unique data associated with ...
阅读全文 »

PE文件格式相关工具: objdump,bind

发表于 2007-07-21   |   分类于 Windows
cygwin 环境下 :objdump pe_dump.exe -x : Display the contents of all headersobjdump pe_dump.exe -s -j .idata : Display the full contents of ".idata" sectionobjdump pe_dump.exe -s -j .idata –start-address=0x431200 –stop-address=0x431800 : Display the full contents of ".idata" section in address [0x431200, 0x431800)objdump pe_dump.exe -d -j .text : disassemble the contents of ".text" sectionobjdump pe_dump.exe -d -j .text –start-address=0x4187b0 : disass ...
阅读全文 »
1…484950…61
jfo

jfo

605 日志
38 分类
4 标签
RSS
GitHub 微博
友情链接
  • 收藏夹
  • 网络剪贴板
  • 爱逛吧
© 2007 - 2018 jfo
由 Hexo 强力驱动
主题 - NexT.Pisces