1
Ilya Bakulin 2a338c9e80 net: Support for IPv6, correctly validate IP addresses
Since socket.gethostbyname_ex() doesn't support IPv6, switch to using
socket.getaddrinfo()

Additionally validate IP addresses using inet_pton() instead of simply
counting dots in the string. Counting dots fails if the domain name
contains 3 dots (www6.mail.bakulin.de) and doesn't work with IPv6.

Unfortunately we cannot use ipaddress module because it's available
only in Python 3.
2014-10-29 15:22:16 +01:00
2014-10-26 22:44:18 +02:00
2014-07-12 15:53:18 +04:00
2014-05-01 14:07:44 +04:00
2014-05-19 22:08:38 +04:00
2014-05-01 14:07:44 +04:00
2014-05-01 14:07:44 +04:00
2014-05-01 14:07:44 +04:00
2014-05-01 14:07:44 +04:00
2014-07-11 20:39:45 +04:00
2014-05-18 10:17:22 +04:00

4th version of iSida bot

What's new?

  • AI parser for messages!
  • Developer tools are included.

More info:


Copyright 2oo9..2o14 by diSabler under GPLv3 Licence

Description
XMPP bot
Readme 4.1 MiB
Languages
Python 99.5%
CSS 0.4%
Shell 0.1%