Click here to Skip to main content
15,914,392 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
AnswerRe: Mass complaints by developers cause Microsoft to change. Pin
Joe Woodbury14-Mar-19 6:33
professionalJoe Woodbury14-Mar-19 6:33 
GeneralWSO CCC March 13 Pin
Agent__00712-Mar-19 22:41
professionalAgent__00712-Mar-19 22:41 
GeneralRe: WSO CCC March 13 Pin
PeejayAdams12-Mar-19 23:12
PeejayAdams12-Mar-19 23:12 
GeneralRe: WSO CCC March 13 - [solved] Pin
Agent__00713-Mar-19 0:31
professionalAgent__00713-Mar-19 0:31 
GeneralRe: WSO CCC March 13 Pin
CodeWraith13-Mar-19 3:48
CodeWraith13-Mar-19 3:48 
GeneralRe: WSO CCC March 13 Pin
dan!sh 13-Mar-19 4:10
professional dan!sh 13-Mar-19 4:10 
GeneralRe: WSO CCC March 13 Pin
PeejayAdams13-Mar-19 6:01
PeejayAdams13-Mar-19 6:01 
GeneralDuct Tape, Super Glue and Kite String PinPopular
Randor 12-Mar-19 18:22
professional Randor 12-Mar-19 18:22 
Yep,

Apparently that's what's been holding the internet together for the last thirty years. Let me explain;

I am currently working on a closed source DHCP client and server. A perfect implementation of RFC 951, RFC 1534, RFC 1542, RFC 2131, RFC 2132 and RFC 3046. The source code was very elegant and I was quite pleased. Verified and tested it against DNSMASQ, ISC DHCP and various other servers and clients. Everything works as expected!

But then...

I decided to test against older DHCP clients and servers... that's when I realized that for the last 25 years nobody even completely understood the DHCP protocol. Nearly 100% of the DHCP servers I am testing have bugs.

Older versions of Windows Server with a default install will send just the IP address and lease time. No T1 or T2 values which violates the RFC. It also does weird things like NULL terminate it's strings and identifiers. It also sends some of the DHCP values in the wrong network byte order. I'm finding some other DHCP implementations that implement broadcast/unicast incorrectly and ignore the flags. Some DHCP servers just SPAM the network with gratuitous DHCPINFORM messages.

In fact...excluding software written in the last five years... I can't seem to find any DHCP servers in the past 25 years that does NOT have any bugs.

My once beautiful code now has to check for wrong network byte order, NULL terminated strings, missing DHCP options, missing T1 T2 time values and various other weirdness.

You probably thought these old RFC written 30 years ago have been perfected. You were wrong.

Best Wishes,
-David Delaune
GeneralRe: Duct Tape, Super Glue and Kite String Pin
the goat in your machine12-Mar-19 18:37
the goat in your machine12-Mar-19 18:37 
GeneralRe: Duct Tape, Super Glue and Kite String Pin
PIEBALDconsult12-Mar-19 18:45
mvePIEBALDconsult12-Mar-19 18:45 
GeneralRe: Duct Tape, Super Glue and Kite String Pin
Randor 12-Mar-19 19:20
professional Randor 12-Mar-19 19:20 
GeneralRe: Duct Tape, Super Glue and Kite String Pin
Jörgen Andersson12-Mar-19 20:18
professionalJörgen Andersson12-Mar-19 20:18 
GeneralRe: Duct Tape, Super Glue and Kite String Pin
Richard Deeming13-Mar-19 2:23
mveRichard Deeming13-Mar-19 2:23 
GeneralRe: Duct Tape, Super Glue and Kite String Pin
Munchies_Matt12-Mar-19 21:59
Munchies_Matt12-Mar-19 21:59 
GeneralRe: Duct Tape, Super Glue and Kite String Pin
Gary Wheeler13-Mar-19 7:18
Gary Wheeler13-Mar-19 7:18 
GeneralRe: Duct Tape, Super Glue and Kite String Pin
kmoorevs13-Mar-19 10:05
kmoorevs13-Mar-19 10:05 
GeneralRe: Duct Tape, Super Glue and Kite String Pin
CPallini12-Mar-19 22:23
mveCPallini12-Mar-19 22:23 
GeneralRe: Duct Tape, Super Glue and Kite String Pin
Rage13-Mar-19 2:47
professionalRage13-Mar-19 2:47 
GeneralRe: Duct Tape, Super Glue and Kite String Pin
glennPattonWork313-Mar-19 2:51
professionalglennPattonWork313-Mar-19 2:51 
GeneralRe: Duct Tape, Super Glue and Kite String Pin
Sander Rossel13-Mar-19 2:52
professionalSander Rossel13-Mar-19 2:52 
GeneralRe: Duct Tape, Super Glue and Kite String Pin
W Balboos, GHB13-Mar-19 5:17
W Balboos, GHB13-Mar-19 5:17 
GeneralRe: Duct Tape, Super Glue and Kite String Pin
Dr.Walt Fair, PE13-Mar-19 6:22
professionalDr.Walt Fair, PE13-Mar-19 6:22 
GeneralMini CCCs 47 Pin
Tim Deveaux12-Mar-19 16:30
Tim Deveaux12-Mar-19 16:30 
GeneralRe: Mini CCCs 47 Pin
Peter_in_278012-Mar-19 17:25
professionalPeter_in_278012-Mar-19 17:25 
GeneralRe: Mini CCCs 47 - Done Pin
Tim Deveaux12-Mar-19 17:40
Tim Deveaux12-Mar-19 17:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.