No posts… but a lot of GETs
Four months without posting… I finally ended as with other blogs that I had before. No updates (and i’m betwen 14 and 16 hours/day using computers).
Anyway, i’m not doing POST… but i’m enjoying interesting readings, in two links which I have added in the sidebar:
I don’t know if this blog, will come back to update more often, or end up abandoned or perhaps deleted.
The fastest possible NAT, in Linux
All Linux system administrators, are familiar and know how-to perform NAT (Network Address Translation), using iptables (and his MASQUERADE, DNAT, SNAT, etc ) rules.
But most Linux system administrators and operators, are unfamiliar or don’t know, the operation and structure of different network subsystems of the Linux kernel, their flow and order of operation.
Logically, if you perform an operation, at the lowest level posible, you will move to process the next thing, sooner than if you have to jump to a higher level, to complete the transaction in progress.
So… what happens if you make the Network Address Translation, in the routing stage, instead of the filtering stage ?
root # ip rule add nat 200.100.90.45 from 192.168.0.2
root # ip route add nat 200.100.90.45 via 192.168.0.2
root # ip route flush cache
Voilá. You get a low level NAT (all the giga-trillion of packets that you send, will be NAT’ed at routing stage), without ussing iptables or netfilter comands.
With these routing rules, and no iptables rules, the packet headers, are not parsed in search of protocol, port, state of the conection, flags, etc… for each little packet. They are only translated at ip level.
A big saving, if you only want to improbe the performance of a NAT.
Improving the Debian wiki
After browsing a bit on the Debian wiki, I decided that I will do everything what I can to improve things a little.
Today, I’ve started with the DebianFirewall article.
Feedback is wellcome.
Three great truths about design using tables
All experts in “User eXperience” (call it “web design”), postulate that using tables to structure a web, is a sacrilege, unintelligent, or that it’s basically wrong.
And they defend this very well, in an understandable and reasonable way. I was totally convinced, long ago.
But then comes the day, when you get three great truths:
For my terminals… I use Terminus
When a person spends many hours a day, using the CLI (Command Line Interface or as some say in my work “the black screen”), has to be careful with your eyes.
Recently, reading planetalinux (an linux related feed, in Spanish), I found a post, where you can see screenshots from terminals of diferent users.
For work long hours, I want in my terminal: