Archive for category ipv6
iOS4 in IPv6
Danes je koncno prispel IOS 4 in ena od novosti je tudi IPv6… Naivno sem iskal po nastvavitvah, kje se lahko kaj nastavi, nasel jasno nisem nic. Sem pa vseeno preveril in IPv6 deluje…
Zanimivo pa je, da se ga kot kaze ne da izklopiti. Kaj vec pa bom vedel, ko bo na voljo jailbreak in terminal!


lpm
Facebook over IPv6
Tudi facebook zna koncno delati cez IPv6:
[mihapet@Hackint0sH ~] host -a www.v6.facebook.com Trying "www.v6.facebook.com" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15102 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.v6.facebook.com. IN ANY ;; ANSWER SECTION: www.v6.facebook.com. 622 IN AAAA 2620:0:1cfe:face:b00c::3 Received 65 bytes from 10.0.100.1#53 in 2 ms [mihapet@Hackint0sH ~]
lpm
Airport extreme 6to4 manual tunnel
I noticed that Apple's airport extreme wireless router can do IPv6 tunneling over IPv4 networks, and since my ISP doesnt support native IPv6 yet I have to use this option… By default it is done automatically using automatic 6to4 tunnels, but since I like to know where my traffic goes to I prefer to do it manually…
After few tries I managed to get it working, there is just a small, simple trick: IPv4 public address must be set to manually configured static IP address, it does not work with DHCP server, even if the IP address you get is always the same. And since there is no logging output to make troubleshooting figuring this out can be a problem…

After that it works great… IPv6 to the home!
lpm
Apache IPv6 UMTS server @Nokia N900
Nokia N900 is the first mobile device that can do "dual-stack" IPv4 and IPv6 connection on packet data mobile networks (EDGE,UMTS,HSPA) – well, 2 separate PDP contexts anyway, but close enough since it is not really supported by 3GPP yet. It requires some kernel modifications, which I cannot provide here, but if there is any interest send me email and I can provide some info on that subject…
Anyway, once we have IPv6 connectivity to internet we can also setup device to act as web server – since it is a Linux device this is not too hard to do. However, most mobile operators block the incoming TCP connection toward clients to prevent overcharging, so contact your ISP to verify if incoming connections are allowed. Here is the output from my ifconfig, that shows two active mobile data interfaces and sessions, one for IPv4 and second for IPv6:
gprs0 Link encap:UNSPEC HWaddr *
inet addr:10.10.9.14 P-t-P:10.10.9.14 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MTU:1400 Metric:1
RX packets:1158 errors:0 dropped:0 overruns:0 frame:0
TX packets:1294 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:162582 (158.7 KiB) TX bytes:139618 (136.3 KiB)
gprs1 Link encap:UNSPEC HWaddr *
inet6 addr: 2a02:840:beef:30::2/0 Scope:Global
UP POINTOPOINT RUNNING NOARP MTU:1400 Metric:1
RX packets:73 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:8680 (8.4 KiB) TX bytes:39414 (38.4 KiB)
IPv4 / IPv6 calculator
Sem se malo poigral in naredil IP kalkulator… OK, zaenkrat je samo ipv4, na ipv6 delam, bo v kratkem
lpm
IPv6 proxy streznik | squid 3.1
Squid od verzije 3.1 (trenutno je se v beta verziji) naprej pozna IPv6 protokol in zna delati kot ipv6 proxy streznik… To je med drugim uporabno tudi na mobilnem podrocju – vecina mobilnih naprav se nima dual-stack podpore (oz ipv6 podpore), ce smo natancni, mislim da v casu pisanja samo Nokia Symbian telefoni podpirajo IPv6 dialup preko EDGE/HSPA omrezja. Tak proxy postane uporaben v primeru, da imamo na voljo samo IPv6 povezavo, rabimo pa tudi dostop do IPv4 streznikov.

Do squida dostopamo preko IPv6, ta pa nam poleg IPv6 servira tudi IPv4 sajte -> v kolikor dobi od DNSa oba A in AAAA record jasno uporabi IPv6 povezavo… Vec o IPv6 podpori v lignju si lahko preberete na tem linku…
Same instalacije se nebi dotikal, kot vedno je odvisna od platforme… V kolikor nalagate binarne pakete bi morali imeti ipv6 podporo po defaultu omogoceno, v nasprotnem primeru ne pozabite sestaviti squida s podporo za ipv6.
Nastaviti moramo sledece:
- IPv6 nastavitev dostopovne tocke (APN) na telefonu ali
- Nastavitev brskalnika, da uporablja proxy streznik (google it!)
- IPv6 konfiguracija streznika
Is my GPRS/UMTS modem ipv6 capable?
Here is how you can check if your modem is capable of doing an ipv6 dialup… I won't get into details about how to connect to device via terminal, i wrote something similar in this post.. (Hint: M$ hyperterminal or putty, Linux and OsX minicom)
Once you are logged onto device you have to issue following command, with which you see the supported connection types: at+cgdcont=?. Here is the output from my Novatel mc990D card:
at+cgdcont=? +CGDCONT: (1-16),"IP",,,(0-2),(0-3) +CGDCONT: (1-16),"PPP",,,(0-2),(0-3) +CGDCONT: (1-16),"IPV6",,,(0-2),(0-3)
If you see a third line (yes, the ipv6 one) then you are good to go.
brm