Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CentOS, freeradius and UDP

Status
Not open for further replies.

chieftan

MIS
Dec 18, 2002
292
GB
Hi,

I may be writing this in the wrong area but hopefully not.

We are using a CentOS server running freeradius for proxy authentication. In other words the WLC forwards the authentication request to this AAA server, which in turn proxys the requests to a national Radius Server.

Normally this system is bullet proof, however, we are now seeing an issue on the firewall regarding the UDP packets as shown below:

Built inbound UDP connection 740092071 for eduroam_clients:193.168.223.251/7938 (193.168.223.251/7938) to
internet:103.240.141.54/6000 (103.240.141.54/6000)

Having checked these addresses they belong to : Germany (193 address) and Hong Kong (103 address).

Thousands of these are being received per second but when the interface on the firewall is shutdown, all is okay again.

Has anyone seen this behaviour before, or at least be able to tell me why turning on the interface would produce these results?

Thanks
 
If the interface is closed the firewall will be dropping the requests.

If there is no reason those IPs should be even trying to access the server;

$ iptables -A INPUT -p UDP -s 193.168.128.0/17 -j DROP
$ iptables -A INPUT -p UDP -s 103.240.140.1/32 -j DROP
$ iptables -A INPUT -p UDP -s 103.240.140.2/31 -j DROP
$ iptables -A INPUT -p UDP -s 103.240.140.4/30 -j DROP
$ iptables -A INPUT -p UDP -s 103.240.140.8/29 -j DROP
$ iptables -A INPUT -p UDP -s 103.240.140.16/28 -j DROP
$ iptables -A INPUT -p UDP -s 103.240.140.32/27 -j DROP
$ iptables -A INPUT -p UDP -s 103.240.140.64/26 -j DROP
$ iptables -A INPUT -p UDP -s 103.240.140.128/25 -j DROP
$ iptables -A INPUT -p UDP -s 103.240.141.0/24 -j DROP
$ iptables -A INPUT -p UDP -s 103.240.142.0/24 -j DROP

Should fix it. :)

CIDRs from
Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top