1
0
mirror of https://code.semirocket.science/wrapsix synced 2024-11-23 16:20:17 +02:00
Commit Graph

85 Commits

Author SHA1 Message Date
Michal Zima
9ac06588a8 Revised radix tree
Dropped chunker duplication and created one universal
Rewritten function for deleting entries from the tree
  (limiting the tree to 32 levels)
2012-04-27 15:25:29 +02:00
Michal Zima
d7e506abed Fixed comparing of signed and unsigned numbers 2012-04-27 14:44:09 +02:00
Michal Zima
7012d02ab4 Incorrect computing of packet size caused SIGSEGV 2012-04-27 14:43:09 +02:00
Michal Zima
b28566bc64 Fragmenting of too big TCPv4 packets 2012-04-26 13:50:13 +02:00
Michal Zima
32deb4f0ee Corrected headers of UDP and TCP functions 2012-04-26 13:11:40 +02:00
Michal Zima
0f0816953c Little README 2012-04-26 13:09:29 +02:00
Michal Zima
e35adde820 Partial checksum updates for TCP and UDP 2012-04-13 20:04:01 +02:00
Michal Zima
88882ea5ca Processing of TCP packets 2012-04-07 11:49:26 +02:00
Michal Zima
495d68296a Fixed IPv4 checksum computation
Added missing checksum recheck in UDP
2012-04-06 23:23:00 +02:00
Michal Zima
d6f93792cd Full processing of UDP packets 2012-04-06 17:02:40 +02:00
Michal Zima
0157236357 ICMP structures __packed__ 2012-04-02 19:56:49 +02:00
Michal Zima
2cf43864d7 Git ignoring generated documentation 2012-04-02 19:51:28 +02:00
Michal Zima
32e4041883 Added -pedantic gcc flag 2012-04-02 14:10:40 +02:00
Michal Zima
1196c33bee Full processing of ICMP packets (v4 and v6); NDP
IPv4 header and pseudoheader
Basic preprocessing of IPv4 packets
2012-04-02 13:44:14 +02:00
Michal Zima
4b6a373019 Fixed generation of outgoing port in the NAT
Saving MAC address to the NAT too
2012-04-01 19:08:28 +02:00
Michal Zima
19d5a22c18 Checksum computation 2012-04-01 16:22:54 +02:00
Michal Zima
aee57c680a Fixed 4-to-6 and 6-to-4 IP address translators 2012-04-01 08:24:25 +02:00
Michal Zima
378f34ec64 Processing of ARP packets 2012-03-31 18:47:27 +02:00
Michal Zima
845f5c541b Getting MAC address of the interface
Set IPv4 address of WrapSix
2012-03-31 14:10:35 +02:00
Michal Zima
d44253f5ed Basic preprocessing of IPv6 packets; pseudoheader 2012-03-31 11:27:18 +02:00
Michal Zima
94cbbb5c53 Added transmission function for IPv4 packets
This one lets OS to provide the ethernet header
2012-03-29 22:03:57 +02:00
Michal Zima
b9d5b08b0f Missing include in transmitter.c 2012-03-26 12:58:18 +02:00
Michal Zima
476377526f Updated src/Makefile.am 2012-03-26 12:56:17 +02:00
Michal Zima
5928affce6 RAW packet transmission function 2012-03-26 12:53:58 +02:00
Michal Zima
d7a570b857 A lot of changes and fixes in NAT and radix tree
Included MAC address into the NAT data structure
New chunking algorithms
Fixed memory leaks in RT code
(and more)
2012-03-24 08:26:13 +01:00
Michal Zima
214c42728b Ethernet stuff moved to separated header file
Reworked IP addresses translation functions
Centralized initializing of random number generator
2011-11-08 21:15:36 +01:00
Michal Zima
e0015145e2 Some more NAT stuff (init & quit calling)
IPv4 address structure
IP addresses translation functions
Makefile.am update
2010-02-22 15:00:14 +01:00
Michal Zima
f9f2bd501b Quite good implementation of NAT 2010-02-22 14:55:18 +01:00
Michal Zima
3d8d8ace2a Implementation of Radix tree for NAT 2010-02-22 14:46:18 +01:00
Michal Zima
ecefe998eb Basic filtering of IPv6 traffic 2010-02-06 11:31:29 +01:00
Michal Zima
ad28a7c7f9 First (sniffing) part of the wrapper
Updated Makefile.am and .gitignore
2010-02-06 11:17:19 +01:00
Michal Zima
e7046c4ea3 Synthesing AAAA records from A ones
Leaving all other types of records to be 'just processed'
Running in an infinite loop
2010-02-04 20:58:01 +01:00
Michal Zima
8968ffedb3 Extended proxy with parsing all requests
Requests for AAAA are performed and returned only if real AAAA exists
Broken for all other requests now
2009-12-23 19:38:13 +01:00
Michal Zima
074476e7b6 Purely forwarding DNS proxy
Specified many CFLAGS
Corrected configure.in
2009-12-03 23:05:16 +01:00
Michal Zima
53e0e90ad5 Basic skeleton -- autotools, readmes and doxygen 2009-12-01 18:44:26 +01:00