Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

Format of the configuration file using port forwarding

When using port forwarding, the remote configuration file has the following format:

<connection protocol> <username@host> -L <forwarding_port>:<forwarding_host>:<kwdtagent_port> <user_install>/bin/kwdtagent -pd <path_to_remote_kwlp> --port <kwdtagent_port>
host=<forwarding_host>
port=<forwarding_port>

where

  • <connection_protocol> is SSH or similar utility. You can also use a script.
  • <username@host> is the login credentials for the machine where the Klocwork project (.kwlp) resides
  • <forwarding_port> is the listening (or forwarding) port
  • <forwarding_host> is the listening (or forwarding) host
  • <kwdtagent_port> is the port kwdtagent is running on
  • <user_install> is the path to the Klocwork User installation in the remote environment
  • <path_to_remote_kwlp> specifies the path to the .kwlp in the remote environment
Note: The host and port properties must each be on a separate line below the command string.

Example:

command=ssh jlee@acmeworks.com -L 8099:myhost.com:9011 /space/kw/user-9.1/bin/kwdtagent -pd /space/dev/C++TestProj/.kwlp --port 9011
host=myhost.com
port=8099

In this example, all traffic is forwarded through 8099:myhost.com to the remote machine.