Reputation
923
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
5 23
Impact
~27k people reached

1d
awarded  Popular Question
2d
comment How to disable AAAA lookups?
Interesting! I will investigate which applications trigger AAAA requests. If it's only ours, then i'll relay your suggestion to our devs. But i have a strong hunch that a lot of Debian/Ubuntu-packaged software is suffering from this, and we ain't gonna patch those.
2d
awarded  Notable Question
Jul
26
comment How to disable AAAA lookups?
Thank you, i wasn't aware of Bind's AAAA filter. As Michael mentions, it's probably not a solution for us due to Bind's large footprint. But for those who want to filter out AAAA responses in other scenarios it might be a viable way. Ubuntu actually builds bind with "--enable-filter-aaaa", at least on 14.04. Not sure about Debian. - See also ipamworldwide.blogspot.co.uk/2011/09/…
Jun
2
comment Find IPv4 broadcast address of a device
In the end it's gonna be a script to be plonked in Debian's /etc/network/if-up.d/. Its aim is to establish some iptables DNAT rules per interface that depend on the interface's broadcast address. But right, the bit that finds the broadcast address doesn't have to be bash. Thing is, i am more on the Ops side of DevOps.
Jun
2
comment Find IPv4 broadcast address of a device
Well then i'd rather parse is straight out with ip a show eth0 | awk '/inet/{print $4}, wouldn't I?
Jun
2
comment Find IPv4 broadcast address of a device
Nice one. Leaves the question whether the output formats of route or ip route are any more stable than those of ifconfig or ip addr.
Jun
2
comment Find IPv4 broadcast address of a device
Interesting answer, thank you. The problem with facter though is (a) that it requires ruby (one of my target platforms are embedded devices). And (b) that it doesn't query NETLINK but also just parses the output of ifconfig -a - i can do that myself.
Jun
2
comment Find IPv4 broadcast address of a device
ipcalc only shifts the problem from finding out the broadcast address, to finding out IP address and prefix/mask
Jun
2
awarded  Notable Question
Jun
1
revised Find IPv4 broadcast address of a device
added 503 characters in body
Jun
1
comment Find IPv4 broadcast address of a device
You make the same kind of assumptions ("broadcast address always in column 4") about the output format of ip. I am looking for a solution that avoids that.
Jun
1
revised Find IPv4 broadcast address of a device
added 55 characters in body
Jun
1
asked Find IPv4 broadcast address of a device
May
29
awarded  Enlightened
May
29
awarded  Nice Answer
May
14
comment What's the advantage of OpenVPN over SSTP?
I wonder whether there actually still is (if there ever was) a 'TCP meltdown problem': serverfault.com/questions/630837
Mar
20
comment Best way to add a DNS wildcard record for a domain
You still need example.net. in there
Mar
19
awarded  Yearling
Mar
18
comment Is it a bad idea to stop unnecessary services running
What enhances security and stability is not so much the NTP daemon in particular, but having a reasonably well synchronized system clock. Doesn't need to be an NTP daemon, in many cases a cronjob doing ntpdate every now and then is good enough, and actually easier than to lock down ntpd.