Update the change log
[profile/ivi/libpcap.git] / README.aix
1 Using BPF:
2
3 (1) AIX 4.x's version of BPF is undocumented and somewhat unstandard; the
4     current BPF support code includes changes that should work around
5     that; it appears to compile and work on at least one AIX 4.3.3
6     machine.
7
8     Note that the BPF driver and the "/dev/bpf" devices might not exist
9     on your machine; AIX's tcpdump loads the driver and creates the
10     devices if they don't already exist.  Our libpcap should do the
11     same, and the configure script should detect that it's on an AIX
12     system and choose BPF even if the devices aren't there.
13
14 (2) If libpcap doesn't compile on your machine when configured to use
15     BPF, or if the workarounds fail to make it work correctly, you
16     should send to tcpdump-workers@lists.tcpdump.org a detailed bug
17     report (if the compile fails, send us the compile error messages;
18     if it compiles but fails to work correctly, send us as detailed as
19     possible a description of the symptoms, including indications of the
20     network link-layer type being wrong or time stamps being wrong).
21
22     If you fix the problems yourself, please submit a patch to
23
24         http://sourceforge.net/projects/libpcap/
25
26     so we can incorporate them into the next release.
27
28     If you don't fix the problems yourself, you can, as a workaround,
29     make libpcap use DLPI instead of BPF.
30
31     This can be done by specifying the flag:
32
33        --with-pcap=dlpi
34
35     to the "configure" script for libpcap.
36
37 If you use DLPI:
38
39 (1) It is a good idea to have the latest version of the DLPI driver on
40     your system, since certain versions may be buggy and cause your AIX
41     system to crash.  DLPI is included in the fileset bos.rte.tty.  I
42     found that the DLPI driver that came with AIX 4.3.2 was buggy, and
43     had to upgrade to bos.rte.tty 4.3.2.4:
44
45             lslpp -l bos.rte.tty
46
47             bos.rte.tty     4.3.2.4  COMMITTED  Base TTY Support and Commands
48
49     Updates for AIX filesets can be obtained from:
50     ftp://service.software.ibm.com/aix/fixes/
51
52     These updates can be installed with the smit program.
53
54 (2) After compiling libpcap, you need to make sure that the DLPI driver
55     is loaded.  Type:
56
57             strload -q -d dlpi
58
59     If the result is:
60
61             dlpi: yes
62
63     then the DLPI driver is loaded correctly.
64
65     If it is:
66
67             dlpi: no
68
69     Then you need to type:
70
71             strload -f /etc/dlpi.conf
72  
73     Check again with strload -q -d dlpi that the dlpi driver is loaded.  
74
75     Alternatively, you can uncomment the lines for DLPI in
76     /etc/pse.conf and reboot the machine; this way DLPI will always
77     be loaded when you boot your system.
78
79 (3) There appears to be a problem in the DLPI code in some versions of
80     AIX, causing a warning about DL_PROMISC_MULTI failing; this might
81     be responsible for DLPI not being able to capture outgoing packets.