pulsar
pulsar copied to clipboard
The pcap file size is about 300M, Error in rep(1:N, sapply(ngrams[-total], length)) : invalid 'times' argument
I have tried many different network protocols. Each individual protocol is a pcap file, but the following errors will occur. Can you help me.. thank you..
- os: ubuntu20.04
- Language: python3.6.9
- Execute command: python3 pulsar.py -l -p icmp3.pcap
- Packet size: ~300M
- Data packets are from the same original address to the same destination address
- The error is as follows:
data = loadPrismaData(capture_dir) Reading data... Splitting ngrams... Calc indices... Setup matrix... Error in rep(1:N, sapply(ngrams[-total], length)) : invalid 'times' argument Calls: loadPrismaData -> readPrismaInput -> readFSally -> sparseMatrix Execution halted