Kernel Socks Bouncer

Kernel Socks Bouncer is Linux Kernel 2.6.x loadable module that redirects TCP connections.
Download

Kernel Socks Bouncer Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Paolo Ardoino
  • Publisher web site:

Kernel Socks Bouncer Tags


Kernel Socks Bouncer Description

Kernel Socks Bouncer is Linux Kernel 2.6.x loadable module that redirects TCP connections. ksb26 is a Linux Kernel 2.6.x Loadable Kernel Module that that redirects tcp connection (to user-defined target hosts) through socks 4/5 chains. Kernel Socks Bouncer is subdivided into a lkm and a userspace manager.ksb26 lkm intercepts and redirects tcp connections. ksb26manager keeps updated socks list and loads target hosts list via character device.ksb26 lkm: is the lkm. It intercepts and redirects tcp connections. modprobe ksb26 This command will load ksb26 lkm. will load ksb26 lkm setting the number of SOCKS to use in chain to N. To detect major number read dmesg kernel logs running for example: ~# dmesg or ~# cat /var/log/messages Between messages of ksb26 module there’s this string: Major device number = num ~# mknod /dev/ksb26 c num 0 // creates the char deviceksb26manager: is the userspace manager for ksb26 lkm. It needs wget, egrep and sed to work. . ksb26manager keeps updated the SOCKS list using ksb26manager : character device used by ksb26 : lkm’s name to use in modprobe command : number of SOCKS used in chains : file containing target hosts : file containing default socks list : number of seconds to wait before updating the SOCKS list : help/dev/ksb26 strings format: /dev/ksb26 is the character device used by ksb26 to keep SOCKS and target hosts lists updated. Strings formats accepted:ip addresses and port of SOCKS 4/5ip addresses and port of target hosts , this connection will pass through a SOCKS chain before reach the target host] clear SOCKS list string : ksb26 clears the SOCKS listTo add a new SOCKS server to the list:#Ssocks_ip:socks_port;socks_version| example:#S127.0.0.1:1080;5|#S127.0.0.1:8080;4| manual submission of a new SOCKS: ~# echo ”#S127.0.0.1:1080;5|” > /dev/ksb26 If you use ksb26manager you can set a default socks list in /etc/ksb26/socks that will be loaded automatically by the userspace tool . If you don’t use ksb26manager you can create a new file as this below:#S127.0.0.1:1080;5|#S127.0.0.1:8080;4| and then: ~# cat socks.txt > /dev/ksb26To add a new target host to the list :#Hhost_ip:host_port;| If host_ip is *, connection directed to all IPs will be redirected. If host_port is 0, all connection directed to that host will be redirected through a Socks chain. example:#H*:22;|#H192.168.0.1:22;|#H192.168.0.2:0;|#H*:0;| To clear SOCKS list:#cls|What's New in This Release:· This release adds a small bugfix and support for a default socks list in ksb26manager (useful if you use TOR).


Kernel Socks Bouncer Related Software