History log of /haiku/src/bin/network/Jamfile
Revision Date Author Comments
# 3bf4cdb7 24-Feb-2024 Jérôme Duval <jerome.duval@gmail.com>

network/ping: update to freebsd-current

* our ip modules don't support connect()/send(). Just use sendto().
* ping6 disappears, ping supports -4 or -6 to force IPv4 or IPv6

Change-Id: I1e982e354cc75d3a314c5bbbfffa0373e8f4d9af
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7427
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# b6c24e6b 24-Nov-2023 Augustin Cavalier <waddlesplash@gmail.com>

network: Overhaul TUN/TAP subsystem.

* Rename the "tun" network device to "tunnel". FreeBSD calls theirs
"tuntap" but speaks of both TUN and TAP devices as interfaces for
tunnels. The other BSDs seem to do likewise.

* Fold the "tun" driver into the "tunnel" network device. The
network device now publishes entries in devfs when interfaces
are created, and unpublishes them when interfaces are destroyed.

This removes the need for the driver and device to communicate
through a file descriptor, and thus allows the receive queue
to be totally eliminated, massively simplifying that logic.

* Use standard net-stack FIFOs instead of TCP BufferQueue, which is
specialized to TCP's needs in far too many ways. Thanks to the
previous commit adding support for interrupting semaphore waits,
we can use the FIFO wait mechanisms, too.

* Restructure the TAP logic, and generate MAC addresses more like
Linux does.

* Actually set type = IFT_TUN, and use the "loopback" frame handler
instead of the "ethernet" frame handler. This allows significant
cleanup of the header handling logic.

* In TUN mode, reject packets that don't look like IP packets.

* Delete "tunconfig"; it was mostly stubs and is now unnecessary.

TUN mode tested and confirmed as working by kallisti5 with OpenVPN.
TAP mode partially tested, but not yet confirmed as working.

Fixes #18673.

Change-Id: Ibd803139474e8db556a4f567901da15ee4083621
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7143
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>


# c0daed76 22-Jul-2019 Adrien Destugues <pulkomandy@pulkomandy.tk>

ftp: remove from sources.

Now provided in the tnftp package.

Change-Id: I862b1ff98586aa0e5a9418cf26e30b7136140249
Reviewed-on: https://review.haiku-os.org/c/1641
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# f8a5dd08 17-Apr-2019 Alexander von Gluck IV <kallisti5@unixzen.com>

network/tunconfig: Initial work on a tool to manage tunnels

* Modeled after pppconfig to some degree.
* Normally various VPN and other services will create / manage
tunnels directly, however this gives us a good way to
test / play with things initially.


# 1e29bfd7 18-Jul-2018 Augustin Cavalier <waddlesplash@gmail.com>

Update all remaining consumers of the FreeBSD compat headers.


# e3724c38 04-Jan-2014 mshlyn <linlongzhou@163.com>

PPP: Port to the new stack.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>

This is a squash of the 42 commits by @mshlyn, as I couldn't find a
way to break them into logical chunks. I did not include these in the build,
as it appears that they only partially work anyway, and much more cleanup is
still needed. However, this is a huge improvement on what was in the tree
before, which looked horrendous and didn't even compile (as it was designed
for the old stack).

Mostly fixes #812.


# 105c7e27 01-May-2015 Jérôme Duval <jerome.duval@gmail.com>

tcpdump: use the outsourced packages.

* remove tcpdump and libpcap from the build and from the tree.


# f19ef175 03-Mar-2015 Jérôme Duval <jerome.duval@gmail.com>

Added netcat packages for x86 and x86_64, use them.

* removed netcat Jamfile from the build and from the tree.
* clean image and package definitions.
* added netcat in regular builds.


# aed7654f 27-Feb-2015 Augustin Cavalier <waddlesplash@gmail.com>

atftpd: remove from tree.

Not included in the build, and I've just pushed a recipe for it to
HaikuPorts.


# 1ee3031a 01-Jun-2014 Jérôme Duval <jerome.duval@gmail.com>

wget: use the outsourced packages.

* remove wget Jamfile from the build.


# cc2a443d 19-Jul-2010 Axel Dörfler <axeld@pinc-software.de>

Another patch by Atis Elsts:
* Added ping6 command from FreeBSD.
* tcpdump is now built with IPv6 supprt.
* added IPv6 support to route, and ifconfig (the family stuff should eventually
be factored out).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37600 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b654ef7d 06-Apr-2010 Matt Madia <mattmadia@gmail.com>

Added a CLI application "setwep", contributed by Alex Botero-Lowry. It is a
temporary means for joining an unencrypted or WEP encrypted wifi network.
setwep works with 64- and 128-bit WEP and supports both text keys as well as
hex digit keys.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36057 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 01b0c586 14-Feb-2010 Axel Dörfler <axeld@pinc-software.de>

* Renamed "nc" to "netcat" which seems to be its usual name.
* Removed the test driver from the image; it serves no practical purpose.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35459 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2e7672a2 20-Aug-2009 Michael Lotz <mmlr@mlotz.ch>

Adding a simple wake on LAN command line utility. It will broadcast a magic
packet that targets the MAC address supplied by argument.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32555 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f5e8e689 18-Apr-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added useradd and passwd tools. They allow adding new users and
changing a user's password, like on other platforms (just a bit more
bare-bones :-)).
* Moved login from src/bin/network/login/ to src/bin/multiuser/.
* login correctly checks the shadow password now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25041 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 04819365 03-Feb-2008 Axel Dörfler <axeld@pinc-software.de>

* Ported FreeBSD's ftpd to Haiku.
* Added it to the image, and configured it to be used.
* Currently, it cannot transfer files over 64 KB for some reason
("Message too long").


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23843 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ef27f7d0 04-Sep-2007 Axel Dörfler <axeld@pinc-software.de>

Ported over atftpd from Linux - should work on BSD as well, now.
Not yet tested, and it will probably not work correctly until we support
IP_RECVDSTADDR correctly (we don't support that CMSG stuff yet).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22171 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4e6971bb 04-Jul-2007 Axel Dörfler <axeld@pinc-software.de>

* Implemented a basic "login" command - does not yet support real passwords (it currently
does a plain string comparison with whatever passwd::pw_passwd contains.
* Removed left-over tcptester directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21548 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e6f33354 19-Apr-2007 Hugo Santos <hugosantos@nowhere.fake>

moved tcptester to tests/.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20762 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 69adff2f 19-Apr-2007 Hugo Santos <hugosantos@nowhere.fake>

A very simple controlable traffic generator for TCP testing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20749 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 055fcfbf 09-Apr-2007 Hugo Santos <hugosantos@nowhere.fake>

added 'netcat', which is particularly helpful debugging TCP.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20628 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ca9f61b3 20-Jan-2007 François Revol <revol@free.fr>

Add mount_nfs to the build. this should probably go away, mount should be enough.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19885 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8dfd7ea7 18-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

* Implemented a basic infrastructure for a netstat command.
* Started a netstat command.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19560 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cf6b2628 18-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

Ported tcpdump 3.9.5, and libpcap 0.9.5 to Haiku to test our link level packet
monitor. Their build system and file hierarchy is pretty poor (as well as the
internals of libpcap), but the app itself seems to work well :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19556 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 03f78d69 16-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

Imported wget-1.10.2; disabled SSL for now (it's not yet part of our repository), not yet tested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19535 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8d5a6048 13-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

Ported the telnet command from FreeBSD - compiles, but might not yet work; it's
completely untested at this point.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19494 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fdad9c93 13-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

* Ported libtelnet.a and telnetd from FreeBSD.
* The subdirectory is called "libtelnet" instead of "telnet" (as usual), since telnetd
expects some headers to be found in libtelnet/ (which I could have changed as well,
just in case you very much prefer telnet/).
* I needed to disable some stuff to make it compile, and it's absolutely not tested,
so it might as well not work yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19488 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5adca30a 07-Aug-2006 Axel Dörfler <axeld@pinc-software.de>

Merge of branches/team/network/new_stack - not yet complete as SVN does only support
replacing files when merging when you don't have deleted them manually (for some reason,
it only works as part of the merge operation, and we didn't copy the whole tree to
have "a fresh start" - next time we know better, at least if SVN still suffers from
that same limitation).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18456 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 105c7e27371cd9f515edcd54908d8605e59b92db 01-May-2015 Jérôme Duval <jerome.duval@gmail.com>

tcpdump: use the outsourced packages.

* remove tcpdump and libpcap from the build and from the tree.


# f19ef17518b79b15b123975b6d642186479b2a0e 03-Mar-2015 Jérôme Duval <jerome.duval@gmail.com>

Added netcat packages for x86 and x86_64, use them.

* removed netcat Jamfile from the build and from the tree.
* clean image and package definitions.
* added netcat in regular builds.


# aed7654fff370673e0e04c2a223c029f615b3af2 27-Feb-2015 Augustin Cavalier <waddlesplash@gmail.com>

atftpd: remove from tree.

Not included in the build, and I've just pushed a recipe for it to
HaikuPorts.


# 1ee3031a901ef3e35e167b892597eb4fe35fb11a 01-Jun-2014 Jérôme Duval <jerome.duval@gmail.com>

wget: use the outsourced packages.

* remove wget Jamfile from the build.


# cc2a443dbd6825b18161e1c1b357d2d77a614186 19-Jul-2010 Axel Dörfler <axeld@pinc-software.de>

Another patch by Atis Elsts:
* Added ping6 command from FreeBSD.
* tcpdump is now built with IPv6 supprt.
* added IPv6 support to route, and ifconfig (the family stuff should eventually
be factored out).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37600 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b654ef7d7e0b424a7d50af8ac7d155b10407dd67 06-Apr-2010 Matt Madia <mattmadia@gmail.com>

Added a CLI application "setwep", contributed by Alex Botero-Lowry. It is a
temporary means for joining an unencrypted or WEP encrypted wifi network.
setwep works with 64- and 128-bit WEP and supports both text keys as well as
hex digit keys.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36057 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 01b0c586973a3dcec37faba1c2c935c16ae7c102 14-Feb-2010 Axel Dörfler <axeld@pinc-software.de>

* Renamed "nc" to "netcat" which seems to be its usual name.
* Removed the test driver from the image; it serves no practical purpose.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35459 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2e7672a2a05538d1538d8a7f4a3cc37195437662 20-Aug-2009 Michael Lotz <mmlr@mlotz.ch>

Adding a simple wake on LAN command line utility. It will broadcast a magic
packet that targets the MAC address supplied by argument.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32555 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f5e8e68924566110cb3022c20109dae60aee2c8f 18-Apr-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added useradd and passwd tools. They allow adding new users and
changing a user's password, like on other platforms (just a bit more
bare-bones :-)).
* Moved login from src/bin/network/login/ to src/bin/multiuser/.
* login correctly checks the shadow password now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25041 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0481936536a9c02bd68cf3ac412e4d881dd255e5 03-Feb-2008 Axel Dörfler <axeld@pinc-software.de>

* Ported FreeBSD's ftpd to Haiku.
* Added it to the image, and configured it to be used.
* Currently, it cannot transfer files over 64 KB for some reason
("Message too long").


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23843 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ef27f7d0e0b7228829e9624c157ca27b2a824882 04-Sep-2007 Axel Dörfler <axeld@pinc-software.de>

Ported over atftpd from Linux - should work on BSD as well, now.
Not yet tested, and it will probably not work correctly until we support
IP_RECVDSTADDR correctly (we don't support that CMSG stuff yet).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22171 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4e6971bb54fb20efcd0e1fc44af22cffe8461b9b 04-Jul-2007 Axel Dörfler <axeld@pinc-software.de>

* Implemented a basic "login" command - does not yet support real passwords (it currently
does a plain string comparison with whatever passwd::pw_passwd contains.
* Removed left-over tcptester directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21548 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e6f333541afc9c95d653c88391ed2552120a8417 19-Apr-2007 Hugo Santos <hugosantos@nowhere.fake>

moved tcptester to tests/.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20762 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 69adff2f81d715ac0250bfb26aff60755d7b51d3 19-Apr-2007 Hugo Santos <hugosantos@nowhere.fake>

A very simple controlable traffic generator for TCP testing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20749 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 055fcfbf981472085f64e26744c5ab2eaa675a9c 09-Apr-2007 Hugo Santos <hugosantos@nowhere.fake>

added 'netcat', which is particularly helpful debugging TCP.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20628 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ca9f61b3d80a4ecba985e8e82f8629052b4e0142 20-Jan-2007 François Revol <revol@free.fr>

Add mount_nfs to the build. this should probably go away, mount should be enough.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19885 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8dfd7ea7bf7714ff094a69f120771e6c6465262e 18-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

* Implemented a basic infrastructure for a netstat command.
* Started a netstat command.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19560 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cf6b26282289f3a96be3aaa3793904195ae1d40b 18-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

Ported tcpdump 3.9.5, and libpcap 0.9.5 to Haiku to test our link level packet
monitor. Their build system and file hierarchy is pretty poor (as well as the
internals of libpcap), but the app itself seems to work well :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19556 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 03f78d69433957f4d61910dfc3d6b59161537548 16-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

Imported wget-1.10.2; disabled SSL for now (it's not yet part of our repository), not yet tested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19535 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8d5a60482cbe1021cba28bb5ea607cb52713e0c3 13-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

Ported the telnet command from FreeBSD - compiles, but might not yet work; it's
completely untested at this point.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19494 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fdad9c93d79ff7942676547a3c69b97e3a337100 13-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

* Ported libtelnet.a and telnetd from FreeBSD.
* The subdirectory is called "libtelnet" instead of "telnet" (as usual), since telnetd
expects some headers to be found in libtelnet/ (which I could have changed as well,
just in case you very much prefer telnet/).
* I needed to disable some stuff to make it compile, and it's absolutely not tested,
so it might as well not work yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19488 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5adca30a18617cc25bc50a9a12e2fe6539412ccb 07-Aug-2006 Axel Dörfler <axeld@pinc-software.de>

Merge of branches/team/network/new_stack - not yet complete as SVN does only support
replacing files when merging when you don't have deleted them manually (for some reason,
it only works as part of the merge operation, and we didn't copy the whole tree to
have "a fresh start" - next time we know better, at least if SVN still suffers from
that same limitation).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18456 a95241bf-73f2-0310-859d-f6bbb57e9c96