I would like to truncate packets before send it via gre tunnel.
But I have this message :
rcdcap:/etc/RCDCap/src/sink.cc:374: Invalid length; the complete packet must be captured in order to output it to a TAP device.
Original length: 1506; the length of the received packet: 1472.
Is it something that can be improved ?
Best regards,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I can probably add a force flag which avoids the check. Would this be sufficient?
Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: Julien nirlya@users.sourceforge.net Date: 3/14/18 21:45 (GMT+01:00) To: "[rcdcap:discussion]" general@discussion.rcdcap.p.re.sourceforge.net Subject: [rcdcap:discussion] Packet truncation
Hi,
I would like to truncate packets before send it via gre tunnel.
But I have this message :
rcdcap:/etc/RCDCap/src/sink.cc:374: Invalid length; the complete packet must be captured in order to output it to a TAP device.
Original length: 1506; the length of the received packet: 1472.
Is it something that can be improved ?
Best regards,
Thx for your quick answer :)
If you able to truncate properly packet like tcpdump or tshark - and not dropping packets like -y arg - I think it will be sufficient!
Here is my command line :
rcdcap -i ens192 -s 1462 --tap-persist -t gretap1
Ready to test !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
terminate called after throwing an instance of 'RCDCap::Exception'
what(): /tmp/RCDcap/src/sink.cc:310: Invalid length; the complete packet must be captured in order to output it to a TAP device.
Original length: 1434; the length of the received packet: 1000.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: Julien nirlya@users.sourceforge.net Date: 3/27/18 15:06 (GMT+01:00) To: "[rcdcap:discussion]" general@discussion.rcdcap.p.re.sourceforge.net Subject: [rcdcap:discussion] Packet truncation
Hi,
I still have a problem with compilation :
[ 85%] Building CXX object src/CMakeFiles/rcdcap.dir/rcdcap-main.cc.o
Hi,
I would like to truncate packets before send it via gre tunnel.
But I have this message :
rcdcap:/etc/RCDCap/src/sink.cc:374: Invalid length; the complete packet must be captured in order to output it to a TAP device.
Original length: 1506; the length of the received packet: 1472.
Is it something that can be improved ?
Best regards,
Hello, I can probably add a force flag which avoids the check. Would this be sufficient?
Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: Julien nirlya@users.sourceforge.net Date: 3/14/18 21:45 (GMT+01:00) To: "[rcdcap:discussion]" general@discussion.rcdcap.p.re.sourceforge.net Subject: [rcdcap:discussion] Packet truncation
Hi,
I would like to truncate packets before send it via gre tunnel.
But I have this message :
rcdcap:/etc/RCDCap/src/sink.cc:374: Invalid length; the complete packet must be captured in order to output it to a TAP device.
Original length: 1506; the length of the received packet: 1472.
Is it something that can be improved ?
Best regards,
Packet truncation
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/rcdcap/discussion/general/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Thx for your quick answer :)
If you able to truncate properly packet like tcpdump or tshark - and not dropping packets like -y arg - I think it will be sufficient!
Here is my command line :
rcdcap -i ens192 -s 1462 --tap-persist -t gretap1
Ready to test !
Hi,
I just try your last commit but still have :
The build was broken on linux - it should work fine now
Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: Julien nirlya@users.sourceforge.net Date: 3/20/18 11:44 (GMT+01:00) To: "[rcdcap:discussion]" general@discussion.rcdcap.p.re.sourceforge.net Subject: [rcdcap:discussion] Packet truncation
Hi,
I just try your last commit but still have :
terminate called after throwing an instance of 'RCDCap::Exception'
what(): /tmp/RCDcap/src/sink.cc:310: Invalid length; the complete packet must be captured in order to output it to a TAP device.
Original length: 1434; the length of the received packet: 1000.
Packet truncation
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/rcdcap/discussion/general/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Hi,
I still have a problem with compilation :
Regards,
What is your version of cmake?
Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: Julien nirlya@users.sourceforge.net Date: 3/27/18 15:06 (GMT+01:00) To: "[rcdcap:discussion]" general@discussion.rcdcap.p.re.sourceforge.net Subject: [rcdcap:discussion] Packet truncation
Hi,
I still have a problem with compilation :
[ 85%] Building CXX object src/CMakeFiles/rcdcap.dir/rcdcap-main.cc.o
cd /tmp/rcdcap-code/source/build-make/src && /usr/bin/c++ -DLINUX -I/tmp/rcdcap-code/source/build-make/include -I/tmp/rcdcap-code/source/include -pedantic -Wall -Wno-long-long -std=c++0x -mcx16 -msse -msse2 -mssse3 -pthread -o CMakeFiles/rcdcap.dir/rcdcap-main.cc.o -c /tmp/rcdcap-code/source/src/rcdcap-main.cc
In file included from /tmp/rcdcap-code/source/include/rcdcap/sink.hh:25:0,
/tmp/rcdcap-code/source/include/rcdcap/packet-headers.hh:47:18: attention : ISO C++ does not support ‘int128’ for ‘int128’ [-Wpedantic]
typedef int128 int128;
Linking CXX executable rcdcap
cd /tmp/rcdcap-code/source/build-make/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/rcdcap.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/rcdcap.dir/rcdcap-main.cc.o -o rcdcap -rdynamic librcdcap_core.so -lpcap -lsupc++ -ldl -lpthread -Wl,-rpath,/tmp/rcdcap-code/source/build-make/src:
CMakeFiles/rcdcap.dir/rcdcap-main.cc.o: dans la fonction « RCDCap::RCDCapApplication::RCDCapApplication() »:
rcdcap-main.cc:(.text+0x8a7): référence indéfinie vers « boost::program_options::options_description::m_default_line_length »
rcdcap-main.cc:(.text+0x8b2): référence indéfinie vers « boost::program_options::options_description::m_default_line_length »
rcdcap-main.cc:(.text+0x8fb): référence indéfinie vers « boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int) »
rcdcap-main.cc:(.text+0xbb9): référence indéfinie vers « boost::program_options::options_description::add_options() »
rcdcap-main.cc:(.text+0xbd3): référence indéfinie vers « boost::program_options::options_description_easy_init::operator()(char const, char const) »
[...]
Regards,
Packet truncation
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/rcdcap/discussion/general/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Hi,
cmake version 2.8.12.2
regards,