LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-23-2018, 04:55 AM   #1
fropa
LQ Newbie
 
Registered: Oct 2017
Posts: 8

Rep: Reputation: Disabled
firewall log prefix not works


Hi. I use Proxmox 4.3-1 version. early I created iptables firewall and used it on lots of servers. There are some rules and the bottom lines are like that :

Code:
-A INPUT -j LOG_DROP
-A LOG_DROP -j LOG --log-prefix --DROP--:
-A LOG_DROP -j DROP​
It's very easy. I use it on LVM that is on proxmox, but the problem is with containers. The firewall works great but there are no logs. I've googled ulogd and installed but there are errors :

Code:
Fri Feb 23 10:23:42 2018 <7> ulogd.c:813 error starting `log1'
Fri Feb 23 10:23:42 2018 <7> ulogd.c:1438 Could not nice process: Operation not permitted


My problem is that I want to create logs with iptables and I can't. for me It doesn't matter how I will do that.

So what can I check or how I can do that all?
 
Old 03-04-2018, 03:27 PM   #2
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Code:
-A LOG_DROP -j LOG --log-prefix "--DROP--: "
 
  


Reply

Tags
firewall, iptables, log, prefix



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
configure: error: expected an absolute directory name for --prefix: -prefix=/home/jeo Nownuri Linux - Newbie 2 03-28-2015 07:40 AM
[SOLVED] Normal log in works fine. But attempting to log into the command line does not work. rawjvh Linux - Newbie 12 10-07-2013 10:55 AM
[SOLVED] Slackware 14.0 - iptables-restore BUG with --log-prefix linuxxer Slackware 9 10-12-2012 06:06 AM
Firewall log file, how to make several different log files with IPTables? newtovanilla Linux - Newbie 5 11-28-2008 12:39 PM
difference b/w AF_ prefix and PF_ prefix related to socket Ashok_mittal Linux - Newbie 1 03-20-2008 04:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:10 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