692 reputation
35
bio website redhardsupra.blogspot.com
location Laurel, MD
age 37
visits member for 4 years, 7 months
seen 2 hours ago

Mar
22
awarded  Nice Answer
Mar
2
comment How do daemons like apache or bind open ports below 1024?
The important addition to make here is that the root-running portion of Apache does NO parsing. All it does is do the socket business and spawning children. Children (that dropped privs) are the ones that deal with URL's, contents, and all that potentially dangerous operations happen with normal user privs. I call it the 'one crime at a time' principle: if you're running as root, don't be parsing. If you're parsing, don't be running as root.
Feb
12
answered Run fgrep multicore mac os x
Jan
14
awarded  Editor
Jan
14
revised Get current timezone on Centos 7
added a more precise version
Jan
14
answered Get current timezone on Centos 7
Aug
20
awarded  Yearling
Jun
26
comment Why can't Vim open a 100 MB text file when I have 16 GB RAM?
Yup, syntax highlighting on things like XML and SQL can get very slow on larger files.
Mar
11
answered Some Ossec agents not able to communicate with OSSEC server
Feb
28
comment Why are bash tests so picky about whitespace?
Hm, I've been using it for years, never thought of why it's this way and not any other. This makes total sense. Thank you for education.
Jun
19
comment mount options shown in /proc/mounts
Is there a way to show all flags, in whatever state they're in?
May
29
comment Using newest kernel version on an older system
I've had 3.2 running on Debian Squeeze (6.0) for a long time, and I just got the newest 3.4 longterm stable, and 3.9 stable working on an ancient athlon64 x2-4400. The only problem so far, one old PCI NIC driver segfaulted when the box tried to go into some sort of sleep mode. Other than that, no issues.
May
7
answered What considerations need to be made when choosing the version of kernel for an embedded device?
Jan
30
comment Find any lines exceeding a certain length
mawk runs the length function quite a bit faster than the gnu awk, might try that.
Jan
14
answered Using ramfs on embedded system
Jan
4
comment Xterm with Solarized only showing dark background without font colors
Interesting, but could you expand on what does it affect exactly?
Nov
9
comment Preserve scroll on Linux console switch
FreeBSD doesn't have this problem, each VT has it's own scrollback buffer I am guessing.
Nov
5
comment How many rings does OpenBSD use?
STOP used to have 3 rings, but I think the newest version was reduced to 2 for the sake of speed :(
Oct
12
comment How to use a custom crypto algorithm in ipsec?
First Law of Cryptography: Thou shall not roll your own crypto. Sorry, someone had to say it ;)
Oct
12
comment Fastest ssh X tunneling on a local secure network
Yup, this agrees with my findings: security.stackexchange.com/questions/12901/…