|
|
#1 | |
|
Registered User
Join Date: Jul 2005
Posts: 3,606
|
I need to forward incoming UDP 514 to UDP 514 and UDP 5141 using iptables. Any ideas? I've already tried tcprewrite/tcpreplay and I can see the traffic over tcpdump but the listening socket on 5141 never gets it, even tried with nc -l -u -p 5141.
tcpdump -s0 -w - -U "host 10.1.99.182 and udp dst port 514"|tcprewrite --portmap=514:5141 --infile=- --outfile=-|tcpreplay --intf1=eth0 - |
|
|
|
|
|
|
#2 | |
|
Join Date: Sep 2004
Posts: 7,796
|
Quote:
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jul 2005
Posts: 3,606
|
Lets just say Splunk is crap and that I had to use another solution even more horrific than above.
|
|
|
|
|
|
#4 | |
|
Join Date: Sep 2004
Posts: 7,796
|
Quote:
![]() |
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jul 2005
Posts: 3,606
|
That God no, but I did have to force Splunk to tail a hard file versus a FIFO because it can't keep up (pathetic) and had to abandon my efforts at a UDP listener because it bound to the external interface instead of ANY.
|
|
|
|
![]() |
| Thread Tools | |
|
|