summaryrefslogtreecommitdiffstats
path: root/sys/netsmb/smb_rq.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support for SMB request signing, which prevents "man in the middle"tjr2004-01-021-4/+20
| | | | | | | | | | | attacks and is required to connect to Windows 2003 servers in their default configuration. This adds an extra field to the SMB header containing the truncated 64-bit MD5 digest of a key (a function of the user's password and the server's authentication challenge), an implicit sequence number, and the message data itself. As signing each message imposes a significant performance penalty, we only enable it if the server will not let us connect without it; this should eventually become an option to mount_smbfs.
* Use __FBSDID().obrien2003-06-111-2/+4
|
* - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread withjeff2003-03-311-4/+2
| | | | | | | a follow on commit to kern_sig.c - signotify() now operates on a thread since unmasked pending signals are stored in the thread. - PS_NEEDSIGCHK moves to TDF_NEEDSIGCHK.
* Back out M_* changes, per decision of the TRB.imp2003-02-191-3/+3
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-3/+3
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Remove the hto(be|le)[slq] and (be|le)toh[slq] macros defined inrobert2002-12-161-1/+1
| | | | | | | | | | | _KERNEL scope from "src/sys/sys/mchain.h". Replace each occurrence of the above in _KERNEL scope with the appropriate macro from the set of hto(be|le)(16|32|64) and (be|le)toh(16|32|64) from "src/sys/sys/endian.h". Tested by: tjr Requested by: comment marked with XXX
* Use m_length() instead of home-rolled versions.phk2002-09-181-3/+1
|
* Enable browsing of NetApp servers (use ascii mode).bp2002-09-161-1/+4
| | | | | Obtained from: Darwin (PR-3002667) MFC after: 2 weeks
* Move the new byte order function prototypes from <sys/param.h> tomike2002-04-261-0/+1
| | | | <sys/endian.h>. This puts us in line with NetBSD and OpenBSD.
* Spelling fixes.bp2001-12-311-4/+4
| | | | | | PR: kern/33131 Submitted by: Anders Andersson <anders@hack.org> MFC after: 1 week
* - Replace M_WAIT with M_TRYWAIT since the M_WAIT flag is deprecated.arr2001-12-091-1/+1
| | | | Spotted by: bde
* Pull netsmb requester from the pre-KSE world. This update mostly basedbp2001-12-021-2/+2
| | | | on the patches submitted by Max Khon <fjoe@iclub.nsu.ru>
* Use proper endian conversions.bp2001-08-211-1/+1
| | | | | Obtained from: Mac OS X MFC after: 1 week
* Import kernel part of SMB/CIFS requester.bp2001-04-101-0/+752
Add smbfs(CIFS) filesystem. Userland part will be in the ports tree for a while. Obtained from: smbfs-1.3.7-dev package.
OpenPOWER on IntegriCloud