{"action":"opened","issue":{"url":"https://api.github.com/repos/CypherpunkArmory/UserLAnd/issues/385","repository_url":"https://api.github.com/repos/CypherpunkArmory/UserLAnd","labels_url":"https://api.github.com/repos/CypherpunkArmory/UserLAnd/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/CypherpunkArmory/UserLAnd/issues/385/comments","events_url":"https://api.github.com/repos/CypherpunkArmory/UserLAnd/issues/385/events","html_url":"https://github.com/CypherpunkArmory/UserLAnd/issues/385","id":378038143,"node_id":"MDU6SXNzdWUzNzgwMzgxNDM=","number":385,"title":"Nmap error: nmap: netutil.cc:3285: int route_dst_netlink(const sockaddr_storage*...","user":{"login":"tokyoneon","id":33106572,"node_id":"MDQ6VXNlcjMzMTA2NTcy","avatar_url":"https://avatars3.githubusercontent.com/u/33106572?v=4","gravatar_id":"","url":"https://api.github.com/users/tokyoneon","html_url":"https://github.com/tokyoneon","followers_url":"https://api.github.com/users/tokyoneon/followers","following_url":"https://api.github.com/users/tokyoneon/following{/other_user}","gists_url":"https://api.github.com/users/tokyoneon/gists{/gist_id}","starred_url":"https://api.github.com/users/tokyoneon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tokyoneon/subscriptions","organizations_url":"https://api.github.com/users/tokyoneon/orgs","repos_url":"https://api.github.com/users/tokyoneon/repos","events_url":"https://api.github.com/users/tokyoneon/events{/privacy}","received_events_url":"https://api.github.com/users/tokyoneon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-06T21:21:20Z","updated_at":"2018-11-06T21:21:20Z","closed_at":null,"author_association":"NONE","body":"#### Describe the bug:\r\n\r\nUsing privileged scan types (-sU) in Nmap returns the following error:\r\n\r\n\tnmap: netutil.cc:3285: int route_dst_netlink(const sockaddr_storage*, route_nfo*, const char*, const sockaddr_storage*): Assertion `p != NULL` failed.\r\n\r\n#### To Reproduce:\r\n\r\n1. Create a Debian App.\r\n2. Add Kali repos:\r\n\r\n\t\techo 'deb https://http.kali.org/kali kali-rolling main contrib non-free' >> /etc/apt/sources.list\r\n\r\n3. Add Kali signing key:\r\n\r\n\t\twget -q -O - https://www.kali.org/archive-key.asc | apt-key add -\r\n\r\n4. Update and install Nmap:\r\n\r\n\t\tapt-get update && apt-get install nmap -y\r\n\r\n5. Perform Nmap scan as root:\r\n\r\n\t\tnmap -Pn -n -sU -A --top-ports 10 <target ip address>\r\n\r\n#### Screenshot:\r\n\r\n![nmap_error](https://user-images.githubusercontent.com/33106572/48093117-5ffba600-e1c3-11e8-8196-c3d101878c70.png)\r\n\r\n\r\n#### Device Information:\r\n\r\nDevice: Nexus 6P\r\nAndroid Version: 8.1.0\r\nUserLAnd Version 1.0.0\r\n\r\n#### Some network/routing info:\r\n\r\n\t# android/userland can see the router\r\n\t$ ping 10.42.0.1\r\n\r\n\tPING 10.42.0.1 (10.42.0.1) 56(84) bytes of data.\r\n\t64 bytes from 10.42.0.1: icmp_seq=1 ttl=64 time=12.3 ms\r\n\t64 bytes from 10.42.0.1: icmp_seq=2 ttl=64 time=14.0 ms\r\n\t64 bytes from 10.42.0.1: icmp_seq=3 ttl=64 time=13.3 ms\r\n\t64 bytes from 10.42.0.1: icmp_seq=4 ttl=64 time=3.62 ms\r\n\t64 bytes from 10.42.0.1: icmp_seq=5 ttl=64 time=106 ms\r\n\t64 bytes from 10.42.0.1: icmp_seq=6 ttl=64 time=67.10 ms\r\n\t64 bytes from 10.42.0.1: icmp_seq=7 ttl=64 time=3.54 ms\r\n\t64 bytes from 10.42.0.1: icmp_seq=8 ttl=64 time=8.27 ms\r\n\r\n\t# normal routing table; only one gateway\r\n\t$ route -n \r\n\r\n\tKernel IP routing table\r\n\tDestination     Gateway         Genmask         Flags Metric Ref    Use Iface\r\n\t10.42.0.0       0.0.0.0         255.255.255.0   U     0      0        0 wlan0\r\n\r\n\t# dns requests go over 10.42.0.1\r\n\t$ cat /etc/resolv.conf \r\n\tnameserver 10.42.0.1\r\n\r\n\t# access to internet without errors\r\n\t$ curl 'https://wtfismyip.com/json'\r\n\r\n\t {\r\n\t   \"YourFuckingIPAddress\": \"185.220.100.252\",\r\n\t   \"YourFuckingLocation\": \"Germany\",\r\n\t   \"YourFuckingISP\": \"F3 Netze e.V.\",\r\n\t   \"YourFuckingCountryCode\": \"DE\"\r\n\t}\r\n\r\n"}}
{"actor":{"display_login":"tokyoneon"}}