1
0
mirror of https://code.semirocket.science/wrapsix synced 2024-09-19 23:11:04 +03:00
Commit Graph

67 Commits

Author SHA1 Message Date
xHire
b6cc651887 Fixed autoheader.h.in
Base for the patch provided by Olivier Verriest <verri@x25.pm>
2017-10-28 09:08:45 +02:00
xHire
60efcc2c9c Compiling as C89 2017-10-28 08:45:51 +02:00
xHire
24c3cdcf6f Include propagation of payload size for ICMPv6 too 2017-10-21 10:46:44 +02:00
xHire
4dbbcf7fc1 Propagation of packet/payload size
More sanity checks
Fixed expiration of TTL in IPv4 packets
Optimisations
Fixed subtle mistakes
2017-10-21 10:17:32 +02:00
xHire
2f11edb447 Dropped deprecated dnsproxy 2017-05-16 09:07:45 +02:00
xHire
148b644a70 Disabling generic-receive-offload on startup 2017-05-16 09:03:05 +02:00
xHire
64907ebf5c Slightly better handling of incorrect config files 2017-05-16 09:01:45 +02:00
xHire
60ad783b8f E-mails update 2017-05-16 08:31:40 +02:00
xHire
e8924ec64e Migrate to static allocations
Use consistent types (char instead of unsigned char)
...and syntax too
2017-05-06 14:21:20 +02:00
xHire
6351968b31 Fix interface autoconfiguration 2017-04-15 15:38:22 +02:00
xHire
37cd198a45 Autoconfiguration of host IP addresses & interface
Interface still can be configured manually
2013-07-25 11:15:28 +02:00
xHire
ab9b37be9f Parsing and using configuration file 2013-07-16 08:28:14 +02:00
Michal Zima
8a2f5c9158 Dropped compiling of DNS64 proxy 2013-06-15 16:39:03 +02:00
Michal Zima
8b58e0f274 Automatic disabling of segmentation offload 2013-06-15 16:35:18 +02:00
Michal Zima
252467f956 Better way to filter out IPv4 flags 2013-06-15 16:33:03 +02:00
Michal Zima
b61eec5bc8 Completed enhanced ICMP support 2013-04-21 23:51:25 +02:00
Michal Zima
7a7651674c Completed translating of ICMPv4 errors 2013-03-30 13:39:01 +01:00
Michal Zima
c9c167871c Generalised translation of ICMPv4 error packets 2013-03-30 13:12:03 +01:00
Michal Zima
d1a25aee7f Base of enhanced ICMP support
Translated ICMPv4 packets are statically allocated
ICMPv4 sanitizes size of payload
Fix of an overflow
2013-03-27 18:44:08 +01:00
Michal Zima
f7a03e8240 Fixed usage of uninitialized variable in TCP code 2013-02-14 14:28:57 +01:00
Michal Zima
5af1a5ca7c Reacting to exceeded TTL/HL 2013-02-14 14:26:01 +01:00
Michal Zima
e722e80149 Simplified assigning of IP addresses 2013-02-14 14:04:33 +01:00
Michal Zima
378d3200c2 A bit of formal code cleaning
Mostly lines breaking, then also comments
2013-02-13 20:32:42 +01:00
Michal Zima
746712c6de Conditional fix for compilation in older envs 2013-02-13 14:43:07 +01:00
Michal Zima
95bfbe93e2 Expiration of connections and fragments 2012-07-21 21:13:15 +02:00
Michal Zima
24b09b4d93 Saving and processing unknown incoming fragments
New data structure -- linked list
Reduced few useless debug outputs
2012-07-14 11:38:13 +02:00
Michal Zima
b9c6d5c46a Separated MTU and size of packet buffer 2012-07-14 09:47:29 +02:00
Michal Zima
faa0ecc060 Relicensing under GPLv3 2012-07-04 19:04:42 +02:00
Michal Zima
5b50001a5c Extended packet buffer 2012-07-04 13:52:11 +02:00
Michal Zima
34025797b1 Specialized logging functions; can control debug 2012-07-04 11:37:42 +02:00
Michal Zima
fbbf20ba0a Typo fixes 2012-07-03 12:52:50 +02:00
Michal Zima
59fdab7ed8 A bit of code cleanup 2012-07-03 11:15:10 +02:00
Michal Zima
707eb6159b Fixed another SIGSEGV 2012-05-13 21:59:21 +02:00
Michal Zima
a7f750a3e0 Added forgotten header file to src/Makefile.am 2012-05-06 13:54:44 +02:00
Michal Zima
754319efc2 Handling of TCPv4 fragments
With support for refragmenting too big fragments
2012-04-27 16:43:31 +02:00
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
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
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