Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #7904

Closed (moved)
(moved)
Open
Created Jan 09, 2013 by Trac@tracbot

Allow domain-names in ExitPolicy

Apparently ExitPolicy will only take an IP address literal (no domain names); when I try that, I get error messages like:

[warn] Malformed IP "chat.freenode.net" in address pattern; rejecting. [warn] Couldn't parse line "chat.freenode.net:6665-6667". Dropping

If I list a domain-name there, I guess there are two ways it could be interpreted:

  1. At load-time, pull DNS records, follow all pointers, translate all A and AAAA records
  2. At connection-time (for all connections), do a reverse lookup, compare to the result

For maximum flexibility, support both, on a per-rule basis?

Trac:
Username: davidl

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking