-
Notifications
You must be signed in to change notification settings - Fork 905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"zmap: could not detect default gateway address for 0." on VPS with strange interfaces #35
Comments
I don't think we can support venet, since it apparently doesn't work with libpcap: |
FWIW: "tcpdump" does work correctly on this VPS; it says "listening on venet0" and then reports stuff on the line: tcpdumptcpdump: verbose output suppressed, use -v or -vv for full protocol decode |
Can you test with the latest master commit, using the new |
I did a git pull, make clean, make (no make install). The --vpn parameter gives the result below. My interpretation: 1) no errors, but 2) no results at all root@superdoos: root@superdoos:~/git/zmap/src# ./zmap -p 80 -N 10 -B 1M -o - -i venet0:0 --vpn FWIW: the old, installed zmap does not know the "--vpn", so that is a proof I'm using the new zmap. root@superdoos: |
I also just tested this and had the same issue. nmap works but you have to specify the following (perhaps it'll help): nmap -e venet0:0 -Pn -S The provider even gave me the upstream GW MAC and the issue persists. I am happy to provide access to the server for testing, if required. |
Same problem in masscan |
Does not work here, would love a solution (Inside an OpenVZ here, with venet as well) |
Has anyone been able to work around this bug in the interim? Is there a way to request a different interface type from the VPS provider perhaps? |
I have the same problem with the venet interface. Any fix for this yet? or anyone find a work around? |
using openvz for this would be great.... |
I switched VPS providers to one that uses KVM instead.. On Tuesday, February 18, 2014, snapo notifications@github.com wrote:
Please excuse brevity as this was sent from my mobile device. |
hexlax could you tell me the vps provider that allows zmap? |
I really like Digital Ocean. In the event you receive an abuse complaint On Tuesday, February 18, 2014, snapo notifications@github.com wrote:
Please excuse brevity as this was sent from my mobile device. |
@hexlax have you never got a complaint from Digital Ocean for DDOS'ing or anything? What speed to you scan at? |
@barry - I have received abuse complaints, at which time I am proactive in On Tue, Feb 18, 2014 at 5:45 PM, Barry Reid notifications@github.comwrote:
|
@hexlax could you please drop me an email @ barryjreid@gmail.com would like to grab some info from you and maybe get hold of that blocklist you use, that way I start off on a good note :) |
I don't know why I am being CC'ed; I have no connection to zmap. Do you On 18 February 2014 22:52, hexlax notifications@github.com wrote:
|
zmap 1.2.1 on openvz vps , add --vpn is still fail. |
Does it allow sending an IP packet? Given that none of us use this, we're good to need more information from you to work on this at all. Can you provide tcpdump or similar? |
Yeah I cannot scan either. Same issue. Can Nmap achieve the same things as zmap? |
Same issue here, masscan to. I juse evilscan now: https://github.com/eviltik/evilscan |
So even though this issue as closed and I remember @zakird said in another post that this issue will not be fixed. It worked from within the docker (don;t use --vpn) |
(git version of zmap, which BTW reports "zmap 1.0.0".)
Summary:
On a VPS, with a non-normal ifconfig, I get strange results from zmap which I cannot solve with -i nor -G
Long story:
On a VPS, I get:
root@superdoos:
# zmap -p 80 -N 10 -B 1M -o -#Aug 20 18:22:20.820 [INFO] zmap: started
Aug 20 18:22:20.899 [FATAL] zmap: could not detect default gateway address for 0. Try setting default gateway mac address (-G).
root@superdoos:
My ifconfig shows:
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.2 P-t-P:127.0.0.2 Bcast:0.0.0.0 Mask:255.255.255.255
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:5.2.2.1 P-t-P:5.2.2.3 Bcast:0.0.0.0 Mask:255.255.255.255
(public IPv4 address a bit altered)
Specifying "-i venet0:0" or "-i venet0:0" results in the same problem.
Additionally specifying -G results in another error message, a high ETA and no useful ports found:
zmap -p 80 -N 10 -B 1M -o - -i venet0 -G 00:00:00:00:00:00
Aug 20 18:27:12.031 [INFO] zmap: started
SIOCGIFADDR: Invalid argument
0:01 0%; send: 0 0 p/s (0 p/s avg); recv: 0 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hits: -nan%
0:02 0%; send: 0 0 p/s (0 p/s avg); recv: 0 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hits: -nan%
0:03 0%; send: 0 0 p/s (0 p/s avg); recv: 0 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hits: -nan%
0:04 0%; send: 0 0 p/s (0 p/s avg); recv: 0 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hits: -nan%
0:05 0% (68 years left); send: 0 0 p/s (0 p/s avg); recv: 0 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hits: -nan%
0:06 0% (68 years left); send: 0 0 p/s (0 p/s avg); recv: 0 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hits: -nan%
0:07 0% (68 years left); send: 0 0 p/s (0 p/s avg); recv: 0 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hits: -nan%
The text was updated successfully, but these errors were encountered: