150 points · by jgrahamc · 11y ago · 73 comments
A fun set of trivia questions involves inconsistent retransmission: in out-of-order delivery, with some data buffered --- IP fragments or TCP segments --- what happens when the packet that allows reassembly to proceed (a) overlaps data already sent and (b) that overlapping data isn't the same as what was already buffered? (When we wrote the IDS paper, Vern Paxson told us he'd been observing this happening in the wild, which blows my mind).
Another fun set of interview questions pertains to how you'd design the fastest possible "traceroute" program. You can do better than parallelizing/pipelining. :)
I used to like asking people what the utility of discard, chargen, and echo were.
However, your hint indicates that there's something other than inducing a number of TTL exceeded packets. Can't verify as I'm on mobile, but are you thinking of the TCP Record Route option?
These should become interview questions when somebody declares himself/herself an expert in TCP/IP.
Of course I don't expect anyone to know the answers to all of them, but, if you've been working in Java for a decade and can't answer any nuanced questions about garbage collection in the JVM, then I start doubting either your experience or curiosity.
K
Hint is ok but RFC 1379 and RFC 1644 predate your hint. I have personally seen this happen as I implemented it :-)
Still, for whatever it's worth, I was genuinely impressed with everyone I spoke with throughout the chain.
For a software candidate a simple question like "tell me what you know about TCP/IP" is a great start to just probe what they know about networking.
That said, if you're specifically applying to CloudFlare, you just got handed a great study sheet to differentiate yourself very handily from your peers. You'd think that "everyone" looks for this sort of thing, but given the ongoing streams of reports of "people who fail FizzBuzz", no, seriously, few people look at this sort of thing before interviews!
The vast majority of working programmers can be extremely effective without knowing much more than basic socket usage and perhaps the basics of how NAT setups can work against you if you're doing something other than just pure web-browser networking.
Having said that, knowing how in-the-wild network protocols work in general is one of those things (like knowing how compilers work) that can broaden your horizons and are probably worth learning for that reason, just don't worry too much about retaining minutia about them that you can easily look up should the need arise.
Why does a candidate have to know all these already?
For quite some time we've been grilling our candidates
about dirty corners of TCP/IP stack.
[...]
I'm joking of course, [...]
They don't need know these. These aren't interview questions, they're just TCP/UDP trivia."The goal is to encourage our readers to review the dusty RFCs, get interested in the inner workings of the network stack and generally spread the knowledge about the protocols we rely on so much."
I read that and was blown away, uttering "Bloody hell." I would have never known that from the top of my head. Good joke, well played, sir.
My Boss at BT could do this from a x.400 packet trace and point to the offending dword and say that is XXX's POS stack.
There is also the story of a guy (at BT Labs) who took the CCIE and only scored 98% he then wrote a personal letter to John Chambers explaining why he was right and Cisco was not.
...
Turns out he was one of the 3 inventors of Ethernet
EDIT: Title as I write this: CloudFlare “Interview Questions”
The guidelines allow for changing a misleading title, even if it was unintentionally misleading. From the comments here, clearly many were misled.
I just wanted to know that in case that the questions are formulated that way, what's the ratio of people that can successfully answer those.
"For quite some time we've been grilling our candidates about dirty corners of TCP/IP stack. Every engineer here must prove his/her comprehensive understanding of the full network stack. For example: what are the differences in checksumming algorithms between IPv4 and IPv6 stacks? I'm joking of course, but in the spirit of the old TCP/IP pub game I want to share some of the amusing TCP/IP quirks I've bumped into over the last few months while working on CloudFlare's automatic attack mitigation systems."
That is, these are not real interview questions. They are trivia questions.
I doubt most engineers even at Cloudflare can answer these without research.
CloudFlare will make it clear whenever a feature will modify your content and, whenever possible, provide you a mechanism to allow you to disable the feature.