Displaying 9 results from an estimated 9 matches for "logtarget".
2004 Feb 10
22
Re: [Shorewall-newbies] specific log-prefix ... patch
Let''s move this to the Shorewall Development list....
On Tuesday 10 February 2004 03:14 pm, xavier wrote:
> here is a patch to allow this :
> |ACCEPT<10/sec:20>:debug fw lan:$ntp_servers udp 123 - - - - ntp
>
> a problem with the patch is that now the logprefix is mandatory.
> i''m trying to debug it, but i can''t find the flaw.
Also, with
2012 Apr 27
1
fail2ban logrotate failure
...Only way
to prevent it seems to be to add a reload or restart in the syslog file.
This is undesired due to losing all banned ips listed.
It happens as part of the logrotate. The logrotate file I have changed a
few times and recently tried this
postrotate
/usr/bin/fail2ban-client set logtarget /var/log/fail2ban
1>/dev/null || true
endscript
setting the logtarget, which the original called for changing it to
syslog and 2>dev/null || true
so what would you do? I imagine when logrotate happens and syslog
restarts something is causing fail2ban to stop working properly, but...
2002 Dec 19
0
Another Little Patch
...dhcp|noping|filterping|routestopped|norfc1918|multi|tcpflags)
;;
@@ -2160,8 +2160,8 @@
if [ "$loglevel" = ULOG ]; then
run_iptables2 -A $chain $proto $multiport \
$state $cli $sports $serv $dports -j ULOG $LOGPARMS \
- --ulog-prefix "Shorewall:$chain:$logtarget:" \
- else
+ --ulog-prefix "Shorewall:$chain:$logtarget:"
+ else
run_iptables2 -A $chain $proto $multiport \
$state $cli $sports $serv $dports -j LOG $LOGPARMS \
--log-prefix "Shorewall:$chain:$logtarget:" \
--==========1943392778==========--
2007 Jun 01
0
Metropolis code help
...t prior on betas and a
hierarchical version:
www.stats.uwo.ca/faculty/murdoch/458/metropolis.r
Below is My code with a flat prior on beta only (I'd like also to have the
hierarchical version!)
X<- cbind(1,DF$nsaid,DF$diuretic,DF$diuretic*DF$nsaid)
y<- DF$Var3
Metropolis <- function(logtarget, start, R = 1000, sd
= 1) {
parmcount <- length(start)
sims <- matrix(NA, nrow=R, ncol = parmcount)
colnames(sims) <- names(start)
sims[1,] <- start
oldlogalpha <- logtarget(start)
accepts <- 0
for (i in 2:R) {
jump <- rnorm(parmcount, mean=0, sd=...
2003 Mar 23
12
Shorewall 1.4.1
This is a minor release of Shorewall.
WARNING: This release introduces incompatibilities with prior releases.
See http://www.shorewall.net/upgrade_issues.htm.
Changes are:
a) There is now a new NONE policy specifiable in
/etc/shorewall/policy. This policy will cause Shorewall to assume that
there will never be any traffic between the source and destination
zones.
b) Shorewall no longer
2007 Feb 12
0
[867] trunk/wxruby2/doc/textile/log.txtl: Fix methods section, organise instance and class methods
...span class="cx">
</span><del>-2
</del><ins>+h3(#Log_setactivetarget). Log.set_active_target
</ins><span class="cx">
</span><del>-h4. Members
</del><ins>+ "Log":log.html *set_active_target*(%(arg-type)Log% logtarget)
</ins><span class="cx">
</span><ins>+Sets the specified log target as the active one. Returns the
+previous active log target (may be @nil@). To supress logging use a new
+instance of LogNull not @nil@. If the active log target is set to @nil@ a
+new default lo...
2013 Feb 27
1
SNAT Logging
Hi All,
I'm running our network with an 10/8 IPv4 subnets, with an SNAT catch all
rule on the iptables firewall to the world.
Is there a pratical way to log each connection? Maybe an "automatic hotspot"
wich will assign an "external" IP to each "internal" one, and log it.
What are you using folks?
Thanks,
Antonio.
--
2012 Apr 20
2
fail2ban attempt, anyone want to add anything?
...ly
I do not use priorities, but I add things by using includepkgs= in the
repo file.
fail2ban shorewall python-inotify gamin-python
(logging)
although fail2ban adds a logrotate file for fail2ban.log, it logs
everything to the /var/log/messages file
so I changed
/etc/fail2ban/fal2ban.conf
line 25 logtarget = /var/log/fail2ban.log
Perhaps overlooked by the rpm developer?
/etc.fail2ban/jail.conf
In all sections I commented out the mailto section since it just sends a
ton of mails when start/stopped...yikes.
Not sure if there is a setting only for errors or actions...but the
start/stop mails are to...
2005 Feb 01
4
Shorewall problem
I am getting the following message when Shorewall stops can anybody shed
any light on this message and where I should be looking? Thanks
root@bobshost:~# shorewall stop
Loading /usr/share/shorewall/functions...
Processing /etc/shorewall/params ...
Processing /etc/shorewall/shorewall.conf...
Loading Modules...
Stopping Shorewall...Processing /etc/shorewall/stop ...
IP Forwarding Enabled