Re: pcb sip hash keys

2018-09-13 Thread Daniel Gracia
+ LIST_ENTRY(inpcb) inp_lhash;/* locol port hash */ Shouldn't this read 'local'? Regards! El jue., 13 sept. 2018 a las 23:12, Alexander Bluhm (< alexander.bl...@gmx.net>) escribió: > Hi, > > In general it is a bad idea to use one random secret for two things. > The inet PCB us

pcb sip hash keys

2018-09-13 Thread Alexander Bluhm
Hi, In general it is a bad idea to use one random secret for two things. The inet PCB uses one hash with local and foreign addresses, and one with local port numbers. Give both hashes separate keys. Also document the struct fields. ok? bluhm Index: netinet/in_pcb.c ===