Skip to content

Commit

Permalink
Working TCP proxy.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarske committed Feb 3, 2022
1 parent 2f92436 commit f868577
Show file tree
Hide file tree
Showing 3 changed files with 770 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
udp_proxy
*.suo
*.sdf
*.user
Expand All @@ -7,3 +6,6 @@ x64
Win32
Release
Debug
*.o
udp_proxy
tcp_proxy
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
CC=gcc
WOLF_INSTALL_DIR=/usr/local
CFLAGS=-I$(WOLF_INSTALL_DIR)/include -Wall
LIBS=-L$(WOLF_INSTALL_DIR)/lib -lwolfssl -levent

all:udp_proxy tcp_proxy

udp_proxy:udp_proxy.o
$(CC) -o $@ $^ $(CFLAGS) $(CPPFLAGS) $(LIBS)

tcp_proxy:tcp_proxy.o
$(CC) -o $@ $^ $(CFLAGS) $(CPPFLAGS) $(LIBS)

.PHONY: clean all

clean:
rm -f *.o udp_proxy tcp_proxy
Loading

0 comments on commit f868577

Please sign in to comment.