samuraictf / gatekeeper

GATEKEEPER: Inline and on-target defense
119 stars 15 forks source link

Logging broken #8

Closed bool101 closed 9 years ago

bool101 commented 9 years ago

-o option should be sending Log() strings over UDP, looks like destination IP is 0.0.0.0 despite argument being set to -o 127.0.0.1:8888

zxkevn commented 9 years ago

fixed. setup_logsocket() now parses the log server string correctly. it also now calls connect() on the socket, allowing use to use plain 'ol write() on the socket fd.