Commit Graph

129 Commits

Author SHA1 Message Date
Erik Ekman
b121f638d0 Added port range check, based on patch from Maxim Bourmistrov 2008-01-07 22:18:27 +00:00
Erik Ekman
ac46718c16 Added checks on topdomain name based on patch from Maxim Bourmistrov 2008-01-07 22:06:09 +00:00
Erik Ekman
98061ccc0e Applied patch from Maxim Bourmistrov 2008-01-02 20:40:28 +00:00
Erik Ekman
29b2348ca6 Reset sentlen when advancing 2007-12-02 02:28:18 +00:00
Erik Ekman
6fa0d98c99 #7 Actually update server_id 2007-12-02 02:27:36 +00:00
Erik Ekman
9ca4130e9a Always send latest chunk id 2007-12-02 01:22:34 +00:00
Erik Ekman
3eb835afe7 Add two chars from client to server for verification of data delivery 2007-12-02 01:16:53 +00:00
Erik Ekman
fd45a20f30 Rewrote strange warning message 2007-12-01 23:48:02 +00:00
Erik Ekman
4c6aae9e90 Use packet functions for packet handling. Prepare for sending fragmented ( #7 ) 2007-12-01 23:33:51 +00:00
Erik Ekman
de4a726cb9 Remove useless success warning message 2007-12-01 23:25:44 +00:00
Erik Ekman
317e1efbd6 use packet functions for empty check and fill 2007-12-01 23:05:54 +00:00
Erik Ekman
c8726f2c5d revert [607], [608] and parts of [611] 2007-12-01 23:02:06 +00:00
Erik Ekman
3b7927b2dc Fixed packet_empty() 2007-12-01 22:41:27 +00:00
Erik Ekman
9e60b36430 Renamed packet_sending to packet_empty 2007-12-01 22:19:54 +00:00
Erik Ekman
fc632e6311 Speling 2007-12-01 22:11:48 +00:00
Erik Ekman
d12d0fcff5 Added packet_init 2007-12-01 22:10:48 +00:00
Erik Ekman
7f48d0d99f Extract login handling to function 2007-12-01 21:55:48 +00:00
Erik Ekman
212a3b93e6 Extract version checking to function 2007-12-01 21:46:13 +00:00
Erik Ekman
b55c3f432b added license 2007-12-01 21:26:51 +00:00
Erik Ekman
c4a2b0c27f #7 Move packet handling out of iodine.c and into packet.c 2007-12-01 21:23:59 +00:00
Erik Ekman
2d8b2655ea packet name collided with global packet 2007-12-01 20:53:29 +00:00
Erik Ekman
fe75007109 Add notreached comments 2007-12-01 19:48:17 +00:00
Erik Ekman
509f445c1e Add notreached comments 2007-12-01 19:46:22 +00:00
Erik Ekman
bd2ed87022 apply patch to detach before chroot/privdrop 2007-11-27 20:11:43 +00:00
Erik Ekman
5adeafddfa Use %d for size_t sprintf 2007-11-27 20:04:13 +00:00
Bjorn Andersson
488412d4e6 buffer overflow in dns.c pointed out by Matus Harvan, also strncpy cleanups 2007-08-26 15:47:32 +00:00
Bjorn Andersson
32bd132d43 local stuff in iodine made static 2007-07-12 15:50:06 +00:00
Bjorn Andersson
643178b207 stdin-echo fix in server too 2007-07-12 15:48:05 +00:00
Erik Ekman
e6286cc03c #21: Reverted [538], reopening 2007-07-12 15:22:32 +00:00
Bjorn Andersson
e5ee739537 some cleanup 2007-07-12 15:18:34 +00:00
Bjorn Andersson
0b9a532bbe name the address of the nameserver nameserv instead of peer 2007-07-12 15:18:23 +00:00
Bjorn Andersson
d9ca124e18 cleaning commandline on server too 2007-07-12 13:46:58 +00:00
Bjorn Andersson
c6f46ebaf9 fixes bad printf after resolv.conf-fix 2007-07-12 13:40:52 +00:00
Bjorn Andersson
e889185aca nasty hack hides password on commandline 2007-07-12 13:36:24 +00:00
Bjorn Andersson
1f9a0273db use termios to not echo password when entered on stdin 2007-07-12 13:24:55 +00:00
Erik Ekman
04487efe96 #23 updated manpage and log row 2007-07-12 13:23:44 +00:00
Bjorn Andersson
f6735782b1 /etc/resolv.conf is used if no nameserver is given on commandline 2007-07-12 13:01:18 +00:00
Erik Ekman
d5ffc25557 #25 Fixed crash on query with bad top domain 2007-07-12 08:38:00 +00:00
Erik Ekman
aae94200a5 #16 Do case preservation check after login 2007-07-12 08:31:29 +00:00
Erik Ekman
17c41d87bc #24: Add length check on topdomain, <= 128 chars 2007-07-11 23:25:03 +00:00
Erik Ekman
4e582e98c6 use common send_query function 2007-07-11 23:10:08 +00:00
Erik Ekman
11748b2963 converted iodine.c to use packet struct 2007-07-11 22:39:56 +00:00
Erik Ekman
ea30edd76f fixed #17: report RCODE error msgs 2007-07-11 22:10:53 +00:00
Erik Ekman
639fb5f6aa Store only in_addr, not whole sockaddr, fixes #21 2007-07-11 18:27:18 +00:00
Erik Ekman
bb74190ed5 Prepare for encoding switching 2007-06-24 10:54:50 +00:00
Erik Ekman
42fcc07379 remove last warning on osx 2007-06-18 07:17:55 +00:00
Erik Ekman
854c7ed1c1 add patch from decker for osx 2007-06-17 12:19:50 +00:00
Erik Ekman
4d079b95f2 Remove warning for \!LINUX 2007-06-17 12:19:23 +00:00
Erik Ekman
5c9ff9ba06 add sys/time.h for old osx 2007-06-17 11:46:05 +00:00
Erik Ekman
331e1ab247 more comments 2007-06-10 23:13:07 +00:00