[Plugin] Isup plug-in
#4

Quote:
Originally Posted by Abagail
View Post
Hello lads,


The only bug I found while testing is that if you use a hostname, the server will get an exception and crash. The fix for this is to just use the numeric IP address until the issue has been resolved.

UPDATE: This seems to be actually caused when an invalid IP addressed is passed. A IP validation check will be added in future versions, but for now be careful of the IP's you allow / place in the function.
It crashes due to 'query.cpp'. When creating socket, 'inet_addr' used to convert ip_adress into host_adress. But you can use it with 'IPV4' (0.0.0.0). To get host adress from hostname, you have to use getaddrinfo
Reply


Messages In This Thread
Isup plug-in - by Abagail - 28.02.2015, 20:37
Re: Isup plug-in - by ConnorHunter - 07.03.2015, 17:52
Re: Isup plug-in - by Abagail - 07.03.2015, 17:55
Re: Isup plug-in - by Rancho - 07.03.2015, 18:04
Re: Isup plug-in - by Abagail - 07.03.2015, 18:11
Re: Isup plug-in - by Rancho - 08.03.2015, 17:27
Re: Isup plug-in - by Abagail - 08.03.2015, 18:41
Re: Isup plug-in - by Abagail - 10.03.2015, 21:35
Re: Isup plug-in - by RebeloX - 10.03.2015, 21:44
Re: Isup plug-in - by Abagail - 10.03.2015, 21:48

Forum Jump:


Users browsing this thread: 1 Guest(s)