No subject


Thu May 10 15:10:22 EDT 2012


impression that wpa_supplicant is not driver/interface dependent. SO what
do you suggest about using the wpa_supplicant with driver= wired or
driver=test and interface=eth0 to connect with with the hostapd in the LAN
environment. Will it work and if so, can wpa_suplicant  scan the SSID of
network (advertised by Hostapd ) in the LAN environment?

ABout the driver_test, it is said that it can be used to directly test
wpa_supplicant with hosapd without involving any hardware. So, do you
suggest I can do something  with it. (again the question is of scanning the
SSID advertised by hostapd) by wpa_supplicant to do the association on the
LAN environment.

Apart from this, there was another test directory package (eap_example)
where the test program is written for EAP-Peer and EAP-Server usage for
EAP-PEAP etc testing. I could not find that directory in
hostapd/wpa_supplicant0.7.3. I have got it from some git repo and what I
understood from the code, it is still using "EAPOL call backs" in it as
well.

Any pointer that which can be appropriate way in the wpa_supplicant or
hostapd package  to introduce the TCP interface (instead of EAPOL) between
EAP-Peer and RAdius Client/EAP Server/AP for EAP-SIM testing ?

BR;
AAMER

On Sat, Aug 4, 2012 at 10:47 AM, Jouni Malinen <j at w1.fi> wrote:

> On Fri, Aug 03, 2012 at 06:14:36PM +0200, Aamer Sattar wrote:
> > For the Radius packets, they are sent/received over UDP. But what about
> the
> > EAP-Requests/Responses. Are they sent/received between EAP-Peer and
> Radius
> > Client over TCP/Unix socket/UDP in eapol_test??
>
> eapol_test handles that internally with direct function calls.
>
> > I want to  transport EAP  messages over TCP connection between EAP-Peer
> and
> > Radius Client for EAP-SIM testing.
>
> Why with TCP?
>
> > About the preauth_test, Can I use it for EAP-SIm testing between EAP-Peer
> > and Eap-Server?
>
> Yes, but it won't use TCP (it uses a special ethertype reserved for this
> purpose).
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>

--20cf3071cd048df58b04c685a76e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Hi again,</div><div>Actually I want to use TCP to mimic the concept of=
 WISPr (which use HTTP). SO I want to use TCP interface between EAP-Peer an=
d Radius Client /AP/EAP-Server. In eapol_test, underneath it is using EAPOL=
 between EAP Peer and Radius Client (if I understand the code functionality=
, although EAP-Peer is used with the direct function calls), right? </div>
<div>=A0</div><div>From the hostapd and wpa_supplicant description, I have =
got this impression=A0that wpa_supplicant is not driver/interface dependent=
. SO what do you suggest about using the wpa_supplicant with driver=3D wire=
d or driver=3Dtest and interface=3Deth0=A0to connect with with the hostapd=
=A0in the LAN environment. Will it work and if so, can=A0wpa_suplicant =A0s=
can the SSID of network (advertised by Hostapd )=A0in the LAN environment?<=
/div>
<div>=A0</div><div>ABout the driver_test, it is said that it can be used to=
 directly test wpa_supplicant with hosapd without involving any hardware. S=
o, do you suggest I can do something=A0 with it. (again the question is of =
scanning the SSID advertised by hostapd) by wpa_supplicant to do the associ=
ation on the LAN environment.</div>
<div>=A0</div><div>Apart from this, there was another test directory packag=
e (eap_example) where the test program is written for EAP-Peer and EAP-Serv=
er=A0usage for EAP-PEAP etc testing. I could not find that directory in hos=
tapd/wpa_supplicant0.7.3. I have got it from some git repo and what I under=
stood from the code, it is still using &quot;EAPOL call backs&quot; in it a=
s well.</div>
<div>=A0</div><div>Any pointer that which can be appropriate way in the wpa=
_supplicant or hostapd=A0package =A0to introduce the TCP interface (instead=
 of EAPOL) between EAP-Peer and RAdius Client/EAP Server/AP for EAP-SIM tes=
ting ?</div>
<div>=A0</div><div>BR;<br>AAMER</div><div>=A0</div><div class=3D"gmail_quot=
e">On Sat, Aug 4, 2012 at 10:47 AM, Jouni Malinen <span dir=3D"ltr">&lt;<a =
href=3D"mailto:j at w1.fi" target=3D"_blank">j at w1.fi</a>&gt;</span> wrote:<br>=
<blockquote style=3D"margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-=
color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class=
=3D"gmail_quote">

<div>On Fri, Aug 03, 2012 at 06:14:36PM +0200, Aamer Sattar wrote:<br>
&gt; For the Radius packets, they are sent/received over UDP. But what abou=
t the<br>
&gt; EAP-Requests/Responses. Are they sent/received between EAP-Peer and Ra=
dius<br>
&gt; Client over TCP/Unix socket/UDP in eapol_test??<br>
<br>
</div>eapol_test handles that internally with direct function calls.<br>
<div><br>
&gt; I want to =A0transport EAP =A0messages over TCP connection between EAP=
-Peer and<br>
&gt; Radius Client for EAP-SIM testing.<br>
<br>
</div>Why with TCP?<br>
<div><br>
&gt; About the preauth_test, Can I use it for EAP-SIm testing between EAP-P=
eer<br>
&gt; and Eap-Server?<br>
<br>
</div>Yes, but it won&#39;t use TCP (it uses a special ethertype reserved f=
or this<br>
purpose).<br>
<div><div><br>
--<br>
Jouni Malinen =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0PGP id EFC895FA<br>
_______________________________________________<br>
HostAP mailing list<br>
<a href=3D"mailto:HostAP at lists.shmoo.com" target=3D"_blank">HostAP at lists.sh=
moo.com</a><br>
<a href=3D"http://lists.shmoo.com/mailman/listinfo/hostap" target=3D"_blank=
">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
</div></div></blockquote></div><br>

--20cf3071cd048df58b04c685a76e--


More information about the HostAP mailing list