From 58bd5e795fc96e9d9dd1a785a0e0f7fe9ef87e32 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sun, 1 Feb 2015 13:57:03 +0100 Subject: [PATCH] Snaplen increased to the default jumbo frame size If the snaplen is lower than the total frame length announced, ssldump won't be able to reassemble the payload. "Length mismatch" error. Tested on Ethernet uplinks supporting jumbo frame. --- base/pcap-snoop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/pcap-snoop.c b/base/pcap-snoop.c index 3896098..6589718 100644 --- a/base/pcap-snoop.c +++ b/base/pcap-snoop.c @@ -360,7 +360,7 @@ int main(argc,argv) err_exit("Aborting",-1); } } - if(!(p=pcap_open_live(interface_name,5000,!no_promiscuous,1000,errbuf))){ + if(!(p=pcap_open_live(interface_name,65535,!no_promiscuous,1000,errbuf))){ fprintf(stderr,"PCAP: %s\n",errbuf); err_exit("Aborting",-1); }