Colin Watson: Re: Perl is strange
Christoph:
That's because =~ binds more tightly than +. This
does what you meant:
$ perl -le 'print "yoo" if (1 + 1) =~ /3/'perlop(1) has a useful table of precedence.
Christoph:
That's because =~ binds more tightly than +. This
does what you meant:
$ perl -le 'print "yoo" if (1 + 1) =~ /3/'perlop(1) has a useful table of precedence.

$ perl -le 'print "yoo" if 1 + 1 =~ /3/' yoo
I spent Saturday at BarCamp Belfast. There were more people than I expected; I'm no good at judging exact numbers but the wiki lists 62. As it turned out not everyone ended up talking; this worked out well for me because I don't think I'm Web2.0 enough (is that a bit ironic given I'm writing this on a blog?). I don't really do user interfaces or website stuff and that seemed to be the primary focus of a lot of the attendees. Nice to know there's a fairly active crowd in
I didn't spot this when I wrote my last post,
but it seems there's a security alert for FF3
already -
hackademix.net: Firefox 3 Untimely Security Advisory
- but it also affects FF2 and probably my
cautious Javascript settings are enough to stop
it anyway, looking at that report.
I've also been sent another update to the page on
Online Banking with GNU/Linux, Firefox-based browsers or Free Software
(first direct plus using ActiveX)
- I wonder if any bankers will be
noticeably slow to allow FF3 and will
any of them cite this security flaw?
I hope not - UK online banking security is
hardly in a good place to throw stones.
I was mildly surprised that the list was linked from
Ashley Highfield's BBC blog on Testing Linux Ubuntu
but I've no idea why he doubts
the list's accuracy! It's as accurate as its
contributors - most of whom I name - and I'm
willing to put my name to it too.
That's better than Wikipedia, which the BBC
uses far too much IMO. Would he trust the list
more if it was anonymously-edited on a public
site? Anyway, I guess I should
move that list to a more permanent location soon.
Previous FF3 parts:
Firefox 3, day 3: first impressions
and 7 Reasons Why Firefox 3 Download Day Sucks
Dear lazyweb: I ve been a satisfied IBM Thinkpad X40
user for about three years, and the fact that the X40 is still one
of the most commonly seen laptops at geek conferences speaks for
the machine. However, as my baby s end-of-warranty approaches, I am
toying with the thought of a new laptop, with which I d also like
to address some of the issues I have with the X40, namely that it
supports at most 1024x768 pixels on the screen, is limited to 1.8
harddrives (which to my knowledge come in 40Gb and 60Gb variants
only and are quite slow), and whose Pentium M 1.4GHz processor
often reaches its limits, even though I rarely do very
computationally-intensive stuff. On the other hand, I get a good 4
hours of battery run-time out of the machine.
The
Lenovo Thinkpad X61 would be a logical successor, but it has
not won me over: it looks and feels a bit clunkier, has under 3
hours of battery time, and the screen is still limited to 1024x768
pixels. There s the
Lenovo Thinkpad X300, which comes with a 64Gb solid-state disk
which will weigh even less on the battery, but the the machine is
still too expensive, it s first generation (meaning it ll have more
problems than a second generation issue), and the options for
extending the storage capacity seem limited.
While visiting Penny in London,
we passed by a number of electronics stores, and the Samsung
Q45 and
Q70 models attracted our attention. We would love to hear any
feedback from owners out there (and maybe you could send us the
output of lspci -vv, lsusb -vv and the
file /var/log/dmesg, please?). After Lenovo has
switched the Thinkpad power adapter plug format, I have very little
reason not to look elsewhere
The ultra-mobile Q45 (which would be a Thinkpad X-series
competitor) comes with an Intel Core Solo, Duo, or Duo 2 processor,
clocked at 1.6GHz, an Intel graphics card and the 3945BG wireless
chipset (or its 4xxx successor), uses a 2.5 harddrive, and its
12.1 screen can display a resolution of 1280x800 pixels. It weight
just under 2kg. We ve seen models with 3Gb of RAM and a 320Gb
harddrive for a little over 1000 .
The business class Q70 (a Thinkpad T-series competitor) has an
Intel Core 2 Duo processor clocked between 1.8GHz and 2.4GHz, and
its 13.1 display can also display 1280x800 pixels. It seems like
it will require a bit of effort to find one with an Intel graphics
card, though I am not going to get a laptop with anything else,
mainly because of Intel s excellent dedication to open source. The
devices are over 2kg in weight, and a 3Gb RAM, 320Gb harddrive
version costs about 1400 .
Does anyone have experience with these laptops and could speak
for or against them? Also, what other laptops (not desktop
replacements or lap warmers) might be worth looking at? You can
leave a comment, or write to me.
Thanks!
NP:
Oceansize: Frames
I agree pretty much with what ajax said, but
Alberto's
post struck me as pretty weird. Given that git's internal format has been
unbelievably stable (indeed, far more stable than bzr: a few times, I've just
given up trying to get code because doing so would require me to compile a new
bzr -- barrier to entry like what), I don't see what's stopping anyone from
developing alternate git clients that are all Windows-friendly (or OS
X-friendly, or Eclipse-friendly, or whatever).
After last 2.6.25 kernel again dropped support for /proc/acpi, I decided to move forward and try removing things which depend on it on my laptop.
That actually involved switching from klaptopdaemon to kpowersave.
This is really a must do. I don't know if this happened in KDE tasks but if it is not, we should think about it.
Not only is kpowersave properly using /sys/class/power_supply instead of /proc/acpi/battery, but it seems much more powerful and providing reliable information.
PS: that /sys interface seems nice but finding where the hell information is stored is really a nightmare: "/sys/class/power_supply" is damn anti-natural to me... And, well, this is probably the 4th or 5th change for system information in Linux. Sometimes, I regret the stability of Windows when it comes at this (/me runs away).
It happened a number of times now that my inbox would shrink in
message count without my explicit doing. Generally, your inbox
automatically emptying should be conceived a good thing, but it
isn t always. It took me a while to put together the pieces:
offlineimap propagates the flag to all clients. Since
I set delete=yes for mutt, if I then open
and close a mailbox with such messages without noticing them, the
messages are purged.
I gave up fighting and solved the problem at a different point,
namely mutt (which was doing the
deleting anyway):
folder-hook . push '<undelete-pattern>~D<enter>'
Since mutt deletes mail marked for deletion when I
close a mailbox, finding those messages at time of mailbox opening
must mean that they have been marked outside of the mailer I use
mutt for everything, exclusively. So let s undelete
them.
I can t see any negative consequences of the above hook.
NP:
Oceansize: Efflorescence
Or theming PS1
I am not fanatical about my command prompt. No sirree, not me.
It is just that I spend half my life either staring at an Emacs
window, or at an xterm command prompt; so even a marginal boost in
productivity goes a long way. And I am often logged in over ssh to
machines half a continent away, and am still comfortable enough on
the Linux VT to spend time there, and I often do not have the GUI
gew-gaws feeding me data. Hmm. Data. inpuuut. No. Must
focus.
With all these open xterms and Emacs terminal mode frames
floating around, it is easy to lose track of where I am on each
terminal, and what the working directory is. So I want my command
prompt to help me keep track of where I am. If the terminal is an
xterm, the title can be setup like
"user@host:../shotened/path/to/current/working/dir"I want to know what machine, id (am I root?), and directory I am in. If I am deep down in the labyrinths of some work related directory tree, I want the path to be pruned, from the left, one component at a time. However, this does not help me on the console; so I also want the path to be in the command prompt; but it should not take up too much of the command line; and ideally, should just go away as I type a longish command. Gawd, I love zsh. I once did a analysis of the command history. The most often used command sequences were
cd some-place, lsSo. pwd and ls. I really really want to see the directory listing when I change directory to a new one. As one grows old, memorizing the directory contents for dozens of machines all the time taxes the gray cells a bit. So, I figure, why not let the command prompt handle all that? Having the current working dir always visible cuts down a heck of a lot on the pwd commands, and so all that s left is to insist that the command prompt thingy always run ls after a change directory. Simple enough. Saves on typing. And time. And this is not just some crazy talk. I want help with noticing whether the previous command exited with an error status (useful for commands that normally do not create an output). If I am logged in to a machine on battery power, I want to know that. I also like visual cues to the amount of power remaining (good for my laptop on the long flights). I don t want to have to know f the machine uses APM or ACPI, I just want my prompt color to change as the power fades. I want my command prompt to let me know if I am in a directory which is under version control, and if so, what branch I am on. (I occasionally have to come in contact with arch, bzr, git, subversion, svk, and mercurial). If I am in a version controlled project, where I am relative to the root of the checked out tree is often more important than the absolute path, so I want to see relative paths, not absolute paths. I want to know if there are uncommitted files in the working directory. Visually. I want to be reminded if I am in the middle of an ongoing
rebase -i .This is not asking for too much, is it?
So, here is a screen-shot of this in action: I start from my
home directory, go to a directory not under version control, go to
a project under git, then a different project with uncommitted
files, and then finally to a subversion checkout. All with an angry
fruit salad of colors warrantied to make Martin Krafft want to claw
his eyes out
.
If you use zsh, then just grab hold of this, and then do:
autoload -U promptinit promptinit prompt manojThis might be a bit of a hit on slow machines, but even my laptop is a core 2 duo, so I do not find it noticeable. Oh, and if you liked this article, you might also like Theming Emacs, and Theming XTerms.
Previously, I wrote:
Seriously: the browser looks like a big improvement from Firefox 2, but there are so many niggles with this download day idea...In reply to Open Sesame Did you download Firefox 3?, I answer "Yes". It was a major upgrade for me, requiring new versions of Cairo and GTK+2, and installation of DBus-GLib on my GoboLinux computer, which brought in new versions of Xorg and so required a recompile of my GNUstep desktop applications. Once that was done, Firefox compiled unattended. As noted by Adam Sampson in the comments on my last post, even after building from source, you still get all the obnoxious click-through EULA and when you type about:config into the address bar, you get a "no user-servicable parts" sort of notice, which really sucks. I notice that MozCorp don't call it "100% Open Source", preferring instead Firefox: 100% Organic Software (because we need another marketing campaign for free software, right?), so I expect I need to winkle out the restrictively-licensed parts again - GNUzilla, there's still demand for your good work! After day 3 with Firefox 3, what do I think of it? Well, it seems a lot faster and a lot less RAM-hungry, and I'm quite impressed that all of the fancier bits of Koha and Wordpress seem to be working nicely but while I'm not annoyed enough to switch browsers yet (unlike FF3 and Safari - DrBacchus' Journal), there are still a hell of a lot of niggles and interface bugs. Some of the problems may have been introduced in Firefox 2, but I didn't actually use that enough to notice. My day-to-day browsing for the last year or so has been on a customised Firefox 1.5. The FF3 user interface has some big steps backwards from FF1.5: in particular, I've lost the "force pages that try to open new windows into the same window" option (or whatever it was called... I can't find the FF1.5 manual online anymore); some keyboard shortcuts have changed - for no good reason that I can see (JavaScript has switched from Alt-E n Alt-S to Alt-E n Alt-J, for example); what on earth is the history drop down doing next to the "Go Forward" arrow?; and the button to close a tab is on each tab, so I need to be careful to miss it when trying to switch to a tab and my pointer makes a pointless detour to the top-right when I want to close a tab. It's not all bad on the interface. The new RSS feed and bookmark links in the location bar are much better than in previous versions. The bookmark tagging and auto-generated folders could be a great idea once I've used it for a while. I'm pretty annoyed that Firefox 3 seems to come with some spyware enabled as default. I usually have cookies either switched off or set to "ask me every time" so I was surprised to be offered a cookie from safebrowsing.google.com! I know it's for a noble goal, but what's this doing enabled without asking first? Untick the "tell me if the site I'm visiting is ..." options in Edit: Preferences: Security if you don't want details of your browsing to be sent to the USA. Another thing which really annoys me is that the Firefox support site requires javascript and seems unhappy with my cookie settings. Not cool. Other than that, the main problems with Firefox 3 are omissions rather than bugs. For example, Microformats [Alex Faaborg] support was one of the long-trumpeted new features in Firefox 3, but they're really not obviously included, as noted by others in posts like Firefox 3 is here - where's the microformats? And finally, searching mozilla.com for firefox returns 0 hits, which is a bit strange... are they ashamed of it?
| First Letter | Percentage |
| a | 7.65 |
| b | 5.86 |
| c | 5.97 |
| d | 5.93 |
| e | 2.97 |
| f | 2.85 |
| g | 3.57 |
| h | 3.19 |
| i | 2.21 |
| j | 6.09 |
| k | 3.92 |
| l | 3.91 |
| m | 8.27 |
| n | 3.15 |
| o | 1.44 |
| p | 4.82 |
| q | 0.44 |
| r | 5.04 |
| s | 9.85 |
| t | 5.2 |
| u | 0.85 |
| v | 1.9 |
| w | 2.4 |
| x | 0.63 |
| y | 0.97 |
| z | 0.95 |
I got a mail today from someone who wrote a game in the early 90's, and
then forgot about it. Meanwhile, his game was one of the first packages I
put in Debian in 1996, and it remained in the distribution for the
intervening decade, accumulating various bugfixes and improvements from
users.
Finally, in 2008, he typed the name of his old game into google, and found
the package, and mailed me
So thank you for maintaining that little bit of history as much as you did, it put a smile on my face.Ditto!
Even though I ve dealt with IPv6 for almost a decade,
have delivered presentations, and given multi-day courses on IPv6
security aspects, I ve never actually added IPv6 to my own
server/home network infrastructure because it seemed that Linux
and/or Debian just weren t ready for it. This seems to have changed
(although there are still a number of problems) and in less than a
day, I put a few of my machines online. In the following, I d like
to share with you how I did it.
/etc/apt/sources.list, making sure to use a close
archive mirror:
deb http://ftp.xx.debian.org/debian etch-proposed-updates main
I then just upgraded the system and pulled in all proposed
updates. As that may have let in software that won t be part of
etch-and-a-half, or even lenny, you may want to pin the archive and
only upgrade the kernel packages, by adding to
/etc/apt/preferences (replacing amd64
with your architecture):
Package: *
Pin: release a=proposed-updates
Pin-Priority: -1
Package: linux-image-2.6.24-etchnhalf.1-amd64
Pin: release a=proposed-updates
Pin-Priority: 600
Alternatively, you could use the 2.6.24 linux kernel packages on
backports.org.
dom0 on that machine any longer, so by practical
extension, you cannot connect it to the IPv6 network with a packet
filter in place. Supposedly, running 2.6.24 instances on a 2.6.18
dom0 is reported to work, however.
iptables ruleset, you have
to create a new ruleset, duplicate all chains, networks, hosts, and
individual rules, and maintain the two in parallel. Even though
there are efforts of unification on the way, I speculate it ll take
another couple of years until PF_INET6 will be fused
into PF_INET and one will be able to do sensible
cross-address-family packet filtering with Linux. Since I ve
recently started to look (again) at pyroman, maybe the most
logical way forward would be to extend it to write both, IPv4 and
IPv6 rulesets from its knowledge about the hosts and networks you
configured.
Anyway, we want to get stuff working now! Thus, let s configure
ourselves a packet filter. (Almost) all IPv6-related filtering must
be configured via ip6tables (read on further down
about IPv6 in IPv4 tunneling, the reason I said almost ). The
following is a simple default ruleset to start with, which I put
into /etc/network/ip6tables to load with
ip6tables-restore:
*filter
:INPUT REJECT [0:0]
:FORWARD REJECT [0:0]
:OUTPUT ACCEPT [0:0]
:in-new - [0:0]
### INPUT chain
# allow all loopback traffic
-A INPUT -i lo -j ACCEPT
# RT0 processing is disabled since 2.6.20.9
#-A INPUT -m rt --rt-type 0 -j REJECT
# allow all ICMP traffic
-A INPUT -p icmpv6 -j ACCEPT
# packets belonging to an establish connection or related to one can pass
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
# packets that are out-of-sequence are silently dropped
-A INPUT -m state --state INVALID -j DROP
# new connections unknown to the kernel are handled in a separate chain
-A INPUT -m state --state NEW -j in-new
# pass SYN packets for SSH
-A in-new -p tcp -m tcp --dport 22 --syn -j ACCEPT
# log everything else
-A INPUT -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[INPUT6]: "
### OUTPUT chain
# RT0 processing is disabled since 2.6.20.9
#-A OUTPUT -m rt --rt-type 0 -j REJECT
# allow outgoing traffic, explicitly (despite chain policy)
-A OUTPUT -j ACCEPT
### FORWARD chain
# RT0 processing is disabled since 2.6.20.9
#-A FORWARD -m rt --rt-type 0 -j REJECT
# disallow forwarded traffic, explicitly (despite chain policy)
-A FORWARD -j REJECT
COMMIT
Note that this recipe is pretty much unusable on pre-2.6.20
kernels due to their broken implementation of stateful connection
tracking.
The ruleset should be fairly obvious, but you might wonder about
my use of REJECT and allowing all ICMP after all, you ve
heard for the past 30 years that ICMP is a bad hacker
protocol , and Internet security is no domain for being nice to
people, so to prevent any information disclosure, you should
DROP connections, not let people know that they re
simply not allowed.
Well, to hell with all that! I don t see a single reason or
attack vector that is foiled by DROP or disallowing
ICMP. In fact, it s just security by obscurity, and
might inconvenient at the same time. ICMP is also much
more important with IPv6 than with IPv4 (it replaces ARP,
for instance), and it s actually useful to be able to
ping hosts, or get back informational messages on why
something failed. Finally, rejecting traffic rather than dropping
it doesn t suggest to a hacker that something s hidden here.
Then there is RFC
4890, which almost made
me puke. This document is part of the reason why I say: let s
fix problems in the kernel, rather than shielding them with
unreadable and unmanageable rulesets!
6to4 in a breeze without any accounts or waiting,
there are a number of security considerations,
it s pretty ugly to debug (due in part to asymmetric routing), and
makes your life unnecessarily difficult when all you have is a
dynamic IP that changes from time to time. If you are stuck behind
a NAT gateway, you cannot use 6to4 either. Thus, I
prefer the tunnel approach.
With the tunnel approach, IPv6 packets are wrapped up in IPv4
packets on your host, and sent to the IPv4 address of your tunnel
provider, who has native IPv6 connectivity. The tunnel provider
unwraps your packet and shoves the contained IPv6 packet onto the
backbone. The IPv6 address you used as source address is routed to
the tunnel provider, so any replies arrive at their machines, where
they re again wrapped into IPv4 packets and sent to your
(publicly-accessible) IPv4 address. Those IPv4 packets specify
payload type 41 ( ipv6 ), which is why we need those -p ipv6
-j ACCEPT rules in the iptables ruleset.
There are a few tunnel providers out there. I chose SixXS and have not regretted my choice. I
shall thus assume that you do the same: sign up for an account right
now, so that you have it by the time you finished reading this
document! SixXS works on a credit
system: tunnels and subnets cost credits, which you can
accumulate by maintaining your tunnels properly. This ensures that
everyone can play around, but to do more advanced stuff, you need
to first display competence with the basic concepts.
Your first step with SixXS will be to request a tunnel. SixXS
offers three types of tunnels:
AYIYA addresses these problems by using signed
packets, but that solution comes with extra computation overhead
and smaller MTUs.
I suggest to use the first type of tunnel that fits your
situation. Debian s aiccu package can take care
of heartbeat and AYIYA tunnels for you, and it can
even set up static ones.
During registration, you will also need to choose a PoP , which
stands for Point of Presence . If your country only has a single
PoP, that s the one you will end up using (unless you have a good
reason for another one), but if there are more options, I strongly
suggest that you go through the list of PoPs and select the
one with the best roundtrip time and lowest latency from your
location! Note that you must answer ping requests
(ICMP echo-request) from the PoP you
chose, or else the tunnel will not be created.
Once your tunnel request gets approved, you ll get a
/64 prefix, in which you only use two addresses: the
PoP will configure the :1 address and you need to
configure your host to use the :2 address on the
tunnel interface. You ll also be told the IPv4 address of your PoP
endpoint .
Joey Hess taught me that aiccu can set up the
interface for you, using the data it queries from the SixXS
registration (TIC) server. I tried it, and it works. However, I
prefer the pure ifupdown approach, as it
makes things explicit and allows me to use the hooks for stuff like
loading the packet filter. So in my
/etc/network/interfaces, you can find:
auto sixxs
iface sixxs inet6 v4tunnel
endpoint 194.1.163.40
address 2001:41e0:ff00:3b::2
netmask 64
gateway 2001:41e0:ff00:3b::1
ttl 64
pre-up ip6tables-restore < /etc/network/ip6tables
up ip link set mtu 1480 dev $IFACE
up invoke-rc.d aiccu start
down invoke-rc.d aiccu stop
Make sure to read about MTU values of the
tunnel and adjust the 1480 value in the above to your tunnel
settings and ISP connectivity.
Also set ipv6_interface sixxs in
/etc/aiccu.conf, if you are using aiccu,
or else aiccu will bring up a duplicate/additional
interface. If you tell it to use the same interface, it will
actually execute all the same commands (which will fail), but won t
report any errors. A future version will have a switch to prevent
it from configuring the interface.
Unfortunately, this will probably not work. The reason is that
your regular IP packet filter (iptables, without the
6) doesn t let those encapsulating IPv4 packets pass, unless we
tell it to; we probably want to do this early on in the chain, and
also limit it to our tunnel peer, so:
iptables -I INPUT -p ipv6 -s 194.1.163.40/32 -j ACCEPT
For AYIYA, you need to open port 5072, either for UDP, TCP, or
SCTP, depending on how you configured it. Also have a look at this
FAQ
entry on what a firewall needs to pass. If it still doesn t
work, you have an upstream packet filter that needs some of those
holes poked. Good luck.
In most situations, the FORWARD chain does not get
such a rule, since the tunnel terminates at the gateway, which
routes to a native IPv6 network, or another tunnel. Allowing
tunnels through a gateway is almost always a bad thing, as it would
allow undetected and untraceable traffic from compromised boxes in
the local network. The OUTPUT chain also does not need
such a rule, if you have configured stateful filtering
properly.
Now bring up the interface and verify the connection:
# ifup sixxs
# ping6 -nc1 2001:41e0:ff00:3b::1
PING 2001:41e0:ff00:3b::1(2001:41e0:ff00:3b::1) 56 data bytes
64 bytes from 2001:41e0:ff00:3b::1: icmp_seq=1 ttl=64 time=74.0 ms
[...]
# ping6 -nc1 ipv6.aerasec.de
PING ipv6.aerasec.de(2001:a60:9002:1::184:1) 56 data bytes
64 bytes from 2001:a60:9002:1::184:1: icmp_seq=1 ttl=55 time=91.5 ms
[...]
Welcome to the Internet of the future!
PTR record for it. Since the concept of NAT is mostly
absent from IPv6 (thanks! thanks! thanks!), you will not be able to
connect any other hosts to the IPv6 network. If your local network
has a few hosts behind a gateway, you will need to request a subnet
from SixXS and configure your gateway (which has the tunnel
connection) appropriately. Don t worry, this is not really very
difficult.
First, request a subnet for your tunnel from your PoP via your
SixXS homepage. Once approved, you will get a /48
prefix for your own use: 2^80 1.2 heptillion addresses which are
yours to assign to every dust particle in your office or
home, if you so desire.
The way I set it up is to add the first of these addresses to
your internal interface on the gateway, by adding the following two
lines to the interface s stanza in
/etc/network/interfaces; you will need the iproute package installed
(which you should be using for everything network-related
anyway):
up ip -6 addr add 2001:41e0:ff12::1/64 dev $IFACE
down ip -6 addr del 2001:41e0:ff12::1/64 dev $IFACE
Instead of bringing the interface down and up, just run ip
-6 addr add 2001:41e0:ff12::1/64 dev eth0. Note the use of
the /64 prefix instead of the /48 that
got assigned, leaving only 20 pentillion addresses. Oh no! The
reason for this is buried in the specs: basically, /48
is a site prefix, but individual networks should not be larger than
/64, which is the prefix length of links in the IPv6
domain.
Now is also a good time to enable IPv6 forwarding, e.g. like
so:
# echo net.ipv6.conf.all.forwarding = 1 >> /etc/sysctl.conf
# sysctl -p /etc/sysctl.conf
Obviously, you will also need to change the policy on the
ip6tables FORWARD chain. For now, let s
just set it to accept. You should later create a proper ruleset,
though!
# ip6tables -I FORWARD -j ACCEPT
/etc/radvd
looks like this, and I won t explain it:
interface eth0
AdvSendAdvert on;
prefix 2001:41e0:ff12::/64
;
;
Note again how we advertise a /64 network rather
than the /48 we own . You cannot advertise smaller
networks if you want automatic configuration to work, and you
should not use networks larger than /64 in any case.
If 2^64 addresses are not enough for you, I trust you ll be able to
figure out how to advertise another of your 65536 /64
prefixes in the /48 subnet to appropriate hosts.
Restart radvd and run over to another host to
witness how it automagically gets connected to the IPv6 network by
scanning /var/log/kern.log and watching the output of
ip -6 addr and ip -6 route. Try
ping6ing from there! Find the dancing turtle! It should all work.
If you don t like the automagic aspect of this, look into
stateful configuration, using DHCPv6, as provided by
dibbler-server
and ?wide-dhcpv6-server.
AAAA records in parallel to the existing
A records, and possibly even adding PTR
entries.
If you re serious about IPv6, you can tell SixXS to delegate
reverse lookups for the IPv6 addresses to your DNS servers, but you
ought to refrain from polluting the DNS
namespace.
Note that bind9-host provides
an improved host tool, which fetches all kinds of
information about names, not just the one single information
configured as default:
% host pulse.madduck.net
pulse.madduck.net has address 130.60.75.74
pulse.madduck.net has IPv6 address 2001:41e0:ff1a::1
pulse.madduck.net mail is handled by 99 b.mx.madduck.net.
pulse.madduck.net mail is handled by 10 a.mx.madduck.net.
% host 2001:41e0:ff1a::1
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.a.1.f.f.0.e.1.4.1.0.0.2.ip6.arpa
domain name pointer pulse.madduck.net.
Oh, and if you re really that curious about how IPv6 addresses
are computed from MAC addresses, read RFC 2464. Basically,
given a prefix 2001:41e0:ff1a:: and a MAC address
aa:bb:cc:dd:ee:ff, the resulting IPv6 address is
obtained by:
ff:fe into the middle of the MAC address
to yield aa:bb:cc:ff:fe:dd:ee:ff;a8:bb:cc:ff:fe:dd:ee:ff;a8bb:ccff:fedd:eeff, the EUI-64;2001:41e0:ff1a::a8bb:ccff:fedd:eeff.AAAA records to the
laptop s DNS name, which will cause random delays when connecting
as the resolver may return the currently inactive address
first;radvd) with
stateful configuration, using DHCPv6. I have yet to
investigate this option.
Jeroen Massar suggests to unite cable and wireless into a
bridged interface, which seems like a very good idea.
#ipv6/irc.freenode.org
for their help over the past few weeks, and all those who fed back
comments in response to this document!
Another year has past and another edition of the Official Ubuntu
Book has been finished and will be released soon. Over the last two
years, the two previous editions of the book have grown along-side
Ubuntu. The book has continued to sell very well, received almost
universally favorable reviews, and been translated into more than half a
dozen languages
While Jono Bacon has mostly been pulled into other projects, Corey
Burger stepped up to help play the major supporting role in this version
of the book's production. The whole text was updated to reflect changes
in Ubuntu over the last year including a major rewrite of the chapter on
Kubuntu and important work on the Edubuntu chapter. If you use either,
you'll understand that there's plenty of churn to report.
In a sort of experiment, Barnes and Noble will also be selling a custom
edition with an extra chapter by Matthew Helmke on the Ubuntu
Forums which I hope to include in the next edition of the book. It's
an excellent introduction to the best support resource Ubuntu has to
offer that I hope many beginners -- the group that always been the
book's audience -- will find useful.
You can pre-order the custom edition from B&N or get the book from
Amazon or many other sources.
Like all previous editions, the book is licensed under the Creative
Commons Attribution ShareAlike license and soft-copies should be up
on the publisher's website once the book is released. Please support
commercial free culture publishing by buying a copy if you find the
book useful.
As I mentioned a couple weeks ago, I'm giving a talk about my
Revealing Errors project tonight at the Boston Linux Unix
meeting. It will be at MIT in E51-351. More information is on the
BLU website.
Revealings Errors is a very different kind of project from what I've
done. Please show up if you can. I'd love support, feedback,
suggestions, and the like.

Next.