Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit
» 

DSPP Home

» HP STK home
Tru64 UNIX STK
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» FAQ
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
» DSPP
Content starts here

non-critical impact:

raw sockets - undocumented (NcWn108)

NW Impacts

Problem description

Raw sockets are used to bypass the transport layer, TCP and UDP, and are used to capture raw IP packets. Raw sockets implementations are limited in use. Support for raw sockets is not documented in HP-UX.

The following applications sniff or monitor the raw network:

  • Network load monitors

  • Routing utilities (for example, traceroute, ping, arp, routing daemons, multicast routing daemons, router discovery daemons)

  • Network diagnostics tools to verify the network setup or report ARP messages sent from hosts (for example, ping)

  • Internet security tools that reconstruct end-to-end sessions and monitor network connections

Identifiers

C/C++ Misc. IdentifiersSOCK_RAW        

Old behavior

The following is an example of a raw socket call:

sockd = socket(AF_INET, SOCK_RAW, protocol);

See also

Solution description

HP-UX has an unsupported raw socket definition SOCK_RAW in </usr/include/sys/socket.h>. The user ID must be superuser. Documented support for raw sockets will be in a future version of HP-UX.

HP-UX does not support routing sockets. A routing socket is a special type of socket that is created with the following call:

socket(AF_ROUTE, SOCK_RAW, 0);

This type of socket is not specific to any particular network protocol, but allows privileged user processes to write information into the kernel.

See also


Problem summary

classifications source types OS release severity type
NW C, C++ any HP-UX 11i version non-critical warning
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.