-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPv6 seems not to work #6
Comments
to be honest, we didn't check captagent in IPv6, but i don't see any reason, why it should not work:
as you see, getaddrinfo return a struct addressinfo base on the capt_host. So, if your capt_host can be resolved as IPV6 and ai_family set to IPv6 , socket() will open IPv6. |
unfortunately it does not capture anything on an V6 interface. so far we used "any" as Interface and if no filter set i can see at least the V4 traffic, but if i bind it to the V6 Inteface it just makes nothing. In Log i can see this during restart the service:
For me "Unload" during stating procedure doesn't look so good. Maybe it should be like this but i'm not sure. BR |
Are you able to see traffic with tcpdump/ngrep ? On 2015-01-26 08:49, vinzens wrote:
|
yes, i am. we started debugging with ngrep since it's our first time to have IPv6 and now we wanted to have the traffic in our Homer. So i'm very certain that there is traffic and we are able to see it by using ngrep. here a little output from tcpdump |
in your config, please comment out port, ip-proto and make a custom filter and activate debug
and core.conf:
after, please check if you will have something in your syslog. |
No, unfortunately i cannot find anythin new in the log except this: @4000000054c60bf017ace3e4 Loaded core config But this seems to be quite the same just except the Host Filter |
you didn't comment out ip-proto and port/portrange. |
yes, sorry. now i got this: if i uncomment Port or Portrange it takes by default port 5060 so my filter must look like "and host ..." else i get an error for the filter syntax. Bit in my case SIP is on Port 5060 so it should not permit the data. Still it's not working |
i have added more debug, can you please pull the last git and start again ? Please be sure that you have activated debug in the proto_uni section. thanks. |
this doesn't look any better. started the captagent with in syslog all i can find is: if i do not daemonize the captagent i can see this in console: unfortunately nothing else please find below the config file (maybe there is something wrong in it):
|
can u please download https://github.com/sipcapture/sipgrep and run the same filter ? |
sipgrep does not show the packets, too. I now made trace on tcpdump and sipgrep at the same time on that mashin, zo ensure the SIP V6 Traffic is passing this system as expected. made sure the IP is correct: enabled sipgrep like nothing.... where tcpdump gave output |
unfortunatley you didn't define --enable-ipv6 for sipgrep. |
ok, i made it again:
same result |
please show me the output of sudo sipgrep -d any host 2001:ab0:13:affe::aa01 |
it looks like: vinzens@server: i placed a call between starting and stoppung the trace. tcpdump again showed packets. |
ok, I have to setup IPv6 and check it by self.This can take a while. |
OK, many thanks for your help! We'll wait for your feedback. |
Hi, have you made any progress in this issue? If you need someone to test something, please let us know. Best regards |
not yet. but if you can provide an ssh w/root credentials, we can speed up it |
Unfortunately this is not possible since our security policy does not allow this on Live systems. So far we do not have a DEV setup. Sorry So we will wait. |
Hi again, finally we have installed captagent V6. Since i cannot find any docu about IPv6 config here the question: How do i configure the socket_pcap in order to get IPv6 Packets? At the moment it looks pritty much like your sample, but im not able to get IPv6 sniffed. filter in socket_pcap looks like:
do you have any hints? |
When looking into this, I saw there were some lines in the code, which were only compiled if a precompiler variable USE_IPv6 is set. But this variable was never set. Then I replaced all the #if USE_IPv6 lines with #ifdef USE_IPv6. Maybe this wasn't necessary but it doesn't hurt. After building the debian package and installing, I still only get IPv4 output. I'm out of ideas, what is needed to get IPv6 support up and running. You can find my work here: Do you have any more hints what is missing? |
I talked about this issue at KamailioWorld with @lmangani, and he told me that he knows what the problem is and how it can be fixed. Are there any plans to make IPv6 in captagent work? |
Hi Sebastian, can you provide ssh to any Ipv6 box with sip traffic and we can check it together ? |
Actually, that's a bit difficult. But @lmangani said, he knows what to do and he has an IPv6 setup. Otherwise, you could come visit us for a day, then we could look at it together. |
@SipSeb that's indeed correct - testing resumed ;) |
@SipSeb can you try the last git ? Should works now |
please don't forget to enable ipv6 |
Sorry for the late reply, but the sipcapture job on our build system is currently broken. I'm gonna try as soon as I get to it. |
Wow, that libuv dependency makes it hard to test right now. Need to upgrade the IPv6 system from wheezy to jessie first. ;) |
Yes, I've seen that. But for wheezy the libuv-dev package is missing which is probably needed for building captagent, and the other reason is that our build system expects those build dependencies in some repository. It's not that easy unfortunately. |
this is custom package and it already includes dev as well... On 01.07.2016 15:26, Sebastian Damm wrote:
|
any progress ? |
Yes. I managed to backport the libuv package from jessie-backports and put it in our repository. So now I have a running captagent on Wheezy. The good thing: It now captures IPv6 packets. 👍 |
yes please ;-) i know, the function of libuv doesn't accept hostname as param. Please open Wbr, On 13 July 2016 at 09:35, Sebastian Damm notifications@github.com wrote:
|
Isn't CR vs. bug only a thing of labels attached to the issus? Or did you mean something else? Anyway, I've opened an issue. If this was wrong, just let me know. I'm going to close this bug (if I'm allowed to). |
so, looks like the ticket can be closed. Please reopen if anything. |
Hi all,
is there any support for IPv6 networks? So far we are running capagent on V4 only but we will expand our network to V6. Unfortunately captagent does not send HEP to kamailio from V6 interfaces.
Also i couldn't find any config to enable V6.
Does anyone have an idea how to enable?
thanks in adavnce
The text was updated successfully, but these errors were encountered: