Displaying 6 results from an estimated 6 matches for "port_ssh".
Did you mean:
port_msg
2006 Aug 29
0
question on lokkit
...to lokkit to set up the iptables config file
with an entry like this: ( i dont want to manually edit it - I want to
do it automatically)
iptables -A INPUT -p udp -m udp --dport 10000:20000 -j ACCEPT
I have a small script file that has in it the ports I want enabled, like:
-------------------
PORT_SSH="--port=22:tcp"
PORT_HTTP="--port=http:tcp"
/usr/sbin/lokkit -q --high --dhcp -t lo -t eth0 -t eth1 $PORT_SSH $PORT_HTTP
-------------------
I want to add another line to enable ports 10000 - 20000.
however the ":tdp" or ":udp" conflict with 10000:20000.
I...
2004 Sep 07
1
tcng and scheduling ssh
...elds.tc"
#include "ports.tc"
dev "eth0" {
egress {
// Voice traffic
class (<$voice>)
if udp_dport >= 20000 && udp_dport <= 23000;
// SSH connections
class (<$interactive>)
if tcp_dport == PORT_SSH;
// Everything else
class (<$other>)
if 1;
prio {
$voice = class { fifo; }
$interactive = class { fifo; }
$other = class { fifo; }
}
}
}
So, this should be a simple prio queue, with the above udp traffic
cla...
2005 Jan 02
0
Performance Loss with HTB/tcng?
Hi,
I try to shape my incoming traffic. I have 2MBit/s DSL bandwith and
the following ruleset (on the internal interface):
$INT="eth1";
$INT_NET=192.168.1.0;
$MAX_IN=2Mbps;
dev $INT {
egress {
class (<$int>) if ip_src:24 == $INT_NET;
class (<$ssh>) if tcp_sport == PORT_SSH;
class (<$smtp>) if tcp_sport == PORT_SMTP;
class (<$http>) if tcp_sport == PORT_HTTP;
class (<$http>) if tcp_sport == PORT_HTTPS;
class (<$nntp>) if tcp_sport == PORT_NNTP;
class (<$nntp>) if tcp_sport == PORT_NNTPS;
class (<$other>) if 1...
2004 Aug 04
0
simulating RED using tcsim question
...th1 100 Mbps
route 10.0.0.2 netmask 255.0.0.0 output_eth1
}
connect inputA_eth0 router_eth0
connect inputB_eth0 router_eth1
connect router_eth2 output_eth0
every 0.002s until 5s send inputA_eth0 TCP_PCK($tcp_sport = PORT_HTTP);
every 0.002s until 5s send inputB_eth0 TCP_PCK($tcp_sport = PORT_SSH);
time 6s
end
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2004 Oct 23
0
error making htb example
...{
/* In class selection path, the filters come first! DSmark */
class ( <$ssh> ) if tcp_sport == 22 && ip_tos_delay == 1 ;
class ( <$audio> ) if tcp_sport == 554 || tcp_dport == 7070 ;
class ( <$bulk> ) \
if tcp_sport == PORT_SSH || tcp_dport == PORT_HTTP ;
class ( <$other> ) if 1 ;
/* section in which we configure the qdiscs and classes */
htb () {
class ( rate 600kbps, ceil 600kbps ) {
$ssh = class ( rate 64kbps, ceil 128kbps ) { sfq; } ;
$aud...
2004 Dec 27
0
Ingress question with sub classes
...ingress {
// speeds
$veryhigh_cir = $maxDownstream / 4;
$veryhigh_pir = $maxDownstream / 4 * 3;
$low_cir = $maxDownstream / 4;
$low_pir = $maxDownstream / 4;
// variables to make categories
$is_veryhigh = (tcp_sport == PORT_SSH && ip_tos_delay == 1)
|| (ip_proto == 50) || (ip_proto == 47);
$is_low = 1;
// Double Leaky Buckets
$is_veryhigh_pol = DLB(cir $veryhigh_cir bps,cbs 20kB,pir
$veryhigh_pir bps,pbs 5kB) {
==========>> class (<$vpn_prior>)
=...