Displaying 20 results from an estimated 900 matches similar to: "Puppet custom functions and user permissions"
2012 Aug 22
2
Hiera, OSSEC and per-node stuff?
Hi.
I have an interesting use case.
OSSEC is security tool based on server-client architecture. Server
generates keys for agents, and every agent has different key.
Now I want to distribute these keys via puppet. I''ve come accross hiera
and installed it, and it works superbly, but how to store per-node key
in hiera?
This is my idea:
hiera,yaml:
---
:hierarchy:
-
2011 Jun 13
1
Unable to grep 5 mins logs
Hi Friends!
I need to prepare a script which will grep logs from the current time
to previous 5 mins that is if the current time is Mon Jun 13 12:40:40
IST 2011 then all the logs between the interval Mon Jun 12:35 - 12:40
2011 should be grepped by the script and append it to another file.
However, the below script is not able to grep the desired logs, so I
need some help in preparing the script.
2006 Jan 22
2
suggest for "ambiguous column" when JOIN associated tables
Today I face with incorrect behavior in ActiveRecord.
It take place when I try to use :include parameter for .find method.
Where are two typical cases:
1. You have record with self-referential joins
CREATE TABLE keywords (id, group_id);
class Keyword < ActiveRecord::Base
belongs_to :group,
:class_name => "Keyword",
:foreign_key =>
2009 Oct 04
3
Problem using ActiveRecord find with :joins and :select
Hi guys,
When I do:
temp = User.find(:all,
:joins => "INNER JOIN contents ON users.agent_id =
contents.id",
:select => "contents.id, users.id, users.u_date")
temp.first.inspect
It seems to work fine, but it only returns:
#<User id: 6, u_date: "2009-10-03 19:32:23">
but not the contents.id information.
I
2017 Nov 06
1
How to detect botnet user on the server ?
Another alternative is to use a FIMS/HIDS such as Aide (Advanced Intrusion Detection Environment), OSSEC or Samhain. Be prepared to learn a lot about what your OS normally does behind the scenes (and thus a fair amount of initial fine tuning to exclude those things). Aide seems to work well (I've seen only one odd result) and is quite granular. However, it is local system based rather than
2007 Apr 02
1
Problems with stereo data
Hi all,
I have a problem when I am encoding (or decoding) stereo audio.
With mono data, things are fine and everything works without any problems.
When I try to decode stereo data, all I get is a static sound - similar to that of a radio not tuned to any specific station. I wonder what might be wrong?
Below is the code, first, of the encoder and next that of the decoder. Any information or
2007 Dec 06
2
Some question about speexcodex 1.2 beta2 on linux
Hi,
I am an user of speex codec.Can I ask some question about the speexcodec 1.2beta2
on installed to linux(fedora 6) thanks!
After I downloaded the latest version of codec
then I type the commands to install :
configure -prefix=/home/...../test -enable-shared -enable-static
make
make install
then I try to compile my encode.c
here is the encode.c of mine:
=====================================
2007 Sep 26
4
Intrusion Detection Systems
Situation: We are providing hosting services.
I've grown tired of the various kiddie scripts/dictionary attacks on
various services. The latest has been against vsftpd, on systems that I
can't easily control vs. putting strict limits on ssh. We simply have
too many users entering from too many networks many with dynamic IP
addresses.
Enter.... thinking about LIDS or Log Based
2006 Jun 08
3
Echo canceller problem
Hello everybody.
I have the same problem like you. I use ARM microcontroller too.
Here is the list of all functions called by speex_echo_cancel until goes
into infinite loop:
speex_echo_cancel()
|
spx_fft
|
kiss_fftr
|
kiss_fft
|
kiss_fft_stride
|
kf_work
Function kf_work looks like:
static void kf_work(kiss_fft_cpx * Fout, const kiss_fft_cpx * f, const
size_t fstride, int
2009 May 14
1
*ERROR: BUILD FAILED! Banned tag found*
Error building ovirt-doc in master branch.
make[4]: Map '/root/rpmbuild/BUILD/ovirt-docs-0.98/Using_the_oVirt_Admin_UI'
wordt binnengegaan
Processing, Product: oVirt_Server_Suite, Version: 0, Edition: 0.95, Release:
2
START: xml-en-US do mei 14 22:56:19 CEST 2009
copying oVirt/en-US Common_Content
cleaning files
Appendix-B.xml
Appendix.xml
Author_Group.xml
2007 Feb 13
1
Hello Guys
hello everybody in this great mailing list , i have some difficulties to follow my code .
i solved some problems thanks to Carine Liang , but i still have one problem and i think it is fatal one.
when i encode the voice data in a wav file it is decoded without any errors it gives me 84 bytes wav file size for 139 kbytes wav audio data .Naturally i wanted to return my file back to its normal
2009 Nov 28
6
AIDE or OSSEC on CentOS 5.4 x86_64?
Starting with a fresh load and after I finish hardening the load
following the Center for Internet Security (CIS) guidance, I'm wondering
whether AIDE or OSSEC would be a better intrusion detection system.
I installed AIDE and did a quick test of AIDE and after initializing the
db and applying the recent cups update, I found that 1700+ files had
changed. Those are a lot of changes to wade
2005 Dec 06
1
problems decoding speex... please help
Hi all. I'm trying to decode speex using version 1.1.10's libspeex with
fixed_point enabled. copied the sample in the manual (1.1.11) with minor
revisions. While running the program, encountered this warning:
"Packet is larger than allocated buffer : 38"
when calling speex_bits_read_from (&bits, cbits, nBytes)
then my program terminated unexpectedly with errors (Unhandled
2004 Aug 06
2
decode in ppc 2003
Hi all,
Please a moment to look my source code, this is very similar to example of
the documentation. I added FIXED_POINT flag. My source code compile and
build but not decode correctly (the error may be in the while). I work with
eVC 4.0 and pocket pc 2003. Someone know what is the error?
Thanks.
Rodrigo.
#include "speex.h"
#define FRAME_SIZE 160
void CPlayerDlg::OnButton3()
{
2015 Oct 17
1
Why does this code not generate a valid opus file?
Hi.
I assume that I am deeply stupid and have missed something obvious, but why does this bare-bones code not generate a valid (If trivial) opus file?
Running opusinfo I ge the following which I interpret this to mean that not even the first packet gets a pass:
New logical stream (#1, serial: 1f0cce42): type opus
WARNING: Could not decode Opus header packet 0 - invalid Opus stream (1)
WARNING:
2006 Oct 12
1
Problem with encoding and decoding
I have problem with coding and decoding. I record voice from mic coding
and write to file.
And when I read from file and put it on sound card it's terrible sound.
Have sameone can help me?
#include <speex.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/soundcard.h>
/*The frame size in hardcoded for this sample code but it
2006 Jan 13
4
Single Table Inheritance (this is my 3rd post :( )
Hi Everyone,
I hope I get some feedback on my question. Here it goes.
I have a situation here, I have a company table and then using Single
Table inheritance it is of 3 types:
class Company < ActiveRecord::Base
end
class Vendor < Company
end
class Customer < Company
end
class Agent < Company
end
Now I have a active record Association
class QuoteSheet < ActiveRecord::Base
2007 Aug 16
1
meaning and cause of kernel panic ??
Hello all. I have been running running centos 4.5 final for some time with
any problems. Been running great, until today. System was frozen and
/var/log/messages showed:
Aug 15 23:01:28 mydomain kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000000
Aug 15 23:01:28 mydomain kernel: printing eip:
Aug 15 23:01:28 mydomain kernel: c01b2de4
Aug 15 23:01:28 mydomain
2008 Oct 18
1
end of line not at end of line (Compile error) (V1.0.1&1.0.6
http://www.linuxquestions.org/questions/fedora-35/fedora-core-9-compile-error-wine1.0.1-and-1.0.6-677151/
ct-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith -g -O2 -o menu.o menu.c
{standard input}: Assembler messages:
{standard input}:7413: Warning: end of file not at end of a line; newline inserted
gcc: Internal error: Segmentatiefout (program cc1)
Please
2006 Sep 07
1
test_metaflac fails in make check for flac 1.1.2 after --add-padding is performed
Josh,
I applied this patch and all the "make check" tests passed (but I do not have valgrind and I did not use --enable-exhaustive-tests during configure, so it isn't all the tests). Do you see anything suspicious about it?
--- flac-1.1.2.oldBuild/src/flac/decode.c 2005-01-24 20:13:46.000000000 -0800
+++ flac-1.1.2/src/flac/decode.c 2006-09-06 23:36:26.000000000 -0700