Control Windows Firewall Via Command Line

Filed under: — Aviran Mordo

The Windows Firewall feature of Microsoft® Windows® XP Service Pack 2 (SP2), a replacement for the Internet Connection Firewall (ICF) in previous versions of Windows XP, is a stateful host firewall that provides protection for computers against incoming traffic from the Internet or from neighboring network devices on a private network.

Setting up Windows firewall from the GUI is easy, but there is another way you can control your firewall configuration, and this is via the command line.

In order to control Windows firewall from the command line Microsoft provides you with the Netsh.

The following Netsh commands can be used in scripts or at the command line to configure Windows Firewall for IPv4 and IPv6 traffic when executed from the netsh firewall context:

  • add allowedprogram – Add the excepted programs
  • set allowedprogram – Set the excepted programs
  • delete allowedprogram – Delete the excepted programs
  • set icmpsetting – Set the ICMP settings
  • set multicastbroadcastresponse – Set multicast/broadcast response settings
  • set notifications – Set the settings for notifications
  • set logging – Set the logging settings.
  • set opmode – Set the operational mode
  • add portopening – Add excepted ports
  • set portopening – Set the excepted ports.
  • delete portopening – Delete excepted ports.
  • set service – Set the services
  • show commands – Show current configurations (see below)
  • Reset - Resets firewall configuration to default.

So for instance, if you want to disable the firewall just type: netsh firewall set opmode DISABLE

Show commands

The following show commands are used to display the current configuration:

  • show allowedprogram - Displays the excepted programs.
  • show config - Displays the local configuration information.
  • show currentprofile - Displays the current profile.
  • show icmpsetting - Displays the ICMP settings.
  • show logging - Displays the logging settings.
  • show multicastbroadcastresponse - Displays multicast/broadcast response settings.
  • show notifications - Displays the current settings for notifications.
  • show opmode - Displays the operational mode.
  • show portopening Displays the excepted ports.
  • show service - Displays the services.
  • show state - Displays the current state information.

So if for instance you want to see the logging setting, simply type netsh firewall show logging

To find out more, simply type netsh firewall ?

Japanese Lab Develops Robot for Errands

Filed under: — Aviran Mordo

Though his movement is a bit stiff, slow and voice monotonous, he willingly turns on the television with a chest-mounted remote control, and brings a can of drink for you. Within years, a humanoid robot HRP-2 - currently under development by a Japanese national technology institute - could be a little domestic helper.

The robots - named Promet - are being developed by the National Institute of Advanced Industrial Science and Technology, and can run errands. They are designed to respond to verbal instructions and are capable of capturing three-dimensional images of objects and locating them through an infrared sensor.

Source: AP

Computer glitch hits new satellite

Filed under: — Aviran Mordo

A computer glitch partially shut down a Japanese satellite that launched earlier this week, a space agency spokesman said today.

In the latest problem with Japan’s star-crossed space programme, the four-tonne Advanced Land Observation Satellite reported an error yesterday in the system that processes the observation data it collected, Japan Space and Exploration Agency spokesman Tatsuo Oshima said.

The satellite was switched into “safe mode? – a hold state – while agency officials reviewed the error-detection data, Oshima said.

“We don’t think the problem will turn out to be something that cannot be repaired,? he said, adding that the agency at present did not believe the glitch would have a long-term effect on the satellite’s mission.

Source: The Post

Microsoft to Skip Vista Beta 2

Filed under: — Aviran Mordo

Redmond is planning to rely more on Community Technology Previews for Windows input, and has two new Vista test builds planned for the next two calendar quarters.

Customers and partners who’ve been holding their breath waiting for Beta 2 of Windows Vista before getting serious about testing Microsoft’s next-generation operating system can exhale.

There will be no single, catch-all Beta 2 of Vista, according to Jim Allchin, copresident of Microsoft’s Platform Products & Services Division in Redmond, Wa. Instead, Microsoft is planning to rely increasingly on Community Technology Preview (CTP) builds to get its feedback from Windows testers.

Source: microsoft-watch

Powered by WordPress