Subject: tcpflow vs. lo0 on 2.0_BETA
To: None <tech-net@netbsd.org>
From: Curt Sampson <cjs@cynic.net>
List: tech-net
Date: 08/19/2004 15:10:42
I'm having a lot of trouble with the pkgsrc tcpflow on NetBSD 2.0_BETA
when sniffing lo0. It works fine on my ethernet card, but with lo0 I
just get this (with -v):

tcpflow[2618]: tcpflow version 0.20 by Jeremy Elson <jelson@circlemud.org>
tcpflow[2618]: looking for handler for datalink type 0 for interface dump01
tcpflow[2618]: found max FDs to be 20 using OPEN_MAX
tcpflow[2618]: warning: received non-AF_INET null frame (type 33554432)
tcpflow[2618]: warning: received non-AF_INET null frame (type 33554432)
tcpflow[2618]: warning: received non-AF_INET null frame (type 33554432)
tcpflow[2618]: warning: received non-AF_INET null frame (type 33554432)
tcpflow[2618]: warning: received non-AF_INET null frame (type 33554432)
tcpflow[2618]: warning: only captured 1500 bytes of 1826 byte null frame
tcpflow[2618]: warning: received non-AF_INET null frame (type 33554432)
tcpflow[2618]: warning: received non-AF_INET null frame (type 33554432)
tcpflow[2618]: warning: received non-AF_INET null frame (type 33554432)
tcpflow[2618]: warning: received non-AF_INET null frame (type 33554432)
tcpflow[2618]: warning: received non-AF_INET null frame (type 33554432)

The same happens with a dump file made by tcpdump from lo0. I've appended
a uuencoded version of the tcpdump file that produces the above messages.
(I think this list might be blocking messages with MIME file attachments.)

Anybody have any clue what's going on here?

cjs
-- 
Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.NetBSD.org
    Don't you know, in this new Dark Age, we're all light.  --XTC


begin 664 dump01
MU,.RH0(`!````````````-P%````````E#\D0:\Y!P!`````0`````(```!%
M```\-"U``$`&"(U_```!?P```?[?'Y`RU$3X`````*`"@`"Z^````@2!A`$#
M`P`!`0@*``````````"4/R1!P3D'`$````!``````@```$4``#PT+D``0`8(
MC'\```%_```!'Y#^WS/_XJ,RU$3YH!*``*1$```"!(&$`0,#``$!"`H`````
M`````)0_)$'*.0<`.````#@````"````10``-#0O0`!`!@B3?P```7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C-CAD-&9D,S!D834O;6%I;E]V,RYP:'`_=&]P<W1A<G0]<W1A<G0B
M/HYGEW".GHK4/"]A/CQB<B\^#0H\8G(O/CQA(&AR968](E-E8F,U,V4U,F0Y
M-V9D-#`Y,6%E-6,V.&0T9F0S,&1A-2]L;V=I;BYP:'`B/H.-@T^#0X.3E#\D
M03.(#0`X````.`````(```!%```T-#A``$`&"(I_```!?P```1^0_M\S_^F.
M,M1%"8`1@`!$W0```0$("@````$`````E#\D03J(#0`X````.`````(```!%
M```T-#E``$`&"(E_```!?P```?[?'Y`RU$4),__ICX`0@`!$W````0$("@``
M``$````!E#\D042(#0`X````.`````(```!%```T-#I``$`&"(A_```!?P``
M`?[?'Y`RU$4),__ICX`1@`!$VP```0$("@````$````!E#\D04F(#0`X````
M.`````(```!%```T-#M``$`&"(=_```!?P```1^0_M\S_^F/,M1%"H`0@`!$
/VP```0$("@````$````!
`
end