1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/smbd
Stefan Metzmacher bd1285d40d s3:smbd: implement FSCTL_SMBTORTURE_FORCE_UNACKED_TIMEOUT
This will be used by smbtorture in order to simulate channel failures
without relying on iptables.

'smbd:FSCTL_SMBTORTURE = yes' is required in order to active this.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11897

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
2020-07-08 15:54:40 +00:00
..
notifyd s3:notifyd: Check return value of lp_load_initial_only() 2020-06-16 09:08:34 +00:00
aio.c smbd: add vfs_valid_{pread,pwrite}_range() checks where needed 2020-05-12 19:53:44 +00:00
avahi_register.c s3-smbd: use fruit:model string for mDNS registration 2019-01-15 21:27:20 +01:00
blocking.c smbd: move files_struct.lock_failure_seen to a bitfield 2020-04-03 20:41:34 +00:00
close.c s3: smbd: Allow a SHUTDOWN_CLOSE on a file with outstanding aio if there are no client connections alive. 2020-06-24 20:14:15 +00:00
conn_idle.c smbd: move files_struct.closing to a bitfield 2020-04-03 19:05:44 +00:00
conn_msg.c smbd: Add close-denied-share message 2020-01-15 21:25:35 +00:00
conn.c smbd: RIP conn->origpath 2020-05-30 01:17:36 +00:00
connection.c s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +00:00
dfree.c smbdotconf: mark "dfree command" with substitution="1" 2019-11-27 10:25:32 +00:00
dir.c smbd: rename open_internal_dirfsp_at() to open_internal_dirfsp() 2020-05-21 05:23:30 +00:00
dmapi.c
dnsregister.c
dosmode.c smbd: don't free smb_fname_parent in unix_mode() 2020-05-29 20:02:55 +00:00
durable.c smbd: prepare DH disconnect for AT-names 2020-05-21 22:01:25 +00:00
error.c
fake_file.c s3: smbd: Add a dirfsp parameter to smbd_calculate_access_mask(). 2020-05-04 13:55:34 +00:00
file_access.c s3: smbd: Change SMB_VFS_GET_NT_ACL() -> SMB_VFS_GET_NT_ACL_AT() in directory_has_default_acl(). 2020-05-07 19:27:36 +00:00
fileio.c smbd: add vfs_valid_{pread,pwrite}_range() checks where needed 2020-05-12 19:53:44 +00:00
filename.c smbd: Apply a bit of README.Coding to unix_convert() 2020-06-15 17:59:39 +00:00
files.c smbd: remove redundant conn arg from fd_open() 2020-05-21 05:23:32 +00:00
globals.c smbd: Remove write cache 2019-11-13 00:20:55 +00:00
globals.h s3:smbd: implement FSCTL_SMBTORTURE_FORCE_UNACKED_TIMEOUT 2020-07-08 15:54:40 +00:00
ipc.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
lanman.c smbd: use smbXsrv_session_info_lookup() in api_reply() 2020-01-13 19:41:35 +00:00
mangle_hash2.c smbd: Save 520 bytes of writable memory from every smbd 2019-10-23 02:37:12 +00:00
mangle_hash.c
mangle.c smbdotconf: mark "mangling method" with constant="1" 2019-11-27 10:25:37 +00:00
message.c smbdotconf: mark "message command" with substitution="1" 2019-11-27 10:25:35 +00:00
msdfs.c smbd: RIP conn->origpath 2020-05-30 01:17:36 +00:00
negprot.c smbd: use put_long_date_full_timespec() 2019-12-06 00:17:36 +00:00
notify_fam.c
notify_inotify.c
notify_msg.c smbd: remove unused tevent_context argument from notify_init 2018-06-18 08:59:18 +02:00
notify.c smbd: Use NT_STATUS_NOTIFY_CLEANUP instead of STATUS_NOTIFY_CLEANUP 2020-06-22 12:07:37 +00:00
ntquotas.c smbd: add twrp arg to synthetic_smb_fname() 2020-05-05 19:18:40 +00:00
nttrans.c smbd: add dirfsp arg to SMB_VFS_CREATE_FILE() 2020-05-21 05:23:31 +00:00
open.c s3:smbd: avoid dereferencing client->connections 2020-07-08 15:54:40 +00:00
oplock_linux.c smbd: Remove unused define 2020-01-21 22:08:41 +00:00
oplock.c s3:smbd: avoid dereferencing client->connections 2020-07-08 15:54:40 +00:00
password.c smbd: RIP user_struct 2020-01-13 21:09:01 +00:00
perfcount.c smbdotconf: mark "perfcount module" with substitution="1" 2019-11-27 10:25:36 +00:00
pipes.c smbd: add twrp arg to synthetic_smb_fname() 2020-05-05 19:18:40 +00:00
posix_acls.c smbd: simplify uid_entry_in_group() 2020-05-30 02:40:22 +00:00
process.c smb2_server: make sure we detect stale smbXsrv_connection pointers in smbXsrv_channel_global 2020-05-15 09:04:36 +00:00
proto.h s3:smbd: pass smbXsrv_client to downgrade_lease() 2020-07-08 15:54:40 +00:00
pysmbd.c pysmbd: make sure that session unix info is filled 2020-06-05 11:54:06 +00:00
quotas.c quotas: Check group quota for directory when SGID is set 2019-08-14 16:27:43 +00:00
reply.c smbd: add dirfsp arg to SMB_VFS_CREATE_FILE() 2020-05-21 05:23:31 +00:00
scavenger.c smbd: Call reopen_logs() in the smbd scavenger 2019-12-09 16:10:38 +00:00
scavenger.h
seal.c
sec_ctx.c
server_exit.c s3:smbd: split out smbXsrv_connection_disconnect_transport() 2020-05-15 09:04:36 +00:00
server_reload.c smbdotconf: mark "next configfile" with substitution="1" 2019-11-27 10:25:34 +00:00
server.c s3:rpc_server: Reinitialize dcesrv_context in external spoolssd daemon 2020-03-20 15:36:32 +00:00
service.c smbd: RIP conn->origpath 2020-05-30 01:17:36 +00:00
session.c s3:smbd: fix SAFE_FREE() vs. TALLOC_FREE() in list_sessions() 2019-03-28 23:09:33 +00:00
sesssetup.c smbd: remove sub_set_smb_name()/reload_services() 2020-02-06 10:17:43 +00:00
share_access.c s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +00:00
signing.c s3:smbd: Return NTSTATUS for srv_calculate_sign_mac() 2019-05-21 00:03:22 +00:00
smb1_utils.c smbd: Remove "share_access" from fcb_or_dos_open() 2019-08-06 21:49:29 +00:00
smb1_utils.h smbd: Remove "share_access" from fcb_or_dos_open() 2019-08-06 21:49:29 +00:00
smb2_break.c s3:smbd: pass down smbXsrv_client to smbd_smb2_send_{oplock,lease}_break() 2020-07-08 15:54:40 +00:00
smb2_close.c smbd: move files_struct.closing to a bitfield 2020-04-03 19:05:44 +00:00
smb2_create.c s3:smbd: fix the handling of the durable_v2_timeout 2020-06-27 05:42:05 +00:00
smb2_flush.c smbd: move files_struct.is_directory to a bitfield 2020-04-03 19:05:44 +00:00
smb2_getinfo.c smbd: Protect smbd_smb2_getinfo_send() against invalid quota files 2020-05-29 09:55:10 +00:00
smb2_glue.c s3:smbd: implement FSCTL_SMBTORTURE_FORCE_UNACKED_TIMEOUT 2020-07-08 15:54:40 +00:00
smb2_ioctl_dfs.c
smb2_ioctl_filesys.c smbd: move files_struct.is_sparse to a bitfield 2020-04-03 19:05:44 +00:00
smb2_ioctl_named_pipe.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
smb2_ioctl_network_fs.c smb2_ioctl_network_fs: remove unused fsctl_srv_copychunk_state->aapl_copyfile 2019-03-28 23:09:34 +00:00
smb2_ioctl_private.h
smb2_ioctl.c s3:smbd: implement FSCTL_SMBTORTURE_FORCE_UNACKED_TIMEOUT 2020-07-08 15:54:40 +00:00
smb2_keepalive.c
smb2_lock.c s3:smb2_lock: implement lock_sequence replay detection 2020-06-27 04:20:39 +00:00
smb2_negprot.c s3:smbd: setup client->global->client_guid even without multichannel support 2020-07-08 15:54:40 +00:00
smb2_notify.c smbd: Use NT_STATUS_NOTIFY_ENUM_DIR instead of STATUS_NOTIFY_ENUM_DIR 2020-06-22 12:07:38 +00:00
smb2_query_directory.c smbd: remove redundant conn arg from fd_open() 2020-05-21 05:23:32 +00:00
smb2_read.c s3:smbd: add smbd_smb2_send_queue.sendfile_body_size 2020-07-08 15:54:40 +00:00
smb2_server.c s3:smbd: implement FSCTL_SMBTORTURE_FORCE_UNACKED_TIMEOUT 2020-07-08 15:54:40 +00:00
smb2_sesssetup.c s3:smbd: avoid dereferencing client->connections 2020-07-08 15:54:40 +00:00
smb2_setinfo.c smbd: use session->global->session_wire_id instead of session->compat->vuid 2020-01-13 19:41:34 +00:00
smb2_tcon.c s3:smb2_tcon: pass down in_flags to smbd_smb2_tree_connect_send() 2020-02-26 21:11:59 +00:00
smb2_write.c s3:smb2_write: add missing initialization of state->in_offset 2019-03-28 23:09:33 +00:00
smbd_cleanupd.c smbd: Remove unused brlock code 2019-06-20 17:18:19 +00:00
smbd_cleanupd.h
smbd.h smbd: remove struct privilege_paths 2020-03-31 19:32:11 +00:00
smbXsrv_client.c s3:smbd: force multi-channel to be turned off without FreeBSD/Linux support 2020-07-08 15:54:40 +00:00
smbXsrv_open.c s3:smbXsrv_open: initialize smbXsrv_open_global->lock_sequence_array with 0xFF 2020-06-27 04:20:39 +00:00
smbXsrv_session.c smbXsrv_session: add a smbXsrv_session_disconnect_xconn() helper 2020-05-15 09:04:36 +00:00
smbXsrv_tcon.c smbd: use session->global->session_wire_id instead of session->compat->vuid 2020-01-13 19:41:34 +00:00
smbXsrv_version.c lib: Pass mem_ctx to lock_path() 2018-08-17 11:30:10 +02:00
srvstr.c
statcache.c smbd: strip @GMT token in canonicalize_snapshot_path() 2020-05-05 19:18:43 +00:00
statvfs.c statvfs: rename linux_statvfs to posix_statvfs 2019-01-11 02:53:57 +01:00
trans2.c smbd: add dirfsp arg to SMB_VFS_CREATE_FILE() 2020-05-21 05:23:31 +00:00
uid.c smbd: setting current_user stuff here is redundant 2020-02-06 10:17:42 +00:00
utmp.c s3/smbd: fix utmp hostname logging on Solaris 2019-01-10 22:46:11 +01:00
vfs.c s3:smbd: make sure vfs_ChDir() always sets conn->cwd_fsp->fh->fd = AT_FDCWD 2020-07-02 15:25:31 +00:00