RSS
 

Locate Rogue Computer on Network

15 Jun

Every now and then, our anti-virus infrastructure will let a bug slip through the cracks.  Sometimes, a user installs software at home on their laptop and decide to plug it into your network.  This might cause your network intrusion protection systems to go a little nuts.  You might have to find that computer and what port it is plugged into on your switch.  That might seem easy if you have a small network, but what about when your network is large.  Sounds daunting, but luckily it is quite easy.  I had to do this recently and thought I’d document my steps for others.

ASSUMPTIONS: I am using an entire cisco switch infrastructure with cisco routers.

  1. Secure Shell to your router or switch (You don’t still use telnet, do you?)
  2. Ping the IP address you need to find (IE: ping 192.168.1.1).
  3. Lets find out what the MAC address is by issuing this command with the IP address: show arp | include IPADDRESS
  4. Now, you know the MAC address of the machine in question.  Now, we need to know what VLAN it is on and/or what port that device is sourced from.  Issue this command: show mac-address-table | include MACADDRESS
  5. Now, you know what VLAN it is on (You probably already knew that) and what port it is sourced on (IE: gig 2/1).  What is the device on gig 2/1?  Issue this command: show cdp neighbor gig 2/1 detail.
  6. Now, if 2/1 is another switch you know the IP address of that switch.    Repeat steps 1 – 5.  Continue until the MAC address is on a switchport which is not a trunk port or another switch.  When you find it, that’s the port your device is on!

Happy Hunting!!

Other Links:

 
 

Online Poker Primer

07 Jan

Online Poker is a fun pastime. If you get good at it, you can even make some extra pocket change. But, to have the best online poker experience, I recommend you take some time and spend a little money. Now, I am no professional, but I can get you going in the right direction.

You need to develop a basic sense for what good poker is all about. You do this by reading some books, and watching videos. After you have the basics under your belt, you should get some software and start playing. There are several pieces of software which enhance your ability to play great poker. I’ll show you each of these.

Early on, it is helpful to get on board with some online training. The Poker Training Network will put you in touch with local players, instructional videos, and simulations which will improve your game. However, you also need to read several books.

Purchase these books and read them in this order:

  1. Harrington on Hold’em: Expert Strategy for No Limit Tournaments, Vol. 1: Strategic Play by Dan Harrington.

  2. Harrington on Hold’em: Expert Strategy for No Limit Tournaments, Vol. 2: Endgame by Dan Harrington.

  3. Harrington on Hold’em: Expert Strategy for No Limit Tournaments, Vol. 3: The Workbook by Dan Harrington.

  4. Sit ‘n Go Strategy by Collin Moshman.

Now, you are ready to play in tournaments. You know the value of starting hands, and understand the concept of tournament poker. So, time to sign-up at a poker site. Before you do, understand the concept of the rake and rakeback.

The rake is a percentage of every pot or tournament entry fee paid directly to the poker site. This is one of the ways they make money. Rakeback is when a player receives a percentage of the rack back for their own use. You get rakeback by using a rakeback site. So, do not sign up at any poker site without doing it through a rakeback site. I use Rake Update and regularly cash out$ 300-$500 per month.  Rakeback really makes variance easier to live with.  Visit that site and follow their instructions. You’ll be set up in now time.

To play tournaments well, you need a little help. Tournament Indicator (TI) has all the tools you need to help you ensure your profitability. Buy and install TI. Now, log in to your poker site, find a tournament ($2 +.25-nine man sit n go) and register. When the tournament starts, start up TI and play your first tournament. I realize you don’t know all about TI yet, but after the next step, you will. I just want you to get your feet wet.

Go to pokersitandgoreport.com and sign up for Marty’s free videos. As each one comes out, watch them and you’ll learn how to apply the concepts learned in your reading and to use your new software. These tournaments teach you the discipline needed to excel in multi-table tournaments and cash games. I highly recommend you join the forum at tournamentindicatorforum.com. Now, its time to take on the next type of poker: The Cash Game.

The cards may be the same, but cash games are a different animal. To succeed, you should purchase these books:

  1. Harrington on Cash Games (How to Win at No-Limit Hold’em Money Games) Vol. 1 by Dan Harrington.

  2. Harrington on Cash Games, (How to Win at No-Limit Hold’em Money Games) Vol. 2 by Dan Harrington.

  3. Professional No-Limit Hold’em: Volume I by Ed Miller, Sunny Mehta, and Matt Flynn.

  4. Small Stakes No-Limit Hold’em by Ed Miller, Sunny Mehta, and Matt Flynn.

The last two books are serious professional level books. They will make your head spin. I reread them about every other month. Now, you need a different piece of software that handles cash games: Holdem Indicator. Buy it and never play without it. Sometimes, you’ll find yourself wanting to call, but HI will remind you why it is such a bad call. This is indispensible.

By this time, you may find you need more help fixing your play. I highly recommend you buy Holdem Manager. This software is a database engine that tracks your play and your opponents play. You can use its tools to find your leaks and plug them up.

I cannot end this article without saying something about bankroll management. Your bankroll is what you use to play poker with. If you do not take care of it, you will have a zero bankroll and you will not be able to play poker. What is the point? You manage your bankroll by playing in games that fit your bankroll. You need a bankroll of at least 30 times the buy-in for any game. This is because of variance. There will be times when you play everything perfect and a poor player will draw out on you. That is variance. You get your money in good, but a suck out happens. You will find yourself on losing streaks. Don’t panic! If you are playing the right stakes with the right bankroll, you’ll be able to sustain the variance. So, to play in $2.25 tournaments, you need $67.50. To play .01/.02 Cash games, you need $60.

I hope this little guide helps you get going in the right direction. Below, I have put all the links in a list to help make it easier for you.

See you at the tables,

Mario

—–

L I N K S

Training:

Poker Training Network

RakeBack:

Rake Update

Software:

Tournament Indicator

Hold’em Indicator

Hold’em Manager

Books:

Harrington on Hold’em: Expert Strategy for No Limit Tournaments, Vol. 1: Strategic Play by Dan Harrington.

Harrington on Hold’em: Expert Strategy for No Limit Tournaments, Vol. 2: Endgame by Dan Harrington.

Harrington on Hold’em: Expert Strategy for No Limit Tournaments, Vol. 3: The Workbook by Dan Harrington.

Sit ‘n Go Strategy by Collin Moshman.

Harrington on Cash Games (How to Win at No-Limit Hold’em Money Games) Vol. 1 by Dan Harrington.

Harrington on Cash Games, (How to Win at No-Limit Hold’em Money Games) Vol. 2 by Dan Harrington.

Professional No-Limit Hold’em: Volume I by Ed Miller, Sunny Mehta, and Matt Flynn.

Small Stakes No-Limit Hold’em by Ed Miller, Sunny Mehta, and Matt Flynn.

 
No Comments

Posted in Family

 

Bulk import Active Directory Users and Create Email address

01 Jul

I was tasked at work to come up with a way to import new Active Directory accounts and Exchange 2007 email boxes.  I decided to use the Exchange 2007 Management Console which uses lots of powershell.

Here is what I came up with:

This command is used to import users from a CSV file into Exchange 2007 creating email boxes and user accounts.  User accounts are set to change password upon first log in.

Created 20090630, By Mario Leal

NOTES:

  • Command must be copied and pasted into the Exchange Management Console.
  • You must edit “C:\CSV\users.csv” to be the the location of your CSV file.
  • The CSV file must not have an empty line at the end of the file.
  • Duplicates will error, you must watch screen to catch them.
  • Empty middle initial in CSV needs one ” to represent blank.
  • Output file (output.txt) will give a list of successful imports.

Schema (first Line) used for CSV file with an example (second line):
alias,Name,UPN,password,givenName,surname,middleI
maleal,”Mario Leal”,email@address.whatever,somepassword,Mario,Leal,A

Reference URLs:

http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/2582c672-cddb-4446-9329-889139ebb346
http://www.exchangepedia.com/blog/2006/11/exchange-server-2007-bulk-creation-of.html
http://exchangepedia.com/blog/2006/12/bulk-mailbox-enabling-users-exchange-shell.html

—commandstart—
Import-CSV c:\CSV\users.csv | foreach {

$secureString = ConvertTo-SecureString -string $_.password -AsPlainText –Force

new-mailbox -alias $_.alias -name $_.name -userPrincipalName $_.UPN -FirstName $_.givenName -LastName $_.surname -Initials $_.middleI -database “Students” -org TEST -Password $securestring -ResetPasswordOnNextLogon $true

} | out-file -filepath “c:\CSV\Output.txt”
—commandend—

Related Links: