Nmap Development mailing list archives
Re: Solved : Unknown datalink type error ?
From: roBBer <robber2 () gmx de>
Date: Sun, 22 Jul 2001 13:56:03 +0200
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello, basicly i got the same problem but with type 113 (linux cooked capture).. i havent tried to recompile but after peeking at the code i noticed that nmap failed to find out the offsets for my datalink type since nmap and ethereal use pcap i took a look at the ethereal code :) and voila the correct offset for "linux cooked capture" is 16 the patch is actually very simple.. just look in tcpip.c and it should be clear what to do :) (case DLT_LINUX_SLL: offset = 16; break;) hope this helps anyone with similar problems.. oh and one question: can anyone explain why recompiling with rh7/gcc worked? maybe another libpcap?? At 13:19 22.07.01 +0200, you wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi !
Just some days ago I got these strange error "unknown datalink type error"
under redhat 7.0 and binary rpm downloaded from th site.
Now I've recompiled the sources under rh 7.0 and latest gcc (from
redhat) and all is ok. No more error.
Probably the binary rpm on the site must be compiled wll, before
distributing them.
Matteo
- --
Powered By RedHat Linux 7.0
-------------------------------------------
Matteo Brancaleoni
E-mail : brancaleoni () tiscalinet it
Web : http://web.tiscalinet.it/phoenix
-------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
iQA/AwUBO1q219rEzkLRAjkyEQJpxACgzVqcPlyLfmPeKzyX8YGO+zW5CSYAoJzh
ez6P2/vYzeDJrkQjMIL0OofU
=5CmM
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to
nmap-dev-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).
-----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com> iQA/AwUBO1q/U19k9O91yyWmEQJZ1ACfUjeju8Tn2Q1Af2JbY+AV1OapEVAAoOKt bNyRvHc9uYM+34J6OYAUERgO =cy3k -----END PGP SIGNATURE----- --------------------------------------------------------------------- For help using this (nmap-dev) mailing list, send a blank email to nmap-dev-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).
Current thread:
- Solved : Unknown datalink type error ? Matteo Brancaleoni (Jul 22)
- Re: Solved : Unknown datalink type error ? roBBer (Jul 22)
