style="display:inline-block;width:300px;height:250px"
data-ad-client="ca-pub-5935214489160196"
data-ad-slot="8007533899">

以Linux提供Client-to-LAN與LAN-to-LAN的VPN環境

ABC VPNVirtual Prinate NetworkPPP SERVER () ()VPNVPNVPNPPTP(Point-to-Point Tunneling Protocol,RFC2637)VPN InternetVPN LinuxLinuxVPNVPNLinux ()Linux(LAN-to-LAN)LinuxVPN ServerKernel 2.4.17PPTP(Point-to-Point Tunneling Protocol)PPP(Point to Point Protocol)SSH(Secure Shell)ClientWindows 2000Windows 2000PCMS WindowsWindows 2000 ()LinuxVPN LinuxVPN ServerNAT (Network Address Translation)PPP2.4.17 * * Networking options * Network packet filtering (replaces ipchains) (CONFIG_NETFILTER) Network packet filtering debugging (CONFIG_NETFILTER_DEBUG) * *IP: Netfilter Configuration * Connection tracking (required for masq/NAT) (CONFIG_IP_NF_CONNTRACK) ( NEW) m FTP protocol support (CONFIG_IP_NF_FTP) (NEW) m IRC protocol support (CONFIG_IP_NF_IRC) (NEW) m IP tables support (required for filtering/masq/NAT) (CONFIG_IP_NF_IPTABLES) [N/y /m/?] (NEW) m limit match support (CONFIG_IP_NF_MATCH_LIMIT) (NEW) m MAC address match support (CONFIG_IP_NF_MATCH_MAC) (NEW) m netfilter MARK match support (CONFIG_IP_NF_MATCH_MARK) (NEW) m Multiple port match support (CONFIG_IP_NF_MATCH_MULTIPORT) (NEW) m TOS match support (CONFIG_IP_NF_MATCH_TOS) (NEW) m LENGTH match support (CONFIG_IP_NF_MATCH_LENGTH) (NEW) m TTL match support (CONFIG_IP_NF_MATCH_TTL) (NEW) m tcpmss match support (CONFIG_IP_NF_MATCH_TCPMSS) (NEW) m Connection state match support (CONFIG_IP_NF_MATCH_STATE) (NEW) m Packet filtering (CONFIG_IP_NF_FILTER) (NEW) m REJECT target support (CONFIG_IP_NF_TARGET_REJECT) (NEW) m Full NAT (CONFIG_IP_NF_NAT) (NEW) m MASQUERADE target support (CONFIG_IP_NF_TARGET_MASQUERADE) (NEW) m REDIRECT target support (CONFIG_IP_NF_TARGET_REDIRECT) (NEW) m Packet mangling (CONFIG_IP_NF_MANGLE) (NEW) m TOS target support (CONFIG_IP_NF_TARGET_TOS) (NEW) m MARK target support (CONFIG_IP_NF_TARGET_MARK) (NEW) m LOG target support (CONFIG_IP_NF_TARGET_LOG) (NEW) m TCPMSS target support (CONFIG_IP_NF_TARGET_TCPMSS) (NEW) m ipchains (2.2-style) support (CONFIG_IP_NF_COMPAT_IPCHAINS) (NEW) m ipfwadm (2.0-style) support (CONFIG_IP_NF_COMPAT_IPFWADM) (NEW) m * * Network device support * PPP (point-to-point protocol) support (CONFIG_PPP) m PPP support for async serial ports (CONFIG_PPP_ASYNC) (NEW) m PPP support for sync tty ports (CONFIG_PPP_SYNC_TTY) (NEW) m PPP Deflate compression (CONFIG_PPP_DEFLATE) (NEW) m PPP BSD-Compress compression (CONFIG_PPP_BSDCOMP) (NEW) m * * Kernel hacking * Kernel debugging (CONFIG_DEBUG_KERNEL) y …… […]

Linux嵌入式應用介紹﹕建立一個嵌入式Linux環境

LinuxLinuxLinuxLinuxLinuxLinuxLinux LinuxHAL Linux Hardware AbstractionLayer r LinuxHardware AbstractionLayer LinuxarchLinux # pwd /hal/linux/arch # ls alpha/ cris/ ia64/ mips/ parisc/ s390/ sh/ sparc64/ arm/ i386/ m68k/ mips64/ ppc/ s390x/ sparc/ # x86 i386 LinuxLinuxvmlinuxStrong ARM1110X86vmlinux i386 arch/i386/kernel/head.o arch/i386/kernel/init_task.o arch/i386/kernel/kernel.o arch/i386/mm/mm.o arch/i386/lib/lib.a lib/lib.a init/main.o init/version.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o drivers/block/block.o drivers/char/char.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/pcmcia/pcmcia.o drivers/net/pcmcia/pcmcia_net.o drivers/pnp/pnp.o drivers/video/video.o net/network.o ARM arch/arm/kernel/head-armv.o arch/arm/kernel/init_task.o arch/arm/kernel/kernel.o arch/arm/mm/mm.o arch/arm/nwfpe/math-emu.o arch/arm/lib/lib.a lib/lib.a init/main.o init/version.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o drivers/block/block.o drivers/char/char.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o drivers/sound/sounddrivers.o drivers/pcmcia/pcmcia.o drivers/net/pcmcia/pcmcia_net.o drivers/video/video.o drivers/usb/usbdrv.o net/network.o i386Strong ARMLinuxarchi386Strong ARM i386vmlinuxarch/i386/kernel/head.oarch/i386/kernel/init_task.oarch/i386/kernel/kernel.oarch/i386/mm/mm.oarch/i386/lib/lib.aStrong ARM 1110vmlinuxarch/arm/kernel/head-armv.oarch/arm/kernel/init_task.oarch/arm/kernel/kernel.oarch/arm/mm/mm.oarch/arm/nwfpe/math-emu.oarch/arm/lib/lib.aarchLinuxarch halLinuxLinux Windows 2000Windows2000hal.dll/winnt/systen32/hal.dllWindows 2000halhal.dll Windows 2000hal Linux Glibclibc.so.6500KbyteslibcPDASet-Top Boxlibclibc Linux http://www.linuxfab.cx/indexColumnData.php?CID=97&FIRSTHIT=1 Linux LinuxCross-CompilerLinuxLinux ScriptRAMDISK Script MakeImagebaselinuxLinuxRAMDISKsyslinux.cfg Syslinux http://www.ibiblio.org/pub/Linux/system/boot/loaders/Syslinux] # ls MakeImage* base/ linux* syslinux.cfg* # base # cd base # du 4.0k ./lost+found 92k ./bin 4.0k ./dev 12k ./etc/rc.d 72k ./etc 1.2M ./lib 4.0k ./proc 360k ./sbin 4.0k ./tmp 4.0k ./usr 4.0k ./var 1.8M . […]

Windows NT保護子系統

() SUBSYSTEM()Windows NT(POPUP MENU) \WINNT\SYSTEM32\*.SYSNTDevice DriverSYSSubsystemImage doesnt require a subsystem()Win32 GUI()Win32 Console Mode () () () Inside NT Second Edition Creating Process()EXE.Windows NT Executive Process Object Inside Windows NT Second EditionHint(()()()) () ()NT (1)CMD.EXE:*.BATDOS Command(:DIR..etc)CMD.EXEAUTOEXEC.BATDOS BOX?NTDOS BOXCMD.EXECMD.EXEDOS BOXCMD.EXEDOSCOMMAND.COMCOMMAND INTERPRETER (2)NTVDM.EXE:DOS BOXDOSNTVDM.EXEDOSDOSNTVDM.EXEDOS DOSWin16 NTVDM.EXEWin16 (3)Win 32Windows NTWin32POSIXOS/2 () ()EXE DLL Services.exe Service Controller Process Winlogon.exe Logon Process Smss.exe Session Manager Process Psxss.exe POSIX Subsystem Process OS2ss.exe OS/2 Subsystem Process Csrss.exe Win32 Subsystem Process Ntdll.dll Internal Support Functions and System Service Dispatch stubs to Executive Functions Kernel32.dll Win32 Subsystem DLLs User32.dll GDI32.dll Psxdll.dll POSIX Subsystem DLL NTOSKRNL.EXE Executive and Kernel Hal.dll Hardware Abstraction Layer Win32k.sys Win32 User and GDI Kernel-mode Components () Win32 Windows NTWin32Win324Process Process PID Pri System 0x02 8 Smss 0x19 B Csrss 0x21 D Idle 0x00 0 Win32Windows NTWin32CSRSS.EXE? […]

Windows 98核心介紹

Windows 95,Andrew Schulman Unauthorized Windows 95 Developers Resource Kit,,Windows,Windows 98,,Windows 98,,,Windows 98Windows NTWindows 2000(NT),,Windows 98,Windows NT Windows 2000 ,Wnidows 98(),, VMM32.VXDLoadVXD,Ring 0,VMM32.VXD,Windows 98(95)Ring 0,VXD,.,VXD(LE),VXD(),,krnl386.exeVMM32.VXDDPMI Client DPMI Server,VMM32.VXDkrnl386.exe( krnl386.exeNE,16-bit),Andrew Schulmancommand.comkrnl386.exe,v86 DOS,Windows 98,WinICE,WindowsDOS V86WinICE,C:\Ctrl+DWinICE,()<Step 1>EXEHDRkrnl386.exe,krnl386.exeKernel,()<Step 2>krnl386.exe,NE,()<Step 3>krnl386.exeEXITKERNEL,krnl386.exeV8616 bit,,Kernel32.dll(Windows System Programming SECRECTS<Matt Pietrek>VWIN32.vxd ,Kernel32.dll,krnl386.exe),Windows 98Shell(system.iniShell = explorer.exe),,.,,Andrew SchulmanWinFile.exeExplorer.exe,Shell,Windows 98(95)Explorer.exe,,,Win 32,,,Win32 () () DriverVXD Service Windows 9820(),()<Step 1> […]

Windows 98動態連結函式庫攔截技巧

,repair_send,Send http://www.sparc14.cc.ncku.edu.tw/e9484110(^_^) () Windows 98WSOCK32.DLL , <Step 1>LoadLibraryAws2_32.dll,ws2_32.dll <Step 2>LoadLibraryAmswsock.dllmswsock.dll <Step 3>wsock32.dllgethostbynameGetProcAddressws2_32.dll <Step 4>wsock32.dllEnumProtocolsAGetProcAddressmswsock.dll () 785C132C MOV ,EAX ,LoadLibraryA(ws2_32.dll)785C6180,785C1335,LoadLibraryA(mswsock.dll)785C6184, 785C1810 PUSH 785C63C0 785C1815 PUSH DWORD PTR 785C181B CALL DWORD PTR GetProcAddress 785C63C0gethostbyname,785C6180LoadLibraryA(ws2_32.dll),HelpGetProcAddress, GetProcAddress( HMODULE hModule, // handle to DLL module LPCSTR lpProcName // name of function ); […]