493 reputation
17
bio website
location
age
visits member for 1 year, 11 months
seen Jun 1 '13 at 22:11

Jun
1
comment Transform an UDP unicast packet into broadcast?
@Hauke Laging: good remak. I think it is broadcasted on all interfaces when using 255.255.255.255 (not tested). So 192.168.0.255 may be a better option in some cases.
Jun
1
comment Transform an UDP unicast packet into broadcast?
@lgeorget: "echo 'dummy' | nc -u -q 0 127.0.0.1 1234" works perfectly with -UDP-LISTEN. I can run it several times. But I have problems with -UDP-RECV and -UDP-RECVFROM: the packets are broadcasted at maximum link rate until socat is killed. Do you see the same problem with tcpdump ?
Jun
1
comment Transform an UDP unicast packet into broadcast?
No problem here. You used the "fork" option ? I see in the man UDP-RECV merge packets. I have no idea about what it means. UDP-RECVFROM doesn't exhibit this behviour, but it may be an error in the man.
Jun
1
comment Transform an UDP unicast packet into broadcast?
@lgeorget: iptables is not related to so sockets.
Dec
10
comment Linux always send ICMP redirect
Nice ! Thanks !
Dec
8
comment 1:1 NAT with several identical LANs
Simple, brilliant.
Dec
3
comment 1:1 NAT with several identical LANs
Thanks for your answer. I tested it but it doesn't work. I tested with only one LAN, no more result. I use tcpdump to monitor the packets, and when I send a packet from remote to centrale site, I don't even see anything (?! how is it possible ?). With your directions, I try to construct my step by step answer. Not sure I will succeed.