62 Commits

Author SHA1 Message Date
peavey
f2acdbc382 OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:30:04 +00:00
peavey
bab14f0dd2 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are auto skipped by svn.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:14:45 +00:00
w00t
9cf56d917d Windows support. Tested and working to compile on freebsd and linux. Next step is to make sure it actually works in windows too. ;p. Add Burlex to contributors.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19 15:56:42 +00:00
w00t
696ee9ff66 And now, just to force you to recompile the *whole* ircd.. updated headers on the headers. :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5998 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15 22:18:59 +00:00
brain
e381b06561 EventHandler class, an abstraction for raw i/o
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18 01:08:14 +00:00
brain
b5de33f4a7 Tons more docs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4895 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 19:32:37 +00:00
brain
f25755bbe7 Change to using userrec::ip as a sockaddr to store port, ip and address family, rather than userrec::ip4 and userrec::port.
This allows us to handle remote ipv6 users on an ipv4 server, and vice versa.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4694 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04 01:59:41 +00:00
brain
a5f22007f0 Fix output corruption when host is exactly 64 chars long
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3944 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-10 22:59:53 +00:00
om
9063972162 Routing more socket includes through socket.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3868 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-10 22:16:34 +00:00
brain
af0f219afc Made host fields more correct 64 in length with 63 copies
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3425 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 13:34:04 +00:00
brain
653638c686 Improved IP handling. Now uses in_addr to store client ip, not char[16]!
Added global and local session limits
All of this needs TESTING.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2934 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-27 15:26:59 +00:00
brain
1383dba43e Updated copyrights in headers etc using perl inplace edit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15 15:59:11 +00:00
brain
c66706c610 Fixed missing constructor on class connection
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1949 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-25 13:45:12 +00:00
brain
bfcc7d5ff4 Re-added required parts of connection.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1944 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-25 12:32:35 +00:00
brain
31d07a9bd2 Removed static meshed linking from core
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1940 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-25 12:17:34 +00:00
brain
32cf50f38c Many linking fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1578 e03df62e-2008-0410-955e-edbf42e46eb7
2005-06-01 13:23:19 +00:00
brain
4e9f3d1692 Added parameters
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1522 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-25 22:01:10 +00:00
brain
5b08c0883c Added ping checks for server links (experimental)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1481 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-24 01:49:07 +00:00
brain
bac7dea75b Buffer size limits (hard coded to 1mb for now, will allow to raise in config later)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1478 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-23 18:28:42 +00:00
brain
45b07a0691 Output buffering on server connections
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1475 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-23 17:52:46 +00:00
brain
0ff5bafa32 Shrunk some datatypes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1418 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-17 16:30:55 +00:00
brain
fcf2bac28a Moved a load of servers-only stuff into serverrec out of the way of userrec
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1417 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-17 16:29:45 +00:00
brain
55bd1494b0 Removed __single_client_alloc again because gcc devs were smoking crack and removed it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1406 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-16 11:31:58 +00:00
brain
ab01aaeeee Changed to use __single_client_alloc, faster on most systems in a single thread
Specified namespace std in *all* files


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15 22:58:24 +00:00
brain
36127608a9 Added 'uniqueness sums': http://www.inspircd.org/wiki/InspIRCd_Server_Protocol#Uniqueness_Sums
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1378 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-14 18:29:44 +00:00
brain
9c70fbb7c7 Optimized some static structs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1370 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-12 20:30:45 +00:00
brain
2cd3b57fe0 Structure optimizations, changed a lot of bools into binary bitmasks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1368 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-12 18:42:06 +00:00
brain
81722ff786 Tried a new way of doing remote versions
commented some users and connections code
added remote @* notice


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1269 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-30 20:56:20 +00:00
brain
2470212ed1 Added remote versioning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1244 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-28 19:39:18 +00:00
brain
c59cdd8ba8 Changed some comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1237 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-28 13:09:38 +00:00
brain
1f56002af5 Fixed dicky buffer (due to cleanup the wrong variable was being used)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1193 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-26 13:31:24 +00:00
brain
b6f5d703b0 Major code tidyup (-W) - expect a few belches
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1190 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-26 00:58:31 +00:00
brain
a7ca75838a Services speedups for stupid buffered i/o uplinks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1175 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-23 22:24:27 +00:00
brain
3e87dae328 Added server input buffers (for systems that decide buffering is fun)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1165 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-22 23:52:35 +00:00
brain
8edd8f730d Removed deprecated class 'packet'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1103 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15 14:52:13 +00:00
brain
be1a1fad01 Changed ordering of sys/socket.h and sys/types.h to fix compile error on gcc 2.95
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@890 e03df62e-2008-0410-955e-edbf42e46eb7
2005-03-21 03:40:18 +00:00
brain
740b09e2ae Updated header comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@816 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-16 14:58:40 +00:00
brain
1a897a1910 Moved more types into Extensible
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@752 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-29 15:35:00 +00:00
brain
71247cc2f1 Added 'Extensible' class which allows modules to store custom data in objects
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@750 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-29 15:23:20 +00:00
brain
800ebbf95d Added a bunch of xline stuff and added qline spport for /nick and svsnick
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@713 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-24 18:15:37 +00:00
brain
c605a319a7 Various services compatibility stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@687 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-21 21:54:19 +00:00
brain
e81bad456a Added calls to sched_yield() to cut down processor usage - won't work in *bsd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@635 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-17 18:18:26 +00:00
brain
afb51347b4 Added new documentation to cover ircd_connector
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@629 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-17 12:33:39 +00:00
brain
ea5e22a841 Updated comments here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@628 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-17 12:29:40 +00:00
brain
8f9a385d0c Mesh cookie linking fixes (was giving remote port to servers and not local port)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@618 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-16 14:49:10 +00:00
brain
99c1d61eca Added various routing tokens (such as 'R' redirect message)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@610 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-16 11:20:45 +00:00
brain
ac60f15b03 /MAP and /LINKS added back (do not use - needs testing)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@609 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-15 13:11:42 +00:00
brain
9e38366b95 Mesh tweaks (wasnt sending the ip in the + packet)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@605 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-15 12:20:52 +00:00
brain
db20ad5861 Mesh linking stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@594 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-15 10:26:40 +00:00
brain
a62c272ea2 Tons of linking tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@592 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-15 00:25:07 +00:00