1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/source3/libsmb
Luke Leighton ddda7722a6 argh! how horrible! spent ages working out why packets weren't being
received properly when a UDP "retry" occurs.  it's because reads and
writes must be interleaved / matched.

scenario:

nmblookup connects to agent, sends request.

agent receives request, broadcasts it on 137.

agent RECEIVES 137 broadcast, sends it to nmblookup

agent receives RESPONSE to 137 broadcast, sends it to nmblookup.

if reads are not equally interspersed with writes, then second send
will fail.

if you think this is odd behaviour and that the agent should be filtering
its own UDP traffic, think again.

agent will be, potentially, redirecting nmbd traffic (including WINS
server) not just client programs.
(This used to be commit 43e158c426)
1999-12-04 23:40:21 +00:00
..
.cvsignore ignore *.po32 files 1998-10-05 12:36:44 +00:00
clientgen.c jeremy is going to hate me for this. 1999-12-04 19:14:37 +00:00
clienttrust.c cleaning up: removing those horrible references to server list 1999-12-02 19:03:23 +00:00
credentials.c this is the bug change to using connection_struct* instead of cnum. 1998-08-14 17:38:29 +00:00
namequery.c argh! how horrible! spent ages working out why packets weren't being 1999-12-04 23:40:21 +00:00
nmblib.c argh! how horrible! spent ages working out why packets weren't being 1999-12-04 23:40:21 +00:00
nterr.c safe string error reporting functions (found a potential buffer overflow 1999-06-24 18:58:08 +00:00
passchange.c more cli_session_setup() calls. what the heck are these doing??? 1999-12-01 22:06:53 +00:00
pwd_cache.c argh! smb-agent redirection client reusage is a nightmare! 1999-12-03 23:36:53 +00:00
smbdes.c previous commit added an abstraction function that didn't even have 1999-11-25 05:34:12 +00:00
smbencrypt.c sys_select added one more argument (read, write selectors). 1999-12-01 02:15:14 +00:00
smberr.c safe string error reporting functions (found a potential buffer overflow 1999-06-24 18:58:08 +00:00