a fulltext mind query

new users




graspop olé ola olé
19/06/2010 18:16


30/03/2010 21:40
my thought is Johnny Cash is singing about a urinary tract infection

what title would he have chosen for a kidney infection :)
convert to pcm with ffpmeg
30/03/2010 10:39
ffmpeg can be used to extract a raw audio stream from a flash video format file :


ffmpeg -i d656f7cd-ec2d-4240-9a4c-3e8fe84f3a6e-1269873724940_1269876177764.flv -acodec pcm_u8 test.wav
iptables unblock ip
22/03/2010 10:47
Get a list:
iptables -L -n


Unblock:
sudo iptables -D fail2ban-ssh -s 81.241.230.232 -d 0/0 -j DROP
hihi can't get enough of this one
14/03/2010 21:57
tron test mp4 streaming red5
10/03/2010 23:09

watch full screen.
jeff bridges has flat feet like me :)
java port 80 and root privilege
08/03/2010 11:13
For security reasons it is not possible to run a java program on linux on ports lower then 1024.

It will throw an exception like :
java.net.BindException: Permission denied:80

For this you can either choose to run the progam as root or route the requests via iptables :

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
sun accounts taken
06/03/2010 13:11
freebsd firewall
27/02/2010 15:14
setting up a firewall that blocks all ports and only allow ports needed. do not lock yourself (ssh) out!

modify /etc/rc.d to contain following lines:
pf_enable="YES"
pf_rules="/etc/pf.conf"

create file /etc/pf.conf and modify following lines (use ifconfig to detect settings) :

ext_if="re0" # replace with actual external interface name i.e., dc0
int_if="lo0" # replace with actual internal interface name i.e., dc1
internal_net="127.0.0.1"
external_addr="138.125.203.14O"

tcp_public_services="{ 21, 22, 25, 53, 80 }"
udp_public_services="{ 21, 22, 25, 53, 80 }"
tcp_priv_services="{ 20, 21, 110, 8009 }"
udp_priv_services="{ 20, 21, 110, 8009 }"

kldload pf

test the rules
pfctl -n -f /etc/pf.conf

apply the rules
pfctl -f /etc/pf.conf

start: /etc/rc.d/pf start
always thought I was not normal, until this....
23/02/2010 22:19




feed rss
  • contact