<div dir="ltr"><div class="gmail_default" style="color:rgb(0,0,0)">Hello,</div><div class="gmail_default" style="color:rgb(0,0,0)"> </div><div class="gmail_default" style="color:rgb(0,0,0)">I'm trying for sometime now to get this to work with no luck.</div>
<div class="gmail_default" style="color:rgb(0,0,0)"> </div><div class="gmail_default" style="color:rgb(0,0,0)">the details as below:</div><div class="gmail_default" style="color:rgb(0,0,0)"> </div><div class="gmail_default" style="color:rgb(0,0,0)">
strongswan version: 5.1.0</div><div class="gmail_default" style="color:rgb(0,0,0)">freeradius version: 2.2.0</div><div class="gmail_default" style="color:rgb(0,0,0)"> </div><div class="gmail_default" style="color:rgb(0,0,0)">
strongswan.conf:</div><div class="gmail_default" style="color:rgb(0,0,0)">charon {<br> threads = 16<br> plugins {</div><div class="gmail_default" style="color:rgb(0,0,0)"> attr {<br> dns= 8.8.8.8, 8.8.4.4<br>
}</div><div class="gmail_default" style="color:rgb(0,0,0)"> eap-radius {<br> eap_start = no<br> accounting = yes<br> servers {<br> server1 {<br>
address = xxx.xxx.xxx.xxx</div><div class="gmail_default" style="color:rgb(0,0,0)"> secret = secret<br> }<br> }<br>
dae {<br> listen = 0.0.0.0 # listen address, default to all<br> port = 3799 # port to listen for requests, default<br> secret = secret</div>
<div class="gmail_default" style="color:rgb(0,0,0)"> }<br> }</div><div class="gmail_default" style="color:rgb(0,0,0)">}</div><div class="gmail_default" style="color:rgb(0,0,0)">pluto {</div><div class="gmail_default" style="color:rgb(0,0,0)">
}</div><div class="gmail_default" style="color:rgb(0,0,0)"> libstrongswan {</div><div class="gmail_default" style="color:rgb(0,0,0)"> }<br>}<br></div><div class="gmail_default" style="color:rgb(0,0,0)">I used the radclient command:</div>
<div class="gmail_default" style="color:rgb(0,0,0)">cat packet.txt | radclient -r 1 yyy.yyy.yyy.yyy:3799 disconnect ''secret''</div><div class="gmail_default" style="color:rgb(0,0,0)"> </div><div class="gmail_default" style="color:rgb(0,0,0)">
whereby the packet.txt contents are:</div><div class="gmail_default" style="color:rgb(0,0,0)">Acct-Session-Id = "1385022396-2"<br>NAS-IP-Address = yyy.yyy.yyy.yyy<br>User-Name = "username"</div><div class="gmail_default" style="color:rgb(0,0,0)">
</div><div class="gmail_default" style="color:rgb(0,0,0)">(the Acct-Session-Id were taken from the Accounting-Request sent from strongswan server to radius server)</div><div class="gmail_default" style="color:rgb(0,0,0)">
</div><div class="gmail_default" style="color:rgb(0,0,0)">the output of the radclient command is:</div><div class="gmail_default" style="color:rgb(0,0,0)">radclient: no response from server for ID 182 socket 3 </div><div class="gmail_default" style="color:rgb(0,0,0)">
</div><div class="gmail_default" style="color:rgb(0,0,0)">the tcpdump on the strongswan server output is:</div><div class="gmail_default" style="color:rgb(0,0,0)">03:53:25.821257 IP xxx.xxx.xxx.xxx.39663 > yyy.yyy.yyy.yyy.radius-dynauth: UDP, length 98<br>
03:53:25.821300 IP yyy.yyy.yyy.yyy > xxx.xxx.xxx.xxx: ICMP yyy.yyy.yyy.yyy udp port radius-dynauth unreachable, length 134</div><div class="gmail_default" style="color:rgb(0,0,0)"> </div><div class="gmail_default" style="color:rgb(0,0,0)">
radius-dynauth port defined in /etc/services as 3799.</div><div class="gmail_default" style="color:rgb(0,0,0)"> </div><div class="gmail_default" style="color:rgb(0,0,0)">The device connects perfectly to the strongswan server, of course the strongswan is authenticating as required from the radius server using the eap-radius plugin, accounting requests and response are working and active, everything works except for the disconnect requests.</div>
<div class="gmail_default" style="color:rgb(0,0,0)"> </div><div class="gmail_default" style="color:rgb(0,0,0)">Your support in solving this would be highly appreciated.</div><div class="gmail_default" style="color:rgb(0,0,0)">
</div><div class="gmail_default" style="color:rgb(0,0,0)"> </div><div class="gmail_default" style="color:rgb(0,0,0)">Regards,<br><br>Banan Aburrobb<br></div>
</div>