Menu

#7 fails with galeon/mozilla over loopback device

open
nobody
None
5
2003-04-17
2003-04-16
Jos Dehaes
No

env: linux 2.5.67, ssldump 0.9b3, apache 2.0.45,
mozilla 1.3, IE 5.5

when using ssldump to sniff traffic between apache 2.0
and mozilla/galeon this error stops the sniff during
the first connection:

ERROR: Length mismatch

This is on the loopback device, but I don't know if
that has anything to do with it. It's no problem with
apache and IE, but that's evidently not over the
loopback device.

Discussion

  • Jos Dehaes

    Jos Dehaes - 2003-04-17

    Logged In: YES
    user_id=36027

    I can confirm now it is a loopback problem, ssldump has no
    problem sniffing galeon/mozilla traffic over normal interfaces.

     
  • Jos Dehaes

    Jos Dehaes - 2003-04-17
    • summary: fails with galeon/mozilla --> fails with galeon/mozilla over loopback device
     
  • klutz

    klutz - 2004-04-20

    Logged In: YES
    user_id=1024906

    pcap_snoop.c calls pcap_open_live with hard-coded 5000
    byte max snaplen.

    Loopback interface on my RedHat installations defaults to MTU
    of 16436, so those occasional big packets cause the length
    mismatch. Ethernet MTU is only 1500, so you'll never see
    that error.

    Either use ifconfig to reduce loopback MTU, or change
    pcap_snoop.c to use a 17k buffer size (or even better, make
    it configurable). tcpdump doc says large snapshots might
    cause dropped packets.

     

Log in to post a comment.

MongoDB Logo MongoDB