lanmap2
lanmap2 copied to clipboard
Sparc64 assertion fail rasadv.c:174
Fresh install from source on sparc64 debian
jeff@graystone:~/dev/lanmap2/db$ uname -a
Linux graystone 2.6.32-5-sparc64 #1 Sun Sep 23 10:01:20 UTC 2012 sparc64 GNU/Linux
jeff@graystone:~/dev/lanmap2$ cd db
jeff@graystone:~/dev/lanmap2/db$ sudo ../src/cap
rep_init OK
Linking 47 protocols...
(Logical <- 802.3) (802.3 <- LLC LLC) (802.3 <- ARP) (802.3 <- IPv4) (IPv4 <- ICMP) (IPv4 <- IGMP) (IPv4 <- UDP UDP) (UDP <- BOOTP) (UDP <- SSDP SSDP) (UDP <- NB-Dgm) (UDP <- NBNS) (NB-Dgm <- SMB SMB SMB) (SMB <- BROWSE) (IPv4 <- TCP) (TCP <- HTTP HTTP HTTP) (TCP <- HTTPS) (UDP <- TiVoConn) (802.3 <- IPv6) (UDP <- DNS DNS) (802.3 <- 0x8781) (LLC <- CDP) (802.3 <- LLDP) (UDP <- RADIUS) (LLC <- STP STP) (Linux-SLL <- IPX) (UDP <- SNMP) (UDP <- NTP) (UDP <- Rumor) (UDP <- RTSP) (UDP <- MSSQLM) (UDP <- RASADV) (UDP <- DHCPv6) (LLC <- NetBIOS NetBIOS) (TCP <- BitTorrent) (UDP <- Storm) (TCP <- Gnutella Gnutella Gnutella) (TCP <- IRC) (UDP <- WSDD WSDD WSDD) (TCP <- DCERPC DCERPC) (UDP <- ESP) (UDP <- IPP) (UDP <- DHT)
sizeof(arp) -> 8
bootp.c:sanity_check... offsetof(bootp, cookie) -> 236
ok.
offsetof(nb_dgm, id) -> 2
offsetof(nb_dgm, srcport) -> 8
offsetof(nb_dgm, len) -> 10
sizeof Dgm -> 14
checking Types... 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x1e 0x1f 0x20 0x21
sizeof(smb_hdr) <- 32
sizeof(smb_mailslot) <- 8
sizeof(smb_trans_req) <- 38
RASADV_IP=0x0202ffef inet_addr(239.255.2.2)=0xefff0202
cap: rasadv.c:174: init: Assertion `0x0202ffefUL == inet_addr("239.255.2.2")' failed.
Not sure if there are log files or what to look for.
Thanks for the bug report. Looks like an endianness issue, let me see what I can do.