feat: add upstream SSH tunnel targets and Python C API for connect/peek with protocol sniffing
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
CC=gcc
|
||||
CFLAGS=-Wall -g
|
||||
CFLAGS=-Wall -g -I/usr/include/python3.14 -lpython3.14
|
||||
LDFLAGS=-lm
|
||||
OBJS=pgs.o
|
||||
TARGET=pgs
|
||||
|
||||
|
||||
upstreams:
|
||||
ssh -f -N -L 3028:127.0.0.1:3028 molodetz.nl
|
||||
ssh -f -N -L 8082:127.0.0.1:8082 molodetz.nl
|
||||
|
||||
|
||||
build:
|
||||
$(CC) pgs.c $(CFLAGS) $(LDFLAGS) -o $(TARGET)
|
||||
|
||||
@@ -12,4 +17,4 @@ run: build
|
||||
./$(TARGET)
|
||||
|
||||
clean:
|
||||
rm -f $(OBJS) $(TARGET)
|
||||
rm -f $(OBJS) $(TARGET)
|
||||
|
||||
Reference in New Issue
Block a user