Re: Question in IPsec

From: Dan McDonald (danmcd_at_Eng.Sun.COM)
Date: 05/26/05


Date: Thu, 26 May 2005 21:06:42 +0000 (UTC)

In article <1117000103.202032.209000@g44g2000cwa.googlegroups.com>,
Vivek S <viveksreevatsan@gmail.com> wrote:
<SNIP!>
>On one of the servers we have enabled IPsec ONLY for tcp, and on the
>other we have n't. So, what I expect is, that all udp packets should
>n't go through. However, tcp communication should be fine.
>The problem is, we are not able to telnet from one server to another,
>even though that uses tcp.
>
>But if both sides are changed to encryt tcp, then telnet is going
>through.

Dumb question: Are one of these servers a DNS or other UDP server for the
                other? If so, that'd explain things... one side expects
                UDP protected, the other doesn't.

Not-so-dumb question: Look for (ON BOTH SIDES):

        ACQUIRE events (with ipseckey monitor)

        dropped packet counters: "netstat -s -P ip | grep ipsec"

        SInce this is S9, look for ndd-readable IPsec ESP stats
        (ndd -get /dev/ipsecesp ipsecesp_status
        NOTE: In S10 we use the more sensible "kstat ipsecesp" instead.)

        Anything funny there before-and-after you attempt communication?

--
Daniel L. McDonald  -  Solaris Networking & Security Engineering
Mail: danmcd@east.sun.com        |  * MY OPINIONS ARE NOT NECESSARILY SUN'S! *
1 Network Drive  Burlington, MA  |"rising falling at force ten
http://blogs.sun.com/danmcd/     | we twist the world and ride the wind" - Rush


Relevant Pages

  • Re: [FATAL] Kerberos does not have a ticket for <any of my servers>
    ... they should be using TCP. ... Most of the Local servers I've been able to get the Kerberos to pass by ... I'm rebooting the Exchange 2003 Server now to get it update as well as the ...
    (microsoft.public.win2000.active_directory)
  • Re: Updates
    ... forces the max tcp window size to 64k. ... This turns off Receive Window Auto-Tuning, and prevents vista ... slow (but only when communicating with the two 2k3 sp2 servers). ...
    (microsoft.public.cert.exam.mcse)
  • new server 2003 slow login NOT a DNS problem
    ... we have a remote site that had been using Windows 2000 servers until ... UDP:138 ... TCP:445 ...
    (microsoft.public.windows.server.general)
  • Re: Automatic Updates security concern
    ... If those servers are not configured to support SSL ... on tcp 443 then the update clients will be forced to use tcp ... Is there any way of setting the AU repository so it never uses https (tcp ... clients end up ...
    (microsoft.public.security)
  • Re: major DNS hiccup
    ... Some DNS queries are done via UDP, others via TCP, so firewalling TCP is ... I see traffic passing both ways (all udp, no tcp, incidentally), and all with correct checksums, and nothing being blocked. ... What I get is nameserver reply packets from assorted unrelated servers with defects in them - either no answer record but with the question returned to me, or no answer /and/ no question. ...
    (comp.unix.bsd.freebsd.misc)