Blame wireshark-rpc-pdu-size.patch
|
Radek Vokál |
977e92 |
commit 43dfeabc693fb4f4f39378291c4c81ba19b09351
|
|
Radek Vokál |
977e92 |
Author: J. Bruce Fields <bfields@citi.umich.edu>
|
|
Radek Vokál |
977e92 |
Date: Tue Jul 8 17:19:49 2008 -0400
|
|
Radek Vokál |
977e92 |
|
|
Radek Vokál |
977e92 |
Use large default max_rpc_tcp_pdu_size setting
|
|
Radek Vokál |
977e92 |
|
|
Radek Vokál |
977e92 |
The linux server will do up to 1M these days, so the current default is
|
|
Radek Vokál |
977e92 |
very likely to discard all reads and writes from such a server.
|
|
Radek Vokál |
977e92 |
|
|
Radek Vokál |
977e92 |
Thanks to Jim Rees for catching this.
|
|
Radek Vokál |
977e92 |
|
|
Radek Vokál |
977e92 |
|
|
Radek Vokál |
977e92 |
diff -up wireshark-1.0.2/epan/dissectors/packet-rpc.c.orig wireshark-1.0.2/epan/dissectors/packet-rpc.c
|
|
Radek Vokál |
977e92 |
--- wireshark-1.0.2/epan/dissectors/packet-rpc.c.orig 2008-07-10 13:39:24.000000000 -0400
|
|
Radek Vokál |
977e92 |
+++ wireshark-1.0.2/epan/dissectors/packet-rpc.c 2008-07-17 06:55:49.000000000 -0400
|
|
Radek Vokál |
977e92 |
@@ -257,7 +257,7 @@ static dissector_handle_t rpc_handle;
|
|
Radek Vokál |
977e92 |
static dissector_handle_t gssapi_handle;
|
|
Radek Vokál |
977e92 |
static dissector_handle_t data_handle;
|
|
Radek Vokál |
977e92 |
|
|
Radek Vokál |
977e92 |
-static guint max_rpc_tcp_pdu_size = 262144;
|
|
Radek Vokál |
977e92 |
+static guint max_rpc_tcp_pdu_size = 16 * 1024 * 1024;
|
|
Radek Vokál |
977e92 |
|
|
Radek Vokál |
977e92 |
static const fragment_items rpc_frag_items = {
|
|
Radek Vokál |
977e92 |
&ett_rpc_fragment,
|