JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for MOONSHOT-DEV Archives


MOONSHOT-DEV Archives

MOONSHOT-DEV Archives


MOONSHOT-DEV@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

MOONSHOT-DEV Home

MOONSHOT-DEV Home

MOONSHOT-DEV  November 2013

MOONSHOT-DEV November 2013

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Moonshot & libradsec retransmission problem

From:

Alejandro Perez Mendez <[log in to unmask]>

Date:

Mon, 11 Nov 2013 17:11:54 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (83 lines)

El 11/11/13 14:45, Linus Nordberg escribió:
> Alejandro Perez Mendez <[log in to unmask]> wrote
> Fri, 8 Nov 2013 12:18:38 +0100:
>
> | Hello,
> |
> | I'm facing some problems with libradsec and retransmissions. The
> | situation is the following: as all my previous tests were driven in
> | local networks, the likelihood of losing a RADIUS packet was
> | low. However, now I'm doing my tests through the eduroam
> | infrastructure, and packet loss is a reality.
> |
> | What I have observed is that when an Access-Request RADIUS packet is
> | lost, libradsec sends a retransmission packet, but it seems to fail
> | handling the response. This results into the following situation:
> |
> | RP ---> AAA: Access-Request lost
> | RP ---> AAA: Access-Request retransmission
> | RP <--- AAA: Access-Challenge unhandled by RP
> | RP ---> AAA: Access-Request retransmission
> | RP <--- AAA: Access-Reject due to session closed
>
> The pcap file shows something similar but different:
>
> 00.00 cli -> srv Access-Request
> 00.14 srv -> cli Access-Challenge
> 00.04 cli -> srv Access-Request
> 00.14 srv -> cli Access-Challenge
> 00.04 cli -> srv Access-Request
> 01.11 srv -> cli Access-Challenge
> 00.04 cli -> srv Access-Request
> 02.07 cli -> srv Access-Request
> 00.02 srv -> cli Access-Challenge
> 06.25 cli -> srv Access-Request
> 01.16 srv -> cli Access-Reject
> 14.60 cli -> srv Access-Request
> 01.16 srv -> cli Access-Reject

I just summarized. But for me they are the same case.

00.04 cli -> srv Access-Request (LOST)
02.07 cli -> srv Access-Request (Retransmission that arrives)
00.02 srv -> cli Access-Challenge (Response to retransmission)
06.25 cli -> srv Access-Request (Second retransmission since it didn't 
notice there were a response already)
01.16 srv -> cli Access-Reject (Reject as this second retransmission 
related to an expired EAP session)
14.60 cli -> srv Access-Request (Third retransmission, since it didn't 
even notice the Access-Reject)
01.16 srv -> cli Access-Reject (Reject as this third retransmission is 
related to an expired EAP session)

> Have you verified that you indeed have packet losses, f.ex. by looking
> at traffic at the server?

Yes, I did. The packet does not arrive to the AAA server, just the first 
and subsequent retransmission do.

> libradsec doesn't handle Access-Challenge at all -- it simply verifies
> the response authenticator and sends it upwards in the stack.

My impression is that it is related to the lower network operation 
(socket related), not with the packet processing. Indeed, note that it 
fails equally processing Challenges and Rejects. It just omit the 
received packet and keeps retransmitting previous Request.

> Do we know
> that authenticating with a server that is sending Access-Challenge works
> when we don't think that we have packet loss?
>

Sorry, I did not get this question.

Thanks for your response.

Regards,
Alejandro

> | Besides, and maybe related, all the RADIUS requests coming out from
> | the RP are sent with the Identifier field set to 0.
>
> I think that's a good thing. For retransmissions, I mean.

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2022
December 2021
October 2021
September 2021
August 2021
June 2021
April 2021
February 2021
January 2021
December 2020
November 2020
October 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
April 2018
February 2018
January 2018
December 2017
November 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
February 2017
January 2017
December 2016
October 2016
September 2016
August 2016
June 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
August 2015
July 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager