Commit Graph

21 Commits

Author SHA1 Message Date
Dolf Schimmel (Freeaqingme)
01964e5391 Merge with upstream 2015-11-24 17:49:00 +01:00
Dolf Schimmel (Freeaqingme)
0c9e549560 go fmt 2015-11-24 17:46:44 +01:00
Dolf Schimmel (Freeaqingme)
d6bf69609f Merge branch 'master' of https://github.com/leonrbaker/gomilter 2015-11-24 17:44:53 +01:00
Dolf Schimmel (Freeaqingme)
6a57e8c3fc Make gobencode() optional in SetPriv(), return errors instead of integers 2015-11-24 17:39:31 +01:00
Dolf Schimmel (Freeaqingme)
39a4baf02e Recover from errors in Go_xxfi_connect()
There appears to be a race condition in libmilter in which
hostaddr is set to nil before or while calling the connect
callback if the client aborts its connection during that
window.
2015-11-24 17:38:59 +01:00
Leon Baker
c99ec2226f Merge pull request #7 from Freeaqingme/master
Fix IPv6 addresses that sometimes caused memory stomping
2015-09-25 09:36:22 +02:00
Dolf Schimmel
00d59ae5ab Fix IPv6 addresses that sometimes caused memory stomping 2015-09-16 19:42:24 +02:00
Leon Baker
dc84b56af1 Merge pull request #6 from leonrbaker/logging
Implemented the Log package for logging
2015-09-03 12:14:40 +02:00
Leon Baker
64fb9af89b Merge pull request #5 from Freeaqingme/master
Max IPv6 address length is 45 characters, not 16
2015-09-03 12:07:19 +02:00
Dolf Schimmel (Freeaqingme)
385e5106c2 Max IPv6 address length is 45 characters, not 16
The idea was to reserve 16 bytes for an IPv6 address. But given that a human representation is used rather than a
128 bit integer, we need 45 characters at most.
2015-09-01 21:15:14 +02:00
Leon Baker
882ca25f76 Implemented the Log package for logging 2015-06-16 12:34:30 +02:00
Leon Baker
8746179952 Update README and fix sample filter 2015-06-15 16:44:41 +02:00
Leon Baker
4dc71bdbbc Merge pull request #4 from Freeaqingme/master
Implement stop(), Support IPv6, Custom log callbacks, reformatted code
2015-06-13 18:22:12 +02:00
Dolf Schimmel
a6870a91fe Also include netinet/in.h necessary for FreeBSD 2015-06-11 11:40:55 +02:00
Dolf Schimmel (Freeaqingme)
24ed8dcbc3 Add support for ipv6 2015-06-01 22:16:02 +02:00
Dolf Schimmel (Freeaqingme)
c0f4b47c5e Implement stop() 2015-06-01 00:04:36 +02:00
Dolf Schimmel (Freeaqingme)
13b82e7dd5 Reformatted code 2015-05-31 01:02:17 +02:00
Dolf Schimmel (Freeaqingme)
e0f04b92ef Allow custom logging callbacks 2015-05-31 00:57:58 +02:00
Leon Baker
d540352fdf Fix license 2015-04-08 21:10:47 +02:00
Leon Baker
b3dd71648e Initial version 2015-04-08 20:35:38 +02:00
Leon Baker
50089a9835 Initial commit 2015-04-08 20:22:12 +02:00