From 3d7bf5253af49db6436261fadaea7b5fc85be03a Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Sat, 9 Jul 2016 08:20:11 -0400 Subject: Remove old debugging message, adjust TODO. --- doc/PORTABILITY | 5 ++--- doc/TODO | 4 +++- src/client.c | 1 - 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/PORTABILITY b/doc/PORTABILITY index fec5deb..630671b 100644 --- a/doc/PORTABILITY +++ b/doc/PORTABILITY @@ -1,6 +1,5 @@ -Most C99 + POSIX systems should be supported. Windows is not, since it does not -support Unix-style events, and (although this is a minor concern) it does not -support sendmsg and recvmsg. +Most C99 + POSIX systems should be supported. Windows is not supported yet +because Microsoft has blocked sending TCP through raw sockets. In addition, since this program depends on libev, the portability requirements of libev must be satisfied: diff --git a/doc/TODO b/doc/TODO index 3b53c59..c932449 100644 --- a/doc/TODO +++ b/doc/TODO @@ -1,3 +1,5 @@ +- add pcap receiving support + - verify checksums - add LD_PRELOAD support @@ -8,7 +10,7 @@ - change some of the tiny hash tables to linked lists -- add pcap support +- add pcap sending support - add fake TCP options diff --git a/src/client.c b/src/client.c index 447bd0b..94c6e5d 100644 --- a/src/client.c +++ b/src/client.c @@ -230,7 +230,6 @@ static void cc_cb(struct ev_loop *loop, ev_io *w, int revents __attribute__((unu while ((rsz = recvfrom(w->fd, rbuf, sizeof(rbuf), 0, (struct sockaddr *)&rsock->c_data->pkt_addr, &pkt_addrlen)) != -1) { DBG("received %zd raw bytes on client", rsz); - DBG("%u %zu", pkt_addrlen, sizeof(struct sockaddr_in6)); if (pkt_addrlen > sizeof(struct sockaddr_in6)) abort(); -- cgit v1.2.3-54-g00ecf