Skip to content
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

ERROR[init_mproxy4@332]: can't create igmp socket #7

Open
eduarmen opened this issue Apr 28, 2023 · 1 comment
Open

ERROR[init_mproxy4@332]: can't create igmp socket #7

eduarmen opened this issue Apr 28, 2023 · 1 comment

Comments

@eduarmen
Copy link

eduarmen commented Apr 28, 2023

Hi,
I need to forward IGMPv3 messages from enp0s8 to enp0s9, my .conf is this:

igmp enable version 3
mld enable
upstream enp0s8
downstream enp0s9

But I get the following error:

DEBUG[main@580]: logLevel = 5
DEBUG[load_config@76]: buffer = igmp enable version 3
DEBUG[load_config@94]: token is igmp
DEBUG[load_config@76]: buffer = mld enable
DEBUG[load_config@94]: token is mld
DEBUG[load_config@76]: buffer = upstream enp0s8
DEBUG[load_config@94]: token is upstream
DEBUG[load_config@185]: upstream interface is enp0s8
DEBUG[load_config@76]: buffer = downstream enp0s9
DEBUG[load_config@94]: token is downstream
DEBUG[load_config@194]: downstream interface is enp0s9
DEBUG[init_interface@189]: enp0s9's ipv6 address is fe80::a00:27ff:feff:4040
DEBUG[init_interface@195]: if_index = 4
DEBUG[init_interface@208]: if_mtu = 1500
DEBUG[init_interface@214]: if_falgs = 4163
DEBUG[init_interface@189]: enp0s8's ipv6 address is fe80::a00:27ff:fe89:fa25
DEBUG[init_interface@195]: if_index = 3
DEBUG[init_interface@208]: if_mtu = 1500
DEBUG[init_interface@214]: if_falgs = 4163
DEBUG[init_interface@178]: enp0s9's ipv4 address is 192.168.2.2
DEBUG[init_interface@195]: if_index = 4
DEBUG[init_interface@208]: if_mtu = 1500
DEBUG[init_interface@214]: if_falgs = 4163
DEBUG[init_interface@178]: enp0s8's ipv4 address is 192.168.1.1
DEBUG[init_interface@195]: if_index = 3
DEBUG[init_interface@208]: if_mtu = 1500
DEBUG[init_interface@214]: if_falgs = 4163
ERROR[init_mproxy4@332]: can't create igmp socket
ERROR[main@619]: exiting.........

Do you have an idea why igmp socket can be created?

Running on Ubuntu VM:

description: Computer
width: 64 bits
capabilities: vsyscall32
*-core
description: Motherboard
physical id: 0
*-memory
description: System memory
physical id: 0
size: 16GiB
*-cpu
product: Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz
vendor: Intel Corp.
physical id: 1
bus info: cpu@0
width: 64 bits

Thanks

@haibbo
Copy link
Owner

haibbo commented May 1, 2023

1, run it with sudo
2, replace

IMP_LOG_ERROR("can't create igmp socket\n");

to

perror("can't create igmp socket")

you will get more error message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants