- Children disappearing off the grid in DIE VERMISSTEN (REPORTED MISSING) [teaser]
- A life out of order in Twilight Zone styled SHUFFLE
- Michael Bartlett talks ZOMBIE DIARIES 2 and why you SHOULD NOT buy the US version
- Re-killing bin laden in zombie actioner OSOMBIE (trailer)
- Will you see this film? Teaser poster for RESIDENT EVIL: RETRIBUTION
- Ubuntu: Sending command line mail
- Ubuntu: Sending command line mail
- Re-killing bin laden in zombie actioner OSOMBIE (trailer)
- A Panda protects the innocent in WASTLANDER PANDA tv series
- Trailer for DEAD SHADOWS - Is there some Lovecraft influence?
- Re: Life Is Dead
- Balkans war revenge movie - Nicolas Cage?
- PA Film Archive
- i kill
- Re: Life Is Dead
- Monster Killer
- zombie films
- Re: Life Is Dead
- Re: Hello is anybody there?
- Re: Hello is anybody there?
- Trailer for ZOMBIE MURDER EXPLOSION DIE! All 4 of these in every episode!
- Wandering madly in the remnants of civilization in Greece's HIGUITA (teaser)
- THE HOST director's English language debut SNOW PIERCER adds cast
- Argentina invaded by NEWMEDIA aliens
- THE DIVIDE movie review
- THE RIDER still rides! New teaser reveals stunning final animation style
- EXCLUSIVE: Trailer for RAMPAGE IN HEAVEN sees The Monkey King and mech in a nightmarish dying world
- Sony could back Seth Rogan's THE APOCALYPSE (Jay and Seth vs. The Apocalypse)
- Russia's snowed under with zombies in WINTER OF THE DEAD
- New species rise from the apocalypse in teaser for SOULWEAVER: REQUIEM FOR EARTH (Sielunkehrääjä)
- Badass cheerleader meets the zombie apocalypse in JESSA KILL webseries (video)
- SLAMDANCE 2012: Review of killer tattoo thriller COMFORTING SKIN
- DVD Review: Style overshadows heart in spunky comedy SPORK
- DVD Review: Daniel Craig loses his mind in mediocre DREAM HOUSE
- SUNDANCE 2012: Review of EXCISION
- SUNDANCE 2012: Review of THE PACT
- SUNDANCE 2012: Review of GRABBERS
- SUNDANCE 2012: Review of SAFETY NOT GUARANTEED
- SUNDANCE 2012: Review of the visionary BEASTS OF THE SOUTHERN WILD
- SUNDANCE 2012: Review of (Radio Shack) ROBOT AND FRANK
- SLAMDANCE 2012: Review of unimpressive UNCONDITIONAL
- SUNDANCE 2012: Review of (Radio Shack) ROBOT AND FRANK
- Monty Python reunite for scifi comedy ABSOLUTELY ANYTHING
- Creature with cow tail lures men to their death in THALE (trailer)
- SLAMDANCE 2012: Review of unimpressive UNCONDITIONAL
- Seventeen and a robotic teddy bear for a best friend in ANIMALS (trailer)
- Costa Rican's pay it forward in apocalypse drama EL FIN
- New trailer for m*therfu**ing space nazi flick IRON SKY
- Berlinale 2012: Full Panorama program includes world premiere of IRON SKY
- If The Walking Dead was an 80s sitcom....
- First promo art for FANGS OF WAR - The allies fight over Dracula
- Trailer for Babis Makridis' L reveals the Roy Andersson absurd
- ROTTERDAM 2012: First stills and poster for 70s poltergeist story WHEN THE LIGHTS WENT OUT
- Wandering madly in the remnants of civilization in Greece's HIGUITA (teaser)
- Do a shot and watch this clip from GRABBERS
- First look at the bloody cast of THE CULLING
- God sends messages via the Writing Down Machine in SHOCK HEAD SOUL (trailer)
- Producers claim documentary of Mayan underwater cities and ET contact will shake the world
- EXCLUSIVE: Grabbers directors next is scifi-adventure OUR ROBOT OVERLORDS
- SUNDANCE 2012: First footage for midnighter THE PACT
- Stunning scifi short ARCHETYPE says memories are a glitch
Jack In
Latest Comments
Latest Forum Posts
PA News
Latest Reviews
Older News
Film Festivals
Whistler Film Festival
Nov 30 - Dec 04
Whistler, British Columbia, Canada
Paris International Fantastic Film Festival
Nov 23 - Nov 27
Paris, France
Sundance Film Festival
Jan 19 - Jan 29
Park City, Utah
Slamdance Film Festival
Jan 20 - Jan 26
Park City, Utah
International Film Festival Rotterdam
Jan 25 - Jan 04
Rotterdam, Netherlands
Berlin International Film Festival (Berlinale)
Feb 09 - Feb 19
Berlin, Germany
Vancouver International Film Festival
Sep 29 - Oct 14
Vancouver, British Columbia, Canada
Seattle International Film Festival
May 17 - Jun 10
Seattle, Washington
Festival de Cannes
May 16 - May 27
Cannes, France
Fantastic Fest
Sep 22 - Sep 29
Austin, Texas
Boston Underground Film Festival
Mar 24 - Mar 31
Boston, Massacheusets
AFI FEST
Nov 03 - Nov 10
Los Angeles, California
Los Angeles Film Festival
Jun 14 - Jun 24
Los Angeles, California
Screamfest LA
Oct 14 - Oct 22
Los Angeles, California
Shriekfest
Sep 29 - Oct 02
Los Angeles, California
Fantaspoa de cinema fantastico
Jul 01 - Jul 17
Porto Alegre, Brazil
Yubari International Fantastic Film Festival
Feb 23 - Feb 27
Yūbari, Hokkaidō, Japan
Telluride Horror Show
Oct 12 - Dec 14
Telluride, Colorado
Morbido Fest
Oct 27 - Oct 30
Mexico
Cinequest Film Festival
Feb 28 - Mar 11
San Jose, California
South by Southwest (SXSW)
Mar 09 - Mar 17
Austin, Texas
Staff
Don Neumann aka quietearth
Editor in Chief
Fort Collins/Denver, Colorado
agentorange
Managing Editor
Edmonton, Alberta
Marina Antunes
Assistant Managing Editor
Vancouver, British Columbia
projectcyclops
UK Correspondent
Edinburgh, Scotland
Rick McGrath
Toronto Correspondent
Toronto, Ontario
The Crystal Ferret
France Correspondent
Paris, France
rochefort
Austin Correspondent
Austin, Texas
kilowog
LA Correspondent
Los Angeles, California
Joao Fleck
South American Correspondent
Porto Alegre, Brazil
quietearth [General News 09.27.06]
I wanted to log messages from my openwrt router to a specific log file based on it's host/ip but unfortunately the regular syslog daemon will not allow this. So since I'm using ubuntu (edgy) I can easily install syslog-ng which is a pre-configured replacement for syslog/klog. First off install it, and it will remove the packages klogd, sysklogd, and ubuntu-minimal.
# apt-get install syslog-ngNow we need to modify the configuration, edit /etc/syslog-ng/syslog-ng.conf, and first we need to add udp listening to accept remote syslogs. We could do this under the s_all source, but we need to define a different source so our remote hosts logs do not get mixed in with our regular ones. Place this after source s_all is finished.
source s_net { udp (); };Now further down where logging starts, we need to first add a filter for our openwrt host and I will use it's ip to do this. Then we add a log file destination for that specific host. And after that we put in the log definition with our newly created source, our host filter, and our file destination.
filter f_openwrt { host( "192.168.1.1" ); };
destination df_openwrt { file("/var/log/openwrt.log"); };
log { source ( s_net ); filter( f_openwrt ); destination ( df_openwrt ); };Go ahead and restart syslog-ng now:
# /etc/init.d/syslog-ng restartSince we added a new logfile, we need to modify /etc/logrotate.d/syslog-ng. This will make sure our new logfile gets rolled. This entry has to go in before the last one which restarts the syslog-ng daemon. Here's what I put in:
/var/log/openwrt.log {
rotate 7
weekly
missingok
notifempty
compress
}Tested under Ubuntu edgy.
Andy (5 years ago) Reply
'apt-get install syslog-ng' on edgy does not work for me.. i get ... "Package syslog-ng is not available, but is referred to by another package." etc.
any ideas.. or what's the trick?
quietearth (5 years ago) Reply
Make sure you have all of the repositories turned on, you can do this under Settings->Repositories in Synaptic. It's in one of the "universe" repositories.
I just tried this on a fresh edgy system with all repo's turned on and it works fine..
Andy (5 years ago) Reply
Yup.. that fixed it. Now I can't get syslog to actually log anything from a remote host. The testing continues.
quietearth (5 years ago) Reply
Are you sure you added the source s_net { udp(); }; line?
On the remote host you should be adding something like this in the /etc/syslog.conf:
*.* @hostname
where hostname is something valid, or you can just put an ip.
claudijd (5 years ago) Reply
You may also want to check to see if you have iptables running. If so, you need to a rule to allow udp 514.
"-A INPUT -m state --state NEW -p udp --dport 514 -j ACCEPT"
MarkF (4 years ago) Reply
Thank you very much for the terrific HowTo! I used your guide to configure my home system to log all of my VoIP gateway's SIP traffic, and it works perfectly. I appreciate the time you spent to write this up!
Captain Pleased (3 years ago) Reply
Very nice, see also: appreciated.
Anonymous (2 years ago) Reply
Thanks allot, I used my own filter to log cisco devices that log to local7 (default for cisco) to cisco.log
#Cisco Device Logs
filter local7 { facility( local7 ); };
destination cisco { file("/var/log/cisco.log"); };
log { source ( s_net ); filter( local7 ); destination ( cisco ); };
JR (2 years ago) Reply
Great, concise tutorial on getting syslog-ng up and running. This is much easier than configuring syslogd.
Chiefs Hockey (2 years ago) Reply
Wow, amazing simple tutorial! I used my script to log some output of my firewall to Ubuntu. Sweet!
http://www.chiefs.at
Anonymous (1 year ago) Reply
really useful - thanks.
cooba (1 year ago) Reply
Great HOWTO!
For those who has problems with filtering by host...
AFAIK host() requires regexp that's why it didn't work for me (ubuntu 9.04; syslog-ng 2.0.9) - you have to change host filter to:
filter f_openwrt { host( "192.168.1.1" ); };
Good luck!
cooba_again (1 year ago) Reply
OK - update to previous post...
You have to escape dots in IP address with backslash!!!
Apparently, this site does something strange with backslashes - that's why you can't see them in both original HOWTO and my post.
Still Great HOWTO!
Anonymous (1 year ago) Reply
i had to use host("192.168.1.1$") why??
Anonymous (1 year ago) Reply
thx, just what i needed to get my dd-wrt device pushing logs to a central box.
jentino (1 year ago) Reply
i had to specify the hostname and it worked.
Anonymous (1 year ago) Reply
Thanks heaps. Old howto but still applies today! Ubuntu 10.04
tapioca (1 year ago) Reply
works on centos5 too. you rock. :D
felix (1 year ago) Reply
great post!
moar props (1 year ago) Reply
Write more walk-throughs and get more props, nice work, it was almost too easy, thanks!
mgoz (1 year ago) Reply
Thank you, great post, tomato now logging to my Ubuntu machine.
Anonymous (11 months ago) Reply
Thanks man now i can catch all them dodgy chinese hax0rs
Anonymous (7 months ago) Reply
Thanks, used this guide to get syslogging working for my Billion router.



