Ping

2003-02-06 Thread Clint Chaplin
Test Clint (JOATMON) Chaplin Maurice Wilkes recalls in his memoirs, "By June 1949, people had begun to realize that it was not so easy to get a program right as had at one time appeared. I well remember when this realization first came on me with full force. The EDSAC was on the top floor o

ping for kdc utility?

2014-04-02 Thread Wang Shouhua
Is there such an utility which can issue a "ping" (null command) to the kdc to see if it is still responding? Wang -- Wang Shouhua - shouh...@gmail.com 中华人民共和国科学技术部 - HTTP://WWW.MOST.GOV.CN Kerberos mailing list Kerberos@mit

Re: ping for kdc utility?

2014-04-02 Thread Benjamin Kaduk
On Wed, 2 Apr 2014, Wang Shouhua wrote: > Is there such an utility which can issue a "ping" (null command) to > the kdc to see if it is still responding? I'm not aware of a dedicated utility. However, the KDC is basically a stateless UDP service, so recording a live tran

Re: ping for kdc utility?

2014-04-02 Thread Wang Shouhua
On 2 April 2014 21:46, Benjamin Kaduk wrote: > On Wed, 2 Apr 2014, Wang Shouhua wrote: > >> Is there such an utility which can issue a "ping" (null command) to >> the kdc to see if it is still responding? > > > I'm not aware of a dedicated utility. Howev

Re: ping for kdc utility?

2014-04-02 Thread Chris Hecker
I use kadm5_get_privs as a ping for an admin perl script, see this thread: http://mailman.mit.edu/pipermail/kerberos/2012-February/017811.html Chris On 2014-04-02 12:46, Benjamin Kaduk wrote: > On Wed, 2 Apr 2014, Wang Shouhua wrote: > >> Is there such an utility which can i

Re: ping for kdc utility?

2014-04-02 Thread Tom Yu
Wang Shouhua writes: > On 2 April 2014 21:46, Benjamin Kaduk wrote: >> On Wed, 2 Apr 2014, Wang Shouhua wrote: >> >>> Is there such an utility which can issue a "ping" (null command) to >>> the kdc to see if it is still responding? >> >>

Re: ping for kdc utility?

2014-04-02 Thread Brandon Allbery
On Wed, 2014-04-02 at 12:57 -0700, Chris Hecker wrote: > I use kadm5_get_privs as a ping for an admin perl script, see this thread: > > http://mailman.mit.edu/pipermail/kerberos/2012-February/017811.html That does not test the KDC, it tests kadmind. -- brandon s allb

Re: ping for kdc utility?

2014-04-02 Thread Wang Shouhua
On 2 April 2014 22:01, Tom Yu wrote: > Wang Shouhua writes: > >> On 2 April 2014 21:46, Benjamin Kaduk wrote: >>> On Wed, 2 Apr 2014, Wang Shouhua wrote: >>> >>>> Is there such an utility which can issue a "ping" (null command) to >>&g

Re: ping for kdc utility?

2014-04-02 Thread Russ Allbery
Wang Shouhua writes: > To see if the KDC is still 'alive and kicking'. Apparently some > students-as-admins here spend the night trying to find a problem in our > Kerberos setup the whole night and they are very exhausted. The problem > turned out to be a switch/firewall problem which caused the

Re: ping for kdc utility?

2014-04-02 Thread Chris Hecker
Ah. Right, sorry! Chris On Apr 2, 2014 1:08 PM, "Brandon Allbery" wrote: > On Wed, 2014-04-02 at 12:57 -0700, Chris Hecker wrote: > > I use kadm5_get_privs as a ping for an admin perl script, see this > thread: > > > > http://mailman.mit.edu/pipermail/

Re: ping for kdc utility?

2014-04-02 Thread Nico Williams
http://oskt.secure-endpoints.com/k5ping.html https://github.com/elric1/k5ping Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Re: ping for kdc utility?

2014-04-02 Thread Thomas Kula
On Wed, Apr 02, 2014 at 09:19:00PM +0200, Wang Shouhua wrote: > Is there such an utility which can issue a "ping" (null command) to > the kdc to see if it is still responding? > The last time I was responsible for such a thing, I wrote a script that did the following: - Usi

Re: ping for kdc utility?

2014-04-03 Thread Elia Pinto
I am written a script for this. I can share if interested. Best regards Il 02/apr/2014 21:24 "Wang Shouhua" ha scritto: > Is there such an utility which can issue a "ping" (null command) to > the kdc to see if it is still responding? > > Wang > -- > Wang Sh

Re: ping for kdc utility?

2014-04-05 Thread Andrea Campi
/hostname principals :) On Thu, Apr 3, 2014 at 7:29 AM, Elia Pinto wrote: > I am written a script for this. I can share if interested. > > Best regards > Il 02/apr/2014 21:24 "Wang Shouhua" ha scritto: > > > Is there such an utility which can issue a "ping" (

Challenging clients, why another ping-pong?

2014-02-03 Thread Rick van Rein
Hello, GSSAPI-based protocols have an option of challenging a client with a counter value. This is done after the client submits a ticket. Looking at SPNEGO (and probably other protocols as well) I see that the server can take the initiative for an GSSAPI exchange, and when doing so, it could

Re: Challenging clients, why another ping-pong?

2014-02-03 Thread Greg Hudson
On 02/03/2014 09:41 AM, Rick van Rein wrote: > Looking at SPNEGO (and probably other protocols as well) I see that the > server can take the initiative for an GSSAPI exchange, and when doing so, it > could already challenge the client. What are you looking at specifically? GSSAPI exchanges begi

Re: Challenging clients, why another ping-pong?

2014-02-04 Thread Rick van Rein
Hello Greg, > What are you looking at specifically? GSSAPI exchanges begin with the > client. I thought you might say that. I was looking at SPNEGO, which embeds GSSAPI but where the initiative is (usually) taken by the server. It’s a waste that SPNEGO doesn’t communicate a challenge at that

Re: Challenging clients, why another ping-pong?

2014-02-05 Thread Nico Williams
On Tue, Feb 4, 2014 at 5:58 AM, Rick van Rein wrote: > Hello Greg, > >> What are you looking at specifically? GSSAPI exchanges begin with the >> client. > > I thought you might say that. I was looking at SPNEGO, which embeds GSSAPI > but where the initiative is (usually) taken by the server. I

Re: Challenging clients, why another ping-pong?

2014-02-06 Thread Rick van Rein
Hi Nico, Thanks for your extensive response! > GSS-API exchanges always begin with an initial security context token. > SPNEGO can carry an initial security context token for an > optimistically selected mechanism. In my RFC 4599 it says "The initial WWW-Authenticate header will not carry any g

Re: Challenging clients, why another ping-pong?

2014-02-06 Thread Greg Hudson
On 02/06/2014 08:42 AM, Rick van Rein wrote: > In my RFC 4599 it says "The initial WWW-Authenticate header will not carry > any gssapi-data.” and I was wondering if I missed some cryptographic reason > to delay the challenge until later. Some terminology clarification is in order: * SPNEGO (RFC

Re: Challenging clients, why another ping-pong?

2014-02-06 Thread Rick van Rein
Hi Greg, Thanks, the terminology has indeed been confusing to me. I suppose things are as they are — or, as they have grown. Thanks, -Rick Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Re: Challenging clients, why another ping-pong?

2014-02-06 Thread Russ Allbery
Rick van Rein writes: > Thanks, the terminology has indeed been confusing to me. I suppose > things are as they are — or, as they have grown. The short but less polite version is that HTTP-Negotiate with SPNEGO is a horrible hack from a Kerberos perspective. It sort of works as long as you kno

Re: Challenging clients, why another ping-pong?

2014-02-06 Thread Nico Williams
I brain-o'ed on privacy protection. I understand what you meant now. See what Greg and Russ have to say. But I'll add a piece here as well: - HTTP is not a simple protocol: there are proxies and routers involved. - HTTP servers often act as routers. - There can be many hops. - A notional