Bug 5755 - possible error from libaudit on IPv6 only system
Summary: possible error from libaudit on IPv6 only system
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Agent (show other bugs)
Version: pre-1.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Pierre Ossman
URL:
Keywords:
Depends on:
Blocks: 2672
  Show dependency treegraph
 
Reported: 2015-12-17 16:04 CET by Pierre Ossman
Modified: 2017-09-19 15:37 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2015-12-17 16:04:38 CET
We use the fake IPv4 address 203.0.113.20 for PAM_RHOST in our sessions. libaudit will always do a getaddrinfo() on this address with AI_ADDRCONFIG set. This call will fail on a IPv6 only system and this error can end up in the log:

> resolve_addr: cannot resolve hostname 203.0.113.20

To fix this we would need to use an IPv6 address instead on these systems, and have some logic to determine which to use.

(this bug spawned from bug 5682)

Note You need to log in before you can comment on or make changes to this bug.