Search This Blog

Tuesday, September 1, 2009

Checkpoint fw monitor

a command line to capture packets in Checkpoint:

fw monitor -m i -e "accept [20:2,b]=445 or [22:2,b]=445;" -o monitor.cap -ci 10 -co 10

will save 10 packets on port 445 in the file monitor.cap.

You can upload it using tftp from Checkpoint to another server and analyse it with wireshark.

However my preference is to set switch monitoring of the port to another port and use Microsoft Network monitor 3.3 to capture packets.

Friday, July 17, 2009

what is the root password in mac os x?

no, idea,

but here is a command to change it:

sudo bash

and put your passwd

then do passwd root

thanks Gaz!

installing Midnight commander in Mac OS X 10.5.7

I installed fink from http://sourceforge.net/projects/fink/files/
Then in terminal started
fink install mc
mc

it gives error:
dyld: Library not loaded: /sw/lib/libintl.1.dylib
Referenced from: /sw/bin/mc
Reason: image not found
Trace/BPT trap

to fix it I replaced link
ln -s /sw/lib/libintl.3.4.3.dylib /sw/lib/libintl.1.dylib
as suggested in http://www.claws-and-paws.com/node/1266

and now it works fine.

Sunday, June 28, 2009

CPU comparison

Compare CPU performance - notebooks and desktops
http://www.notebookcheck.net/index.php?id=2436

Friday, June 12, 2009

How to clone Windows XP

1. Get Live-CD of clone software, such as Clonezilla - http://en.wikipedia.org/wiki/List_of_disk_cloning_software

2. External USB disk

3. Boot from CD and write image to external disk

4. Run CD on new PC and restore image from USB disk

5. Run MS tool to change Prodcut key http://www.microsoft.com/genuine/selfhelp/XPPkuinst.aspx

6. Change SID using newSID tool from Microsoft http://technet.microsoft.com/en-us/sysinternals/bb897418.aspx

Wednesday, May 13, 2009

Adobe PDF IFilter 9.0 for 64bit

Can't get subject to work under MOSS 2007 64bit.

"IFilter explorer 64bit" shows it correctly enabled under WinFS, but not under Sharepoint 2007 beta. Filtdump gives error. MOSS 2007 search does not find text inside PDf files.

Any ideas? Apart from what was already checked: http://social.technet.microsoft.com/Forums/en-US/sharepointsearch/thread/ba1c7d49-fd71-40c3-a3ab-d594278fd0e2

Check also this black magic for the GUID

Run Regedit by browsing to c:\Windows\system32\regedt32.exe and double-clicking it.

Within left-side tree, browse to: \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf

Replace the {4C904448-74A9-11D0-AF6E-00C04FD8DC02} with new GUID i.e. {E8978DA6-047F-4E3D-9C78-CDBE46041603}

from:
http://www.codeproject.com/Articles/36204/How-to-Configure-PDF-iFilter-9-0-for-64-bit-operating-system-on-MOSS-2007-Server-Farm.aspx

Now it seems to be working correctly. Thanks!

Friday, May 8, 2009

getting error 403 on Sharepoint administration "Configure Advanced Usage Analysis Processing"

the solution is described here:

http://www.sharepointblogs.com/usecases/archive/2007/07/02/sharepoint-usage-and-search-usage-reports-issues.aspx

you need to "grant the account under which you want to operate the "Manage Usage Analytics" permission (from "Personalization services permissions") from within the SSP"