Displaying 3 results from an estimated 3 matches for "maxbuf".
1998 Apr 21
0
Patching tcpdump-smb to deal with hyperlong packet reports
...rts is
in the function nbt_tcp_print in print-smb.c (with this extract from
the patch file tcpdump-3.2.1-smb-diffs)
+ case 0:
+ data = fdata(data,"NBT Session
Packet\nFlags=[rw]\nLength=[rd]\n",data+4);
+ if (memcmp(data,"\377SMB",4)==0) {
+ if (nbt_len>PTR_DIFF(maxbuf,data))
+ printf("WARNING: Short packet. Try increasing the snap length
(%d)\n",
+ PTR_DIFF(maxbuf,data));
+ print_smb(data,maxbuf>data+nbt_len?data+nbt_len:maxbuf);
+ } else {
+ printf("Session packet:(raw data?)\n");
+ }
+ break;
+
to r...
2012 Oct 11
0
PDC: realm changed: authentication aborted
...; `? ??
DIGEST-MD5
//server->client
0? a?
@SASL(0): successful result: security flags do not match
required???nonce="cryptic1",realm="ARCServer.arc-aachen.de",qop="auth,auth-int,
auth-conf",cipher="rc4-40,rc4-56,rc4,des,3des",maxbuf=65536,charset=utf-8,
algorithm=md5-sess
//client->server
0? `? ??
DIGEST-MD5 ?
?username="client$",realm="arcd",nonce="cryptic1",digest-uri="ldap/ARCSERVER",
cnonce="cryptic2",nc=00000001,response=cryptic3,qop=auth-conf,ciph...
2004 Jul 01
3
[PATCH, RFC] add APOP authentication mechanism
...;md5.h"
+#include "buffer.h"
+#include "hex-binary.h"
+
+#include <ctype.h>
+
+struct apop_auth_request {
+ struct auth_request auth_request;
+
+ pool_t pool;
+
+ /* requested: */
+ char *challenge;
+
+ /* received: */
+ char *username;
+ char *digest;
+ unsigned long maxbuf;
+};
+
+static void
+apop_credentials_callback(const char *credentials,
+ struct auth_request *auth_request)
+{
+ struct apop_auth_request *auth =
+ (struct apop_auth_request *)auth_request;
+ buffer_t *digest_buf;
+ unsigned char remote_digest[16];
+ unsigned char digest[16];
+ struct md5_con...