1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/source3/smbd
Stefan Metzmacher 2ec49cf57c s3:smbd: take less than SMB_BUFFER_SIZE_MIN ('500') as header overhead in ipc.c
We're now sure that sconn->smb1.sessions.max_send is >= SMB_BUFFER_SIZE_MIN.
in order to garantee some progress we need to make sure our assumed
header overhead is less than SMB_BUFFER_SIZE_MIN.

Assuming 372 bytes for the SMBtrans headers should still be more than
enough.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10422
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2014-03-05 10:06:24 -08:00
..
aio.c param: rename lp function and variable from "syncalways" to "sync_always" 2014-02-07 16:19:16 -08:00
avahi_register.c
blocking.c smbd: Fix blank line endings 2013-09-11 08:27:10 +02:00
close.c param: rename lp function and variable from "magicscript" to "magic_script" 2014-02-07 16:19:13 -08:00
conn_idle.c Fix bug #9733 - smbcontrol close-share is not working. 2013-03-22 20:10:11 +01:00
conn_msg.c
conn.c
connection.c
dfree.c param: rename lp function and variable from "maxdisksize" to "max_disk_size" 2014-02-07 16:19:16 -08:00
dir.c param: rename lp function and variable from "hideunwriteable_files" to "hide_unwriteable_files" 2014-02-07 16:19:11 -08:00
dmapi.c
dnsregister.c
dosmode.c param: rename lp function and variable from "inherit_perms" to "inherit_permissions" 2014-02-07 16:19:15 -08:00
durable.c smbd:smb2: fix durable reconnect: set fsp->fnum from the smbXsrv_open->local_id 2014-01-30 16:57:06 +01:00
error.c
fake_file.c
file_access.c smbd: Convert can_delete_file_in_directory to synthetic_smb_fname 2013-04-17 14:50:01 -07:00
fileio.c param: rename lp function and variable from "syncalways" to "sync_always" 2014-02-07 16:19:16 -08:00
filename.c param: rename lp function and variable from "symlinks" to "follow_symlinks" 2014-02-07 16:19:13 -08:00
files.c s3:smbd: use PATH_MAX for the buffer passed to full_path_tos() 2013-12-14 16:24:34 +01:00
globals.c
globals.h s3:smbd: maintain smbd_server_connection->status 2014-02-21 11:48:12 +01:00
ipc.c s3:smbd: take less than SMB_BUFFER_SIZE_MIN ('500') as header overhead in ipc.c 2014-03-05 10:06:24 -08:00
lanman.c param: change fstype to use a constant string 2014-02-12 13:17:14 +13:00
mangle_hash2.c Fix is_legal_name() to not emit character conversion error messages. 2013-09-11 16:38:43 -07:00
mangle_hash.c param: rename lp function and variable from 'magicchar' to 'mangling_char' 2014-02-07 16:19:10 -08:00
mangle.c param: rename lp function and variable from 'defaultcase' to 'default_case' 2014-02-07 16:19:10 -08:00
message.c param: rename lp function and variable from "msg_command" to "message_command" 2014-02-07 16:19:13 -08:00
msdfs.c loadparm: rename lp[cfg]_pathname to lp[cfg]_path for consistency with docs 2014-02-03 13:26:13 +13:00
negprot.c lib/param: Normalise "read raw" and "write raw" parameters 2014-02-12 13:17:13 +13:00
notify_inotify.c Fix memory leak in error code path. 2013-07-18 03:22:37 +02:00
notify_internal.c dbwrap: add a dbwrap_flags argument to db_open_tdb() 2014-02-07 16:06:07 +01:00
notify.c s3:smbd: use PATH_MAX for the buffer passed to full_path_tos() 2013-12-14 16:24:34 +01:00
ntquotas.c
nttrans.c smbd: Always use UCF_PREP_CREATEFILE for filename_convert calls to resolve a path for open. 2013-12-09 21:02:21 +01:00
open.c param: rename lp function and variable from "inherit_perms" to "inherit_permissions" 2014-02-07 16:19:15 -08:00
oplock_irix.c param: rename lp function and variable from 'lockdir' to 'lock_directory' 2014-02-07 16:19:10 -08:00
oplock_linux.c Wrap setting leases in become_root()/unbecome_root() to ensure correct delivery of signals. 2013-07-31 17:07:58 -07:00
oplock.c Rename the profile enums with a SAMBA_ prefix to avoid conflict with system files. 2013-11-22 08:56:38 -08:00
password.c loadparm: rename lp[cfg]_pathname to lp[cfg]_path for consistency with docs 2014-02-03 13:26:13 +13:00
perfcount.c
pipes.c s3-rpc_server: Pass the server event context to np_open(). 2013-10-29 16:27:18 +01:00
posix_acls.c Fix bug 10196 - RW Deny for a specific user is not overriding RW Allow for a group. 2013-10-24 14:20:04 +02:00
process.c s3:smbd: use sconn->smb1.sessions.max_send = SMB_BUFFER_SIZE_MAX 2014-03-05 10:06:24 -08:00
proto.h smbd: Implement and use full_path_tos 2013-12-14 11:21:32 +01:00
pysmbd.c pysmbd: improve the return of error codes in the python smbd bindings 2014-02-05 08:42:25 +01:00
quotas.c
reply.c s3: smbd - smb1 - fix read of deleted memory in reply_writeclose(). 2014-03-03 20:42:40 +01:00
scavenger.c s3:smbd:smb2:scavenger: fix format error for debugging open_persistent_id in scavenger_timer() 2013-04-19 01:36:15 +02:00
scavenger.h s3:smbd: add a scavenger process for disconnected durable handles 2013-04-18 13:15:13 +02:00
seal.c
sec_ctx.c
server_exit.c s3:smbd: maintain smbd_server_connection->status 2014-02-21 11:48:12 +01:00
server_reload.c param: No longer have a special case for lp_configfile 2014-02-12 13:17:13 +13:00
server.c cmdline: Remove dynconfig hooks in command line processing 2014-02-12 16:42:14 +01:00
service.c param: change fstype to use a constant string 2014-02-12 13:17:14 +13:00
session.c s3:smbd/session: Added a routine find_sessions() 2013-09-10 11:32:46 -07:00
sesssetup.c s3:smbd: reject a MaxBufferSize < SMB_BUFFER_SIZE_MIN (500) in a session setup request 2014-03-05 10:06:24 -08:00
share_access.c param: rename lp function and variable from "writelist" to "write_list" 2014-02-07 16:19:16 -08:00
signing.c lib/param: Consolidate code to enable smb signing on the server, always enable on AD DC 2013-11-22 13:13:03 +01:00
smb2_break.c smbd: Remove unused reply_to_oplock_break_requests 2013-04-26 15:17:22 -07:00
smb2_close.c s3:smbd/smb2 fix compiler warnings 2013-12-12 14:21:27 -08:00
smb2_create.c smbd: Always use UCF_PREP_CREATEFILE for filename_convert calls to resolve a path for open. 2013-12-09 21:02:21 +01:00
smb2_find.c param: rename lp function and variable from 'dontdescend' to 'dont_descend' 2014-02-07 16:19:09 -08:00
smb2_flush.c
smb2_getinfo.c smbd: Revert a93f9c3 2013-08-28 23:37:08 +02:00
smb2_glue.c Add function smbd_smb2_unread_bytes(). 2013-04-19 14:10:51 -07:00
smb2_ioctl_dfs.c
smb2_ioctl_filesys.c smb2/ioctl: add support for FSCTL_[GET/SET]_COMPRESSION 2013-11-22 08:56:45 -08:00
smb2_ioctl_named_pipe.c smbd: Fix CID 1035550 Structurally dead code 2013-08-12 17:25:54 +12:00
smb2_ioctl_network_fs.c smbd: Fix memory overwrites 2014-02-07 20:07:23 +01:00
smb2_ioctl_private.h
smb2_ioctl.c
smb2_keepalive.c
smb2_lock.c smbd: Fix a panic when a smb2 brlock times out 2013-12-05 21:21:35 +01:00
smb2_negprot.c param: rename lp function and variable from "srv_minprotocol" to "server_min_protocol" 2014-02-07 16:19:15 -08:00
smb2_notify.c s3:smb2_notify: fix use after free on long living notify requests 2014-02-14 11:18:15 +01:00
smb2_read.c s3: Return correct error code from SMB2 AIO read failure 2013-12-05 18:22:16 -08:00
smb2_server.c s3:smbd: maintain smbd_server_connection->status 2014-02-21 11:48:12 +01:00
smb2_sesssetup.c s3:smbd/smb2 fix compiler warnings 2013-12-12 14:21:27 -08:00
smb2_setinfo.c
smb2_tcon.c param: rename lp function and variable from "hideunwriteable_files" to "hide_unwriteable_files" 2014-02-07 16:19:11 -08:00
smb2_write.c
smbd.h smbd: change flag name from UCF_CREATING_FILE to UCF_PREP_CREATEFILE 2013-12-09 09:48:48 -08:00
smbXsrv_open.c smbXsrv_open.c: Initialize local variable. 2014-02-12 23:57:05 +01:00
smbXsrv_session.c dbwrap: add a dbwrap_flags argument to db_open() 2014-02-07 16:06:06 +01:00
smbXsrv_tcon.c dbwrap: add a dbwrap_flags argument to db_open() 2014-02-07 16:06:06 +01:00
smbXsrv_version.c dbwrap: add a dbwrap_flags argument to db_open() 2014-02-07 16:06:06 +01:00
srvstr.c
statcache.c
statvfs.c
trans2.c param: add const to a local variable to prevent a warning about lp_fstype 2014-02-20 10:11:28 +13:00
uid.c param: rename lp function and variable from 'guestaccount' to 'guest_account' 2014-02-07 16:19:10 -08:00
utmp.c param: rename lp function and variable from 'wtmpdir' to 'wtmp_directory' 2014-02-07 16:19:11 -08:00
vfs.c param: rename lp function and variable from "symlinks" to "follow_symlinks" 2014-02-07 16:19:13 -08:00