Browse Source

renamed slitheen-proxy.c to slitheen.c

cecylia 6 years ago
parent
commit
0a1447332c
4 changed files with 7 additions and 7 deletions
  1. 3 3
      relay_station/Makefile
  2. 1 1
      relay_station/README
  3. 1 1
      relay_station/flow.c
  4. 2 2
      relay_station/slitheen.c

+ 3 - 3
relay_station/Makefile

@@ -1,12 +1,12 @@
 CFLAGS=-g -ggdb -Wall -std=gnu99 -DDEBUG_DOWN -DDEBUG_PROXY -DRESOURCE_DEBUG -DDEBUG_HS
 
-TARGETS=slitheen-proxy
+TARGETS=slitheen
 
 all: $(TARGETS)
 
-slitheen-proxy.o flow.o ptwist168.o crypto.o relay.o cryptothread.o util.o:: ptwist.h flow.h slitheen.h crypto.h relay.h cryptothread.h util.h
+slitheen.o flow.o ptwist168.o crypto.o relay.o cryptothread.o util.o:: ptwist.h flow.h slitheen.h crypto.h relay.h cryptothread.h util.h
 
-slitheen-proxy: slitheen-proxy.o flow.o ptwist168.o crypto.o relay.o cryptothread.o util.o relay.h crypto.h ptwist.h flow.h slitheen.h cryptothread.h util.h
+slitheen: slitheen.o flow.o ptwist168.o crypto.o relay.o cryptothread.o util.o relay.h crypto.h ptwist.h flow.h slitheen.h cryptothread.h util.h
 	gcc -g -ggdb -o $@ $^ -L/usr/local/lib -I/usr/local/include -lssl -lcrypto -lpcap -lpthread -ldl
 
 clean:

+ 1 - 1
relay_station/README

@@ -8,4 +8,4 @@ To generate keys:
 Make and run genkeys from telex-tag-v3
 
 To run:
-./slitheen-proxy [interface to client] [interface to world]
+./slitheen [interface to client] [interface to world]

+ 1 - 1
relay_station/flow.c

@@ -1193,7 +1193,7 @@ int save_session_ticket(flow *f, uint8_t *hs, uint32_t len){
 /* Adds a (handshake) packet to the flow's packet chain. If it can complete a record, passes
  * this record to update_flow
  *
- * Note: the code in slitheen-proxy.c should ensure that this function only ever gets the next
+ * Note: the code in slitheen.c should ensure that this function only ever gets the next
  * expected sequence number
  */
 int add_packet(flow *f, struct packet_info *info){

+ 2 - 2
relay_station/slitheen-proxy.c → relay_station/slitheen.c

@@ -1,4 +1,4 @@
-/* Name: slitheen-proxy.c 
+/* Name: slitheen.c 
  *
  * Slitheen - a decoy routing system for censorship resistance
  * Copyright (C) 2017 Cecylia Bocovich (cbocovic@uwaterloo.ca)
@@ -50,7 +50,7 @@ void update_window_expiration(flow *f, struct packet_info *info);
 void retransmit(flow *f, struct packet_info *info, uint32_t data_to_fill);
 
 void usage(void){
-    printf("Usage: slitheen-proxy [internal network interface] [NAT interface]\n");
+    printf("Usage: slitheen [internal network interface] [NAT interface]\n");
 }
 
 int main(int argc, char *argv[]){