LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-09-2006, 07:50 AM   #1
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 351

Rep: Reputation: 31
syslog-ng


I have a syslog-ng server for concentratung all my logs (2-3 linux servers). Is any way to specify from which hosts i should concentrate logs??? I dont want everyone to be able to send me logs

thx
 
Old 03-09-2006, 09:19 AM   #2
cconstantine
Member
 
Registered: Dec 2005
Distribution: RedHat, Ubuntu
Posts: 101

Rep: Reputation: 15
we covered the syslog udp port on the syslog-ng machine with a f/w rule which only allows incoming packets from our network block. This keeps out bogon logs, and prevents someone from DOS'ing you with a flood.
 
Old 03-09-2006, 11:24 AM   #3
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 351

Original Poster
Rep: Reputation: 31
i was searching for something built in syslog-ng

may u share the iptables rules??
thx

Last edited by JJX; 03-09-2006 at 11:28 AM.
 
Old 03-09-2006, 12:04 PM   #4
cconstantine
Member
 
Registered: Dec 2005
Distribution: RedHat, Ubuntu
Posts: 101

Rep: Reputation: 15
iptables -I INPUT (rule_number) -p udp --dport 514 -s (your_net)/(your_mask)

then "-j" to the right chain. In our case "-j ACCEPT" since we have rules at the bottom that drop all packets.

-c
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
syslog vs syslog-ng XaViaR Linux - General 9 06-17-2005 09:15 AM
syslog brandonweinberg Linux - Software 0 03-10-2004 03:02 PM
syslog -r dvong3 Linux - General 5 12-27-2003 07:22 AM
syslog bulliver Linux - General 4 04-22-2003 03:45 PM
Syslog ltrain Linux - General 3 06-27-2001 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration