Reputation
1,669
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
3 8
Newest
 Yearling
Impact
~53k people reached

Jul
20
comment Why do you need execute permission on the parent directory to rename a file
@Ajedi32, no, you really do need the x permission. A malicious utility cannot skip those steps that require looking up and decrementing the link count because the POSIX kernel does not offer a system call that skips those steps. POSIX only offers unlink() (for files) and rmdir() (for directories) and those system calls both do all the right things with looking up and link counts.
Jul
4
comment Leap Seconds in Windows
@Keltari I don't think phones use NTP. The proof is that phones get the time off the mobile network automatically even if they don't have a data connection (e.g. no data plan) yet NTP would require a data connection. You could run NTP on a phone. Perhaps some without mobile network capability (phones without SIMs, or tablets) do so. But all the frequent packet exchanges for carefully measuring clock offsets in the face of latency would probably cost much more battery life than getting the clock from the mobile network, which is less accurate but plenty good enough for a phone.
May
28
answered Are wired and wireless networks on a router nessassarily one network, when they are not bridged?
Mar
31
awarded  Yearling
Feb
24
awarded  Nice Answer
Mar
31
awarded  Yearling
Nov
28
comment MIxing RFC1918 NATed and public IP addresses using IPTABLES
The router does not necessarily need an address in the x.y.z.104/30 block. As you observe, there are only 4 IP addresses there, and if you consume one for the router, plus waste 2 as the network broadcast address, that doesn't leave a whole lot. So to save those IP addresses, the router would only have the 10.0.1.1 address on its inside address and have static routes to direct the traffic to all 4 public addresses to the apporpiate SIP server. The target of this route would be the SIP server's internal 10.0.1.x address. The SIP server has the public address(es) as a secondary address on "lo"
Jul
4
answered Log of mounted/unmounted devices in Unix
Jul
4
comment Webcam automatically takes picture when the computer wakes up
Any possible answers to this would probably be platform-specific. I suggest you mention which platform you are interested in.
Jul
3
comment How to configure a 10. network in bind? (PTR)
By the way, stub zones are totally unrelated in this context. And yes, just putting everything in the 10.in-addr.arpa zone is the easiest way.
Jul
1
comment How to configure a 10. network in bind? (PTR)
But you already have the 10.0.0.0/8 zone configured (which is fine), so if you just add reverse DNS entries to that zone you wouldn't be changing that.
Jun
30
comment How to configure a 10. network in bind? (PTR)
That makes no sense. There is absolutely nothing wrong with having a zone "10.in-addr.arpa" and another zone "1.0.10.in-addr.arpa" (in most cases you should have a proper delegation in "10.in-addr.arpa"). But in any case what I was asking was why you want to create a new zone at all. Why don't you just put PTR records directly in "10.in-addr.arpa"? That's really much simpler!
Jun
30
comment How to configure a 10. network in bind? (PTR)
Why don't you just leave "10.in-addr.arpa" active, create no other zones, and put everything in there?
Jun
29
comment eMMC Standards and File System support
Re: 'discard' option: isn't it the other way around? Using TRIM on any kind of flash device should increase performance (not decrease it) because the FTL layer becomes aware that it no longer has to track a particular block (maintain the mapping from logical block to physical block, refresh the block once in a while for wear leveling, etc...)
Jun
23
comment Public Wi-Fi and software updates
OK, Thanks @Karan for the additional info.
Jun
23
comment Public Wi-Fi and software updates
@Karan A MITM would only be possible if the update protocol does not actually authenticate the update. To paraphrase what I already said, it's very unlikely that they would have been so incompetent as to not authenticate updates. I mean, all you really need to do is either transfer it over https or else supply a lightweight detached signature. That being said, I guess Microsoft has been known to be really stupid before...
Jun
23
answered What would happen if I set up a host named 'com' on a local network?
Jun
23
answered Wipe free space on LVM-LUKS (dm-crypt) Volume
Jun
23
comment Public Wi-Fi and software updates
It seems like a stupid recommendation (assuming the software update protocol authenticated the incoming software updates, which it would be even stupider if it didn't). Of all of the things other people could observe you doing (your email, the websites you like to browse, etc...), the fact that you're updating your operating system is close to the least private I can think of!
Jun
22
comment Resetting $PATH in OS X 10.8
Well, I would say that setting $PATH in both ~/.profile and ~/.bash_profile is poor form, but the bash manpage mentions "~/.bash_profile, ~/.bash_login, and ~/.profile, in that order", so at least you know which one runs latest and therefore overrides changes made in the others.