Commit graph

280 commits

Author SHA1 Message Date
cinap_lenrek e14eaacce6 tftpd: fix error string packet overflow in nak(), fix syslog reporting 2014-07-13 01:00:02 +02:00
cinap_lenrek 7ae98ac5a6 ip/torrent: use "torrent" as default user agent 2014-05-19 04:56:07 +02:00
cinap_lenrek 1055b951f3 ip/torrent: fix usage, add -A option to set user-agent
trackers do like the new default Mozilla/5.0 (compatible)
user agent. so force useragent to hjdicks and give option
to override it in case trackers get even more clever in
the future.
2014-05-19 23:23:08 +02:00
cinap_lenrek c994152a90 ipconfig: fix dhcp watch
in dhcpwatch, the sleep time "secs" could become
zero potentially freezing the lease time.

give up when in Sinit state in dhcpquery() as this
is a terminal state.
2014-05-18 19:20:31 +02:00
ftrvxmtrx d2c3185bfa fix threadsetname usage in few places 2014-05-03 13:07:52 +02:00
cinap_lenrek 82cec6f585 socksd: close inside udp server one we get a connection (udprelay) 2014-02-14 14:57:05 +01:00
cinap_lenrek 81ea3f24fa cifsd: fix compiler warning 2014-02-14 14:21:07 +01:00
cinap_lenrek 80deec0a7b ip/torrent: remove unneeded assignment 2014-02-14 14:12:02 +01:00
mischief abb4bad701 ip/torrent: print tracker errors/warnings in debug mode and allow setting peerid 2014-02-01 12:04:30 -08:00
cinap_lenrek c940e98630 experimental ntlmv2 server authenticaion support for cifsd
extending factotums and the auth servers mschap implementation
to handle variable length NT response for NTLMv2.

fix some minor bugs.

only tested with cifs so far.
2013-12-08 02:22:12 +01:00
cinap_lenrek f6887b0a3c telnet: simplify previous change by moving the notkbd check into consctlcmd() 2013-12-05 22:43:44 +01:00
cinap_lenrek 919863dab3 telnet: disable changing raw mode when a pipe was being used (from sources telnet-notkbd patch)
This patch corrects a minor problem with telnet when using
the notkbd option (-n).
2013-12-05 22:05:57 +01:00
cinap_lenrek 50e3c936fa ip/torrent: check piece offset, vlong cast 2013-10-08 08:12:05 +02:00
cinap_lenrek 3c2b09c9dc ip/torrent: more checking, backoff from piece on hash error 2013-10-08 07:55:26 +02:00
cinap_lenrek 56836bfdbd tls: fix various tlsClient()/tlsServer() related bugs
- TLSconn structure on stack but not initialized (zeroed)
- original filedescriptor double closed in error case
- original filedescriptor leaked in success case
- leaked TLSconn.sessionID and TLSconn.cert
- clarify in pushtls(2) and pushssl(2)
2013-09-14 19:19:08 +02:00
cinap_lenrek d76eccaf88 imap4d: apply djc's patch to fix search (from /n/sources/patch/imap4d-cistrcmp)
Fix SEARCH command in imap4d by replacing the cistrstr typo with cistrcmp.
2013-08-27 00:34:17 +02:00
cinap_lenrek 508b53a29a libdraw: fix leftover processes or programs failing to restore window labels when receiving interrupt note
fix the default note handler for event programs. only handle non system
notes or notes in the slave processes. for interrupt in the main process,
just call exits() which will do the cleanup and restore window label
properly.

this makes completely overriding the note handler in gping and
stats uneccesary.
2013-08-13 21:46:13 +02:00
cinap_lenrek e36d9f5c4e make filesystem handling of read9pmsg() consistent 2013-06-16 06:26:31 +02:00
cinap_lenrek e9c8ef5e16 ftpd: "opts utf8 on" 2013-04-23 19:37:56 +02:00
cinap_lenrek 8858fdf15f ftpd: fix nil pointer derefernece when ominiting arguments to opts command 2013-04-23 22:47:27 +02:00
cinap_lenrek 922d6d0780 ftpd: implement "OPTS UTF-8 ON", fix uninitialized printing uninitialized memory in HELP command 2013-04-23 22:38:03 +02:00
cinap_lenrek c04297587c ip/torrent: use NPROC processes in parallel for calculating initial piece hashes 2013-04-20 22:47:39 +02:00
ftrvxmtrx 0f2caad8b6 ftpfs: fix wrong comment 2013-02-17 12:32:50 +01:00
ftrvxmtrx b8990cfbb4 ftpfs: do not call getfields after NLST 2013-02-16 22:06:26 +01:00
cinap_lenrek 029a8087a3 httpd: fix rane requests
we gave wrong content-length in range requests. r->stop - r->start
is wrong because r->stop is the byte offset of the *last* byte, not
the *next* byte after the last.
2013-01-31 22:51:21 +01:00
cinap_lenrek e53ece53ed httpfile: fix range requests
byte ranges use closed intervals (inclusive first
and last byte offsets)
2013-01-31 22:48:56 +01:00
cinap_lenrek 3787f721c1 9p message size too small
various fileservers do not check if the message size is too small
(they subtract IOHDRSZ later from it to calculate iounit) which
can overflow.
2013-01-30 06:28:42 +01:00
cinap_lenrek f2f2c8687a 6in4: add -o option to make it possible to use different nets for ipv6 and ipv4 interface 2013-01-14 07:09:25 +01:00
cinap_lenrek 6cadd03bbe fix utf and rune handling in preparation for 32bit runes 2012-12-31 21:09:46 +01:00
cinap_lenrek 44ac7fe940 6in4: use localmask instead of hardcoded /128 when adding address to interface 2012-12-21 19:18:47 +01:00
cinap_lenrek 2c1c1e4005 hproxy: fix ipv6 url parsing 2012-12-20 22:15:52 +01:00
cinap_lenrek 49c8aed2db ip/ipconfig: automatically find ethernet device on /net if not given 2012-12-05 14:38:30 +01:00
cinap_lenrek 5cddd21627 cifsd: fix 64bit fileoffset bug
the low 32bit word got *sign-extended* on vlong conversion. m(
2012-10-11 21:38:54 +02:00
cinap_lenrek d9394b0d87 6in4: fix exit status, less strict src filtering, logging (import from sources) 2012-10-11 13:21:30 +02:00
cinap_lenrek 61d1967e74 tftpfs: add manpage, add -x option 2012-10-06 04:14:48 +02:00
cinap_lenrek 9a06f93b71 tftp: prevent it from hanging if ack packets get lost
send ACK reply for duplicate data packets in case our ack response
got lost. make sure packets are in sequence and ignore out of
oder packets (except the ones we'v already acked).
2012-09-20 09:33:40 +02:00
cinap_lenrek 913afc39c9 tftpd: apply sstallion's tftpd-rfc patch (from sources)
tftpd option handling is not RFC-compliant. This causes picky
clients (such as curl) to fail transfers.
2012-09-18 18:27:59 +02:00
cinap_lenrek 37a93ef857 ppp: noauth server option (import from sources) 2012-08-07 15:57:42 +02:00
aiju e2270b09f3 fixed telnetd 2012-08-04 14:52:29 +02:00
cinap_lenrek 115f14f144 hproxy: force connection close 2012-07-06 16:02:44 +02:00
cinap_lenrek b811bb8876 add hproxy to mkfile 2012-07-06 15:51:19 +02:00
cinap_lenrek fdfce9d864 hproxy: simple http proxy server 2012-07-06 15:49:33 +02:00
cinap_lenrek 326c8d9c42 ip/torrent: simplify 2012-05-06 18:00:15 +02:00
cinap_lenrek 3997c57b57 ip/torrent: keep peers in queue 2012-05-06 17:38:20 +02:00
cinap_lenrek ab022ff67d ip/torrent: fix mistake 2012-05-06 16:44:09 +02:00
cinap_lenrek 8943c2fb8a ip/torrent: limit number of connections 2012-05-06 16:33:17 +02:00
cinap_lenrek 0c0b874d49 ip/torrent: cleanup 2012-04-27 03:46:07 +02:00
cinap_lenrek d899f9cfc6 ip/torrent: udp tracker support 2012-04-27 03:05:16 +02:00
cinap_lenrek 0baa5c7cbe ip/torrent: alphabetically order dictionary keys when producing torrent 2012-04-24 23:50:08 +02:00
cinap_lenrek 95d7fa1c0e ip/torrent: more cleanup, error handling for webseed 2012-04-16 13:29:41 +02:00
cinap_lenrek bb58166162 ip/torrent: cleanup 2012-04-16 01:40:46 +02:00
cinap_lenrek fd02ddae19 ip/torrent: webseed support 2012-04-16 00:50:25 +02:00
cinap_lenrek 53511a9097 ip/torrent: create announce-list torrents 2012-04-15 19:26:04 +02:00
cinap_lenrek 9cb700018a ipconfig: remove 6 minute redundant dhcp retry timeout 2012-03-29 01:11:22 +02:00
cinap_lenrek e7c89b6ab4 socksd: setnetmtpt 2012-03-15 23:20:56 +01:00
cinap_lenrek 25b63636a0 socksd: udp RSV and FRAG must be zero 2012-03-11 18:18:59 +01:00
cinap_lenrek 81fb4d22e2 socksd: udp relay support 2012-03-11 17:43:47 +01:00
cinap_lenrek 3e71d1af48 tftpfs: let kernel choose local udp port 2012-03-11 17:36:41 +01:00
cinap_lenrek 51a43ed5c5 socksd: support for BIND command 2012-03-11 09:13:49 +01:00
cinap_lenrek c9d2ce7b1c ftpd: import changes from sources 2012-03-09 06:07:20 +01:00
cinap_lenrek 731aeeedb3 tftpd: import from sources 2012-03-09 06:06:33 +01:00
cinap_lenrek fa74649d18 socksd: use note to shoot down relay procs 2012-03-02 06:40:40 +01:00
cinap_lenrek 2fec3c0bc8 socksd: socks4 and socks4a support 2012-03-02 04:32:46 +01:00
cinap_lenrek a57252cadb socksd: simple socks server (no manpage yet) 2012-03-02 00:34:41 +01:00
cinap_lenrek b15accceac cifsd: send SMB_COM_NEGOTIATE response like NT 2012-01-15 22:24:50 +01:00
cinap_lenrek c11bed9f41 cifsd: handle bogus MaxCount in read, wstat archive attribute 2012-01-15 14:31:27 +01:00
cinap_lenrek 260fcc61c0 fix wrong use of qid.type == QTDIR comparsion 2012-01-12 15:15:25 +01:00
cinap_lenrek 797ba8e6ff telnet: dont fiddle with consctl when posting svc, cleanup 2011-12-15 16:31:56 +01:00
cinap_lenrek fa4dd2f2fe ip/gping: honor $font instead of hardcoding 2011-12-09 21:27:22 +01:00
cinap_lenrek 83865180a2 torrent: calculate piece length depending on file size 2011-10-25 14:55:24 +02:00
cinap_lenrek d8bde8f7b3 torrent: fix \0 escaping bug, add -c option to create new torrents 2011-10-25 14:09:41 +02:00
cinap_lenrek 1c31521e2d torrent: fix trailing amp in announce url 2011-10-24 19:24:47 +02:00
cinap_lenrek d0889d1c3c torrent: create directories for multifile torrents 2011-10-24 17:12:57 +02:00
cinap_lenrek f5fe39ad7a torrent: listen support 2011-10-24 00:53:27 +02:00
cinap_lenrek bba834adee ip/torrent: add minimalistic BitTorrent client 2011-10-23 00:55:56 +02:00
cinap_lenrek 8bc1aa6127 add ip/tftpfs 2011-05-15 20:08:42 +00:00
cinap_lenrek 4b550911d9 add cifsd 2011-05-09 10:42:20 +00:00
cinap_lenrek 7dfb8b6ec5 replace aquarela with ip/cifsd 2011-05-09 10:38:45 +00:00
Taru Karttunen a9060cc06b Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
Taru Karttunen e5888a1ffd Import sources from 2011-03-30 iso image 2011-03-30 15:46:40 +03:00