[VOIPSEC] some problems with sipvicious

Robin Wood robin at digininja.org
Thu Jul 15 06:49:50 CDT 2010


I'm playing with SIPVicious for the first time and having the
following problems, hopefully someone can help me out. My Asterisk
server is fresh install of AsteriskNOW with a couple of working
extensions installed. There is no firewall in place and I'm running it
all on my local lan.

I first tried it on my Macbook, running svmap I got the following error:

ERROR:DrinkOrSip:fingerprinting gave errors - will be disabled

which I tracked down to this line where fpfile is totag:

  File "/Users/robin/src/sipvicious/fphelper.py", line 104, in fpdynamic
    dynamicmatch = shelve.open(fpfile,flag='c')

the file exists and checks out as a Berkeley DB so I've use ports to
install anything that sounds related to Berkeley DB and python but
still no luck.

So I moved on to a linux box, now svmap runs but svwar is failing

 sudo ./svwar.py -e000-200 192.168.0.55 --force
ERROR:TakeASip:socket error: timed out
WARNING:root:found nothing

Back to the Mac and it gets a bit further

sudo ./svwar.py -e000-200 192.168.0.55 --force
WARNING:TakeASip:Bad user = SIP/2.0 401  - svwar will probably not work!
WARNING:TakeASip:We got an unknown response
ERROR:TakeASip:Response: 'SIP/2.0 401 Unauthorized\r\nVia: SIP/2.0/UDP
192.168.0.12:5060;branch=z9hG4bK-1654551143;received=192.168.0.12;rport=5060\r\nFrom:
"0"<sip:0 at 192.168.0.55>; tag=300133343638313132393434\r\nTo:
"0"<sip:0 at 192.168.0.55>;tag=as588e81f5\r\nCall-ID: 2368820155\r\nCSeq:
1 REGISTER\r\nServer: Asterisk PBX 1.6.2.7\r\nAllow: INVITE, ACK,
CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO\r\nSupported:
replaces, timer\r\nWWW-Authenticate: Digest algorithm=MD5,
realm="asterisk", nonce="231d57ef"\r\nContent-Length: 0\r\n\r\n'
WARNING:root:found nothing

Can anyone give me any pointers as to how to get beyond this point
preferably with the tools working on both the Mac and Linux boxes.

Thanks

Robin




More information about the Voipsec mailing list