Networking-Blog

My WordPress Blog

WINDOWS – OUTBOUND TRAFFIC ON UDP PORT 3544

While reviewing  firewall logs I observed unexpected outbound communication attempts on UDP 3544 from a newly deployed Windows 7 installation.

 

“…..dstip=157.56.144.215proto=17length=89tos=0x00prec=0x00ttl=127srcport=64379dstport=3544“…..”

 

After quick a quick Google search it became apparent that this was related to “Teredo
http://en.wikipedia.org/wiki/Teredo_tunneling

A Teredo client is an IPv6/IPv4 node that supports a Teredo tunneling interface through which packets are tunneled to other Teredo clients or nodes on the IPv6 Internet (via a Teredo relay). A Teredo client communicates with a Teredo server to obtain an address prefix from which a Teredo-based IPv6 address is configured or used to facilitate communication with other Teredo clients or hosts on the IPv6 Internet.
https://msdn.microsoft.com/en-us/library/windows/desktop/bb968770(v=vs.85).aspx

The Teredo relay listens on UDP port 3544 for Teredo traffic.

 

To disable open a command prompt and issue the following command

1. netsh interface
2. teredo
3. set state disabled

This will stop the outbound UDP 3544 traffic

WINDOWS 7 PPTP CLIENT

Windows 7  PPTP VPN service supports 128-bit encryption.
PPTP Server supports 46bit or 56bit encryption.

Need to specify client to use  46bit or 56bit encryption.

Go to properties page on Client PPTP dialup.

Select the Security tab.
Under Type of VPN:, from the drop-down list, select Point to Point Tunneling Protocol (PPTP).

Default Settings to :

Under Data encryption :

Require encryption (disconnect if server declines)

Change to :

Maximum strength encryption (disconnect if server declines)

This forces client to use 46 to 56bit encryption with PPTP server if server does not support 128bit encryption.

If PPTP server supports NO ENCRYPTION, then force client under :

Under Data encryption :

No encryption allowed (server will disconnect if it requires encryption)

 

PPTP DEFAULT-GATEWAY :

While working remotely I noticed my bandwidth would drop when I connected to our VPN.
It appeared that all internet packets were being routed through our VPN connection.

While this normally wouldn’t be a problem, I often found myself downloading large files and my
connection performance was limited to the available bandwidth to the VPN connection.

That’s when I learned about what a “split tunnel” vpn connection is.

With a “split tunnel vpn” connection, the internet traffic is routed through the local gateway connection.
All other network traffic works through the vpn connection as you would expect.

This is a feature that is available with Windows Vista and XP PPTP VPN connections,
but it isn’t the default setting.

Here is how you configure your VPN connection to use the local gateway:

1. Right click on your VPN connection and choose “properties”
2. Click on the “Networking” tab. This is where we will need to make changes to the TCP/IP settings
for your VPN connection. If you are using V6 IP addresses or V4, you’ll need to make the change in both
locations just to be sur
e.
3. Click on the “Advanced” button to get to the Advanced TCP/IP options
4. The VPN connection by default configures all packets to route to the remote server’s gateway.
We want to turn this option off by clicking on the “Use default gateway on remote network” option.

That’s it! Once you have made those changes you will notice your internet packets are no
longer automatically
routing through the VPN server.

How to reset Internet Protocol (TCP/IP)

Use a manual method to reset TCP/IP

The reset command is available in the IP context of the NetShell utility.

Follow these steps to use the reset command to reset TCP/IP manually:

To open a command prompt, click Start and then click Run.

cmd

At the command prompt, copy and paste (or type) the following command and then press ENTER:

netsh int ip reset c:resetlog.txt

Note If you do not want to specify a directory path for the log file, use the following command:

netsh int ip reset resetlog.txt

Reboot the computer.

When you run the reset command, it rewrites two registry keys that are used by TCP/IP.
This has the same result as removing and reinstalling the protocol. The reset command rewrites
the following two registry keys:

SYSTEMCurrentControlSetServicesTcpipParameters
SYSTEMCurrentControlSetServicesDHCPParameters

To run the manual command successfully, you must specify a file name for the log, in which the
actions that netsh takes will be recorded. When you run the manual command, TCP/IP is reset and
the actions that were taken are recorded in the log file, known as resetlog.txt in this article.

The first example, c:resetlog.txt, creates a path where the log will reside. The second example,

resetlog.txt, creates the log file in the current directory. In either case, if the specified log file already exists,
the new log will be appended to the end of the existing file.

Local Group Policy in Windows 7 – Roll back to default settings?

As far as I know there isn’t an easy way to revert back to the default settings.

You can do the following though:

With the Local Group Policy Editor open expand to the following node: gpedit.msc

Computer ConfigurationAdministrative TemplatesAll Settings

and sort by the State column.

Any policy that is set using that editor will show on top.
Repeat the same process for the User Configuration node.

If they set anything else in the Windows Settings or Software Settings node you’ll have to look at each
option and know which one is set or not.

If you are connected to a domain, the domain will override any conflicting settings that are set on the
local machine.

To prevent someone from making changes to the local group policy remove their user account from
the Administrator group.

Install Windows 7 Or Windows 8 From USB Drive [Detailed 100% Working Guide]

Requirements:

*USB Flash Drive (Minimum 4GB)
*Windows 7 or Windows 8 installation files.

Follow the below steps to create bootable Windows 7/Windows 8, 
USB drive using which you can install Windows 7 or Windows 8 easily.

Procedure:

1. Plug-in your USB flash drive to USB port and move all the contents
from USB drive to a safe location on your system.

2. Open Command Prompt with admin rights. Use any of the below
methods to open Command Prompt with admin rights.

*Type cmd in Start menu search box and hit Ctrl+ Shift+ Enter.

Or

*Go to Start menu > All programs > Accessories, right click on
Command Prompt and select Run as administrator.

3. You need to know about the USB drive a little bit. Type in the
following commands in the command prompt:

First type DISKPART and hit enter

list disk

Select the USB disk.
select disk X (X is the drive number of the USB flash drive)

List the current partition. Record the partition number.
list partition

Select the current partition and make it active.

select partition Y (Y is the partition number of the USB flash drive)
active

 

Right-click on the Windows 7 iso file and select Extract files. 
Extract the files to a folder (you can name the folder any name you want.

In your command prompt, cd to the windows 7 folder.

cd Desktop/win-7 (Change the destination to the folder that you have extracted)
cd boot
bootsect /nt60 X: (X is the drive letter of your USB drive )

Bootsect infuses boot manager compatible code into your USB key to
make it a bootable device.

IMPORTANT: If you’re currently running 32-bit Windows Vista or 7,
Bootsect will only work if you use the files from the 32-bit Windows 7
install disc. The Bootsect executable from the 64-bit version will not
run in 32-bit Vista.

 

Now, copy all the files from the Windows 7 folder to the USB flash drive.

Reboot the computer. Remember to change the first boot device to your USB drive in the BIOS.

You should be able to install Windows 7 from your USB flash drive now.

Playstation 3 Media Windows Sharing

Go to Control Panel > Network and Sharing Center > Change Advance Sharing Settings

Then you need to make sure:
Network Discovery is ON
File & Printer Sharing is ON
!
After that click on Media Streaming options
On the Show devices drop bar, select All Networks
!
You should see some Unknown device/devices.
Double-click each Unknown device to see the MAC address of the device
Find the device that matches the MAC address of your PS3 and allow that device
for media sharing.
!

  • Click the “Unknown Device” to select it, then click the button labeled “Settings.”
    A new window should pop up that allows you to select the types of media to be shared.
    Click the checkboxes labeled “Music,” “Pictures,” or “Video” to allow them to be shared.
    Uncheck the boxes if you do not want them to be shared.

  • In Windows Media Play, Select “Tools“, “Options“,

    Choose “Manage Library” from the options library tab. Click the “Add” button and select
    the folder where you are storing your shared files. Windows Media Player will scan the
    folder and create a library.

  • Windows add a static IP route

    1. Open Command Prompt

    2. At the command prompt, type :

    route add destination mask subnetmask gateway metric costmetric if interface


    For example, to add a static route to the 10.0.0.0 network that uses a subnet mask of 255.0.0.0,
    a gateway of 192.168.0.1, and a cost metric of 2, you type the following at a command prompt
    :

    route add 10.0.0.0 mask 255.0.0.0 192.168.0.1 metric 2

    How to jailbreak iOS 4.3.2 Using RedsnOw

    Backup your iOS hardware before jailbreaking your iphone Device via itunes.

    Before Proceeding You should Download These:

    Download iOS 4.3.2 IPSW
    Download Redsn0w 0.9.6rc12

    Once your have restored your iOS hardware  to factory default via Itunes, you can proceed to jailbreak :

    1. Launch RedsnOw application recently downloaded.
    2. Click on “Browse”  and Select  “iOS 4.3.2 IPSW”.
    3. Make sure your device is plugged in to the computer and is switched off and then click Next.
    4. Now, follow the on screen instructions to enter into DFU mode.
    5. Now, the final step! Wait till Redsn0w ends the process and when the device reboots, you’re done!

    Your iOS device will reboot into a jailbroken iOS 4.3.2. Because this is a tethered jailbreak, anytime
    you reboot the hardware you’ll need to perform a tethered boot through Redsn0w by launching the app
    and selecting “Just boot tethered right now” and clicking ‘next.’

    RedsnOw 0.9.6rc12 Tethered Jailbreak

    Next Step to Download Free APPs.

    Installous 3.1.2 (not the discontinued install0us) has been released and is now available
    for
    download via Cydia for jailbroken iDevices.

    Step 1: You will first have to patch your Mobile Installation file on your jailbroken iPhone or iPad.
    Step 2: Start “Cydia” on your iPad.
    Step 3: Touch on Manage tab on the bottom.
    Step 4: Now touch on Sources as seen in the screenshot below :

    AppSync for iPad 3.2

    Step 5: Touch on Edit”, and then on Add. You should now be prompted to enter a url source as
    seen in the screenshot below. Type http://cydia.hackulo.usand click onAdd Source.

    AppSync for iPad 3.2

    Cydia will now automatically update your sources by following a series of automated steps.

    Step 6: After installation is completed. Search for “Installous” in Cydia and install this application on your jailbroken iPhone or iPad.

    Installous 3.1.2

    You should now be able to run installous manually on your iPhone or iPad in order to search or Free Apps.

    Format External Drive in FAT32 using DOS

    Format external drive in FAT32 using DOS

    Open a command window by going to Start, then Run and typing in CMD.

    command prompt

    Now type in the following command at the prompt:

    format /FS:FAT32 X:

    Replace the letter X with the letter of your external hard drive in Windows. Windows will go ahead and begin formatting the drive in FAT32!

    format external hard drive fat32

    Format external hard drive in FAT32 using SwissKnife

    SwissKnife is a nifty little program that is completely free and that you can use to format many types of external drives such as USB, Firewire, PCMIA, SATA and SCSI. You can also use it to create partitions on an external hard drive and it formats faster than Windows.

    swissknife

    So next time you want to format a hard drive in FAT32 and Windows only gives you an option for NTFS, make sure to follow one of the two method mentioned above. Enjoy!