Alexander Motin
|
a9a13b54e9
|
Pass really available buffer size to libalias instead of MCLBYTES constant.
MCLBYTES constant were used with believe that m_megapullup() always moves
date into a fresh cluster that may become not so.
|
2008-06-01 15:13:32 +00:00 |
|
Alexander Motin
|
fffba935e4
|
Add support for the libalias redirect functionality.
Submitted by: Vadim Goncharov <vadim_nuclight@mail.ru>
|
2008-03-01 17:14:02 +00:00 |
|
Alexander Motin
|
e842c54054
|
Add support for setmode and settarget messages.
Approved by: glebius (mentor)
|
2007-05-22 12:23:39 +00:00 |
|
Alexander Motin
|
179f56e196
|
Allow node to bypass traffic while no alias address defined.
Approved by: glebius (mentor)
|
2007-05-22 12:14:43 +00:00 |
|
Gleb Smirnoff
|
4b4ee018fa
|
Return value PKT_ALIAS_FOUND_HEADER_FRAGMENT isn't an error case. The
packet shouldn't be dropped.
Submitted by: Alexander Motin <mav alkar.net>
|
2006-12-21 10:26:01 +00:00 |
|
Gleb Smirnoff
|
e7bf470011
|
Correctly calculate length of IP header.
Submitted by: Eugene Hartmann <eugene tpsb.com.ru>
|
2006-12-12 12:35:06 +00:00 |
|
Paolo Pisati
|
e876228edc
|
Remove m_megapullup from ng_nat and put it under libalias.
Approved by: gleb
|
2006-12-01 16:27:11 +00:00 |
|
Gleb Smirnoff
|
b0dc008358
|
Fix result of some mechanical change that I did some time ago, when
writing this node.
|
2006-10-13 09:11:12 +00:00 |
|
Gleb Smirnoff
|
3a48a9fac9
|
- After LibAlias processing check for TCP packet with th_x2 field
set. If found, then recalculate its checksum.
- Remove debugging printfs.
- Slightly rearrange code in ng_nat_rcvdata().
Approved by: re (scottl)
|
2005-06-27 07:39:13 +00:00 |
|
Gleb Smirnoff
|
cc8c6970fd
|
Move assertion below initializer.
Submitted by: Noritoshi Demizu
Pointy hat to: glebius
|
2005-05-11 08:28:09 +00:00 |
|
Gleb Smirnoff
|
2046fd5f68
|
- Assert that mbuf length equals packet length.
- Tell libalias, that we have MCLBYTES to play with.
- Obtain length of data in mbuf from updated IP header.
|
2005-05-10 14:19:10 +00:00 |
|
Gleb Smirnoff
|
c4c9b52b87
|
ng_nat - a netgraph(4) node, which does NAT
|
2005-05-05 23:41:21 +00:00 |
|