Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from Artem's fork #105

Open
wants to merge 102 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
bf41564
renamed md4/md5 context methods to prevent compiling issues with othe…
Feb 10, 2016
c2774c2
fixed rename request
Feb 14, 2016
255b892
smb os and smblanman
Feb 14, 2016
90de67a
added SO_NOSIGPIPE
Feb 16, 2016
bd1ea03
xcode build project
Feb 17, 2016
3220daf
refresh project
Feb 17, 2016
9deb700
update project
Feb 17, 2016
45891b8
added missing files
Feb 17, 2016
7392121
added block assertions
Feb 17, 2016
dd952af
Merge remote-tracking branch 'upstream/master'
Feb 17, 2016
4d5aa72
deployment target
Feb 17, 2016
fa52175
Merge commit 'c3d186419708e52123137d23a3fe052ff78267ad'
Mar 13, 2016
288c698
discard merge
Mar 13, 2016
753fe14
block assertions
Apr 23, 2016
8fc69d4
asn1_ calls synchronized
May 20, 2016
e4594ce
clock ctime
Sep 19, 2016
16b3229
Merge remote-tracking branch 'upstream/master'
Sep 19, 2016
3572dde
fixed compiling issues
rdmeleshko Sep 20, 2016
41addee
fixed asn lock
rdmeleshko Sep 20, 2016
3113f7c
merged 1ef10adc3b4f57d4fafc694227c6fcc49b88a0ca from libdsm
rdmeleshko Sep 20, 2016
58afc89
merged last version 0.2.7 - removed local fixes
Sep 23, 2016
997608e
md4 md5 rename
Sep 23, 2016
36b3ea2
CTX_ rename
Sep 23, 2016
0b2a5a9
added build script
Sep 23, 2016
30a5637
Merge branch 'master' of https://github.com/leshkoapps/libdsm
Sep 23, 2016
e53d46a
fixed clock gettime
Sep 24, 2016
e9a2914
removed compiled lib
Sep 24, 2016
95d60e8
update gitignore
Sep 24, 2016
7717b2b
asn lock unlock
Sep 25, 2016
dd23f92
fix rename
Sep 25, 2016
faedac4
minor
Sep 25, 2016
3a72334
smb_session_login_spnego: don't override logged status
Sep 26, 2016
40c2404
SMB SESSION LOGOFF
Oct 10, 2016
b0f2244
asn synchronized fixes
Oct 18, 2016
58ff3ca
smb session assert - disabled for release
Nov 27, 2016
ba4c3a2
fix bug "retutn" to "return"
darling0825 Apr 15, 2017
e2e069b
Update xcode setting
darling0825 Apr 15, 2017
2301e19
fix a small bug
darling0825 Apr 15, 2017
1519fde
Merge pull request #1 from darling0825/master
everappz Apr 15, 2017
233505b
minor
Apr 21, 2017
3ddcd8c
Merge branch 'master' of https://github.com/leshkoapps/libdsm
Apr 21, 2017
c57a2a9
fixed iconv crash and assert in release
Jun 24, 2017
d844d84
removed assert in release
Jul 12, 2017
06cb59c
minor
Jul 12, 2017
f4eb917
added ipv6 support
Jul 29, 2017
4e3e814
ipv6 fixes
Jul 29, 2017
61c87e9
added user port and connection timeout
Oct 1, 2017
732624e
decreased connection timeout
Oct 2, 2017
4ce2096
minor
Nov 23, 2017
2d15f58
remove clock_gettime case of name conflict
Nov 23, 2017
2e6e800
rename clock getttime to avoid name collision
Nov 23, 2017
6e681f9
smb_ntlm: do not send lm & ntlm to server for guest login
May 22, 2018
75e4986
smb_fstat: check malformed packet
May 22, 2018
d3b5784
netbios: use time() instead of clock_gettime()
May 22, 2018
21fd3f2
Fix too small buffer for ASN1 response token.
May 22, 2018
de8898c
Fix setting of payload_size in smb_negotiate().
May 22, 2018
79a13ad
Fixed segmentation fault
May 22, 2018
b351c3c
minor
May 22, 2018
d4dfdda
asn and iconv lock refactoring
May 24, 2018
a84ea4f
minor
Aug 14, 2018
f8bf141
added read/write timeout
Aug 16, 2018
541f9ff
no message
Aug 17, 2018
f200de7
read timeout and write timeout refactoring
Aug 21, 2018
7715831
bin/discover: fix netbios_ns leak
Feb 10, 2019
c29f269
minor
Feb 10, 2019
7aa36d4
fixed directory parsing for empty responses
Feb 10, 2019
6281205
minor
Feb 13, 2019
b31d94f
minor
Feb 13, 2019
c853985
asn lock refactoring
Feb 14, 2019
d55dfe9
renamed bdsm headers
Aug 8, 2019
837b665
Revert "renamed bdsm headers"
Aug 8, 2019
4c91656
fixed headers
Aug 9, 2019
bbd8a69
debug header
Aug 9, 2019
9ddf744
smbtypes
Aug 9, 2019
4bd2ca7
headers
Aug 9, 2019
9eb37d1
headers
Aug 9, 2019
ae05671
Update smb_stat.h
everappz Aug 9, 2019
8c93ed3
headers
Aug 9, 2019
909a133
Merge branch 'master' of https://github.com/leshkoapps/libdsm
Aug 9, 2019
a6627fc
headers
Aug 9, 2019
16f48dc
minor
Aug 9, 2019
025abe9
minor
Aug 9, 2019
3031092
headers
Aug 9, 2019
410e4da
headers
Aug 9, 2019
12ff233
headers
Aug 9, 2019
05ff3d1
fixed crash on TimeCapsule
Mar 2, 2020
491c98d
fixed assert in release
Nov 2, 2020
e7b6617
minor
Nov 2, 2020
b1f54a3
minor
Nov 2, 2020
12c1bee
added libtasn source code
May 13, 2021
680443a
added tasn subproject
May 13, 2021
96205a6
minor
May 13, 2021
1548382
minor
May 13, 2021
f3e4d1a
minor
May 17, 2021
bb7cab8
minor
May 25, 2021
17294fd
fixed timeouts
May 29, 2021
7c6e85b
project file fixes
Oct 21, 2021
333e9e4
minor
Oct 24, 2021
026cd30
fixed file info request
Oct 26, 2021
2f12640
added file info deprecated request/response
Oct 27, 2021
93aea51
fix deployment target
everappz Oct 20, 2022
ee0d1b8
project file fix
everappz Oct 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 7 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ ref/*
*.exe
dsm
*.so
*.a
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate, good catch

dsm_discover
dsm_lookup
dsm_inverse
configure
.*/
build*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hum, why ?

*.a
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need to keep one of them

build/
*.deps
*.la
*.libs
Expand All @@ -26,7 +24,12 @@ build*/
aclocal.m4
autom4te.cache
config
config.*
config.rb
config.h.*
config.s*
config.log
config.guess
universal/*.a
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure why not

config.h.in
configure
libtool
Expand Down
36 changes: 0 additions & 36 deletions NOTES.md

This file was deleted.

86 changes: 0 additions & 86 deletions README.md

This file was deleted.

1 change: 1 addition & 0 deletions bin/discover.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ int main()
getchar();

netbios_ns_discover_stop(ns);
netbios_ns_destroy(ns);

return 0;
}
36 changes: 0 additions & 36 deletions bootstrap

This file was deleted.

4 changes: 2 additions & 2 deletions compat/clock_gettime.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#include <sched.h>
#include "compat.h"

int clock_gettime(clockid_t clk_id, struct timespec *tp) {
int dsm_clock_gettime(clockid_t clk_id, struct timespec *tp) {
kern_return_t ret;
clock_serv_t clk;
clock_id_t clk_serv_id;
Expand Down Expand Up @@ -67,7 +67,7 @@ int clock_gettime(clockid_t clk_id, struct timespec *tp) {
#include <time.h>
#include "compat.h"

int clock_gettime(int clk_id, struct timespec *spec) {
int dsm_clock_gettime(int clk_id, struct timespec *spec) {
(void)clk_id;
FILETIME wintime;
GetSystemTimeAsFileTime(&wintime);
Expand Down
2 changes: 1 addition & 1 deletion compat/compat.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "config.h"
#include "../xcode/config.h"

#if !defined(HAVE_PIPE) && defined(HAVE__PIPE)

Expand Down
9 changes: 7 additions & 2 deletions compat/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,14 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/

#include "config.h"
#include "../xcode/config.h"

#include <stdlib.h>

#ifndef _WIN32
#include <sys/time.h>
#endif

#if !defined HAVE_STRLCPY && !defined HAVE_LIBBSD
size_t strlcpy(char *dst, const char *src, size_t siz);
#endif
Expand All @@ -47,7 +52,7 @@ enum {
};
#endif
#if !defined HAVE_CLOCK_GETTIME
int clock_gettime(clockid_t clk_id, struct timespec *tp);
int dsm_clock_gettime(clockid_t clk_id, struct timespec *tp);
#endif

#if !defined HAVE_STRNDUP
Expand Down
Loading