pyradius / pyrad

Python RADIUS Implementation
BSD 3-Clause "New" or "Revised" License
294 stars 185 forks source link

No listen sockets when /etc/services is not found on debian #189

Open ObjatieGroba opened 9 months ago

ObjatieGroba commented 9 months ago

Debian 11 pyrad 1.4

When /etc/services removed.

socket.getaddrinfo('0.0.0.0', 'www') raises socket.gaierror: [Errno -8] Servname not supported for ai_socktype

pyrad got empty list in _GetAddrInfo and NO warning or error at all.

Why does pyrad use www to get addrinfo instead of port number?