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.
This commit is contained in:
Alexandre Dulaunoy 2015-02-01 13:57:03 +01:00
parent 3d17d67ea0
commit 58bd5e795f

View file

@ -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);
}