wtf...
1. fá ip address
2. fynna út hvaða mac address er með þessa ip EÐA spurja bara netveituna hvaða kt er með þessa ip
3. spyrja gagnaveituna hvaða kt sé með þessa mac address skráða í access dótið sitt (þetta dót
http://front01.gagnaveita.is/)
4. ???
5. busted?!?
hvað er svona flókið við þetta ferli?
p.s. það kemur ekki local ip, maður sér public ippuna, dæmi:
Kóði: Velja allt
gunni@snowball[~] ➔ ping -bc 2 255.255.255.255
WARNING: pinging broadcast address
PING 255.255.255.255 (255.255.255.255) 56(84) bytes of data.
64 bytes from 89.160.130.22: icmp_req=1 ttl=63 time=0.393 ms
64 bytes from 89.160.180.111: icmp_req=1 ttl=254 time=0.405 ms (DUP!)
64 bytes from 89.160.180.222: icmp_req=1 ttl=254 time=0.431 ms (DUP!)
64 bytes from 10.203.20.3: icmp_req=1 ttl=255 time=0.434 ms (DUP!)
64 bytes from 89.160.159.198: icmp_req=1 ttl=63 time=0.437 ms (DUP!)
64 bytes from 89.160.180.63: icmp_req=1 ttl=254 time=0.468 ms (DUP!)
64 bytes from 89.160.136.172: icmp_req=1 ttl=254 time=0.509 ms (DUP!)
64 bytes from 89.160.140.156: icmp_req=1 ttl=63 time=0.515 ms (DUP!)
64 bytes from 89.160.160.76: icmp_req=1 ttl=254 time=0.529 ms (DUP!)
64 bytes from 89.160.130.170: icmp_req=1 ttl=254 time=0.560 ms (DUP!)
64 bytes from 89.160.180.184: icmp_req=1 ttl=254 time=0.569 ms (DUP!)
64 bytes from 89.160.140.250: icmp_req=1 ttl=63 time=0.647 ms (DUP!)
64 bytes from 89.160.185.9: icmp_req=1 ttl=254 time=0.651 ms (DUP!)
64 bytes from 89.160.185.182: icmp_req=1 ttl=254 time=0.664 ms (DUP!)
64 bytes from 89.160.185.22: icmp_req=1 ttl=254 time=0.674 ms (DUP!)
64 bytes from 89.160.160.11: icmp_req=1 ttl=63 time=0.686 ms (DUP!)
64 bytes from 89.160.140.180: icmp_req=1 ttl=254 time=0.873 ms (DUP!)
64 bytes from 89.160.159.231: icmp_req=1 ttl=254 time=1.01 ms (DUP!)
64 bytes from 89.160.145.81: icmp_req=1 ttl=255 time=1.28 ms (DUP!)
64 bytes from 10.203.20.2: icmp_req=1 ttl=255 time=8.63 ms (DUP!)
64 bytes from 89.160.130.22: icmp_req=2 ttl=63 time=0.358 ms
--- 255.255.255.255 ping statistics ---
2 packets transmitted, 2 received, +19 duplicates, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.358/0.987/8.637/1.724 ms
Og það ætti að vera eeeasy að fynna út hver er hver fyrir lögregluna, annað er pure fail...
Og afhverju er lan2lan ekki blocked í routerunum hjá gagnaveitunni, wtf...