Changeset 1490
- Timestamp:
- 12/12/07 11:19:31 (9 months ago)
- Files:
-
- honeytrap/trunk/src/attack.c (modified) (1 diff)
- honeytrap/trunk/src/dynsrv.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeytrap/trunk/src/attack.c
r1489 r1490 102 102 103 103 if (!a_size) { 104 addr = (struct in_addr *) &(a->a_conn. r_addr);104 addr = (struct in_addr *) &(a->a_conn.l_addr); 105 105 logmsg(LOG_NOTICE, 1, " * %u/%s\t No bytes received from %s:%u.\n", 106 106 (uint16_t) a->a_conn.l_port, PROTO(a->a_conn.protocol), 107 107 inet_ntoa(*addr), a->a_conn.r_port); 108 108 } else { 109 addr = (struct in_addr *) &(a->a_conn. r_addr);109 addr = (struct in_addr *) &(a->a_conn.l_addr); 110 110 logmsg(LOG_NOTICE, 1, " * %u/%s\t %d bytes attack string from %s:%u.\n", 111 111 (uint16_t) a->a_conn.l_port, PROTO(a->a_conn.protocol), a_size, honeytrap/trunk/src/dynsrv.c
r1440 r1490 240 240 241 241 /* update remote endpoint information for attack structure */ 242 if (getpeername 243 (connection_fd, (struct sockaddr *) &cliaddr, 242 if (getpeername(connection_fd, (struct sockaddr *) &cliaddr, 244 243 &cliaddr_len) < 0) { 245 244 if (errno == EINTR)
