1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/smbd
Stefan Metzmacher 721096b1ad s3:smb2_server: make use of smbd_smb2_inbuf_parse_compound() in smbd_smb2_request_read*()
This changes the way we read SMB2 traffic from the socket,
now as create just one large buffer for the whole NBT payload
and then split it into iovec elements in smbd_smb2_inbuf_parse_compound()

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Aug  6 21:54:35 CEST 2012 on sn-devel-104
2012-08-06 21:54:35 +02:00
..
aio.c s3-aio: Panic if we try to close a fsp with outstanding aio requests 2012-07-19 03:40:17 +02:00
avahi_register.c s3-param Remove special case for global_myname(), rename to lp_netbios_name() 2011-06-09 12:40:09 +02:00
blocking.c s3:smbd: change blocking.c to use fsp_fnum_dbg() for fsp->fnum logging. 2012-06-15 03:28:14 +02:00
close.c Fix unused variable. 2012-07-24 00:09:46 +02:00
conn_idle.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
conn_msg.c s3:smbd/conn_msg: use talloc_get_type_abort() as private_data can't be NULL 2011-12-14 12:00:07 +01:00
conn.c s3:smbd: make use of smbXsrv_tcon for smb1 2012-06-25 20:55:06 +02:00
connection.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
dfree.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
dir.c build: Remove SMB_OFF_T, replace with off_t 2012-04-06 01:47:43 +02:00
dmapi.c s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc() 2011-06-09 12:40:08 +02:00
dnsregister.c s3: include smbd/smbd.h where needed. 2011-03-30 01:13:08 +02:00
dosmode.c lib/param: Move all enum declarations to lib/param 2012-07-24 11:01:17 +02:00
error.c s3-smbd: Avoid starting log lines with the word 'error' 2012-02-16 15:21:11 +11:00
fake_file.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
file_access.c Based on code from Richard Sharpe <realrichardsharpe@gmail.com>, 2012-03-29 08:53:43 -07:00
fileio.c s3: Factor out "mark_file_modified" 2012-07-12 10:13:12 -07:00
filename.c s3:smbd/msdfs: pass allow_broken_path to resolve_dfspath_wcard() 2012-05-24 16:14:01 +02:00
files.c s3:smbd: if a fsp has fsp->deferred_close, clients shouldn't be able to use it 2012-07-23 16:22:03 +02:00
globals.c s3: Add vfs_aio_posix 2012-07-18 15:41:36 -07:00
globals.h s3:smb2_server: make use of smbd_smb2_inbuf_parse_compound() in smbd_smb2_request_read*() 2012-08-06 21:54:35 +02:00
ipc.c s3:smbd: make use of smbXsrv_tcon for smb1 2012-06-25 20:55:06 +02:00
lanman.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
mangle_hash2.c First part of fix for bug 8310 - toupper_ascii() is broken on big-endian systems 2011-07-19 13:19:29 -07:00
mangle_hash.c lib/param: Move all enum declarations to lib/param 2012-07-24 11:01:17 +02:00
mangle.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
message.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
msdfs.c s3: Fix Coverity ID 710818 Resource leak 2012-07-31 11:40:23 +02:00
negprot.c param: Make the 'unicode' parameter common 2012-07-24 10:46:12 +10:00
noquotas.c s3: include smbd/smbd.h where needed. 2011-03-30 01:13:08 +02:00
notify_inotify.c rely on sys/inotify.h for inotify 2012-04-13 21:15:00 +02:00
notify_internal.c s3:smbd: fix compiler warnings in notify_internal.c 2012-07-26 10:02:07 +02:00
notify.c s3:smbd: make struct notify_change_buf private to notify.c 2012-06-06 10:18:37 +02:00
ntquotas.c lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent. 2012-03-24 15:23:02 +01:00
nttrans.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
open.c s3: Make request_timed_out() static 2012-07-31 11:40:22 +02:00
oplock_irix.c build: Remove sys_open wrapper 2012-04-05 02:39:08 +02:00
oplock_linux.c Fix bug #8974 - Kernel oplocks are broken when uid(file) != uid(process). 2012-06-21 21:53:58 +02:00
oplock.c s3:util: rename procid_equal() to serverid_equal() 2012-06-21 08:27:32 +02:00
password.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
perfcount.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
pipes.c s3:smbd: change pipes.c to use fsp_fnum_dbg() for fsp->fnum logging. 2012-06-15 03:28:14 +02:00
posix_acls.c lib/param: Move all enum declarations to lib/param 2012-07-24 11:01:17 +02:00
process.c s3:smbd: do a clean shutdown during release_ip() after CTDB_SRVID_RELEASE_IP 2012-07-31 11:33:27 +02:00
proto.h s3: Make request_timed_out() static 2012-07-31 11:40:22 +02:00
pysmbd.c s3-pysmbd: Add hook for get_nt_acl() 2012-08-02 13:27:54 +02:00
quotas.c build: Remove sys_fopen wrapper 2012-04-05 02:39:08 +02:00
reply.c s3:smbd: add support for SMB_EXTENDED_SIGNATURES in SMBtconX 2012-08-04 14:28:04 +02:00
seal.c libcli/smb: Convert struct smb_trans_enc_state to talloc 2012-01-31 20:17:10 +01:00
sec_ctx.c Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls. 2012-06-28 17:15:16 -07:00
server_exit.c Move everything to use the common pidfile functions. 2012-07-19 16:36:18 -07:00
server_reload.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
server.c lib/param: Remove use of lp{cfg,}_socket_address outside the NBT client and server 2012-07-27 17:59:51 +10:00
service.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
session.c s3:smbd: change user_struct->vuid to uint64_t 2012-06-06 12:07:33 +02:00
sesssetup.c s3:smbd: remove unused variable in sesssetup.c 2012-08-05 23:09:06 +02:00
share_access.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
signing.c libcli/smb: pass hdr/len to smb_signing_check/sign_pdu() and skip the nbt header 2012-08-04 09:10:21 +02:00
smb2_break.c s3:smb2_break: make use of SMBD_SMB2_IN_BODY_PTR() 2012-08-05 20:55:34 +02:00
smb2_close.c s3:smb2_close: make use of SMBD_SMB2_IN_BODY_PTR() 2012-08-05 20:55:34 +02:00
smb2_create.c s3:smb2_create: make use of SMBD_SMB2_* macros 2012-08-05 20:55:37 +02:00
smb2_find.c s3:smb2_find: make use of SMBD_SMB2_* macros 2012-08-05 20:55:36 +02:00
smb2_flush.c s3:smb2_flush: make use of SMBD_SMB2_IN_BODY_PTR() 2012-08-05 20:55:35 +02:00
smb2_getinfo.c s3:smb2_getinfo: make use of SMBD_SMB2_* macros 2012-08-05 20:55:40 +02:00
smb2_glue.c s3:smb2_glue: make use of SMBD_SMB2_IN_HDR_PTR() 2012-08-05 20:55:36 +02:00
smb2_ioctl.c s3:smb2_ioctl: make use of SMBD_SMB2_* macros 2012-08-05 20:55:40 +02:00
smb2_keepalive.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_keepalive.c 2011-09-07 10:38:06 +02:00
smb2_lock.c s3:smb2_lock: make use of SMBD_SMB2_* macros 2012-08-05 20:55:40 +02:00
smb2_negprot.c s3:smb2_negprot: make use of SMBD_SMB2_* macros 2012-08-05 20:55:39 +02:00
smb2_notify.c s3:smb2_notify: make use of SMBD_SMB2_IN_*_PTR() 2012-08-05 20:55:35 +02:00
smb2_read.c s3:smb2_read: make use of SMBD_SMB2_IN_BODY_PTR() 2012-08-05 20:55:35 +02:00
smb2_server.c s3:smb2_server: make use of smbd_smb2_inbuf_parse_compound() in smbd_smb2_request_read*() 2012-08-06 21:54:35 +02:00
smb2_sesssetup.c s3:smb2_sesssetup: make use of SMBD_SMB2_* macros 2012-08-05 20:55:36 +02:00
smb2_setinfo.c s3:smb2_setinfo: make use of SMBD_SMB2_* macros 2012-08-05 20:55:40 +02:00
smb2_tcon.c s3:smb2_tcon: make use of SMBD_SMB2_* macros 2012-08-05 20:55:37 +02:00
smb2_write.c s3:smb2_write: make use of SMBD_SMB2_* macros 2012-08-05 20:55:38 +02:00
smbd.h s3: Add vfs_aio_posix 2012-07-18 15:41:36 -07:00
smbXsrv_open.c s3:smbd: add smbXsrv_open* infrastructure 2012-06-29 19:11:04 +02:00
smbXsrv_session.c s3:smbXsrv_session: pass max_sessions explicitly for smbXsrv_session_table_init() 2012-06-26 12:17:33 +02:00
smbXsrv_tcon.c s3:smbXsrv_tcon: pass max_tcons explicitly for smbXsrv_tcon_table_init() 2012-06-26 12:18:03 +02:00
smbXsrv_version.c s3:smbd: add smbXsrv_version_* infrastructure 2012-06-25 20:55:05 +02:00
srvstr.c s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc() 2011-06-09 12:40:08 +02:00
statcache.c Second part of fix for bug #8541 - readlink() on Linux clients fails if the symlink target is outside of the share. 2011-10-22 04:57:10 +02:00
statvfs.c s3: evaluate MNT_QUOTA and MNT_RDONLY in statvfs also on darwin 2012-07-05 22:00:52 +02:00
trans2.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
uid.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
utmp.c lib/util: Remove obsolete sys_getpid() and sys_fork(). 2012-03-24 21:55:40 +01:00
vfs.c s3: Fix Coverity ID 710827 Resource leak 2012-07-31 11:40:22 +02:00