[ 2 comments ] ( 32 views ) | [ 0 trackbacks ] | permalink
https://localhost:8000/en-US/app/search/index_status
[ add comment ] ( 14 views ) | [ 0 trackbacks ] | permalink
Splunk regular for extracting fields in format variable='value'
(?i)'(?P<FIELDNAME>[^']+)'
Set the Splunk server to receive compressed data from forwarder on port 50000, file /opt/splunk/etc/system/local/inputs.conf
[default]
host = myserver.mycompany.com
[splunktcp://50000]
compressed = true
Configure Splunk forwarder for routing. In example, the forwarder does different routing for each of two diffferent sourcetypes. First, we define the sources to collect ( /opt/splunk/etc/system/local/inputs.conf ):
[monitor:///var/log/clc/reports/unix/level3/*]
disabled = false
index = first_index
sourcetype = first_sourcetype
[monitor:///var/log/clc/*/notsocoolevents/*]
disabled = false
index = second_index
sourcetype = second_sourcetype
The props.conf in the same directory defines the routing paths specific to sourcetypes:
[first_sourcetype]
TRANSFORMS-routing = routeLocal
[second_sourcetype]
TRANSFORMS-routing = routeOutside
The transforms.conf could be used to filter the events before the routing and defines the destinations (outputs):
[routeLocal]
REGEX=.*
DEST_KEY=_TCP_ROUTING
FORMAT=outsideGroup
[routeOutside]
REGEX=.*
DEST_KEY=_TCP_ROUTING
FORMAT=localGroup
outputs.conf defines the servers we route to:
[tcpout:localGroup]
server = server1.mycompany.com:50000
disabled = false
compressed = true
[tcpout:outsideGroup]
server = server2.othercompany.com:60000
disabled = false
compressed = true
[ add comment ] ( 8 views ) | [ 0 trackbacks ] | permalink
http://ubuntunext810.blogspot.com/2008/ ... ssion.html
http://www.linuxbsdos.com/2010/10/18/gu ... in-ubuntu/
1. Je potreba mit nainstalovany balicek gdm-guest-session (defaultne je nainstalovany)
Popis:
This package adds support for starting a guest session through gdm’s flexiserver, which any already logged in user can launch. It creates a temporary guest account with a temporary home directory and some restricted privileges (such as not being able to read any home directory or do any permanent change to the system). Just call /usr/share/gdm/guest-session/guest-session-launch to start the session.
2. Spustit /usr/share/gdm/guest-session/guest-session-launch
KKiosk Mode
http://jacob.steelsmith.org/category/se ... sk-edition
[ add comment ] ( 27 views ) | [ 0 trackbacks ] | permalink
http://www.fixya.com/support/t372531-mi ... an_dual_iv
1) Install all of the usual Minolta software in Vista.
2) Create a new folder somewhere
3) Create a new txt file named minolta.inf and paste this into it:
; scanners.inf -- Test Vista Minolta Film Drivers
;
;
; To remove this driver and install the original
; manufacturer's driver, go into Device Manager,
; open Imaging devices, then click on the scanner name
; with the right mouse button and choose Uninstall.
[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Provider%
DriverVer=3/12/2009,2.0
[Manufacturer]
%Mfg%=Models,ntamd64
[Models]
; USB scanners
"Minolta Scan Dual II" = USBScanner,USB\Vid_0638&Pid_026a
"Minolta Scan Dual III" = USBScanner,USB\Vid_0686&Pid_400d
"Minolta Scan Dual IV" = USBScanner,USB\Vid_132b&Pid_000a
"Minolta Scan Elite 5400 2" = USBScanner,USB\Vid_132b&Pid_0012
"Minolta Scan Elite 5400" = USBScanner,USB\Vid_0686&Pid_400e
"Minolta Scan Elite II" = USBScanner,USB\Vid_0686&Pid_4004
"Minolta SC-110" = USBScanner,USB\Vid_0638&Pid_0a15
"Minolta SC-215" = USBScanner,USB\Vid_0638&Pid_0a16
;---------------- Duplicated from [Models]
[Models.ntamd64]
; USB scanners
"Minolta Scan Dual II" = USBScanner,USB\Vid_0638&Pid_026a
"Minolta Scan Dual III" = USBScanner,USB\Vid_0686&Pid_400d
"Minolta Scan Dual IV" = USBScanner,USB\Vid_132b&Pid_000a
"Minolta Scan Elite 5400 2" = USBScanner,USB\Vid_132b&Pid_0012
"Minolta Scan Elite 5400" = USBScanner,USB\Vid_0686&Pid_400e
"Minolta Scan Elite II" = USBScanner,USB\Vid_0686&Pid_4004
"Minolta SC-110" = USBScanner,USB\Vid_0638&Pid_0a15
"Minolta SC-215" = USBScanner,USB\Vid_0638&Pid_0a16
;---------------- USBScanner -------------------------
[USBScanner]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=1
Capabilities=0
[USBScanner.Services]
Include=sti.inf
Needs=STI.USBSection.Services
[Strings]
Provider="Konica Minolta"
Mfg="Konica Minolta"
4. Save file. Turn on scanner and go into device manager and update the old minolta driver with this driver. You may have to manually update it.
5. All the normal Minolta programs now work just fine. Enjoy!
[ add comment ] ( 29 views ) | [ 0 trackbacks ] | permalink
[ add comment ] ( 28 views ) | [ 0 trackbacks ] | permalink
very shorted how-to for OpenVPN installation in a hurry
import repo which contains openvpn as mentioned here: http://alchy.org/index.php?entry=entry110220-095249
then # yum install openvpn.
# cp -r /usr/share/doc/openvpn-2.1.4/easy-rsa/2.0/* /etc/openvpn
# cd /etc/openvpn/
# chmod +x whichopensslcnf clean-all build-ca pkitool uild-key-server build-key-pass build-dh
Set up defaults
# vi vars
# . ./vars
# ./clean-all
Build the certificate authority (CA)
# ./build-ca
Generate certificate & key for server
# ./build-key-server server
Generate certificates & keys for clients
# build-key-pass client1
Generate Diffie Hellman parameters
./build-dh
Link
# ln -s keys/1024.pem ./dh1024.pem
# ln -s keys/server.crt ./server.crt
# ln -s keys/server.key ./server.key
# ln -s keys/ca.crt ./ca.crt
Debug:
"/usr/sbin/openvpn" --config /etc/openvpn/server.conf
Client's ovpn.conf:
client
proto tcp
dev tun
ca ca.crt
dh dh1024.pem
cert client01.crt
key client01.key
keysize 128
remote xxx.xx.xx.xx 1194
cipher BF-CBC
verb 2
mute 20
keepalive 10 120
comp-lzo
persist-key
persist-tun
float
resolv-retry infinite
nobind
[ add comment ] ( 9 views ) | [ 0 trackbacks ] | permalink
[root@gw ~]# cat > /etc/yum.repos.d/fwbuilder.repo
[fwbuilder]
name=Firewall Builder
failovermethod=priority
baseurl=http://www.fwbuilder.org/rpm/stable/rhel-$releasever-$basearch
enabled=1
wget http://www.fwbuilder.org/PACKAGE-GPG-KEY-fwbuilder.asc
rpm --import PACKAGE-GPG-KEY-fwbuilder.asc
yum install fwbuilder
[ 1 comment ] ( 65 views ) | [ 0 trackbacks ] | permalink
RPMforge is a collaboration of Dag and other packagers. They provide over 5000 packages for CentOS, including wine, vlc, mplayer, xmms-mp3, and other popular media tools. It is not part of Red Hat or CentOS but is designed to work with those distributions.
RPMforge repo for Centos 5
http://wiki.centos.org/AdditionalResour ... 4998926a1b
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
wget http://packages.sw.be/rpmforge-release/ ... x86_64.rpm
rpm -ivh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
RPMforge repo for Centos 6
[root@gw ~]# rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
warning: rpmforge-release-0.5.2-2.el6.rf.i686.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing... ########################################### [100%]
1:rpmforge-release ########################################### [100%]
[root@gw ~]# rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
http://wiki.centos.org/AdditionalResour ... 92d1398e01
[ add comment ] ( 11 views ) | [ 0 trackbacks ] | permalink
http://vimeo.com/4452923
timechart avg(size) by relay
timechart count(relay) by from usenull=f
timechart count by group
splunkbase
http://splunkbase.splunk.com/
splunk on F5
http://splunkbase.splunk.com/apps/Integ ... Generation
splunk on snort
http://splunkbase.splunk.com/apps/All/4 ... Splunk+4.x
[ add comment ] ( 28 views ) | [ 0 trackbacks ] | permalink