sipcapture / captagent

100% Open-Source Packet Capture Agent for HEP
https://sipcapture.org
GNU Affero General Public License v3.0
167 stars 75 forks source link

captagent does not transmit packets to ipv6 server #212

Closed nageshnath closed 4 years ago

nageshnath commented 5 years ago

i have installed captagent after building with --enable-ipv6 . Captagent is able to capture ipv6 packets but unable to transmit it to ipv6 server configured in transport_hep.xml.I cannot see any error in captagent while capturing packets ,it captures and show the captured packet at console and does not report any error,but unable to send any packets to ipv6 server and port configured in transport_hep.xml.

my transport_hep.xml: <?xml version="1.0"?>

Please let me know if i am missing anthing.

nageshnath commented 5 years ago

can i get any help on this?

kYroL01 commented 5 years ago

Hello @nageshnath . I'll take a look asap! Thanks How's your configs ?

nageshnath commented 5 years ago

regarding configs transport_hep.xml i mentioned in initial comment.

socket_pcap.xml is as follows:

<?xml version="1.0"?>

portrange 5000-8000 tcp port 5061 proto 132 portrange 10000-30000 and len >=50 tcp port 3868

captagent.xml is as follows:

<?xml version="1.0"?>

Please let me know if you need anything.

kYroL01 commented 5 years ago

Unfortunately I can't see your socket_pcap.xml and transport_hep.xml properly. Can u past again please ?

nageshnath commented 5 years ago

transport_hep socket_pcap

packets are ipv6 sip packets.

nageshnath commented 5 years ago

did you find anything wrong in configuration?

kYroL01 commented 5 years ago

The configuration seems fine. I'll let u know when I'm figuring out the issue.

adubovikov commented 5 years ago

i afraid for HEP transport you snould use ipv4 now because currently ipv6 can be supported only during capturing. For now please use tunnel to send data to IPv6 and we will work on fix ipv6 for sender or if somebody can speed up it, please take a look here:

https://github.com/sipcapture/captagent/blob/master/src/modules/transport/hep/transport_hep.c#L1028

lmangani commented 4 years ago

Closing for inactivity. Reopen if needed or volounteers to complete this respond