58 reputation
6
bio website
location Spain
age
visits member for 3 years, 3 months
seen Dec 7 at 17:39

Oct
27
awarded  Popular Question
Jun
5
accepted Limit UDP outbound traffic to loopback (localhost) instead of eth0
Jun
5
answered Limit UDP outbound traffic to loopback (localhost) instead of eth0
May
30
comment Limit UDP outbound traffic to loopback (localhost) instead of eth0
Just to clear out, that when i try broadcasting to 127.0.0.1 I DID convert lo into MULTICAST by sudo ifconfig lo multicast and i use this command to run udpxy: udpxy -a eth0 -p 7777 -m lo -v I think the solution is to create new virtual interface that is same as lo with multicast IPs routed there. But i don't know how to do it correctly.
May
30
comment Limit UDP outbound traffic to loopback (localhost) instead of eth0
@killermist effectively it does enclose multicast into lo (no traffic on eth0), but 127.0.0.1 is not multicast address. udpxy needs the source to be inside 224.0.0.1 - 239.255.255.255. It means, that i have to broadcast to 239.1.1.1 When i try read the stream with udpxy from 127.0.0.1 i get this error set_multicast: setsockopt MCAST option: ADD: Invalid argument Basically what i need is a way to bind 239.1.1.1 to lo interface. I'm pretty sure there is a way to do it.
May
28
comment Limit UDP outbound traffic to loopback (localhost) instead of eth0
We are talking about video stream server that is reading video file and converts stream to another format. There are several applications that are reading the UDP stream. One is udpxy that encapsulates it into TCP for customers. Another one is dumprtp that is saving the actual stream. Another one is "handmade" QA software.
May
27
awarded  Promoter
May
19
awarded  Student
May
12
comment Limit UDP outbound traffic to loopback (localhost) instead of eth0
Well, i also tried ifconfig lo multicast converting loopback into multicast interface. Also created route rule to send upd to loopback, but it doesn't work. vlc cannot open lo interface to start streaming there.
May
12
comment Limit UDP outbound traffic to loopback (localhost) instead of eth0
That's what i've tried by creating new interface for loopback. Maybe i did it wrong? Is it valid to create static interface with address 239.1.1.1 ? That address is reserved for multicast only. But that is what i need to re-route from eth0.
May
12
comment Limit UDP outbound traffic to loopback (localhost) instead of eth0
yes i did. My try was iptables -A OUTPUT -p udp -d 239.1.1.1 --dport 32321 -o eth0 -j DROP and it blocks udp traffic completely. Including inside server. Cannot read it with dumprtp 239.1.1.1 32321
May
12
asked Limit UDP outbound traffic to loopback (localhost) instead of eth0
Nov
26
awarded  Supporter
Sep
8
awarded  Scholar
Sep
8
accepted How can I add another independent network to an already existing one?
Sep
8
comment How can I add another independent network to an already existing one?
Oh, thank you. I will check if my router supports that and will change it if needed. Can you suggest any model in particular? And will change my second network IPs to 10.x.x.x
Sep
8
awarded  Editor
Sep
8
revised How can I add another independent network to an already existing one?
uploaded smaller image
Sep
8
asked How can I add another independent network to an already existing one?