If you use ddwrt and have snort/snorby in your home network on a different machine, you can send all logging this way.
iptables -A PREROUTING -t mangle -j ROUTE –gw 192.168.12.254 –tee
iptables -A POSTROUTING -t mangle -j ROUTE –gw 192.168.12.254 –tee
12.254 is the machine where you do a copy forward all packets
If you use ddwrt and have snort/snorby in your home network on a different machine, you can send all logging this way.
iptables -A PREROUTING -t mangle -j ROUTE –gw 192.168.12.254 –tee
iptables -A POSTROUTING -t mangle -j ROUTE –gw 192.168.12.254 –tee
12.254 is the machine where you do a copy forward all packets
I rooted my old phone HTC Desire HD today, which was unrooted after I got bore from MIUI. I did a S-OFF and flashed it with Cyanogenmod. The phone has become fast, which was not before with HTC sense 3. The only thing I missed was swype and getting contacts by dialing there name.
I got through this installing swype beta, and Dial-pro from Google Play. Pictures below:
Upadate: Cyanogenmod 7.2.0 RC1 has new predictive contact. Swype was removed as memory usage was way high 21mb.
And with Megaupload shutdown, FBI sites getting slow/unavailable courtesy Anonymous, I see all sites from Megaupload, Fileserve, rapidshare and others taking there links down. Its bad to see that basic rights to share files are been taken down.
What now if SOPA is passed ? Internet is no more free folks.
Sometime back I had a post on moving from VisionApp, From then i moved on to mRemote which visionapp took over.For managing 50+ servers I still work with gnome-rdp and Vinagre on linux. Today i bumped in to Monocaffe which looks promising. I tested this on Debian and its just plain awesome.
Update: This fails on backtrack :(
To enable Openldap clients on / Linux without tls follow the procedures below:
yum install nss-pam-ldapd (nss and pam modules using LDAP)
yum install pam_ldap (Pam-ldap)
authconfig –enableldap –enableldapauth –ldapserver=192.168.11.8 –ldapbasedn=dc=sachingopal,dc=net –disablesssdauth –updateall or
you can use authconfig-gtk. Disable kerberos and you should able to login.
I got my first Linksys WRT300N three years back when it was still not a standard and flashed with DDWRT. But now I wanted more, better streaming, drag and drop NAS, Media server in built. I was looking at WNDR4000 from Netgear and Cisco E4200. Finally grabbed the Linksys E4200 as this is broadcom based and DDWRT should support. Specs are nice too. I plan to bridge my second wireless as a repeater and let it die with age.
I plugged in a 1 TB usb drive and it was showing up in share. Also just adding the Music folder to Media server made uPNP install on my Windows 7. Everything worked as expected. I streamed blue ray movies without any glitch on the Laptop. Added a uPNP Play on my HTC desire HD Android phone and music streaming just worked. Now i need to get a new LED TV and a AV receiver with a good set of speakers to stream this for my home theater experience.
While installing Python on windows 2008, R2 server we came across error “The application has failed to start beacuse its side-by-side configuration is incorrect. Please check the error log”
On further trying to dig there was no information on eventlog. Also came to know that the error was related with windows manifest file. While digging online I came across the trace command called sxstrace. If you run it on command line you get the description
C:\Program Files\VMware\VMware vSphere CLI>sxstrace
WinSxs Tracing Utility.
Usage: SxsTrace [Options]
Options:
Trace -logfile:FileName [-nostop]
Enabling tracing for sxs.
Tracing log is saved to FileName.
If -nostop is specified, will not prompt to stop tracing.
Parse -logfile:FileName -outfile:ParsedFile [-filter:AppName]
Translate the raw trace file into a human readable format and save the re
sult to ParsedFile.
Use -filter option to filter the output.
Stoptrace
Stop the trace if it is not stopped before.
Example: SxsTrace Trace -logfile:SxsTrace.etl
SxsTrace Parse -logfile:SxsTrace.etl -outfile:SxsTrace.txt
Once i started this command and had the python run in background the etl file was created. here you need to convert the etl file to human readable txt file using the second command. And there it was, clearly showing that we had missed installing .net framework.
For a week, http://www.sachingopal.net was down, as I was moving it to http://www.sachingopalkrishnan.com. During the move i messed up the db badly while running sql commands, and all my backups were too old for recovery. After extensive manual edits, finally the site is back with improved security
sachingopal.net will now forward on to here henceforth, before going down completely next year.
Been waiting for Samba4 stable for long. It seems the wait is not worth and the development is snail slow. The scheduled alpha15 is still not here. Time to go with ADS.
Led Tv 46+ inches
Box 360
Dual band wireless router (5, 2.4)
New dslr.
Wireless Printer.
Just logged in to my ddwrt and a “PS” from root shows the wireless router password in plain “nas -P /tmp/nas.wl0lan.pid -H 34954 -l br0 -i eth2 -A -m 4 -k mypassword -s Sector7 -w 2 -g 3600″. This is ugly.
While trying to debug a windows issue using windbg, I came across debuging sysmbols
not getting loaded and got an error “module load completed but sysmbols cannot be
completed”
The easiest fix is:
1. Start the WinDBG
2. Select File >, “Symbol File Path…”
c) Set the pathSRV*C:sysmbols*http://msdl.microsoft.com/download/symbols
Here you need to create a folder caled sysmbols before adding this. And you should be done. Now you can debug the dmp files using windows.
Update: I found a windows symbols which can be downloaded. Do a google
for “Download Windows Symbol Packages and hopefully you may not have to
do the above. But for me right now it pulls down the symbols as long
as I have internet.
Yes, if you manage 100 of server on windows, linux, citrix you know what Visionapp is. I was always looking for a opensource replacement and after so long finally there is one which just works. Go download mRemote here.
UPDATE: Sad, mRemote has merged with vRD. I have no idea how this goes ahead. (Removed Donate text)
Recently I came across an application in my workplace which is still under test phrase thrashing cache on RedHat linux servers badly. If this application would run for an hour+ the Server would start slowing down and the only way out was restart the linux server.
Then I came across this:
Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free.
To free pagecache:
* echo 1 > /proc/sys/vm/drop_caches
To free dentries and inodes:
* echo 2 > /proc/sys/vm/drop_caches
To free pagecache, dentries and inodes:
* echo 3 > /proc/sys/vm/drop_caches
As this is a non-destructive operation, and dirty objects are not freeable, the user should run “sync” first in order to make sure all cached objects are freed.
This tunable was added in 2.6.16.
Source: Linuxinsight
Source: Cyberciti.biz
I am a Technologist from Bangalore, Karnataka, India and work as a System/Security Manager for a firm. My expertise adds to System Administration, Web Designing, Penetration Testing, Cloud Designing, Infrastructure Planning, Technology, Consulting, Training, Project Planning/Management and ITIL design. In my spare time I love to play with my daughter or just go places. Lately I am having hands on Photography. More of me here..