Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2000 11:44:51 -0700 (PDT)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libalias alias_db.c
Message-ID:  <200004121844.LAA67183@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ru          2000/04/12 11:44:51 PDT

  Modified files:
    lib/libalias         alias_db.c 
  Log:
  Make partially specified permanent links without `dst_addr'
  but with `dst_port' work for outgoing packets.
  
  This case was not handled properly when I first fixed this
  in revision 1.17.
  
  This change is also required for the upcoming improved PPTP
  support patches -- that is how I found the problem.
  
  Before this change:
  
  # natd -v -a aliasIP \
    -redirect_port tcp localIP:localPORT publicIP:publicPORT 0:remotePORT
  
  Out [TCP]  [TCP] localIP:localPORT -> remoteIP:remotePORT aliased to
             [TCP] aliasIP:localPORT -> remoteIP:remotePORT
  
  After this change:
  
  # natd -v -a aliasIP \
    -redirect_port tcp localIP:localPORT publicIP:publicPORT 0:remotePORT
  
  Out [TCP]  [TCP] localIP:localPORT -> remoteIP:remotePORT aliased to
             [TCP] publicIP:publicPORT -> remoteIP:remotePORT
  
  Revision  Changes    Path
  1.25      +16 -12    src/lib/libalias/alias_db.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004121844.LAA67183>