190 reputation
18
bio website
location
age 23
visits member for 2 years, 4 months
seen 15 hours ago

student of physics with the hobby of computer programming.


Dec
25
comment Drop IP fragments of a certain protocol
As long as conntrack is loaded, -f is always false, because the packet is always reconstructed.
Jul
16
comment How do I make netcat receive UDP packets from any host?
no, the source port will change at every packet.
Jul
15
comment How do I make netcat receive UDP packets from any host?
I don't need to listen UDP packets that arrive to any port. The target ip port is specified, but not the source. This is possible as a normal user, and as a side note I've alredy written a minimal c program that can do it, but I asked because I lost half an hour trying to get nc to do it, and now I want to know if it's totally impossible with common shell utilities.
Jul
15
comment How do I make netcat receive UDP packets from any host?
@LucasKauffman just dump whatever udp packet arrives to a specific port. I cannot use tcpdump as I don't have root privileges on the machine.
May
20
comment multiple png images over a single pipe to ffmpeg (no file writes to disk!)
jpeg works, png support has been added 9/5/2012, pbm is broken (ffmpeg.org/trac/ffmpeg/ticket/1321), gif is broken.
May
19
comment multiple png images over a single pipe to ffmpeg (no file writes to disk!)
@leepfrog with some fiddling, it works! feel free to post the answer. Anyway, there are some quirks, it does not seem to work with piped png images. The program that generates the image is gnuplot, and I had to switch its output to pbm.
May
18
comment multiple png images over a single pipe to ffmpeg (no file writes to disk!)
@slhck well, that pages shows how to create a pipe in C and stream raw image data. That would be welcome too, if I know a command line program that can do the conversion png->raw image array.
Mar
24
comment Setup a vpn server with a static IP with NAT and port forwarding
does this work with other protocols than TCP? I need to tunnel UDP packets also, and ICMP would be nice too. And I will be dealing with application that aren't designed to use ssh tunnels (one for example pings a list of servers with UDP packets), am I wrong to think that it's easier to trick them with a virtual device and a LD_PRELOAD hack?