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

無線網路安全機制剖析

00 02 2d 1d fa c0 00 06 25 ac 24 3c 88 8e 01 00 00 04 01 00 00 04 01 00 00 00 a0 62 fc b9 a1 2c 8c 57 88 9e 0d b3 e7 1e a3 13 00 00 00 00 00 00 00 00 01 d4 60 d5 82 b4 ce 35 59 5a 00 02 2d 1d fa c0eDestination MAC Address 00 06 25 ac 24 3ceSource MAC Address 88 8eePAE Ethernet Type 01eProtocol Version 00 ePacket Type 00 04ePacket Body Length 01eEAP-Packet Code 00eEAP-Identifier 00 04 eEAP-Length 01 eEAP-EAP Type 00 00 00 a0 62 fc b9 a1 2c 8c 57 88 9e 0d b3 e7 1e a3 13 00 00 00 00 00 00 00 00 01 d4 60 d5 82 b4 ce 35 59 5aeEAP-Type Data (2) EAPOL-Start(0x01)e EAPOL-Start,12bytesMAC Address,EAPOL0x888E Ethernet Type 00 06 25 ac 24 3c 00 02 2d 1d fa c0 88 8e 01 01 00 00 00 00 06 25 ac 24 3ceDestination MAC Address 00 02 2d 1d fa c0eSource MAC Address 88 8eePAE Ethernet Type 01eProtocol Version 01ePacket Type(0x01EAP-Start) 00 00ePacket Body Length EAPOL-LogOff(0x02)EAPOL, EAPOL-Key(0x03)Key EAPOL-Encapsulated-ASF-Alert(0x04. […]

Linux上的核心訊息紀錄機制解析

sys_get_kernel_syms “struct kernel_sym *table”,User-ModeSystem Call,table0,table0,for for (mod = module_list, i = 0; […]

剖析Linux上的kHttpd網頁伺服

int MainDaemon(void *cpu_poing)MainDaemon0MainDaemon1QueueManagement DaemonMainDaemonint WaitForHeaders(CPUNR)(waitqueue_decode.bmp) int WaitForHeaders(CPUNR) 1.Http Request 2.kHttpdUser Mode Web Server int WaitForHeaders(CPUNR) 2DecodeHeader 4~8IsForUserSpace!=0UserspaceQueue 9~12IsForUserSpace==0DataSendingQueue static int DecodeHeader(const int CPUNR, struct http_request *Request) 2http 3URL 4Mime 5~10MimeUser Mode Web ServerIsForUserSpace 11~15URLUser Mode Web ServerIsForUserSpace 16~28kHttpdkHttpd 18~22cache 23~27ClientcacheClientcache (Request)MainDaemonint WaitForHeaders(CPUNR) 1.ClientcacheMainDaemon(stack_send_httpdheader.bmp)Send304()SendBuffer() 2.MainDaemonSendHTTPHeader(Request)HTTPDataSending(CPUNR)SendBuffer_async()(stack_send_httpheader.bmp) 3.MainDaemonint Userspace(const int CPUNR)User Mode Web Server int Userspace(const int CPUNR) 2AddSocketToAcceptQueueUser Mode Web Server 4User Mode Web Server 8~9User Mode Web ServerHttp static int AddSocketToAcceptQueue(struct socket *sock,const int Port) User Mode Web ServerUser Mode Web Server 4.kHttpd key inkHttpd(stop)(MainDaemon.bmp)sysctl_khttpd_stop1MainDaemon0MainDaemon1Management Daemonkey in(unload)(managementdaemon.bmp)Management Daemon 5. […]

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 . […]