2008年12月16日 星期二

build 64bit version of openssl

HPUX IA64 - I choose method 2:
change in main Makefile definitions to:

SHARED_LDFLAGS=-mlp64 -shared -nodefaultlibs
EX_LIBS= -ldl -lgcc

and run make again.

2008年12月10日 星期三

sniffer

Sniffer in wikipedia
A Quick Intro to Sniffers - provide links to other sniffer information.

2008年11月24日 星期一

netfilter's weblog

http://planet.netfilter.org/

TPROXY take 6 ?

It seems the TPROXY has been merged into Linux kernel 2.6.27-git2
And it is on 2.6.28-rc6

The corresponding iptables version seems to be released soon (1.4.3-rc1 )

It means no more patch to support this feature in kernel/iptables.

2008年10月16日 星期四

RPATH and $ORIGIN

HPUX:
HP-UX Linker and Libraries User's Guide

Linker Tools for Itanium-Based Systems, chatr

Determining How to Link Programs or Libraries (Linker Tasks)

For HPUX/PA-RISC 32-bits, it uses SOM file format. (very similiar to aout format)
Others, ELF is used.

Linux:
ld.so, ld-linux.so* — dynamic linker/loader

UsingOrigin - SCons Wiki

ELF is used.

Solaris:
C. Recording Dependencies with $ORIGIN (Linker and Libraries Guide) - Sun Microsystems

ELF is used.

AIX:
There is no such thing. AIX uses XCOFF for their executable/shared library file format.
It is possible to write a program to modify these setting.

links for ELF

LibElf and GElf - A Library to Manipulate ELf Files - from Sun Developer Network.

elfedit — examine or edit ELF files - can be used to edit the rpath in Solaris' ELF file.

Executable and Linkable Format - Wikipedia, the free encyclopedia

SourceForge.net: elftoolchain » home

ELF 之 Program Loading 教學文件, #2: Program Header Table

Understanding ELF using readelf and objdump - Linux Forums

[藍森林-自由軟件] - 問一個elf動態連接的問題--
UNIX/LINUX 平台可執行文件格式分析

如何修改動態庫符號表

Working with the ELF Program Format



Intel平台下Linux中ELF文件動態鏈接的加載,解析及實例分析(一):加載
Intel平台下Linux中ELF文件動態鏈接的加載,解析及實例分析(二):函數解析與卸載