Re: SMTP Virtual Server: How do I make the source port stop using a random port?

From: Alun Jones (alun@texis.com)
Date: 02/20/03

  • Next message: Mathew: "SSL issues with my OWA site"
    From: alun@texis.com (Alun Jones)
    Date: Thu, 20 Feb 2003 21:59:35 GMT
    
    

    In article <017101c2d927$1bfa84f0$a501280a@phx.gbl>, "mike beste"
    <mbeste@fulcrum.net> wrote:
    >SMTP Virtual Server: How do I make the source port stop
    >using a random port?

    _If_ you were to make the source port be a fixed port, the result would be
    that you could not connect several times over a short period of time. A
    five-tuple of source address, source port, protocol, destination port and
    destination address may not be re-used within 2*MSL (essentially, four
    minutes) of its last use. So, since (as you've pointed out) the destination
    port is always 25, the destination address is fixed at the IP address of your
    target mail server, the source address is your IP address, and the protocol is
    "TCP", the only thing that prevents one socket from being a reuse of the
    five-tuple from a previous socket is the source port. That is why the source
    port _must_ vary.

    Alun.
    ~~~~

    [Please don't email posters, if a Usenet response is appropriate.]

    -- 
    Texas Imperial Software   | Try WFTPD, the Windows FTP Server. Find us at
    1602 Harvest Moon Place   | http://www.wftpd.com or email alun@texis.com
    Cedar Park TX 78613-1419  | VISA/MC accepted.  NT-based sites, be sure to
    Fax/Voice +1(512)258-9858 | read details of WFTPD Pro for XP/2000/NT.
    


    Relevant Pages

    • Re: SMTP and tcp ports
      ... This ACL would permit access to the internal SMTP server (listening on TCP port 25) from external clients and servers. ... The mail clients would be using a TCP source port>1023, and external mail servers would be using TCP source port 25, or TCP source port>1023. ...
      (comp.dcom.sys.cisco)
    • Re: Craigslist Bouncing Me - Non-generic DNS
      ... I was referring to ISPs blocking TCP destination ... port 25 in their egress routers. ... a free internet where mail can be sent without ISP mailers. ... smtp server for customers to use who dont run their own or whatever, ...
      (comp.mail.sendmail)
    • strange logs -- tcp port 16166
      ... All the message has the same source, source port and same destination, = ... destination port. ... world's premier technical IT security event! ...
      (Incidents)
    • Re: Port forwarding with Putty - Im stuck
      ... I've enabled port forwarding in the sshd config file of the UNIX box. ... creating the tunnel from Putty for the server is enought.. ... Whitout making the tunnel in the server directly .. ... Destination: pop.onetel.net:110 ...
      (comp.security.ssh)
    • Re: SetSockOpt with SO_REUSEADDR parameter
      ... If he is using UDP to send, then there is ONE UDP socket to do this, and all the ... connections send messages via this one-and-only UDP port. ... When using TCP, the source port number is usually totally irrelevant, what ... When a server accepts ...
      (microsoft.public.vc.mfc)