Contributed by merdely on from the four-little-islands--so-much-sushi dept.
Mark Uemura (mtu@) shares the fifth edition of his series of articles from the Network Hackathon in Japan:
Continue on for the fifth piece of Mark's series with more pictures and some information about Japan.
country (made up of four big islands) with very little natural resources but many natural disasters. It is situated in the Asian monsoon belt, hence the Japanese word tsunami. Typhoons are frequent during the rainy season. The country is situated on six tectonic plates (the San Andreas fault lies between two). People studying seismology come to Japan. Tremors are frequent and unfortunately Tokyo is overdue for a big earthquake. Eighty percent of the land is mountainous range and only twenty percent of the land is arable. Japan is one of the more densely populated countries of the world. To put things into perspective, if you take the population (~120 million) and divide it by the total land area, you would get around 320 people per square kilometre. Contrast that with Canada which only has 3 people per square kilometre. But it is worse than that because most of the population lives on just 4% of the available land. Over 40 million people live in the Tokyo and surrounding areas. 12 million people go in and out of Tokyo everyday! So what is good about all of this? Well, the Japanese have to be resilient. All they really have are human resources. I am a firm believer that you do not build character until you are forced to go through struggle and strife in your life. What alternative does Japan have?
I've lived in North America, Europe and Asia and have traveled a lot and yet Japan is the only country that I've been to that is so densely populated where people treat each other with dignity and respect. More over, it is clean even in the big cities like Tokyo and Osaka and yet you would be hard pressed to find a garbage can on the streets. People have a sense of responsibility and a duty to their family, company and country. They would never want to bring shame onto any of them. Japan is also perhaps one of the safest countries in the world. They are really crazy about food. Every second TV channel has something to do with food. It is not uncommon for many households in Japan to serve at least one dish that is ethnically not Japanese. Needless to say, the food here is fantastic. :-)
art. Think about bonsai trees, flower arrangement, tea ceremony, origami, wood block prints, sculptures, etc. There is also a steep history of Martial Arts. Heck, both Mathieu-Sauve Frankel (msf@) and Ryan McBride (mcbride@) seem to live for Aikido and I used to compete Internationally doing Judo. For all of us living here, it is one of the reasons why we came to Japan. In fact, I am aware of many developers that are learning Japanese and many of whom can speak and read the language.
I have a tendency to be too verbose, but I really can just keep going with this and so I should stop here. Suffice it to say, Japan has a fascinating culture and those that come are generally impressed and usually have a great time.
Now back to what Marco had to say about his work at the hackathon -- all very useful stuff indeed:
A while ago I, had a discussion with mickey and we figured that virtual network interfaces are not supposed to add data to the randomness pool because they are not random at all. I fixed that by moving the random sampling into ether_input() where it is only done from physical interfaces.
pf(4) which I hope people find useful. pf(4) rule accounting now has a counter to record how many states in total have been created by a rule. For example, it is now possible to count how many connections have been made to your webserver.
# pfctl -ss -vv
It is also possible to kill all states that have been created from rules carrying a specific label.
If, for example, one has created a ruleset with multiple rules for the sales department labeled "sales" a
# pfctl -k label -k sales
can be used to kill all of their existing states to enforce a new policy, even on existing connections.
The rest of the time I spent on interesting discussions, consuming excellent food and I also started working on some new stuff...
Here is what Ken had to say:
2) Quick hack, subsequently reversed to prepare for correct fix, to bge(4) link status handling so that bge issued RTM_IFINFO routing messages when the cable was inserted or removed. This is required to make bge work with new dhclient(8) functionality introduced by Reyk Flöter (reyk@).
3) Tweak scsi removable device processing to lock in media before testing whether the device is ready to be attached. This fixes devices like the Blackberry Pearl which claim not have any media loaded until said media has been locked in.
4) Fix detaching of st(4) devices by looking for devices using stopen instead of the previous and incorrect search for sdopen. Detaching a tape device no longer detaches the sd device with the same unit number.
Remove ises device, which was never complete and for which no production hardware was ever released.
7) Zero all flags when returning mbuf to pool, not just scary ones.
8) Fix atascsi so devices being attached have their flags and quirks set rather than the adaptor template's flags and quirks. This fixes the problems being reported by people with ATAPI CD's on SATA.
I also did some experimental work cleaning up uses of m_free() vs m_freem() but these are not yet ready to commit.
(n2k8 hackathon summary to be continued)
Once again, I'd like to thank Mark for taking the time to bring this excellent series of articles and interviews to the OpenBSD Journal.
(Comments are closed)